→ home
 
→ index of namespace ui
 
→ index of project tkui
 
→ index of module MFloatingLayer

Class MFloatingLayer.ui::FloatingLayer


Synopsis: Base class for all window-like layers that floating on top of the root child layers.  

  Base classes:
  Derived classes:
  Methods:
  Constants: Description:

In contrary to Window instances, floating layers cannot be resized and they do not have any default decoration.


 
→ top of page
Method beginPaint
Signature
beginPaint()

 
→ top of page
Method composite
Signature
composite()

 
→ top of page
Method drawShadeModal
Signature
drawShadeModal()

 
→ top of page
Method endPaint
Signature
endPaint()

 
→ top of page
Method flWantInitialFocus
Signature
flWantInitialFocus():int
Returns
int–

 
→ top of page
Method handleNonChildMouseOver
Called if the user moves the mouse over another layer that is not a child of this layer.
Signature
handleNonChildMouseOver(ui::MouseEventev,
  ObjectnewMouseLayer 
  )  
 :int
Arguments
ui::MouseEventev–
ObjectnewMouseLayer–
Returns
int–
Description
This is used e.g. for to close popup sub menus. Must return true if the mouseevent should not be processed any further.

 
→ top of page
Method handleResize
Signature
handleResize()

 
→ top of page
Method hide
Make layer invisible. Overwrites Layer::hide().
Signature
hide()

 
→ top of page
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
hideByMouseClick()

 
→ top of page
Method isActive
Signature
isActive():int
Returns
int–

 
→ top of page
Method isFloatingLayerVisible
Signature
isFloatingLayerVisible():int
Returns
int–

 
→ top of page
Method isMovable
Query whether screen position of floating layer may change.
Signature
isMovable():int
Returns
int–

 
→ top of page
Method isResizable
Query whether layer is resizable
Signature
isResizable():int
Returns
int–

 
→ top of page
Method makeFloatingLayerVisible
Make layer visible. Assumes that preShow() has already been called.
Signature
makeFloatingLayerVisible()

 
→ top of page
Method moveToClippedPosition2f
Signature
moveToClippedPosition2f(floatx,
  floaty 
  )  
Arguments
floatx–
floaty–

 
→ top of page
Method onOpen
Signature
onOpen()

 
→ top of page
Method postShow
Perform actions immediately after making the layer visible (e.g. set default focus)
Signature
postShow()

 
→ top of page
Method preShow
Perform actions immediately before showing the layer (e.g. layout children)
Signature
preShow()

 
→ top of page
Method resizeAtLeastTo
Resize layer if it is smaller than the given size
Signature
resizeAtLeastTo(intsx,
  intsy 
  )  
Arguments
intsx–
intsy–

 
→ top of page
Method resizeAtLeastToMinimum
Resize layer if it is smaller than the minimum size
Signature
resizeAtLeastToMinimum():int
Returns
int–

 
→ top of page
Method resizeAtLeastToMinimumForce
Resize layer if it is smaller than the minimum size. Force minSize x and/or y.
Signature
resizeAtLeastToMinimumForce(intbForceX,
  intbForceY 
  )  
 :int
Arguments
intbForceX–
intbForceY–
Returns
int–

 
→ top of page
Method resizeToMinimum
Resize layer to match minimum size of child layers
Signature
resizeToMinimum()

 
→ top of page
Method restoreGeometryIfValid
Signature
restoreGeometryIfValid(ui::Geometry4fgeo)
 :int
Arguments
Returns
int–

 
→ top of page
Method show
Show layer at current position. Calls preShow() to run any additional initializations.
Signature
show()

 
→ top of page
Method showAboveLayer
Show layer above the given layer
Signature
showAboveLayer(Objectlayer)
Arguments
Objectlayer–

 
→ top of page
Method showAtXY
Show layer at given coordinates
Signature
showAtXY(floatx,
  floaty 
  )  
Arguments
floatx–
floaty–

 
→ top of page
Method showAtXY2
Signature
showAtXY2(floatx,
  floaty 
  )  
