| Library | File | Frames | Expand |
| void | DeletePopupMenu | () |
|
Delete a MenuPane from the component.
|
| uifcPoint_ptr | GetScreenOrigin | () |
|
Determine the screen position of the component, in pixels.
|
| uifcPoint_ptr | GetFrameOrigin | () |
|
Determine the position of the component, in pixels, relative to its parent.
|
| xint | InsertPopupMenu | (uifcComponent_ptr component) |
|
Add a MenuPane to be displayed when the user presses the right mouse button over the component.
|
| void | SetFrameOrigin | (uifcPoint_ptr value) |
|
Set the screen position of the component, in pixels, relative to its parent. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
|
| xint | InsertChild | (uifcComponent_ptr component, uifcGridData_ptr gridData) |
|
| uifcDimension_ptr | GetFrameMinimumSize | () |
|
Determine the minimum size of the component, in pixels.
|
| void | SetFrameSize | (uifcDimension_ptr value) |
|
Set the size of the component, in pixels. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
|
| uifcRectangle_ptr | GetScreenRectangle | () |
|
Determine the size and screen position of the component, in pixels.
|
| uifcRectangle_ptr | GetRectangleOfMonitor | () |
|
Determine the rectangle of the screen upon which the majority of the given component is displayed.
|
| void | SetFrameRectangle | (uifcRectangle_ptr rect) |
|
Set the size and screen position of the component, in pixels. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
|
| void | DeleteChild | (xrstring name) |
|
Delete a component from the parent.
|
| uifcDimension_ptr | GetFrameSize | () |
|
Determine the size of the component, in pixels.
|
| uifcRectangle_ptr | GetFrameRectangle | () |
|
Determine the size and position of the component, in pixels.
|
| xbool | DoesAllowWheelInput | () |
|
| void | SetAllowWheelInput | (xbool flag) |
|
Sets the response of the component to mouse wheel input.
|
| xbool | DoesFocusOnDisplay | () |
|
| void | SetFocusOnDisplay | (xbool flag) |
|
Sets if the focus is on a child component of a Layout, which itself is a child of a Tab, this flag indicates where the focus will go when the Tab page is changed (making the component with the focus invisible). If xtrue, the focus will fall on the appropriate child component of the Layout in the new Tab page. If xfalse, the focus will revert to the title of the new Tab page (if the Tab is decorated).
|
| uifcKey_ptr | GetKeyPressed | () |
|
| void | SetKeyPressed | (uifcKey_ptr key) |
|
Sets the key pressed which generated a OnKeyDown(). To indicate to the component that the key should not be passed on to, for example, the mapkey buffer you should modify this attribute to KEY_NONE at the end of your OnKeyDown() callback.
|
| uifcAlignment | GetTextAlignment | () |
|
| void | SetTextAlignment | (uifcAlignment value) |
|
Sets the justification of the label of the Layout if the Layout is decorated.
|
| xstring | GetMnemonicFocusName | () |
|
| void | SetMnemonicFocusName | (xrstring value) |
|
Sets the name of the component which should receive the keyboard input focus when the user presses the mnemonic key combination of the Layout.
|
| uifcRichText | GetTextFormat | () |
|
| void | SetTextFormat | (uifcRichText value) |
|
Sets the format of the display text of the component.
The UI RichText format supports the following styles, controlled by their corresponding tokens:
N.B. Each token must be followed immediately by another token or a whitespace character (e.g. space, newline). The very restricted subset of HTML supports the following styles, controlled by their corresponding tokens:
|
| xint | GetContentArrangement | () |
|
| void | SetContentArrangement | (xint value) |
|
Sets the alignment of the image and label of the Layout when the Layout is decorated. This is made up of between 1 and 4 digits which represent the relative locations of the image and label. The first digit is the image alignment within the bounds of the Layout label:
The second digit is optional and is the label alignment within the bounds of the Layout label, using the same scheme as above. If no digit is specified then the label alignment is assumed to be the same as the image alignment. The third digit is also optional and is the relative position of the image and the label if the first 2 digits are equal. If no digit is specified then the relative position is assumed to be 1.
The fourth digit is also optional and is a flag representing whether how the image and label should be displayed. If no digit is specified then then fourth digit is assumed to be 1.
|
| xstring | GetFontName | () |
|
| void | SetFontName | (xrstring value) |
|
Sets the name of the font used to draw text in the component. This may also contain a comma-separated list of font names, in which case the closest match (or the first exact match, if available) will be used.
|
| uifcFontClass | GetFontClass | () |
|
| void | SetFontClass | (uifcFontClass value) |
|
Sets the base font class to be used to draw text in the component.
|
| xreal | GetFontSize | () |
|
| void | SetFontSize | (xreal value) |
|
Sets the point-size of the font used to draw text in the component.
|
| xbool | IsEnabled | () |
|
| void | SetEnabled | (xbool flag) |
|
Sets flag indicating whether the component is disabled (xfalse) or sensitive to user input (xtrue).
|
| xstring | GetHelpText | () |
|
| void | SetHelpText | (xrstring value) |
|
Sets the popup help-text to be displayed whilst the pointer is over the component. If the value begins with <HTML> then the help-text is treated as HTML, and rendered accordingly. It is often wise to use HTML help-text in conjunction with HelpTextWidth attribute, to define the maximum width of the popup help-text window.
|
| uifcFontStyle | GetFontStyle | () |
|
| void | SetFontStyle | (uifcFontStyle value) |
|
Sets a bitwise OR of the styles of the font used to draw text in the component.
|
| void | AddActionListener | (uifcLayoutListener_ptr listener) |
|
| void | PushAction | (uifcLayoutAction action) |
|
| void | CreateTimer | (uifcLayoutTimer_ptr timer, xrstring timerName, xbool writeInTrail) |
|
| void | StartTimer | (xrstring timerName, xint duration) |
|
| void | StopTimer | (xrstring timerName) |
|