![]() |
![]() |
![]() |
MATE UI Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <libmateui/libmateui.h> MateMDIChild * (*MateMDIChildCreator) (const gchar *Param1
); gboolean mate_mdi_restore_state (MateMDI *mdi
,const gchar *section
,MateMDIChildCreator create_child_func
); void mate_mdi_save_state (MateMDI *mdi
,const gchar *section
);
MateMDIChild * (*MateMDIChildCreator) (const gchar *Param1
);
MateMDIChildCreator
is deprecated and should not be used in newly-written code.
|
|
Returns : |
gboolean mate_mdi_restore_state (MateMDI *mdi
,const gchar *section
,MateMDIChildCreator create_child_func
);
mate_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.
|
A pointer to a MateMDI object. |
|
Name of the section to restore MDI state from. |
|
A function that recreates a child from its config string. |
Returns : |
TRUE if state was successfully restored, FALSE otherwise. |
void mate_mdi_save_state (MateMDI *mdi
,const gchar *section
);
mate_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
.
|
A pointer to a MateMDI object. |
|
Name of the section that the MDI config should be saved to. |