ui
tkui
MFloatingLayer
MFloatingLayer.ui::FloatingLayer
MComboBox.ui::ComboBoxPopup
MFloatParamEditor.ui::FloatParamEditor
MPopupMenu.ui::PopupMenu
MStringDialog.ui::StringDialog
MTableCellEditor.ui::TableCellEditor
MToolTip.ui::ToolTip
MWindow.ui::Window
beginPaint()
-
composite()
-
drawShadeModal()
-
endPaint()
-
flWantInitialFocus() : int
-
handleNonChildMouseOver(ui::MouseEvent ev, Object newMouseLayer) : int
- Called if the user moves the mouse over another layer that is not a child of this layer.
handleResize()
-
hide()
- Make layer invisible. Overwrites Layer::hide().
hideByMouseClick()
- Called when the layer is a popup-style dialog and the click occured outside of this layer.Dialogs derived from this class can implement this method to provide a CANCEL action before calling hide()
isActive() : int
-
isFloatingLayerVisible() : int
-
isMovable() : int
- Query whether screen position of floating layer may change.
isResizable() : int
- Query whether layer is resizable
makeFloatingLayerVisible()
- Make layer visible. Assumes that preShow() has already been called.
moveToClippedPosition2f(float x, y)
-
onOpen()
-
postShow()
- Perform actions immediately after making the layer visible (e.g. set default focus)
preShow()
- Perform actions immediately before showing the layer (e.g. layout children)
resizeAtLeastTo(int sx, sy)
- Resize layer if it is smaller than the given size
resizeAtLeastToMinimum() : int
- Resize layer if it is smaller than the minimum size
resizeAtLeastToMinimumForce(int bForceX, bForceY) : int
- Resize layer if it is smaller than the minimum size. Force minSize x and/or y.
resizeToMinimum()
- Resize layer to match minimum size of child layers
restoreGeometryIfValid(ui::Geometry4f geo) : int
-
show()
- Show layer at current position. Calls preShow() to run any additional initializations.
showAboveLayer(Object layer)
- Show layer above the given layer
showAtXY(float x, y)
- Show layer at given coordinates
showAtXY2(float x, y)
-
showBelowLayer(Object layer)
- Show layer below the given layer
showCentered()
- Show layer at the center of the screen
showNearComboBox(Object layer)
- Show layer below given layer. If it does not fit, show above the given layer.
showNearLayer(Object layer)
- Show layer relative to given layer
showNearLayerOffset(Object layer, int offx, offy)
- Show layer relative to given layer
showNearMouse(float dx, dy)
-
showRightBesideLayer(Object layer, float offx, offy)
- Show layer right beside the given layer
showToolTipNearLayer(Object layer)
- Show tooltip-style floating layer relative to given layerint
RELATIVE_OFFSET_X
-
int
RELATIVE_OFFSET_Y
-
int
TOOLTIP_OFFSET_Y
-
int
TOOLTIP_TOUCH_OFFSET_X
-
int
TOOLTIP_TOUCH_OFFSET_Y
-
In contrary to Window instances, floating layers cannot be resized and they do not have any default decoration.
Method beginPaint | |||
Signature | |||
|
Method composite | |||
Signature | |||
|
Method drawShadeModal | |||
Signature | |||
|
Method endPaint | |||
Signature | |||
|
Method flWantInitialFocus | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method handleNonChildMouseOver | ||||||||||||||||||||
Called if the user moves the mouse over another layer that is not a child of this layer. | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
| ||||||||||||||||||||
Description | ||||||||||||||||||||
This is used e.g. for to close popup sub menus. Must return true if the mouseevent should not be processed any further. |
Method handleResize | |||
Signature | |||
|
Method hide | |||
Make layer invisible. Overwrites Layer::hide(). | |||
Signature | |||
|
Method hideByMouseClick | |||
Called when the layer is a popup-style dialog and the click occured outside of this layer.Dialogs derived from this class can implement this method to provide a CANCEL action before calling hide() | |||
Signature | |||
|
Method isActive | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isFloatingLayerVisible | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isMovable | |||||
Query whether screen position of floating layer may change. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isResizable | |||||
Query whether layer is resizable | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method makeFloatingLayerVisible | |||
Make layer visible. Assumes that preShow() has already been called. | |||
Signature | |||
|
Method moveToClippedPosition2f | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method onOpen | |||
Signature | |||
|
Method postShow | |||
Perform actions immediately after making the layer visible (e.g. set default focus) | |||
Signature | |||
|
Method preShow | |||
Perform actions immediately before showing the layer (e.g. layout children) | |||
Signature | |||
|
Method resizeAtLeastTo | |||||||||||||||
Resize layer if it is smaller than the given size | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method resizeAtLeastToMinimum | |||||
Resize layer if it is smaller than the minimum size | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method resizeAtLeastToMinimumForce | ||||||||||||||||||||
Resize layer if it is smaller than the minimum size. Force minSize x and/or y. | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Method resizeToMinimum | |||
Resize layer to match minimum size of child layers | |||
Signature | |||
|
Method restoreGeometryIfValid | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Method show | |||
Show layer at current position. Calls preShow() to run any additional initializations. | |||
Signature | |||
|
Method showAboveLayer | |||||
Show layer above the given layer | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method showAtXY | |||||||||||||||
Show layer at given coordinates | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method showAtXY2 | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method showBelowLayer | |||||
Show layer below the given layer | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method showCentered | |||
Show layer at the center of the screen | |||
Signature | |||
|
Method showNearComboBox | |||||
Show layer below given layer. If it does not fit, show above the given layer. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method showNearLayer | |||||
Show layer relative to given layer | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method showNearLayerOffset | ||||||||||||||||||||
Show layer relative to given layer | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Method showNearMouse | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method showRightBesideLayer | ||||||||||||||||||||
Show layer right beside the given layer | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Method showToolTipNearLayer | |||||
Show tooltip-style floating layer relative to given layer | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Constant RELATIVE_OFFSET_X (int) | |
Constant RELATIVE_OFFSET_Y (int) | |
Constant TOOLTIP_OFFSET_Y (int) | |
Constant TOOLTIP_TOUCH_OFFSET_X (int) | |
Constant TOOLTIP_TOUCH_OFFSET_Y (int) | |
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 14:27:06