Class uifcCascadeButton
Description
GetDialog,
GetComponent,
CreateInParent,
AddPopupMenu,
IsVisible,
SetVisible,
GetComponentClass,
GetComponentClassName,
IsAlwaysAtFront,
SetAlwaysAtFront,
GetBackgroundColor,
SetBackgroundColor,
IsAttachedAtBottom,
SetAttachedAtBottom,
GetBottomOffset,
SetBottomOffset,
GetCursorImage,
SetCursorImage,
GetTextColor,
SetTextColor,
GetHelpTextAlignment,
SetHelpTextAlignment,
GetHelpTextWidth,
SetHelpTextWidth,
GetHelpTextOriginX,
SetHelpTextOriginX,
GetHelpTextOriginY,
SetHelpTextOriginY,
CanInheritPopupMenu,
SetCanInheritPopupMenu,
IsAttachedAtLeft,
SetAttachedAtLeft,
GetLeftOffset,
SetLeftOffset,
DoesReserveSpace,
SetReserveSpace,
GetParentName,
GetPopupMenuName,
SetPopupMenuName,
CanPopupMenuWhenDisabled,
SetCanPopupMenuWhenDisabled,
IsAttachedAtRight,
SetAttachedAtRight,
GetRightOffset,
SetRightOffset,
IsAttachedAtTop,
SetAttachedAtTop,
GetTopOffset,
SetTopOffset,
IsValidDropSite,
SetValidDropSite,
GetValidDropTypeFlags,
SetValidDropTypeFlags,
GetChildNameArray,
DoesAllowTrailRecording,
SetAllowTrailRecording,
CanReduceHeight,
SetCanReduceHeight,
CanReduceWidth,
SetCanReduceWidth GetImageColor,
SetImageColor,
GetAcceleratorKey,
SetAcceleratorKey,
GetDragCursorImage,
SetDragCursorImage,
GetImage,
SetImage,
GetTextAlignment,
SetTextAlignment,
GetButtonStyle,
SetButtonStyle,
CanWrap,
SetCanWrap,
GetTextFormat,
SetTextFormat,
GetDragNotValidCursorImage,
SetDragNotValidCursorImage,
GetContentArrangement,
SetContentArrangement,
DoesAllowKeyboardInput,
SetAllowKeyboardInput,
GetFontName,
SetFontName,
GetFontClass,
SetFontClass,
IsValidDragSite,
SetValidDragSite,
CanTruncateText,
SetCanTruncateText,
CanResizeWhenNeeded,
SetCanResizeWhenNeeded,
GetFontSize,
SetFontSize,
IsEnabled,
SetEnabled,
GetHelpText,
SetHelpText,
GetText,
SetText,
GetFontStyle,
SetFontStyle,
GetImageBackgroundColor,
SetImageBackgroundColor,
GetAcceleratorText Method Summary
void | |
| |
| |
| |
void | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
Method Detail
| GetPendingActionDialogName | () |
Returns:
| GetPendingActionComponentName | () |
Returns:
Determine the screen position of the component, in pixels.
Returns:
Determine the size and screen position of the component, in pixels.
Returns:
Determine the minimum size of the component, in pixels.
Returns:
Determine the position of the component, in pixels, relative to its parent.
Returns:
Determine the size and position of the component, in pixels.
Returns:
Determine the size of the component, in pixels.
Returns:
Determine the rectangle of the screen upon which the majority of the given component is displayed.
Returns:
Get the size in pixels of the given text string.
Parameters:
str
Returns:
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
Parameters:
value
Returns:
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
Parameters:
rect
Returns:
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
Parameters:
value
Returns:
Returns:
The popup help-text to be displayed over the button part of a split CascadeButton.
Sets the popup help-text to be displayed over the button part of a split CascadeButton.
Parameters:
value
Returns:
Returns:
The name of the MenuPane to be displayed when the CascadeButton is activated.
If this value is "" then the value of the PopupMenuName attribute is used instead.
Sets the name of the MenuPane to be displayed when the CascadeButton is activated.
If this value is "" then the value of the PopupMenuName attribute is used instead.
Parameters:
value
Returns:
Returns:
The orientation of the CascadeButton.
ORIENTATION_HORIZONTAL | The child menu opens in a horizontal direction, with the arrow pointing to the right |
ORIENTATION_VERTICAL | The child menu opens in a vertical direction, with the arrow pointing downwards |
Sets the orientation of the CascadeButton.
ORIENTATION_HORIZONTAL | The child menu opens in a horizontal direction, with the arrow pointing to the right |
ORIENTATION_VERTICAL | The child menu opens in a vertical direction, with the arrow pointing downwards |
Parameters:
value
Returns:
Returns:
When SplitButton attribute is xtrue, this attribute controls the sensitivity of the arrow part of the control.
If the value is set to 2 then the sensitivity is instead taken from the value of Enabled attribute to provide backwards compatibility with previous versions.
Sets when SplitButton attribute is xtrue, this attribute controls the sensitivity of the arrow part of the control.
If the value is set to 2 then the sensitivity is instead taken from the value of Enabled attribute to provide backwards compatibility with previous versions.
Parameters:
value
Returns:
Returns:
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.
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.
Parameters:
key
Returns:
| DoesReplayDismissEvent | () |
Returns:
Flag indicating whether the CascadeButton should replay a mouse event which occured outside the MenuPane of the CascadeButton, causing the MenuPane to be dismissed and the CascadeButton to close. The mouse event is replayed to the component beneath the cursor, where it would otherwise have been sent, originally.
void | SetReplayDismissEvent | |
Sets flag indicating whether the CascadeButton should replay a mouse event which occured outside the MenuPane of the CascadeButton, causing the MenuPane to be dismissed and the CascadeButton to close. The mouse event is replayed to the component beneath the cursor, where it would otherwise have been sent, originally.
Parameters:
flag
Returns:
Returns:
The justification of the label of the CascadeButton
LABEL_ALIGNMENT_LEFT | To the left of the split / to the left of the arrow |
LABEL_ALIGNMENT_RIGHT | To the right of the split |
LABEL_ALIGNMENT_TOP | Above the split / above the arrow |
LABEL_ALIGNMENT_BOTTOM | Below the split |
Sets the justification of the label of the CascadeButton
LABEL_ALIGNMENT_LEFT | To the left of the split / to the left of the arrow |
LABEL_ALIGNMENT_RIGHT | To the right of the split |
LABEL_ALIGNMENT_TOP | Above the split / above the arrow |
LABEL_ALIGNMENT_BOTTOM | Below the split |
Parameters:
value
Returns:
Returns:
Flag indicating whether to allow OnActivate() callbacks for the CascadeButton. When this flag is set to xtrue the CascadeButton is drawn as a split-button, with the arrow region being used to open the child MenuPane and the remainder of the button generating this callback.
Sets flag indicating whether to allow OnActivate() callbacks for the CascadeButton. When this flag is set to xtrue the CascadeButton is drawn as a split-button, with the arrow region being used to open the child MenuPane and the remainder of the button generating this callback.
Parameters:
flag
Returns:
Returns:
The popup help-text to be displayed for the arrow part of a split CascadeButton.
Sets the popup help-text to be displayed for the arrow part of a split CascadeButton.
Parameters:
value
Returns:
Returns:
Flag indicating whether to treat OnActivate() callbacks for the CascadeButton as if the button were a CheckButton. When this flag is set to xtrue the CascadeButton toggles the value of CheckedState attribute when the button is pressed.
Sets flag indicating whether to treat OnActivate() callbacks for the CascadeButton as if the button were a CheckButton. When this flag is set to xtrue the CascadeButton toggles the value of CheckedState attribute when the button is pressed.
Parameters:
flag
Returns:
Returns:
Flag indicating whether the CascadeButton is in the process of closing.
Sets flag indicating whether the CascadeButton is in the process of closing.
Parameters:
flag
Returns:
Returns:
The state of the CascadeButton when SplitCheckButton attribute is set to CHECK_STATE_SET.
Sets the state of the CascadeButton when SplitCheckButton attribute is set to CHECK_STATE_SET.
Parameters:
value
Returns:
Parameters:
listener
Returns:
Parameters:
action
Returns:
Parameters:
timer
timerName
writeInTrail
Returns:
Parameters:
timerName
duration
Returns:
Parameters:
timerName
Returns: