| Library | File | Frames | Expand |
| void | OpenPopup | () |
|
Display the MenuPane as a popup menu.
|
| uifcPoint_ptr | GetFrameOrigin | () |
|
Determine the position of the component, in pixels, relative to its parent.
|
| uifcPoint_ptr | GetScreenOrigin | () |
|
Determine the screen position of the component, in pixels.
|
| void | SetFrameOrigin | (uifcPoint_ptr value) |
|
Set the screen position of the MenuPane, in pixels.
|
| xint | InsertChild | (uifcComponent_ptr component) |
|
| uifcDimension_ptr | GetFrameMinimumSize | () |
|
Determine the minimum size of the component, in pixels.
|
| void | SetFrameSize | (uifcDimension_ptr value) |
|
Set the size of the MenuPane, in pixels.
|
| 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 MenuPane, in pixels.
|
| 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 | DoesFocusOnDisplay | () |
|
| void | SetFocusOnDisplay | (xbool flag) |
|
Sets flag indicating whether the MenuPane should automatically take the focus when it appears on the screen (xtrue), or not (xfalse).
|
| xbool | HasDropShadow | () |
|
| void | SetHasDropShadow | (xbool flag) |
|
Sets flag indicating whether the MenuPane displays a drop-shadow around the bottom and right-hand edges of the window, if permitted to do so by the current OS window manager settings.
|
| xint | GetWidth | () |
|
| void | SetWidth | (xint value) |
|
Sets the width in pixels for the menu that the menu should ideally use. This value will be used as long as it is larger than the default menu width.
|
| xint | GetRows | () |
|
| void | SetRows | (xint value) |
|
Sets the number of visible rows of the MenuPane.
|
| xbool | HasScrollBarsWhenNeeded | () |
|
| void | SetHasScrollBarsWhenNeeded | (xbool flag) |
|
Sets flag indicating whether scrollbars should only be displayed when they are required (xtrue) or whether they should always be displayed (xfalse).
|
| uifcKey_ptr | GetAcceleratorKey | () |
|
| void | SetAcceleratorKey | (uifcKey_ptr key) |
|
Sets the accelerator key which, when pressed, will display the MenuPane when it is used as a popup menu.
|
| xstring | GetTitleImage | () |
|
| void | SetTitleImage | (xrstring value) |
|
Sets the image of the MenuPane, used only by the MenuBar to generate the necessary display information for the corresponding MenuBar item. This may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
|
| xbool | CanWrap | () |
|
| void | SetCanWrap | (xbool flag) |
|
Sets flag indicating whether the MenuPane should attempt to wrap its children into multiple columns (xtrue) when the MenuPane is longer than the height of the screen upon which the MenuPane is to be displayed, or whether the MenuPane should display scroll buttons to allow the contents to be viewed (xfalse).
|
| xbool | DoesReplayDismissEvent | () |
|
| void | SetReplayDismissEvent | (xbool flag) |
|
Sets flag indicating whether the MenuPane should replay a mouse event which occured outside the component, causing the MenuPane to be dismissed. The mouse event is replayed to the component beneath the cursor, where it would otherwise have been sent, originally.
|
| 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 MenuPane when the MenuPane is a child of a MenuBar. 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 MenuBar button:
The second digit is optional and is the label alignment within the bounds of the MenuBar button, 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.
|
| xbool | IsVisibleInMenuBar | () |
|
| void | SetVisibleInMenuBar | (xbool flag) |
|
Sets if the MenuPane is parented by a MenuBar then this attribute is a flag indicating whether the MenuPane should be visible in the MenuBar.
|
| xbool | CanRedraw | () |
|
| void | SetCanRedraw | (xbool flag) |
|
Sets flag indicating whether redraws are permitted in the MenuPane.
|
| 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.
|
| xstring | GetTitleText | () |
|
| void | SetTitleText | (xrstring value) |
|
Sets the label of the MenuPane, used only by the MenuBar to generate the necessary display information for the corresponding MenuBar item. The text may be single or multi-line, and may contain a mnemonic by prefixing the mnemonic character with an ampersand.
|
| xint | GetHeight | () |
|
| void | SetHeight | (xint value) |
|
Sets the height in pixels for the menu that the menu should ideally use. This value will be used as long as it is larger than the default menu height.
|
| xstring | GetOwnerName | () |
|
| void | SetOwnerName | (xrstring value) |
|
Sets the name of the component over which the MenuPane was displayed when it is being used as a popup menu.
|
| xbool | HasBorder | () |
|
| void | SetHasBorder | (xbool flag) |
|
Sets flag indicating whether the MenuPane has a decorated shadow border.
|
| xbool | DoesAutoClose | () |
|
| void | SetAutoClose | (xbool flag) |
|
Sets flag indicating whether the MenuPane should close automatically due to the action which has just occured within the current open menu hierarchy. This flag can be used by the application code to prevent the automatic closure of a MenuPane by setting it to xfalse in the OnCloseRequest() callback.
|
| xstring | GetAcceleratorText | () |
|
| void | AddActionListener | (uifcMenuPaneListener_ptr listener) |
|
| void | PushAction | (uifcMenuPaneAction action) |
|
| void | CreateTimer | (uifcMenuPaneTimer_ptr timer, xrstring timerName, xbool writeInTrail) |
|
| void | StartTimer | (xrstring timerName, xint duration) |
|
| void | StopTimer | (xrstring timerName) |
|