Arguments
floatx–
floaty–

 
→ top of page
Method showBelowLayer
Show layer below the given layer
Signature
showBelowLayer(Objectlayer)
Arguments
Objectlayer–

 
→ top of page
Method showCentered
Show layer at the center of the screen
Signature
showCentered()

 
→ top of page
Method showNearComboBox
Show layer below given layer. If it does not fit, show above the given layer.
Signature
showNearComboBox(Objectlayer)
Arguments
Objectlayer–

 
→ top of page
Method showNearLayer
Show layer relative to given layer
Signature
showNearLayer(Objectlayer)
Arguments
Objectlayer–

 
→ top of page
Method showNearLayerOffset
Show layer relative to given layer
Signature
showNearLayerOffset(Objectlayer,
  intoffx,
  intoffy 
  )  
Arguments
Objectlayer–
intoffx–
intoffy–

 
→ top of page
Method showNearMouse
Signature
showNearMouse(floatdx,
  floatdy 
  )  
Arguments
floatdx–
floatdy–

 
→ top of page
Method showRightBesideLayer
Show layer right beside the given layer
Signature
showRightBesideLayer(Objectlayer,
  floatoffx,
  floatoffy 
  )  
Arguments
Objectlayer–
floatoffx–
floatoffy–

 
→ top of page
Method showToolTipNearLayer
Show tooltip-style floating layer relative to given layer
Signature
showToolTipNearLayer(Objectlayer)
Arguments
Objectlayer–

 
→ top of page
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)

 

