Group box component. More...
Derived from: | public CL_GUIComponent |
Derived by: | None |
Group: | Components (GUI) |
#include <ClanLib/gui.h>
Class Members:
Construction: | |
Constructs a GroupBox. |
| |
Find child component with the specified component ID name. |
| |
Returns the position and size of the drawable area of the component. | |
Returns the width of the drawable area of the component. | |
Returns the height of the drawable area of the component. | |
Returns the size of the drawable area of the component. | |
Returns the position and size of the component window (window frame, borders etc). | |
Returns the component type name. | |
Returns the component class name. | |
Returns the component ID name. | |
Returns the CSS element name for the component. | |
Returns true if the component has the focus. | |
Returns true if the components size can be changed. | |
Returns true if the components children are clipped to the parent component when drawn. | |
Returns the focus policy of the component. | |
Returns the name of the component group, or an empty string if no group name has been set. | |
Returns true if the component is the selected item in a group of components where FocusPolicy is focus_group. | |
Returns true if this component, when focused, blocks the default action of its parent dialog. | |
Returns the resource manager for the GUI resources. | |
Returns the GUI manager owning this component. | |
Returns the theme used by this component. | |
Returns the parent component. | |
Return the component owning this component. | |
Returns a list of the child components. | |
Returns the first child component. | |
Returns the last child component. | |
Returns the next component in the component tree, or 'this', if none found. | |
Returns the previous component in the component tree, or 'this', if none found. | |
Returns a list of child components belonging to the specified group. | |
Returns the selected item in a component group of which this component is a member. | |
Find child component with the specified component ID name. | |
Returns true if the component has any child components. | |
Returns the previous sibling component. | |
Returns the next sibling component. | |
Checks if this component is a descendant of target component. | |
Checks if this component is the ancestor of target component. | |
Returns the top level component this CL_GUIComponent is a child of. | |
Return the graphic context for the component. | |
Return the input context for the component. | |
Return true if the component, and all its parents are enabled. | |
Return true if the component, and all its parents are visible. | |
Returns true if the component is active. | |
Return the component under 'point', in local viewport coordinates. | |
Returns the preferred size of a render box. | |
Returns the preferred width of a render box. | |
Returns the preferred height of a render box. | |
Convert the top-level window client coordinates to component coordinates. | |
Convert the component coordinates to top-level window client coordinates. | |
Convert the screen coordinates to component coordinates. | |
Convert the component coordinates to screen coordinates. | |
Returns the layout manager set for this component. Check CL_GUILayout.is_null() if none set. | |
Returns the display window in which this component is hosted. | |
Returns true if this component will receive unhandled enter/return keypress messages. | |
Returns true if this component will receive unhandled escape keypress messages. | |
Returns true if this component will generate double click messages. | |
Enabled whether the GUI will constantly repaint this component when there are no other messages to process. | |
Gets the css layout. | |
Gets the css element for this component. | |
Focus policies. |
| |
void func_render(CL_GraphicContext &gc, const CL_Rect &clip_rect) | |
void func_process_message(const CL_GUIMessage &message) | |
bool func_close() | |
bool func_activated() | |
bool func_deactivated() | |
bool func_focus_lost() | |
bool func_focus_gained() | |
bool func_pointer_enter() | |
bool func_pointer_exit() | |
Lets a component filter the messages intended for another component. Consumed messages will not reach the original target component. | |
bool func_input(const CL_InputEvent &input_event) | |
bool func_input_pressed(const CL_InputEvent &input_event) | |
bool func_input_released(const CL_InputEvent &input_event) | |
bool func_input_doubleclick(const CL_InputEvent &input_event) | |
bool func_input_pointer_moved(const CL_InputEvent &input_event) | |
void func_style_changed() | |
Callback invoked when the component is resized, i.e. when set_geometry is called. | |
void func_constrain_resize(CL_Rect &geometry) | |
Callback invoked when loading a custom component from XML. |
| |
Renders the component and its children. | |
Paints the component. | |
Run component in modal mode. | |
Break message pump. | |
Set component position and size. | |
Set component window position and size. | |
Sets the component type name. (csstype.cssclass::cssid) | |
Sets the component class name. (csstype.cssclass::cssid) | |
Sets the component ID name. (csstype.cssclass::cssid) | |
Sets the component as enabled or disabled. | |
Sets the components children to be clipped to the parent component when drawn. | |
Sets the component as visible or hidden. | |
Set this component focus. | |
Make all mouse messages be redirected to this component. | |
Make tablet proximity messages be redirected to this component. | |
Sets the focus policy of the component. | |
Modifies whether this component will generate double click messages or not. | |
Set group name. | |
Set to true if this component is the selected item in a group of components where FocusPolicy is focus_group. | |
Create child components from a GUI definition file. | |
Set a clipping rectangle. | |
Reset the clipping rectangle. | |
Push a clipping rectangle. | |
Pop a clipping rectangle. | |
Deletes all child components. | |
Makes this component a child of the given component, removing it from the previous parent. | |
Set a layout on the component. | |
Sets the current cursor icon. | |
Set focus to the next component in tab order. | |
Set focus to the previous component in tab order. | |
When set to true, this component will receive unhandled enter/return keypress messages. | |
When set to true, this component will receive unhandled escape keypress messages. | |
Set to true if this component, when focused, blocks the default action of the parent dialog. | |
Enabled whether the GUI will constantly repaint this component when there are no other messages to process. | |
Loads a layout from file. |