Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | (*GnomeMDIChildViewCreator) () |
GList * | (*GnomeMDIChildMenuCreator) () |
gchar * | (*GnomeMDIChildConfigFunc) () |
GtkWidget * | (*GnomeMDIChildLabelFunc) () |
GtkWidget * | gnome_mdi_child_add_view () |
void | gnome_mdi_child_remove_view () |
void | gnome_mdi_child_set_name () |
void | gnome_mdi_child_set_menu_template () |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GnomeMDIChild ╰── GnomeMDIGenericChild
GtkWidget * (*GnomeMDIChildViewCreator) (GnomeMDIChild *Param1
,gpointer Param2
);
GnomeMDIChildViewCreator
is deprecated and should not be used in newly-written code.
GList * (*GnomeMDIChildMenuCreator) (GnomeMDIChild *Param1
,GtkWidget *Param2
,gpointer Param3
);
GnomeMDIChildMenuCreator
is deprecated and should not be used in newly-written code.
gchar * (*GnomeMDIChildConfigFunc) (GnomeMDIChild *Param1
,gpointer Param2
);
GnomeMDIChildConfigFunc
is deprecated and should not be used in newly-written code.
GtkWidget * (*GnomeMDIChildLabelFunc) (GnomeMDIChild *Param1
,GtkWidget *Param2
,gpointer Param3
);
GnomeMDIChildLabelFunc
is deprecated and should not be used in newly-written code.
GtkWidget *
gnome_mdi_child_add_view (GnomeMDIChild *mdi_child
);
gnome_mdi_child_add_view
is deprecated and should not be used in newly-written code.
Creates a new view of a child (a GtkWidget) adds it to the list of the views and returns a pointer to it. Virtual function that has to be specified for classes derived from GnomeMDIChild is used to create the new view.
void gnome_mdi_child_remove_view (GnomeMDIChild *mdi_child
,GtkWidget *view
);
gnome_mdi_child_remove_view
is deprecated and should not be used in newly-written code.
Removes view view
from the list of mdi_child
's views and
unrefs it.
void gnome_mdi_child_set_name (GnomeMDIChild *mdi_child
,const gchar *name
);
gnome_mdi_child_set_name
is deprecated and should not be used in newly-written code.
Changes name of mdi_child
to name
. name
is duplicated and stored
in mdi_child
. If mdi_child
has already been added to GnomeMDI,
it also takes care of updating it.
void gnome_mdi_child_set_menu_template (GnomeMDIChild *mdi_child
,GnomeUIInfo *menu_tmpl
);
gnome_mdi_child_set_menu_template
is deprecated and should not be used in newly-written code.
Sets the template for menus that are added and removed when differrent children get activated. This way, each child can modify the MDI menubar to suit its needs. If no template is set, the create_menus virtual function will be used for creating these menus (it has to return a GList of menu items). If no such function is specified, the menubar will be unchanged by MDI children.