Widget interface.
Widget | |
| virtual void | Destroy ()=0 |
| Destroy the widget and it's children. More... | |
| virtual iGraphics * | GetGraphics () const =0 |
| Get the widget's Graphics object. {Property}. More... | |
| virtual iGraphicsContext * | GetGraphicsContext () const =0 |
| Get the widget's Graphics Context. {Property}. More... | |
| virtual iUIContext * | GetUIContext () const =0 |
| Get the widget's UI context. {Property}. More... | |
| virtual iHString * | GetClassName () const =0 |
| Get the widget's class. {Property}. More... | |
| virtual void | SetID (iHString *ahspID)=0 |
| Set the widget's ID. {Property}. More... | |
| virtual iHString * | GetID () const =0 |
| Get the widget's ID. {Property}. More... | |
| virtual tBool | SetStyle (tU32 anStyle)=0 |
| Set the widget's style. {Property}. More... | |
| virtual tU32 | GetStyle () const =0 |
| Get the widget's style. {Property}. More... | |
| virtual void | SetParent (iWidget *apParent)=0 |
| Set the parent widget. {Property}. More... | |
| virtual iWidget * | GetParent () const =0 |
| Get the parent widget. {Property}. More... | |
| virtual void | SetZOrder (eWidgetZOrder aZOrder)=0 |
| Set the widget's ZOrder. {Property}. More... | |
| virtual eWidgetZOrder | GetZOrder () const =0 |
| Get the widget's ZOrder. {Property}. More... | |
| virtual void | SetZOrderAbove (iWidget *apWidget)=0 |
| Place the widget above (on top of) the specified sibling widget in the ZOrder. More... | |
| virtual tU32 | GetDrawOrder () const =0 |
| Get the drawing order. {Property}. More... | |
| virtual void | SetAutoLayout (tWidgetAutoLayoutFlags aFlags)=0 |
| Set if the widget's auto layout flags. {Property}. More... | |
| virtual tWidgetAutoLayoutFlags | GetAutoLayout () const =0 |
| Get if the widget's auto layout flags. {Property}. More... | |
| virtual void | ComputeAutoLayout (tWidgetAutoLayoutFlags aFlags)=0 |
| Computer the widget children's auto layout. More... | |
Widget rectangle | |
| virtual void | SetPosition (const sVec2f &avPos)=0 |
| Set the widget's position. More... | |
| virtual sVec2f | GetPosition () const =0 |
| Get the widget's position. More... | |
| virtual void | SetSize (const sVec2f &avSize)=0 |
| Set the widget's size. {Property}. More... | |
| virtual sVec2f | GetSize () const =0 |
| Get the widget's size. {Property}. More... | |
| virtual void | SetMinimumSize (sVec2f avMinSize)=0 |
| Set the widget's minimum size. More... | |
| virtual sVec2f | GetMinimumSize () const =0 |
| Get the widget's minimum size. {Property}. More... | |
| virtual void | SetMaximumSize (sVec2f avMaxSize)=0 |
| Set the widget's maximum size. More... | |
| virtual sVec2f | GetMaximumSize () const =0 |
| Get the widget's maximum size. {Property}. More... | |
| virtual void | SetRect (const sRectf &aRect)=0 |
| Set the widget's rectangle. More... | |
| virtual sRectf | GetRect () const =0 |
| Get the widget's rectangle. More... | |
| virtual sRectf | GetWidgetRect () const =0 |
| Get the widget rectangle. Relative to it's own top-left corner. {Property}. More... | |
| virtual sRectf | GetDockFillRect () const =0 |
| Get the widget's dock fill rectangle. More... | |
Widget client rectangle | |
| virtual void | SetClientPosition (const sVec2f &avPos)=0 |
| Set the widget's client position. More... | |
| virtual sVec2f | GetClientPosition () const =0 |
| Get the widget's client position. More... | |
| virtual void | SetClientSize (const sVec2f &avSize)=0 |
| Set the widget's client size. {Property}. More... | |
| virtual sVec2f | GetClientSize () const =0 |
| Get the widget's client size. {Property}. More... | |
| virtual void | SetClientRect (const sRectf &aRect)=0 |
| Set the widget's client rectangle. More... | |
| virtual sRectf | GetClientRect () const =0 |
| Get the widget's client rectangle. More... | |
| virtual sRectf | ComputeFitRect (const sRectf &aRect) const =0 |
| Compute a rectangle that fits around the specified client rectangle. More... | |
| virtual void | SetFitRect (const sRectf &aRect)=0 |
| Set a rectangle that fits around the specified client rectangle. More... | |
| virtual void | SetFitSize (const sVec2f avSize)=0 |
| Set a rectangle that fits around the specified client size. More... | |
Widget absolute rectangle | |
| virtual void | SetAbsolutePosition (const sVec2f &avPos)=0 |
| Set the widget's absolute position. More... | |
| virtual sVec2f | GetAbsolutePosition () const =0 |
| Get the widget's absolute position. More... | |
| virtual void | SetAbsoluteRect (const sRectf &aRect)=0 |
| Set the widget's absolute rectangle. More... | |
| virtual sRectf | GetAbsoluteRect () const =0 |
| Get the widget's absolute rectangle. {Property}. More... | |
Widget clipped rectangle. | |
| virtual sRectf | GetClippedRect () const =0 |
| Get the widget's rect clipped to the parent client rectangle. More... | |
| virtual sRectf | GetAbsoluteClippedRect () const =0 |
| Get the widget's absolute rect clipped to the parent client rectangle. More... | |
| virtual sRectf | GetClippedClientRect () const =0 |
| Get the widget's client rect clipped to the parent client rectangle. More... | |
| virtual sRectf | GetAbsoluteClippedClientRect () const =0 |
| Get the widget's absolute client rect clipped to the parent client rectangle. More... | |
Widget relative rectangle | |
| virtual void | SetRelativePosition (const sVec2f &avPos)=0 |
| Set the widget's relative position. {Property}. More... | |
| virtual sVec2f | GetRelativePosition () const =0 |
| Get the widget's relative position. {Property}. More... | |
| virtual void | SetRelativeSize (const sVec2f &avSize)=0 |
| Set the widget's relative size. {Property}. More... | |
| virtual sVec2f | GetRelativeSize () const =0 |
| Get the widget's relative size. {Property}. More... | |
| virtual void | SetRelativeRect (const sRectf &aRect)=0 |
| Set the widget's relative rectangle. {Property}. More... | |
| virtual sRectf | GetRelativeRect () const =0 |
| Get the widget's relative rectangle. {Property}. More... | |
Widget padding, border and margin. | |
| virtual void | SetPadding (const sVec4f &aRect)=0 |
| Set the padding size. More... | |
| virtual sVec4f | GetPadding () const =0 |
| Get the padding size. {Property}. More... | |
| virtual tBool | GetHasPadding () const =0 |
| Get whether a padding is specified (non-zero). {Property}. More... | |
| virtual void | SetMargin (const sVec4f &aRect)=0 |
| Set the margin rectangle. More... | |
| virtual sVec4f | GetMargin () const =0 |
| Get the margin rectangle. {Property}. More... | |
| virtual tBool | GetHasMargin () const =0 |
| Get whether a margin is specified (non-zero). {Property}. More... | |
Input | |
| virtual tBool | SetFocus ()=0 |
| Ask to get the input focus. More... | |
| virtual tBool | MoveFocus (tBool abToPrevious)=0 |
| Move the focus to the previous or next widget. More... | |
| virtual void | SetCapture (tBool abEnable)=0 |
| Set the capture of the input. {Property}. More... | |
| virtual tBool | GetCapture () const =0 |
| Get the capture of the input state. {Property}. More... | |
| virtual void | SetExclusive (tBool abEnable)=0 |
| Set exclusive. {Property}. More... | |
| virtual tBool | GetExclusive () const =0 |
| Get the exclusive state. {Property}. More... | |
| virtual void | SetInputSubmitFlags (tU32 aSubmitFlags)=0 |
| Set the input submit flags. More... | |
| virtual tU32 | GetInputSubmitFlags () const =0 |
| Get the input submit flags. More... | |
Status | |
| virtual void | SetVisible (tBool abVisible)=0 |
| Set the widget visibility status. {Property}. More... | |
| virtual tBool | GetVisible () const =0 |
| Get the widget visibility status. {Property}. More... | |
| virtual void | SetEnabled (tBool abEnabled)=0 |
| Set the widget enabled status. {Property}. More... | |
| virtual tBool | GetEnabled () const =0 |
| Get the widget enabled status. {Property}. More... | |
| virtual void | SetIgnoreInput (tBool abIgnoreInput)=0 |
| Set the ignore input status. {Property}. More... | |
| virtual tBool | GetIgnoreInput () const =0 |
| Get the ignore input status. {Property}. More... | |
| virtual void | SetStatus (tBool abVisible, tBool abEnabled, tBool abIgnoreInput)=0 |
| Set all the status. More... | |
| virtual void | SetHideChildren (tBool abHideChildren)=0 |
| Set whether all client children of the widget are hidden. {Property}. More... | |
| virtual tBool | GetHideChildren () const =0 |
| Get whether all client children of the widget are hidden. {Property}. More... | |
| virtual tBool | GetIsMouseOver () const =0 |
| Get whether the mouse is over this widget's client area. {Property}. More... | |
| virtual tBool | GetIsPressed () const =0 |
| Get whether the main mouse button is pressed while the mouse is over the widget's client area. {Property}. More... | |
| virtual tBool | GetIsNcMouseOver () const =0 |
| Get whether the mouse is over this widget's non-client area. {Property}. More... | |
| virtual tBool | GetIsNcPressed () const =0 |
| Get whether the main mouse button is pressed while the mouse is over the widget's non-client area. {Property}. More... | |
| virtual tBool | GetHasFocus () const =0 |
| Get whether the widget has input (keyboard) focus. {Property}. More... | |
| virtual tBool | GetDraggingSource () const =0 |
| Get whether the widget is the current draggin source. {Property}. More... | |
| virtual tBool | GetDragging () const =0 |
| Get whether something is currently being dragged from this widget. {Property}. More... | |
| virtual void | Redraw ()=0 |
| Force redrawing of the widget's content. More... | |
Timer | |
| virtual void | SetTimer (tU32 anID, tF32 afTime)=0 |
| Set a timer. More... | |
| virtual tF32 | GetTimer (tU32 anID) const =0 |
| Get a timer. More... | |
Sinks | |
| virtual tBool | AddSink (iWidgetSink *apSink)=0 |
| Add a widget sink as first sink called. More... | |
| virtual tBool | AddPostSink (iWidgetSink *apSink)=0 |
| Add a widget sink as last sink called. More... | |
| virtual iWidgetSink * | AddClassSink (const achar *aaszClassName)=0 |
| Add a new instance of a widget sink as first sink called. More... | |
| virtual iWidgetSink * | AddClassPostSink (const achar *aaszClassName)=0 |
| Add a new instance of a widget sink as last sink called. More... | |
| virtual void | RemoveSink (iWidgetSink *apSink)=0 |
| Remove a widget sink. More... | |
Children | |
| virtual void | InvalidateChildren ()=0 |
| Invalidate all children. More... | |
| virtual tU32 | GetNumChildren () const =0 |
| Get the number of child widgets. {Property}. More... | |
| virtual tU32 | GetChildIndex (iWidget *apWidget) const =0 |
| Get the index of the specified widget, if not a child widget return eInvalidHandle. {Property}. More... | |
| virtual iWidget * | GetChildFromIndex (tU32 anIndex) const =0 |
| Get the child widget at the specified index. {Property}. More... | |
| virtual iWidget * | GetChildFromID (iHString *ahspID) const =0 |
| Get the child widget with the specified ID. {Property}. More... | |
| virtual iWidget * | GetChildFromDrawOrder (tU32 anDrawOrder) const =0 |
| Get the child widget with the specified draw order. {Property}. More... | |
| virtual iWidget * | FindWidget (iHString *ahspID) const =0 |
| Find the first widget with the specified ID. More... | |
| virtual iWidget * | FindWidgetByPos (const sVec2f &avPos) const =0 |
| Find the top widget that intersects the specified absolute position. More... | |
Appearance | |
| virtual void | SetText (iHString *ahspText)=0 |
| Set the widget's text. {Property}. More... | |
| virtual iHString * | GetText () const =0 |
| Get the widget's title. {Property}. More... | |
| virtual iHString * | GetLocalizedText () const =0 |
| Get the localized text. {Property}. More... | |
| virtual void | SetHoverText (iHString *ahspText)=0 |
| Set the widget's hovering text. {Property}. More... | |
| virtual iHString * | GetHoverText () const =0 |
| Get the widget's hovering text. {Property}. More... | |
| virtual ni::iWidget * | CreateDefaultHoverWidget (ni::iHString *ahspHoverText)=0 |
| Create a default hover widget (Text only). More... | |
| virtual tBool | ShowHoverWidget (ni::iWidget *apWidget, const sVec2f &avAbsPos)=0 |
| Show a hover widget. More... | |
| virtual void | ResetHoverWidget (tBool abRestart)=0 |
| Reset the hover widget. More... | |
| virtual ni::iWidget * | GetHoverWidget () const =0 |
| Get the currently displayed hover widget. {Property}. More... | |
| virtual tBool | SetFont (iFont *apFont)=0 |
| Set the widget's font. More... | |
| virtual iFont * | GetFont () const =0 |
| Get the widget's font. {Property}. More... | |
| virtual tBool | SetDockStyle (eWidgetDockStyle aStyle)=0 |
| Set the widget's dock style. {Property}. More... | |
| virtual eWidgetDockStyle | GetDockStyle () const =0 |
| Get the widget's dock style. {Property}. More... | |
| virtual void | SetSkin (iHString *ahspSkin)=0 |
| Set the widget's skin. {Property}. More... | |
| virtual iHString * | GetSkin () const =0 |
| Get the widget's skin. {Property}. More... | |
| virtual void | SetSkinClass (iHString *ahspSkinClass)=0 |
| Set the widget's skin classs. {Property}. More... | |
| virtual iHString * | GetSkinClass () const =0 |
| Get the widget's skin class. {Property}. More... | |
| virtual void | SetLocale (iHString *ahspLocale)=0 |
| Set the widget's locale. {Property}. More... | |
| virtual iHString * | GetLocale () const =0 |
| Get the widget's locale. {Property}. More... | |
| virtual iHString * | GetActiveLocale () const =0 |
| Get the locale actually used by the widget. {Property}. More... | |
| virtual iFont * | FindSkinFont (iHString *ahspSkinClass, iHString *ahspState, iHString *ahspName) const =0 |
| Find the font of the specified item in the widget's skin. More... | |
| virtual iOverlay * | FindSkinCursor (iHString *ahspSkinClass, iHString *ahspState, iHString *ahspName) const =0 |
| Find the cursor of the specified item in the widget's skin. More... | |
| virtual iOverlay * | FindSkinElement (iHString *ahspSkinClass, iHString *ahspState, iHString *ahspName) const =0 |
| Find the element of the specified item in the widget's skin. More... | |
| virtual sColor4f | FindSkinColor (const sColor4f &aDefault, iHString *ahspSkinClass, iHString *ahspState, iHString *ahspName) const =0 |
| Find the color of the specified item in the widget's skin. More... | |
| virtual iHString * | FindLocalized (iHString *ahspText) const =0 |
| Find a localized text. More... | |
Context menu | |
| virtual tBool | SetContextMenu (iWidget *apMenu)=0 |
| Set the widget's context menu. More... | |
| virtual iWidget * | GetContextMenu () const =0 |
| Get the widget's context menu. {Property}. More... | |
Message | |
| virtual tBool | SendMessage (tU32 anMsg, const Var &avarA=niVarNull, const Var &avarB=niVarNull)=0 |
| Send a message to this widget. More... | |
| virtual tBool | SendCommand (iWidget *apDest, tU32 anCommand, const Var &avarExtra1=niVarNull, const Var &avarExtra2=niVarNull)=0 |
| Send a command to the specified widget. More... | |
| virtual tBool | BroadcastMessage (tU32 anMsg, const Var &avarA=niVarNull, const Var &avarB=niVarNull)=0 |
| Send a message to this widget and its children recursivly. More... | |
Canvas. | |
| virtual void | SetCanvas (iCanvas *apCanvas)=0 |
| Set the VG canvas of the widget. {Property}. More... | |
| virtual iCanvas * | GetCanvas () const =0 |
| Get the VG canvas of the widget. {Property}. More... | |
Serialization. | |
| virtual tBool | SerializeLayout (iDataTable *apDT, tWidgetSerializeFlags anFlags)=0 |
| Serialize the layout of this widget. More... | |
| virtual tBool | SerializeChildren (iDataTable *apDT, tWidgetSerializeFlags anFlags)=0 |
| Serialize the children widget. More... | |
Automated Placement Helpers | |
| virtual tBool | ApplyDockStyle (eWidgetDockStyle aStyle)=0 |
| Set a dock style, and then restore the previous dock style. More... | |
| virtual tBool | Place (const sRectf &aRect, eWidgetDockStyle aStyle, const sVec4f &avMargin)=0 |
| Place the widget using the specified dock style, margin and rectangle. More... | |
| virtual tBool | SnapInside (iWidget *apContainer, tF32 afSnapMargin)=0 |
| Makes sure the widget is within the bounds of the specified 'container' widget. More... | |
| virtual tBool | PopAt (iWidget *apContainer, const sVec2f &avAbsPos, tF32 afSnapMargin)=0 |
| Move the widget at the specified position making sure it is within the bounds of the specified 'container' widget. More... | |
| virtual void | Layout (tBool abChildren)=0 |
| Compute the Widget's layout. More... | |
Finger Capture | |
| virtual void | SetFingerCapture (tU32 anFinger, tBool abEnable)=0 |
| Set the capture of a finger's input. {Property}. More... | |
| virtual tBool | GetFingerCapture (tU32 anFinger) const =0 |
| Get the capture of a finger's input. {Property}. More... | |
Additional Inherited Members | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Destroy the widget and it's children.
|
pure virtual |
Get the widget's Graphics object. {Property}.
|
pure virtual |
Get the widget's Graphics Context. {Property}.
|
pure virtual |
Get the widget's UI context. {Property}.
|
pure virtual |
Get the widget's class. {Property}.
|
pure virtual |
Get the widget's ID. {Property}.
|
pure virtual |
Get the widget's style. {Property}.
|
pure virtual |
Get the parent widget. {Property}.
|
pure virtual |
Set the widget's ZOrder. {Property}.
|
pure virtual |
Get the widget's ZOrder. {Property}.
Place the widget above (on top of) the specified sibling widget in the ZOrder.
|
pure virtual |
Get the drawing order. {Property}.
|
pure virtual |
Set if the widget's auto layout flags. {Property}.
|
pure virtual |
Get if the widget's auto layout flags. {Property}.
|
pure virtual |
Computer the widget children's auto layout.
Set the widget's position.
|
pure virtual |
Get the widget's position.
|
pure virtual |
Get the widget's size. {Property}.
Set the widget's minimum size.
|
pure virtual |
Get the widget's minimum size. {Property}.
Set the widget's maximum size.
|
pure virtual |
Get the widget's maximum size. {Property}.
Set the widget's rectangle.
|
pure virtual |
Get the widget's rectangle.
|
pure virtual |
Get the widget rectangle. Relative to it's own top-left corner. {Property}.
|
pure virtual |
Get the widget's dock fill rectangle.
Set the widget's client position.
|
pure virtual |
Get the widget's client position.
Set the widget's client size. {Property}.
|
pure virtual |
Get the widget's client size. {Property}.
Set the widget's client rectangle.
|
pure virtual |
Get the widget's client rectangle.
Compute a rectangle that fits around the specified client rectangle.
| aRect | is the client rectangle in absolute coordinates. |
Set a rectangle that fits around the specified client rectangle.
| aRect | is the client rectangle in absolute coordinates. {Property} |
Set a rectangle that fits around the specified client size.
| avSize | is the client size. {Property} |
Set the widget's absolute position.
|
pure virtual |
Get the widget's absolute position.
Set the widget's absolute rectangle.
|
pure virtual |
Get the widget's absolute rectangle. {Property}.
|
pure virtual |
Get the widget's rect clipped to the parent client rectangle.
|
pure virtual |
Get the widget's absolute rect clipped to the parent client rectangle.
|
pure virtual |
Get the widget's client rect clipped to the parent client rectangle.
|
pure virtual |
Get the widget's absolute client rect clipped to the parent client rectangle.
Set the widget's relative position. {Property}.
|
pure virtual |
Get the widget's relative position. {Property}.
Set the widget's relative size. {Property}.
|
pure virtual |
Get the widget's relative size. {Property}.
Set the widget's relative rectangle. {Property}.
|
pure virtual |
Get the widget's relative rectangle. {Property}.
Set the padding size.
|
pure virtual |
Get the padding size. {Property}.
|
pure virtual |
Get whether a padding is specified (non-zero). {Property}.
Set the margin rectangle.
|
pure virtual |
Get the margin rectangle. {Property}.
|
pure virtual |
Get whether a margin is specified (non-zero). {Property}.
|
pure virtual |
Ask to get the input focus.
Move the focus to the previous or next widget.
|
pure virtual |
Get the capture of the input state. {Property}.
|
pure virtual |
Get the exclusive state. {Property}.
Set the input submit flags.
|
pure virtual |
Get the input submit flags.
Set the widget visibility status. {Property}.
|
pure virtual |
Get the widget visibility status. {Property}.
|
pure virtual |
Get the widget enabled status. {Property}.
Set the ignore input status. {Property}.
|
pure virtual |
Get the ignore input status. {Property}.
Set all the status.
Set whether all client children of the widget are hidden. {Property}.
|
pure virtual |
Get whether all client children of the widget are hidden. {Property}.
|
pure virtual |
Get whether the mouse is over this widget's client area. {Property}.
|
pure virtual |
Get whether the main mouse button is pressed while the mouse is over the widget's client area. {Property}.
|
pure virtual |
Get whether the mouse is over this widget's non-client area. {Property}.
|
pure virtual |
Get whether the main mouse button is pressed while the mouse is over the widget's non-client area. {Property}.
|
pure virtual |
Get whether the widget has input (keyboard) focus. {Property}.
|
pure virtual |
Get whether the widget is the current draggin source. {Property}.
|
pure virtual |
Get whether something is currently being dragged from this widget. {Property}.
|
pure virtual |
Force redrawing of the widget's content.
Set a timer.
| anID | is the ID of the timer to set. |
| afTime | is the time in seconds after which the timer will expire. If < 0 the timer will be removed. |
Get a timer.
|
pure virtual |
Add a widget sink as first sink called.
|
pure virtual |
Add a widget sink as last sink called.
|
pure virtual |
Add a new instance of a widget sink as first sink called.
|
pure virtual |
Add a new instance of a widget sink as last sink called.
|
pure virtual |
Remove a widget sink.
|
pure virtual |
Invalidate all children.
|
pure virtual |
Get the number of child widgets. {Property}.
Get the index of the specified widget, if not a child widget return eInvalidHandle. {Property}.
Get the child widget at the specified index. {Property}.
Get the child widget with the specified ID. {Property}.
Get the child widget with the specified draw order. {Property}.
Find the first widget with the specified ID.
Find the top widget that intersects the specified absolute position.
Set the widget's text. {Property}.
|
pure virtual |
Get the widget's title. {Property}.
|
pure virtual |
Get the localized text. {Property}.
Set the widget's hovering text. {Property}.
|
pure virtual |
Get the widget's hovering text. {Property}.
|
pure virtual |
Create a default hover widget (Text only).
|
pure virtual |
Show a hover widget.
Reset the hover widget.
| abRestart | if true and hover delay >=0 restarts the hover timer, else stops the timer. |
|
pure virtual |
Get the currently displayed hover widget. {Property}.
Set the widget's font.
|
pure virtual |
Get the widget's font. {Property}.
|
pure virtual |
Set the widget's dock style. {Property}.
|
pure virtual |
Get the widget's dock style. {Property}.
|
pure virtual |
Get the widget's skin. {Property}.
Set the widget's skin classs. {Property}.
|
pure virtual |
Get the widget's skin class. {Property}.
|
pure virtual |
Get the widget's locale. {Property}.
|
pure virtual |
Get the locale actually used by the widget. {Property}.
|
pure virtual |
Find the font of the specified item in the widget's skin.
|
pure virtual |
Find the cursor of the specified item in the widget's skin.
|
pure virtual |
Find the element of the specified item in the widget's skin.
|
pure virtual |
Find the color of the specified item in the widget's skin.
Set the widget's context menu.
|
pure virtual |
Get the widget's context menu. {Property}.
|
pure virtual |
Send a message to this widget.
|
pure virtual |
Send a command to the specified widget.
|
pure virtual |
Send a message to this widget and its children recursivly.
Set the VG canvas of the widget. {Property}.
|
pure virtual |
Get the VG canvas of the widget. {Property}.
|
pure virtual |
Serialize the layout of this widget.
|
pure virtual |
Serialize the children widget.
|
pure virtual |
Set a dock style, and then restore the previous dock style.
|
pure virtual |
Place the widget using the specified dock style, margin and rectangle.
| aRect | is the parent-relative rectangle which specify the 'starting' position of the widget, if the size/pos is <= 1.0 the coordinates are assumed to be relative to the widget's parent. |
| aStyle | dock style to use the place the widget. |
| avMargin | is the size of the margin to use to place the widget. |
Makes sure the widget is within the bounds of the specified 'container' widget.
| apContainer | the container widget, if null the root widget. |
| afSnapMargin | the distance margin below which the widget will be snapped to the container's inner border |
|
pure virtual |
Move the widget at the specified position making sure it is within the bounds of the specified 'container' widget.
| apContainer | the container widget, if null the root widget. |
| avAbsPos | the position where the widget should be placed |
| afSnapMargin | the distance margin below which the widget will be snapped to the container's inner border |
Compute the Widget's layout.
| abChildren | if true compute all the children's layout recursively. |
Set the capture of a finger's input. {Property}.
1.8.7