![]() |
![]() |
![]() |
LibBonoboUI API Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
BonoboPropertyControl; BonoboPropertyControlPrivate; #define BONOBO_PROPERTY_CONTROL_CHANGED BonoboControl * (*BonoboPropertyControlGetControlFn) (BonoboPropertyControl *control, int page_number, void *closure); BonoboPropertyControlClass; BonoboPropertyControl * bonobo_property_control_construct (BonoboPropertyControl *property_control, BonoboEventSource *event_source, BonoboPropertyControlGetControlFn get_fn, int num_pages, void *closure); BonoboPropertyControl * bonobo_property_control_new_full (BonoboPropertyControlGetControlFn get_fn, int num_pages, BonoboEventSource *event_source, void *closure); BonoboPropertyControl * bonobo_property_control_new (BonoboPropertyControlGetControlFn get_fn, int num_pages, void *closure); void bonobo_property_control_changed (BonoboPropertyControl *property_control, CORBA_Environment *opt_ev); BonoboEventSource * bonobo_property_control_get_event_source (BonoboPropertyControl *property_control);
typedef struct _BonoboPropertyControlPrivate BonoboPropertyControlPrivate;
#define BONOBO_PROPERTY_CONTROL_CHANGED "Bonobo::PropertyControl_changed"
BonoboControl * (*BonoboPropertyControlGetControlFn) (BonoboPropertyControl *control, int page_number, void *closure);
|
|
|
|
|
|
Returns : |
typedef struct { BonoboObjectClass parent_class; POA_Bonobo_PropertyControl__epv epv; gpointer dummy[4]; void (* action) (BonoboPropertyControl *property_control, Bonobo_PropertyControl_Action action); } BonoboPropertyControlClass;
BonoboPropertyControl * bonobo_property_control_construct (BonoboPropertyControl *property_control, BonoboEventSource *event_source, BonoboPropertyControlGetControlFn get_fn, int num_pages, void *closure);
Initialises the BonoboPropertyControl object.
|
A BonoboPropertyControl object. |
|
A BonoboEventSource object that will be aggregated onto the property control. |
|
Creation routine. |
|
|
|
Data passed to closure routine. |
Returns : |
The newly constructed BonoboPropertyControl. |
BonoboPropertyControl * bonobo_property_control_new_full (BonoboPropertyControlGetControlFn get_fn, int num_pages, BonoboEventSource *event_source, void *closure);
Creates a BonoboPropertyControl object.
|
The function to be called when the getControl method is called. |
|
The number of pages this property control has. |
|
The event source to use to emit events on. |
|
The data to be passed into the get_fn routine.
|
Returns : |
A pointer to a newly created BonoboPropertyControl object. |
BonoboPropertyControl * bonobo_property_control_new (BonoboPropertyControlGetControlFn get_fn, int num_pages, void *closure);
Creates a BonoboPropertyControl object.
|
The function to be called when the getControl method is called. |
|
The number of pages this property control has. |
|
The data to be passed into the get_fn routine
|
Returns : |
A pointer to a newly created BonoboPropertyControl object. |
void bonobo_property_control_changed (BonoboPropertyControl *property_control, CORBA_Environment *opt_ev);
Tells the server that a value in the property control has been changed, and that it should indicate this somehow.
|
The BonoboPropertyControl that has changed. |
|
An optional CORBA_Environment for exception handling. |
BonoboEventSource * bonobo_property_control_get_event_source (BonoboPropertyControl *property_control);
Returns the BonoboEventSource that property_control
uses.
|
The BonoboPropertyControl. |
Returns : |
A BonoboEventSource. |
"action"
signalvoid user_function (BonoboPropertyControl *bonobopropertycontrol, gint arg1, gint arg2, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |