gnome-mdi-session

Name

gnome-mdi-session -- 

Synopsis



GnomeMDIChild* (*GnomeMDIChildCreator)      (const gchar*);
gboolean    gnome_mdi_restore_state         (GnomeMDI *mdi,
                                             const gchar *section,
                                             GnomeMDIChildCreator child_create_func);
void        gnome_mdi_save_state            (GnomeMDI *mdi,
                                             const gchar *section);

Description

Details

GnomeMDIChildCreator ()

GnomeMDIChild* (*GnomeMDIChildCreator)      (const gchar*);

Param1 : 
Returns : 


gnome_mdi_restore_state ()

gboolean    gnome_mdi_restore_state         (GnomeMDI *mdi,
                                             const gchar *section,
                                             GnomeMDIChildCreator child_create_func);

Restores the MDI state. Children are recreated with create_child_func that restores information about a child from a config string that was provided during saving state by the child.

mdi : A pointer to a GnomeMDI object.
section : Name of the section to restore MDI state from.
child_create_func : 
Returns :TRUE if state was successfully restored, FALSE otherwise.


gnome_mdi_save_state ()

void        gnome_mdi_save_state            (GnomeMDI *mdi,
                                             const gchar *section);

Saves MDI state to the application's config file in section section.

mdi : A pointer to a GnomeMDI object.
section : Name of the section that the MDI config should be saved to.