Home |All Classes |Grouped Classes |Index |Search

Class CL_GUIManager

GUI manager. More...

Derived from:

public CL_ComponentParent

Derived by:

None

Group:

System (GUI)

#include <ClanLib/gui.h>

Class Members:

Construction:

CL_GUIManager


Attributes:

is_gui_manager

Returns true if the parent is the GUI manager.

get_theme

Returns the GUI theme being used.

get_css_document

Returns the CSS document being used.

get_resources

Returns the resource manager for the GUI resources.

get_window_manager

Returns the windows manager being used.

get_capture_component

Returns the mouse capture component.

get_focused_component

Returns the currently focused component.

get_exit_flag

Returns if a dialog message pump loop should exit.

get_exit_code

Returns the dialog exit code.

get_userdata

Returns userdata.

get_named_font

Get the shared user defined GUI font (set with set_named_font() ). Returns NULL if not found.


Events:

func_filter_message

bool func_filter_message(const CL_GUIMessage &message)

func_exec_handler

int func_exec_handler(CL_AcceleratorTable &accel_table)


Operations:

set_theme

Sets the GUI theme.

set_css_document

Sets the CSS document.

set_resources

Sets the resource manager for the GUI resources.

set_window_manager

Sets the windows manager.

exec

Processes messages until exit_with_code is called.

peek_message

Reads the next message but leaves it in the queue.

get_message

Reads the next message.

dispatch_message

Sends a GUI message to the message handler target for the message.

exit_with_code

Breaks the message loop.

clear_exit_flag

Clears the flag indicating exec() should exit its message pump loop.

post_message

Post GUI message onto the message queue.

send_message

Send GUI message directly to the target.

set_capture_component

Set the mouse capture component.

invalidate_rect

Mark the specified area to be redrawn.

set_userdata

Set userdata.

set_named_font

Set the shared user defined GUI font - referenced using the specified name and details.