Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/doc/libbonoboui2-common/html/ drwxr-xr-x |
Viewing file: Select action/file-type:
SynopsisBonoboControl; BonoboControlPrivate; BonoboControlClass; BonoboControl * bonobo_control_new (GtkWidget *widget); GtkWidget * bonobo_control_get_widget (BonoboControl *control); void bonobo_control_set_automerge (BonoboControl *control, gboolean automerge); gboolean bonobo_control_get_automerge (BonoboControl *control); void bonobo_control_set_property (BonoboControl *control, CORBA_Environment *opt_ev, const char *first_prop, ...); void bonobo_control_get_property (BonoboControl *control, CORBA_Environment *opt_ev, const char *first_prop, ...); void bonobo_control_set_transient_for (BonoboControl *control, GtkWindow *window, CORBA_Environment *opt_ev); void bonobo_control_unset_transient_for (BonoboControl *control, GtkWindow *window, CORBA_Environment *opt_ev); BonoboControl * bonobo_control_construct (BonoboControl *control, GtkWidget *widget); BonoboUIComponent * bonobo_control_get_ui_component (BonoboControl *control); void bonobo_control_set_ui_component (BonoboControl *control, BonoboUIComponent *component); Bonobo_UIContainer bonobo_control_get_remote_ui_container (BonoboControl *control, CORBA_Environment *opt_ev); void bonobo_control_set_control_frame (BonoboControl *control, Bonobo_ControlFrame control_frame, CORBA_Environment *opt_ev); Bonobo_ControlFrame bonobo_control_get_control_frame (BonoboControl *control, CORBA_Environment *opt_ev); void bonobo_control_set_properties (BonoboControl *control, Bonobo_PropertyBag pb, CORBA_Environment *opt_ev); Bonobo_PropertyBag bonobo_control_get_properties (BonoboControl *control); Bonobo_PropertyBag bonobo_control_get_ambient_properties (BonoboControl *control, CORBA_Environment *opt_ev); void bonobo_control_activate_notify (BonoboControl *control, gboolean activated, CORBA_Environment *opt_ev); Bonobo_Gdk_WindowId bonobo_control_window_id_from_x11 (guint32 x11_id); guint32 bonobo_control_x11_from_window_id (const CORBA_char *id); #define bonobo_control_windowid_from_x11 (a) #define BONOBO_CONTROL_POPUP_BUTTON1 #define BONOBO_CONTROL_POPUP_BUTTON2 #define BONOBO_CONTROL_POPUP_BUTTON3 BonoboUIContainer * bonobo_control_get_popup_ui_container (BonoboControl *control); BonoboUIComponent * bonobo_control_get_popup_ui_component (BonoboControl *control); void bonobo_control_set_popup_ui_container (BonoboControl *control, BonoboUIContainer *ui_container); gboolean bonobo_control_do_popup (BonoboControl *control, guint button, guint32 activate_time); gboolean bonobo_control_do_popup_full (BonoboControl *control, GtkWidget *parent_menu_shell, GtkWidget *parent_menu_item, GtkMenuPositionFunc func, gpointer data, guint button, guint32 activate_time); void (*BonoboControlLifeCallback) (void); void bonobo_control_life_set_purge (long ms ); void bonobo_control_life_set_callback (BonoboControlLifeCallback all_dead_callback); void bonobo_control_life_instrument (BonoboControl *control); int bonobo_control_life_get_count (void); Signals"activate" : Run Last "disconnected" : Run Last "plug-created" : Run Last "set-frame" : Run Last DescriptionThe BonoboControl object implements the CORBA interface for handling remote embeddable components. A Control is a light weight, single view, arbitrarily complex 'widget'. Controls typicaly expose much of their functionality through a property bag. A BonoboControl provides the server ( or component ) side implementation of a Control. The client that uses this control will probably use a BonoboWidget to use the control in their program.
If you want to expose your widget as a control it is very simple Example 1. CORBA-ifying your GtkWidget
Example 2. A pretty useless Control
One final thing worth thinking about is activation. When a control is embedded inside a BonoboControlFrame, it is initialy inactive. In order for the control to recieve interactive input it is neccessary to use bonobo_control_frame_activate. This signals to the control that it is activated, at which point the Control should merge any UI elements it has with the associated BonoboUIComponent. This needs to be done every time the control is activated. DetailsBonoboControlClasstypedef struct { BonoboObjectClass parent_class; POA_Bonobo_Control__epv epv; gpointer dummy[2]; /* Signals. */ void (*plug_created) (BonoboControl *control); void (*disconnected) (BonoboControl *control); void (*set_frame) (BonoboControl *control); void (*activate) (BonoboControl *control, gboolean state); } BonoboControlClass;
bonobo_control_new ()BonoboControl * bonobo_control_new (GtkWidget *widget);
This function creates a new BonoboControl object for
bonobo_control_get_widget ()GtkWidget * bonobo_control_get_widget (BonoboControl *control); Returns the GtkWidget associated with a BonoboControl.
bonobo_control_set_automerge ()void bonobo_control_set_automerge (BonoboControl *control, gboolean automerge); Sets whether or not the control handles menu/toolbar merging automatically. If automerge is on, the control will automatically register its BonoboUIComponent with the remote BonoboUIContainer when it is activated.
bonobo_control_get_automerge ()gboolean bonobo_control_get_automerge (BonoboControl *control);
bonobo_control_set_property ()void bonobo_control_set_property (BonoboControl *control, CORBA_Environment *opt_ev, const char *first_prop, ...); This method takes a NULL terminated list of name, type, value triplicates, and sets the corresponding values on the control's associated property bag.
bonobo_control_get_property ()void bonobo_control_get_property (BonoboControl *control, CORBA_Environment *opt_ev, const char *first_prop, ...); This method takes a NULL terminated list of name, type, value triplicates, and fetches the corresponding values on the control's associated property bag.
bonobo_control_set_transient_for ()void bonobo_control_set_transient_for (BonoboControl *control, GtkWindow *window, CORBA_Environment *opt_ev);
Attempts to make the
bonobo_control_unset_transient_for ()void bonobo_control_unset_transient_for (BonoboControl *control, GtkWindow *window, CORBA_Environment *opt_ev);
bonobo_control_construct ()BonoboControl * bonobo_control_construct (BonoboControl *control, GtkWidget *widget);
bonobo_control_get_ui_component ()BonoboUIComponent * bonobo_control_get_ui_component (BonoboControl *control);
bonobo_control_set_ui_component ()void bonobo_control_set_ui_component (BonoboControl *control, BonoboUIComponent *component);
bonobo_control_get_remote_ui_container ()Bonobo_UIContainer bonobo_control_get_remote_ui_container (BonoboControl *control, CORBA_Environment *opt_ev);
bonobo_control_set_control_frame ()void bonobo_control_set_control_frame (BonoboControl *control, Bonobo_ControlFrame control_frame, CORBA_Environment *opt_ev);
bonobo_control_get_control_frame ()Bonobo_ControlFrame bonobo_control_get_control_frame (BonoboControl *control, CORBA_Environment *opt_ev);
bonobo_control_set_properties ()void bonobo_control_set_properties (BonoboControl *control, Bonobo_PropertyBag pb, CORBA_Environment *opt_ev);
Binds
bonobo_control_get_properties ()Bonobo_PropertyBag bonobo_control_get_properties (BonoboControl *control);
bonobo_control_get_ambient_properties ()Bonobo_PropertyBag bonobo_control_get_ambient_properties (BonoboControl *control, CORBA_Environment *opt_ev);
bonobo_control_activate_notify ()void bonobo_control_activate_notify (BonoboControl *control, gboolean activated, CORBA_Environment *opt_ev);
Notifies the remote ControlFrame which is associated with
bonobo_control_window_id_from_x11 ()Bonobo_Gdk_WindowId bonobo_control_window_id_from_x11 (guint32 x11_id);
bonobo_control_x11_from_window_id ()guint32 bonobo_control_x11_from_window_id (const CORBA_char *id); De-mangle a window id string, fields are separated by ':' character, currently only the first field is used.
bonobo_control_get_popup_ui_container ()BonoboUIContainer * bonobo_control_get_popup_ui_container (BonoboControl *control);
bonobo_control_get_popup_ui_component ()BonoboUIComponent * bonobo_control_get_popup_ui_component (BonoboControl *control);
bonobo_control_set_popup_ui_container ()void bonobo_control_set_popup_ui_container (BonoboControl *control, BonoboUIContainer *ui_container);
bonobo_control_do_popup ()gboolean bonobo_control_do_popup (BonoboControl *control, guint button, guint32 activate_time);
bonobo_control_do_popup_full ()gboolean bonobo_control_do_popup_full (BonoboControl *control, GtkWidget *parent_menu_shell, GtkWidget *parent_menu_item, GtkMenuPositionFunc func, gpointer data, guint button, guint32 activate_time);
bonobo_control_life_set_purge ()void bonobo_control_life_set_purge (long ms ); Set time we're prepared to wait without a ControlFrame before terminating the Control. This can happen if the panel activates us but crashes before the set_frame.
bonobo_control_life_set_callback ()void bonobo_control_life_set_callback (BonoboControlLifeCallback all_dead_callback); See bonobo_control_life_instrument
bonobo_control_life_instrument ()void bonobo_control_life_instrument (BonoboControl *control);
Request that
Signal DetailsThe
|
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
"disconnected"
signalvoid user_function (BonoboControl *bonobocontrol, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"plug-created"
signalvoid user_function (BonoboControl *bonobocontrol, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"set-frame"
signalvoid user_function (BonoboControl *bonobocontrol, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0227 ]-- |