Class uifcTab
Description
User Guide References:
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 Method Summary
void | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
void | |
| |
| |
| |
Method Detail
Determine the position of the component, in pixels, relative to its parent.
Returns:
Add a MenuPane to be displayed when the user presses the right mouse button over the component.
Parameters:
component
Returns:
Parameters:
component
Returns:
Delete a component from the parent.
Parameters:
name
Returns:
Determine the size of the component, in pixels.
Returns:
Delete a MenuPane from the component.
Returns:
Determine the screen position of the component, in pixels.
Returns:
Parameters:
tabitem
item_pos_data
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:
Parameters:
tabitems
posData
Returns:
Determine the size and position of the component, in pixels.
Returns:
Delete items from the component.
Parameters:
names
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:
Determine the minimum size of the component, in pixels.
Returns:
Determine the size and screen position of the component, in pixels.
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:
Determine the rectangle of the screen upon which the majority of the given component is displayed.
Returns:
Returns:
Flag to indicate where the focus should go if a child component of a Tab that has the focus, is made invisible when the Tab page is changed. If xtrue, the focus will go to the appropriate child in the newly visible Tab page. If xfalse, the focus will fall on the label of the new Tab page (if the Tab is decorated).
Sets flag to indicate where the focus should go if a child component of a Tab that has the focus, is made invisible when the Tab page is changed. If xtrue, the focus will go to the appropriate child in the newly visible Tab page. If xfalse, the focus will fall on the label of the new Tab page (if the Tab is decorated).
Parameters:
flag
Returns:
Returns:
Flag indicating whether the Tab should resize vertically when the Tab is collapsible (xfalse) or whether the Tab should always be tall enough to contain all of its children (xtrue).
Sets flag indicating whether the Tab should resize vertically when the Tab is collapsible (xfalse) or whether the Tab should always be tall enough to contain all of its children (xtrue).
Parameters:
flag
Returns:
Returns:
The name of the item being dragged when the user starts a drag & drop operation by dragging within the component.
Returns:
The cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over a valid drop-site.
Sets the cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over a valid drop-site.
Parameters:
value
Returns:
Returns:
Flag indicating whether the Tab should take into account the size of its tab buttons when calculating its initial size.
Sets flag indicating whether the Tab should take into account the size of its tab buttons when calculating its initial size.
Parameters:
flag
Returns:
Returns:
Flag indicating whether the Tab should resize horizontally when the Tab is collapsible (xfalse) or whether the Tab should always be wide enough to contain all of its children (xtrue).
Sets flag indicating whether the Tab should resize horizontally when the Tab is collapsible (xfalse) or whether the Tab should always be wide enough to contain all of its children (xtrue).
Parameters:
flag
Returns:
Returns:
The justification of the each of the labels of the Tab buttons if the Tab is decorated and the label is multi-line.
ALIGNMENT_LEFT | Left justified |
ALIGNMENT_CENTER | Center justified |
ALIGNMENT_RIGHT | Right justified |
Sets the justification of the each of the labels of the Tab buttons if the Tab is decorated and the label is multi-line.
ALIGNMENT_LEFT | Left justified |
ALIGNMENT_CENTER | Center justified |
ALIGNMENT_RIGHT | Right justified |
Parameters:
value
Returns:
Returns:
Flag indicating whether the page buttons of a decorated Tab should wrap onto multiple lines when there is insufficient space to display them all on a single line.
Sets flag indicating whether the page buttons of a decorated Tab should wrap onto multiple lines when there is insufficient space to display them all on a single line.
Parameters:
flag
Returns:
| GetVisibleItemNameArray | () |
Returns:
The names of the children of the component to be used for each of the items of the component.
This allows the same child to be used for more than one tab-page.
void | SetVisibleItemNameArray | |
Sets the names of the children of the component to be used for each of the items of the component.
This allows the same child to be used for more than one tab-page.
Parameters:
values
Returns:
| GetSelectedItemNameArray | () |
Returns:
The names of the selected items of the component.
void | SetSelectedItemNameArray | |
Sets the names of the selected items of the component.
Parameters:
values
Returns:
| GetDragNotValidCursorImage | () |
Returns:
The cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over an invalid drop-site.
void | SetDragNotValidCursorImage | |
Sets the cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over an invalid drop-site.
Parameters:
value
Returns:
Returns:
The foreground colors of the items of the component, as a uifcColor.
void | SetItemTextColorArray | |
Sets the foreground colors of the items of the component, as a uifcColor.
Parameters:
colors
Returns:
Returns:
The justification of the labels of the Tab if the Tab is decorated.
LABEL_ALIGNMENT_TOP | Above the children |
LABEL_ALIGNMENT_BOTTOM | Below the children |
LABEL_ALIGNMENT_LEFT | To the left of the children |
LABEL_ALIGNMENT_RIGHT | To the right of the children |
Sets the justification of the labels of the Tab if the Tab is decorated.
LABEL_ALIGNMENT_TOP | Above the children |
LABEL_ALIGNMENT_BOTTOM | Below the children |
LABEL_ALIGNMENT_LEFT | To the left of the children |
LABEL_ALIGNMENT_RIGHT | To the right of the children |
Parameters:
value
Returns:
Returns:
The name of the item beneath the pointer whilst the pointer is over the component during a drag & drop operation.
Returns:
The images of the items of the component.
Each image may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
Sets the images of the items of the component.
Each image may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
Parameters:
values
Returns:
Returns:
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.
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.
Parameters:
value
Returns:
Returns:
The popup help-text to be displayed for the items of the component whilst the pointer is over the component.
Sets the popup help-text to be displayed for the items of the component whilst the pointer is over the component.
Parameters:
values
Returns:
Returns:
The base font class to be used to draw text in the component.
FONT_CLASS_DEFAULT | The default font |
FONT_CLASS_DESKTOP | The font used by the Window Manager for the text of desktop icons |
FONT_CLASS_MENU | The font used by MenuBars and components within MenuPanes |
FONT_CLASS_POPUPHELP | The font used by the popup helptext |
FONT_CLASS_MESSAGE | The font used for messages in the UI Message Dialog |
FONT_CLASS_TITLEBAR | The font used to draw the titlebar text of a Dialog |
FONT_CLASS_FIXED | A system-specific fixed width font for the locale |
Sets the base font class to be used to draw text in the component.
FONT_CLASS_DEFAULT | The default font |
FONT_CLASS_DESKTOP | The font used by the Window Manager for the text of desktop icons |
FONT_CLASS_MENU | The font used by MenuBars and components within MenuPanes |
FONT_CLASS_POPUPHELP | The font used by the popup helptext |
FONT_CLASS_MESSAGE | The font used for messages in the UI Message Dialog |
FONT_CLASS_TITLEBAR | The font used to draw the titlebar text of a Dialog |
FONT_CLASS_FIXED | A system-specific fixed width font for the locale |
Parameters:
value
Returns:
Returns:
Flag indicating whether the component can be dragged to start a drag & drop operation.
Sets flag indicating whether the component can be dragged to start a drag & drop operation.
Parameters:
flag
Returns:
Returns:
The names of the items of the component.
Sets the names of the items of the component.
Parameters:
values
Returns:
Returns:
Flag indicating whether the Tab should attempt to resize when its contents are changed.
void | SetCanResizeWhenNeeded | |
Sets flag indicating whether the Tab should attempt to resize when its contents are changed.
Parameters:
flag
Returns:
Returns:
The point-size of the font used to draw text in the component.
Sets the point-size of the font used to draw text in the component.
Parameters:
value
Returns:
| GetEnabledItemNameArray | () |
Returns:
The names of the selectable items of the component. An empty array indicates that every item of the component may be selected.
void | SetEnabledItemNameArray | |
Sets the names of the selectable items of the component. An empty array indicates that every item of the component may be selected.
Parameters:
values
Returns:
Returns:
Flag indicating whether redraws are permitted in the Tab.
Sets flag indicating whether redraws are permitted in the Tab.
Parameters:
flag
Returns:
Returns:
Flag indicating whether the component is disabled (xfalse) or sensitive to user input (xtrue).
Sets flag indicating whether the component is disabled (xfalse) or sensitive to user input (xtrue).
Parameters:
flag
Returns:
Returns:
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.
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.
Parameters:
value
Returns:
Returns:
The item which was beneath the pointer the last time the pointer was over the component.
Returns:
The labels of the items of the component.
Sets the labels of the items of the component.
Parameters:
values
Returns:
Returns:
A bitwise OR of the styles of the font used to draw text in the component.
FONT_STYLE_REGULAR | The font is regularly spaced, slanted and weighted |
FONT_STYLE_CONDENSED | The font is condensed |
FONT_STYLE_ITALIC | The font is italicised |
FONT_STYLE_BOLD | The font is emboldened |
Sets a bitwise OR of the styles of the font used to draw text in the component.
FONT_STYLE_REGULAR | The font is regularly spaced, slanted and weighted |
FONT_STYLE_CONDENSED | The font is condensed |
FONT_STYLE_ITALIC | The font is italicised |
FONT_STYLE_BOLD | The font is emboldened |
Parameters:
value
Returns:
Returns:
Flag indicating whether the Tab should be sized according to the size of the visible child (xtrue) or whether the Tab should be large enough to contain all of the children (xfalse).
If this attribute is set to xtrue then the WidthFixed attribute and HeightFixed attribute control whether the Tab should resize horizontally or vertically or in both directions when the selection of the Tab is changed.
Sets flag indicating whether the Tab should be sized according to the size of the visible child (xtrue) or whether the Tab should be large enough to contain all of the children (xfalse).
If this attribute is set to xtrue then the WidthFixed attribute and HeightFixed attribute control whether the Tab should resize horizontally or vertically or in both directions when the selection of the Tab is changed.
Parameters:
flag
Returns:
Returns:
Flag indicating whether the Tab has a decorated shadow border.
Sets flag indicating whether the Tab has a decorated shadow border.
Parameters:
flag
Returns:
Parameters:
listener
Returns:
Parameters:
action
Returns:
Parameters:
timer
timerName
writeInTrail
Returns:
Parameters:
timerName
duration
Returns:
Parameters:
timerName
Returns: