Concept Framework 1.0 documentation Contents | Index

VisibleRemoteObject.OnWindowState

Name Type Access Version Deprecated
OnWindowState event public version 1.0 no

Prototype:
OnWindowState(Sender, EventData)

Parameters:
Sender      the event firing control
EventData      contains a string encapsulating the new window state

Description:
This event is generated when the state of a toplevel window changes.

Example:
To obtain the new window state you should apply 'value' to EventData:

new_state=value EventData;

new_state is a combination of these constants:

GDK_WINDOW_STATE_WITHDRAWN the window is not shown.
GDK_WINDOW_STATE_ICONIFIED the window is minimized.
GDK_WINDOW_STATE_MAXIMIZED the window is maximized.
GDK_WINDOW_STATE_STICKY the window is sticky.
GDK_WINDOW_STATE_FULLSCREEN the window is maximized without decorations.
GDK_WINDOW_STATE_ABOVE the window is kept above other windows.
GDK_WINDOW_STATE_BELOW the window is kept below other windows.

Returns:
This event can close the application by returning MSG_APPLICATION_QUIT. Any other return value will be ignored.

Documented by Eduard Suica, generation time: Thu Oct 15 20:01:52 2009 GMT(c)2009 RadGs Software