Project Modules:MAbstractXMLForm , MAcceleratorKey , MAcceleratorList , MAction , MActionConsumer , MActionProvider , MBezierEdit , MButton , MCharFilter , MCharFilterFloat , MCharFilterFloatExpr , MCharFilterHex , MCharFilterHexExpr , MCheckBox , MChoiceDialog , MColorBox , MColorButton , MComboBox , MComboBoxTM , MComposite , MControl , MCursorShapes , MDial , MDialog , MDynamicPopupMenuAction , MFBO , MFloatAction , MFloatField , MFloatingLayer , MFloatParam , MFloatParamEditor , MFont , MFontResource , MForm , MFT2Face , MFT2FontCache , MFT2Glyph , MGeometry4f , MHiddenPanel , MHSVColorPicker , MIcon , MIconCache , MInfoDialog , MIntAction , MKeyAction , MLabel , MLayer , MLayerSwitch , MLayout , MLookAndFeel , MLookAndFeel_DarkFawn , MLookAndFeel_Gray , MLookAndFeel_LightFawn , MLookAndFeel_LightGray , MMouseEvent , MOpaquePanel , MPanel , MPNGIcon , MPoint2f , MPopupMenu , MPopupMenuBar , MPopupMenuBarButton , MPopupMenuButton , MPopupMenuCheckButton , MPopupMenuFolderButton , MPopupMenuSeparator , MPopupMenuWindowDock , MRadioButton , MRadioButtonGroup , MRectangle2f , MRepeatButton , MScroller , MScrollPane , MSize2f , MSizeGroup , MSizeGroupX , MSizeGroupXY , MSizeGroupY , MSlider , MSpacer , MSplitPane , MStatusBar , MStringAction , MStringDialog , MSuperBorderLayout , MTabbedView , MTableCellEditor , MTableCellEditorCheckBox , MTableCellEditorComboBox , MTableCellEditorFloatParam , MTableModel , MTableView , MTableViewData , MTableViewHeader , MTabSwitch , MTextEdit , MTextEditDialog , MTextField , MTextFieldIncDec , MTextInputDialog , MTextView , MTimerAction , MTitledPanel , MToolTip , MTransparentPanel , MTreeTableModel , MTreeTableNode , MUI , MUIConstants , MUIPluginLoader , MUIRenderer , MValueAction , MVector2f , MView , MViewPane , MWindow , MWindowDock , MWindowTitleBar , MXFMObject , MXMLForm 
Project Classes:ColorBox , HSVColorPicker , ui::AbstractXMLForm , ui::AcceleratorKey , ui::AcceleratorList , ui::Action , ui::ActionConsumer , ui::ActionProvider , ui::BezierEdit , ui::BezierEditState , ui::BezierHistory , ui::BorderLayout , ui::Button , ui::CharFilter , ui::CharFilterFloat , ui::CharFilterFloatExpr , ui::CharFilterHex , ui::CharFilterHexExpr , ui::CheckBox , ui::ChoiceDialog , ui::ColorButton , ui::ComboBox , ui::ComboBoxPopup , ui::ComboBoxTM , ui::Composite , ui::Control , ui::CursorShapes , ui::Dial , ui::Dialog , ui::DynamicPopupMenuAction , ui::FBO , ui::FloatAction , ui::FloatField , ui::FloatingLayer , ui::FloatParam , ui::FloatParamEditor , ui::Font , ui::FontResource , ui::Form , ui::FT2Face , ui::FT2FontCache , ui::FT2FontResource , ui::FT2Glyph , ui::FT2LocalFileFontResource , ui::FT2PakFileFontResource , ui::Geometry4f , ui::HiddenPanel , ui::Icon , ui::IconCache , ui::InfoDialog , ui::IntAction , ui::KeyAction , ui::KeyRepeatAction , ui::KeyRepeatConsumer , ui::Label , ui::Layer , ui::LayerSwitch , ui::Layout , ui::LookAndFeel , ui::LookAndFeel_DarkFawn , ui::LookAndFeel_Gray , ui::LookAndFeel_LightFawn , ui::LookAndFeel_LightGray , ui::MouseEvent , ui::MouseHoldAction , ui::MouseHoldConsumer , ui::OpaquePanel , ui::Panel , ui::PNGIcon , ui::Point2f , ui::PopupMenu , ui::PopupMenuBar , ui::PopupMenuBarButton , ui::PopupMenuButton , ui::PopupMenuCheckButton , ui::PopupMenuFolderButton , ui::PopupMenuRadioButton , ui::PopupMenuSeparator , ui::PopupMenuWindowDock , ui::RadioButton , ui::RadioButtonGroup , ui::Rectangle2f , ui::RepeatButton , ui::Scroller , ui::ScrollPane , ui::Size2f , ui::SizeGroup , ui::SizeGroupX , ui::SizeGroupXY , ui::SizeGroupY , ui::Slider , ui::Spacer , ui::SplitPane , ui::StatusBar , ui::StatusBarListener , ui::StatusBarMessage , ui::StringAction , ui::StringDialog , ui::StringDialogTextField , ui::SuperBorderLayout , ui::TabbedView , ui::TableCellEditor , ui::TableCellEditorCheckBox , ui::TableCellEditorComboBox , ui::TableCellEditorFloatParam , ui::TableModel , ui::TableView , ui::TableViewData , ui::TableViewHeader , ui::TabSwitch , ui::TabSwitchLabelPanel , ui::TextEdit , ui::TextEditDialog , ui::TextField , ui::TextFieldIncDec , ui::TextInputDialog , ui::TextView , ui::TimerAction , ui::TitledPanel , ui::ToolTip , ui::TransparentPanel , ui::TreeTableModel , ui::TreeTableNode , ui::TriadKeyConsumer , ui::UI , ui::UIConstants , ui::UIRenderer , ui::ValueAction , ui::Vector2f , ui::View , ui::ViewPane , ui::Window , ui::WindowDock , ui::WindowTitleBar , ui::XFMObject , ui::XMLForm 
Project Functions:getTableViewStepSizeDec , getTableViewStepSizeInc , Screen_onApplicationActive , Screen_onClose , Screen_onDraw , Screen_onDropFiles , Screen_onExpose , Screen_onInputFocusActive , Screen_onKeyboard , Screen_onMouse , Screen_onMouseFocusActive , Screen_onOpen , Screen_onResize , Screen_onTimer 
All Namespaces:default , ui 
All Projects:core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit 


auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 14:27:06