Library | File

Class uifcNakedWindow

# include <uifcNakedWindow.h>

class uifcNakedWindow
 : public virtual uifcExternal_Containers
{
    xaideclare(uifcNakedWindow)
    ...
};



Description





Method Summary

voidAddActionListener (uifcNakedWindowListener_ptr listener)
 
voidCreateTimer (uifcNakedWindowTimer_ptr timer, xrstring timerName, xbool writeInTrail)
 
voidDeleteChild (xrstring name)
 
voidDeletePopupMenu ()
 
xboolDoesAllowInputWhenBlocked ()
 
xboolDoesAllowKeyboardInput ()
 
xboolDoesAllowWheelInput ()
 
xstringGetDragCursorImage ()
 
xstringGetDragItemName ()
 
xstringGetDragNotValidCursorImage ()
 
uifcDimension_ptrGetFrameMinimumSize ()
 
uifcPoint_ptrGetFrameOrigin ()
 
uifcRectangle_ptrGetFrameRectangle ()
 
uifcDimension_ptrGetFrameSize ()
 
xintGetHeight ()
 
xstringGetHelpText ()
 
uifcKey_ptrGetKeyPressed ()
 
xintGetMinimumHeight ()
 
xintGetMinimumWidth ()
 
uifcRectangle_ptrGetRectangleOfMonitor ()
 
uifcPoint_ptrGetScreenOrigin ()
 
uifcRectangle_ptrGetScreenRectangle ()
 
xintGetWidth ()
 
xintInsertChild (uifcComponent_ptr component)
 
xintInsertPopupMenu (uifcComponent_ptr component)
 
xboolIsEnabled ()
 
xboolIsValidDragSite ()
 
voidPushAction (uifcNakedWindowAction action)
 
voidSetAllowInputWhenBlocked (xbool flag)
 
voidSetAllowKeyboardInput (xbool flag)
 
voidSetAllowWheelInput (xbool flag)
 
voidSetDragCursorImage (xrstring value)
 
voidSetDragItemName (xrstring value)
 
voidSetDragNotValidCursorImage (xrstring value)
 
voidSetEnabled (xbool flag)
 
voidSetFrameOrigin (uifcPoint_ptr value)
 
voidSetFrameRectangle (uifcRectangle_ptr rect)
 
voidSetFrameSize (uifcDimension_ptr value)
 
voidSetHeight (xint value)
 
voidSetHelpText (xrstring value)
 
voidSetKeyPressed (uifcKey_ptr key)
 
voidSetMinimumHeight (xint value)
 
voidSetMinimumWidth (xint value)
 
voidSetValidDragSite (xbool flag)
 
voidSetWidth (xint value)
 
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

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:



xintInsertChild (uifcComponent_ptr component)

 


Parameters:
component
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:



uifcRectangle_ptrGetRectangleOfMonitor ()

 

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



voidDeleteChild (xrstring name)

 

Delete a component from the parent.
Parameters:
name
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:



xintGetHeight ()

 
Returns:
The height in pixels of the NakedWindow.



voidSetHeight (xint value)

 

Sets the height in pixels of the NakedWindow.
Parameters:
value
Returns:



xstringGetDragItemName ()

 
Returns:
The name of the item being dragged when the user starts a drag & drop operation by dragging within the component.



voidSetDragItemName (xrstring value)

 

Sets the name of the item being dragged when the user starts a drag & drop operation by dragging within the component.
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:



xboolDoesAllowWheelInput ()

 
Returns:
The response of the component to mouse wheel input.




voidSetAllowWheelInput (xbool flag)

 

Sets the response of the component to mouse wheel input.


Parameters:
flag
Returns:



uifcKey_ptrGetKeyPressed ()

 
Returns:
The key pressed which generated a OnKeyDown(). To indicate to the NakedWindow that the key should not be passed on to, for example, the mapkey buffer you should modify this attribute to KEY_NONE at the end of your OnKeyDown() callback.



voidSetKeyPressed (uifcKey_ptr key)

 

Sets the key pressed which generated a OnKeyDown(). To indicate to the NakedWindow that the key should not be passed on to, for example, the mapkey buffer you should modify this attribute to KEY_NONE at the end of your OnKeyDown() callback.
Parameters:
key
Returns:



xintGetMinimumHeight ()

 
Returns:
The minimum height in pixels of the NakedWindow.



voidSetMinimumHeight (xint value)

 

Sets the minimum height in pixels of the NakedWindow.
Parameters:
value
Returns:



xstringGetDragNotValidCursorImage ()

 
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.



voidSetDragNotValidCursorImage (xrstring value)

 

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:



xboolDoesAllowKeyboardInput ()

 
Returns:
Flag indicating whether the component is capable of receiving keyboard input (xtrue), and hence is capable of receiving the keyboard input focus, or whether it responds only to mouse input (xfalse).



voidSetAllowKeyboardInput (xbool flag)

 

Sets flag indicating whether the component is capable of receiving keyboard input (xtrue), and hence is capable of receiving the keyboard input focus, or whether it responds only to mouse input (xfalse).
Parameters:
flag
Returns:



xboolDoesAllowInputWhenBlocked ()

 
Returns:
Flag indicating whether user-input events should be processed when the NakedWindow is blocked.



voidSetAllowInputWhenBlocked (xbool flag)

 

Sets flag indicating whether user-input events should be processed when the NakedWindow is blocked.
Parameters:
flag
Returns:



xboolIsValidDragSite ()

 
Returns:
Flag indicating whether the component can be dragged to start a drag & drop operation.



voidSetValidDragSite (xbool flag)

 

Sets flag indicating whether the component can be dragged to start a drag & drop operation.
Parameters:
flag
Returns:



xintGetWidth ()

 
Returns:
The width in pixels of the NakedWindow.



voidSetWidth (xint value)

 

Sets the width in pixels of the NakedWindow.
Parameters:
value
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:



xstringGetHelpText ()

 
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.



voidSetHelpText (xrstring value)

 

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:



xintGetMinimumWidth ()

 
Returns:
The minimum width in pixels of the NakedWindow.



voidSetMinimumWidth (xint value)

 

Sets the minimum width in pixels of the NakedWindow.
Parameters:
value
Returns:



voidAddActionListener (uifcNakedWindowListener_ptr listener)

 


Parameters:
listener
Returns:



voidPushAction (uifcNakedWindowAction action)

 


Parameters:
action
Returns:



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