Class uifcSash

# include <uifcSash.h>

class
uifcSash
: public virtual
uifcComponent
{
xaideclare(uifcSash)
...
};


Description
User Guide References:
Methods Inherited from Class uifcComponent::
Method Summary
Method Detail
void
SetFrameRectangle
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:
void
DeletePopupMenu
()
Delete a MenuPane from the component.
Returns:
GetFrameOrigin
()
Determine the position of the component, in pixels, relative to its parent.
Returns:
InsertPopupMenu
(uifcComponent_ptr component)
Add a MenuPane to be displayed when the user presses the right mouse button over the component.
Parameters:
component
Returns:
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
Parameters:
value
Returns:
GetFrameMinimumSize
()
Determine the minimum size of the component, in pixels.
Returns:
GetScreenOrigin
()
Determine the screen position of the component, in pixels.
Returns:
void
SetFrameSize
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:
GetScreenRectangle
()
Determine the size and screen position of the component, in pixels.
Returns:
void
SwapChildren
()
Swap the positions of the two children of the Sash, modifying the Position attribute and inverting the SashGravity attribute as necessary.
Returns:
GetRectangleOfMonitor
()
Determine the rectangle of the screen upon which the majority of the given component is displayed.
Returns:
GetFrameSize
()
Determine the size of the component, in pixels.
Returns:
GetFrameRectangle
()
Determine the size and position of the component, in pixels.
Returns:
DoesDynamicUpdate
()
Returns:
Flag indicating whether the Sash takes advantage of the "Show window contents when dragging" setting of the desktop (xtrue), or whether the dragging of the Sash uses rubber-banding (xfalse).
void
SetDynamicUpdate
(xbool flag)
Sets flag indicating whether the Sash takes advantage of the "Show window contents when dragging" setting of the desktop (xtrue), or whether the dragging of the Sash uses rubber-banding (xfalse).
Parameters:
flag
Returns:
GetOrientation
()
Returns:
The orientation of the Sash.
ORIENTATION_HORIZONTAL
Horizontal, with the first child being positioned to the left of the second child
ORIENTATION_VERTICAL
Vertical, with the first child being positioned above the second child
void
SetOrientation
(uifcOrientation value)
Sets the orientation of the Sash.
ORIENTATION_HORIZONTAL
Horizontal, with the first child being positioned to the left of the second child
ORIENTATION_VERTICAL
Vertical, with the first child being positioned above the second child
Parameters:
value
Returns:
GetDragCursorImage
()
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.
void
SetDragCursorImage
(xrstring value)
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:
GetPosition
()
Returns:
The percentage position of the sash divider of the Sash between the minimum sizes of the two children.
void
SetPosition
(xint value)
Sets the percentage position of the sash divider of the Sash between the minimum sizes of the two children.
Parameters:
value
Returns:
DoesRememberSize
()
Returns:
Flag indicating whether the Sash should remember its size when the Dialog in which it is contained is destroyed so that when the Dialog is recreated the Sash will initially be created with the same size.
void
SetRememberSize
(xbool flag)
Sets flag indicating whether the Sash should remember its size when the Dialog in which it is contained is destroyed so that when the Dialog is recreated the Sash will initially be created with the same size.
Parameters:
flag
Returns:
IsEnabled
()
Returns:
Flag indicating whether the component is disabled (xfalse) or sensitive to user input (xtrue).
void
SetEnabled
(xbool flag)
Sets flag indicating whether the component is disabled (xfalse) or sensitive to user input (xtrue).
Parameters:
flag
Returns:
GetSashGravity
()
Returns:
The gravity of the Sash, which is used to determine where the sash divider should be placed after the Sash is resized.
SASH_GRAVITY_FIRST
The Sash maintains its position relative to the first child
NO_SASH_GRAVITY
The Sash maintains its percentage position between both children
SASH_GRAVITY_SECOND
The Sash maintains its position relative to the second child
void
SetSashGravity
(uifcSashGravity value)
Sets the gravity of the Sash, which is used to determine where the sash divider should be placed after the Sash is resized.
SASH_GRAVITY_FIRST
The Sash maintains its position relative to the first child
NO_SASH_GRAVITY
The Sash maintains its percentage position between both children
SASH_GRAVITY_SECOND
The Sash maintains its position relative to the second child
Parameters:
value
Returns:
void
AddActionListener
Parameters:
listener
Returns:
void
PushAction
(uifcSashAction action)
Parameters:
action
Returns:
void
CreateTimer
(uifcSashTimer_ptr timer, xrstring timerName, xbool writeInTrail)
Parameters:
timer
timerName
writeInTrail
Returns:
void
StartTimer
(xrstring timerName, xint duration)
Parameters:
timerName
duration
Returns:
void
StopTimer
(xrstring timerName)
Parameters:
timerName
Returns:
Was this helpful?