Library | File

Class uifcSeparator

# include <uifcSeparator.h>

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



Description





Method Summary

voidAddActionListener (uifcSeparatorListener_ptr listener)
 
voidCreateTimer (uifcSeparatorTimer_ptr timer, xrstring timerName, xbool writeInTrail)
 
voidDeletePopupMenu ()
 
xboolDoesUseOffsets ()
 
uifcFontClassGetFontClass ()
 
xstringGetFontName ()
 
xrealGetFontSize ()
 
uifcFontStyleGetFontStyle ()
 
uifcDimension_ptrGetFrameMinimumSize ()
 
uifcPoint_ptrGetFrameOrigin ()
 
uifcRectangle_ptrGetFrameRectangle ()
 
uifcDimension_ptrGetFrameSize ()
 
xintGetLength ()
 
uifcOrientationGetOrientation ()
 
uifcRectangle_ptrGetRectangleOfMonitor ()
 
uifcPoint_ptrGetScreenOrigin ()
 
uifcRectangle_ptrGetScreenRectangle ()
 
xintInsertPopupMenu (uifcComponent_ptr component)
 
voidPushAction (uifcSeparatorAction action)
 
voidSetFontClass (uifcFontClass value)
 
voidSetFontName (xrstring value)
 
voidSetFontSize (xreal value)
 
voidSetFontStyle (uifcFontStyle value)
 
voidSetFrameOrigin (uifcPoint_ptr value)
 
voidSetFrameRectangle (uifcRectangle_ptr rect)
 
voidSetFrameSize (uifcDimension_ptr value)
 
voidSetLength (xint value)
 
voidSetOrientation (uifcOrientation value)
 
voidSetUseOffsets (xbool flag)
 
voidStartTimer (xrstring timerName, xint duration)
 
voidStopTimer (xrstring timerName)
 


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

voidDeletePopupMenu ()

 

Delete a MenuPane from the component.
Returns:



uifcPoint_ptrGetScreenOrigin ()

 

Determine the screen position of the component, in pixels.
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:



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:



uifcRectangle_ptrGetRectangleOfMonitor ()

 

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



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:



uifcDimension_ptrGetFrameSize ()

 

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



uifcRectangle_ptrGetFrameRectangle ()

 

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



uifcOrientationGetOrientation ()

 
Returns:
The orientation of the Separator.

ORIENTATION_HORIZONTAL Horizontal
ORIENTATION_VERTICAL Vertical



voidSetOrientation (uifcOrientation value)

 

Sets the orientation of the Separator.

ORIENTATION_HORIZONTAL Horizontal
ORIENTATION_VERTICAL Vertical

Parameters:
value
Returns:



xstringGetFontName ()

 
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.



voidSetFontName (xrstring value)

 

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:



uifcFontClassGetFontClass ()

 
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



voidSetFontClass (uifcFontClass value)

 

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:



xboolDoesUseOffsets ()

 
Returns:
Flag indicating whether the Separator should take into account the any offset attributes that associated with it.



voidSetUseOffsets (xbool flag)

 

Sets flag indicating whether the Separator should take into account the any offset attributes that associated with it.
Parameters:
flag
Returns:



xintGetLength ()

 
Returns:
The length of the Separator, in character widths.



voidSetLength (xint value)

 

Sets the length of the Separator, in character widths.
Parameters:
value
Returns:



xrealGetFontSize ()

 
Returns:
The point-size of the font used to draw text in the component.



voidSetFontSize (xreal value)

 

Sets the point-size of the font used to draw text in the component.
Parameters:
value
Returns:



uifcFontStyleGetFontStyle ()

 
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



voidSetFontStyle (uifcFontStyle value)

 

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:



voidAddActionListener (uifcSeparatorListener_ptr listener)

 


Parameters:
listener
Returns:



voidPushAction (uifcSeparatorAction action)

 


Parameters:
action
Returns:



voidCreateTimer (uifcSeparatorTimer_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: