gnome-mdi-session

gnome-mdi-session

Functions

Includes

#include <libgnomeui/libgnomeui.h>

Description

Functions

GnomeMDIChildCreator ()

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

GnomeMDIChildCreator is deprecated and should not be used in newly-written code.


gnome_mdi_restore_state ()

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

gnome_mdi_restore_state is deprecated and should not be used in newly-written code.

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.

Parameters

mdi

A pointer to a GnomeMDI object.

 

section

Name of the section to restore MDI state from.

 

create_child_func

A function that recreates a child from its config string.

 

Returns

TRUE if state was successfully restored, FALSE otherwise.


gnome_mdi_save_state ()

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

gnome_mdi_save_state is deprecated and should not be used in newly-written code.

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

Parameters

mdi

A pointer to a GnomeMDI object.

 

section

Name of the section that the MDI config should be saved to.

 

Types and Values