Library | File

Class uifcSash

# include <uifcSash.h>

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



Description





Method Summary

voidAddActionListener (uifcSashListener_ptr listener)
 
voidCreateTimer (uifcSashTimer_ptr timer, xrstring timerName, xbool writeInTrail)
 
voidDeletePopupMenu ()
 
xboolDoesDynamicUpdate ()
 
xboolDoesRememberSize ()
 
xstringGetDragCursorImage ()
 
uifcDimension_ptrGetFrameMinimumSize ()
 
uifcPoint_ptrGetFrameOrigin ()
 
uifcRectangle_ptrGetFrameRectangle ()
 
uifcDimension_ptrGetFrameSize ()
 
uifcOrientationGetOrientation ()
 
xintGetPosition ()
 
uifcRectangle_ptrGetRectangleOfMonitor ()
 
uifcSashGravityGetSashGravity ()
 
uifcPoint_ptrGetScreenOrigin ()
 
uifcRectangle_ptrGetScreenRectangle ()
 
xintInsertPopupMenu (uifcComponent_ptr component)
 
xboolIsEnabled ()
 
voidPushAction (uifcSashAction action)
 
voidSetDragCursorImage (xrstring value)
 
voidSetDynamicUpdate (xbool flag)
 
voidSetEnabled (xbool flag)
 
voidSetFrameOrigin (uifcPoint_ptr value)
 
voidSetFrameRectangle (uifcRectangle_ptr rect)
 
voidSetFrameSize (uifcDimension_ptr value)
 
voidSetOrientation (uifcOrientation value)
 
voidSetPosition (xint value)
 
voidSetRememberSize (xbool flag)
 
voidSetSashGravity (uifcSashGravity value)
 
voidStartTimer (xrstring timerName, xint duration)
 
voidStopTimer (xrstring timerName)
 
voidSwapChildren ()
 


Methods Inherited from Class uifcComponent:

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 Detail

voidSetFrameRectangle (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
Parameters:
rect
Returns:



voidDeletePopupMenu ()

 

Delete a MenuPane from the component.
Returns:



uifcPoint_ptrGetFrameOrigin ()

 

Determine the position of the component, in pixels, relative to its parent.
Returns:



xintInsertPopupMenu (uifcComponent_ptr component)

 

Add a MenuPane to be displayed when the user presses the right mouse button over the component.
Parameters:
component
Returns:



voidSetFrameOrigin (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:



uifcDimension_ptrGetFrameMinimumSize ()

 

Determine the minimum size of the component, in pixels.
Returns:



uifcPoint_ptrGetScreenOrigin ()

 

Determine the screen position of the component, in pixels.
Returns:



voidSetFrameSize (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
Parameters:
value
Returns:



uifcRectangle_ptrGetScreenRectangle ()

 

Determine the size and screen position of the component, in pixels.
Returns:



voidSwapChildren ()

 

Swap the positions of the two children of the Sash, modifying the Position attribute and inverting the SashGravity attribute as necessary.
Returns:



uifcRectangle_ptrGetRectangleOfMonitor ()

 

Determine the rectangle of the screen upon which the majority of the given component is displayed.
Returns:



uifcDimension_ptrGetFrameSize ()

 

Determine the size of the component, in pixels.
Returns:



uifcRectangle_ptrGetFrameRectangle ()

 

Determine the size and position of the component, in pixels.
Returns:



xboolDoesDynamicUpdate ()

 
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).



voidSetDynamicUpdate (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:



uifcOrientationGetOrientation ()

 
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



voidSetOrientation (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:



xstringGetDragCursorImage ()

 
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.



voidSetDragCursorImage (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:



xintGetPosition ()

 
Returns:
The percentage position of the sash divider of the Sash between the minimum sizes of the two children.



voidSetPosition (xint value)

 

Sets the percentage position of the sash divider of the Sash between the minimum sizes of the two children.
Parameters:
value
Returns:



xboolDoesRememberSize ()

 
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.



voidSetRememberSize (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:



xboolIsEnabled ()

 
Returns:
Flag indicating whether the component is disabled (xfalse) or sensitive to user input (xtrue).



voidSetEnabled (xbool flag)

 

Sets flag indicating whether the component is disabled (xfalse) or sensitive to user input (xtrue).
Parameters:
flag
Returns:



uifcSashGravityGetSashGravity ()

 
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



voidSetSashGravity (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:



voidAddActionListener (uifcSashListener_ptr listener)

 


Parameters:
listener
Returns:



voidPushAction (uifcSashAction action)

 


Parameters:
action
Returns:



voidCreateTimer (uifcSashTimer_ptr timer, xrstring timerName, xbool writeInTrail)

 


Parameters:
timer
timerName
writeInTrail
Returns:



voidStartTimer (xrstring timerName, xint duration)

 


Parameters:
timerName
duration
Returns:



voidStopTimer (xrstring timerName)

 


Parameters:
timerName
Returns: