VisibleRemoteObject.OnWindowState


Deprecated since since version 4.1

public event OnWindowState

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.

Return value:

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

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.