All Classes |Grouped Classes |Index

Class CL_GUIManager

GUI manager. More...

Derived from:

None

Derived by:

None

Group:

System (GUI)

#include <ClanLib/gui.h>

Class Members:

Construction:

CL_GUIManager

Constructs a gui manager with a system window manager.


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_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_registered_font

Get a registered user defined GUI font (set with register_font() ). Returns NULL if not found.

get_clipboard_text

Get Clipboard text.


Events:

sig_filter_message

bool func_filter_message(const CL_GUIMessage &message)

func_exec_handler

int func_exec_handler()


Operations:

add_theme

Adds a GUI theme directory.

set_theme

Sets the GUI theme.

set_css_document

Sets the CSS document.

add_resources

Adds additional resources to the GUI resource manager.

initialize_layout_manager

Load layout.

set_window_manager

Sets the windows manager.

exec

Processes messages until exit_with_code is called.

process_messages

Processes all messages available.

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.

set_capture_component

Set the mouse capture component.

request_repaint

Mark the specified area to be redrawn.

register_font

Registers a user defined GUI font - referenced using the specified font description.

render_windows

Render windows.

set_clipboard_text

Set clipboard text.

set_tablet_proximity_component

Redirect proximity events from tablet to the specified component.

set_accelerator_table

Set the accelerator table.

create_layout

Creates a css layout for a given component.

has_layout

Checks if a component type has layout information available.