→ index of namespace ui
 
→ index of project ui
 
→ index of module MPopupMenu

Class MPopupMenu.ui::PopupMenu


Synopsis: A modal, floating popupmenu dialog. Emits unnamed action if canceled (action name = ) resp. the item action name if one was selected.

  Base classes:
  Functions:
  Methods:
  Constants:

Function IsFocusAction
Signature
IsFocusAction(ui::Actionac)
 :int
Arguments
ui::Actionac–
Returns
int–

 
→ top of page
Function New
Signature
New(ui::ActionConsumerrecipient)
Arguments
ui::ActionConsumerrecipient–

 
→ top of page
Method addAcceleratorKeys
Recursively add accelerator keys of menu items
Signature
addAcceleratorKeys(ui::AcceleratorListal)
Arguments

 
→ top of page
Method addCheckButton
Signature
addCheckButton(Stringcaption,
  intbChecked,
  StringactionAlias 
  )  
 :ui::PopupMenuButton
Arguments
Stringcaption–
intbChecked–
StringactionAlias–
Returns

 
→ top of page
Method addDefaultButton
Signature
addDefaultButton(Stringcaption,
  StringactionAlias 
  )  
 :ui::PopupMenuButton
Arguments
Stringcaption–
StringactionAlias–
Returns

 
→ top of page
Method addIconButton
Signature
addIconButton(Stringcaption,
  StringiconName,
  StringactionAlias 
  )  
 :ui::PopupMenuButton
Arguments
Stringcaption–
StringiconName–
StringactionAlias–
Returns

 
→ top of page
Method addIconMenu
Signature
addIconMenu(Stringcaption,
  StringiconName,
  ui::PopupMenumenu 
  )  
 :ui::PopupMenuFolderButton
Arguments
Stringcaption–
StringiconName–
ui::PopupMenumenu–
Returns

 
→ top of page
Method addItemLayer
Signature
addItemLayer(Objectl)
Arguments
Objectl–

 
→ top of page
Method addMenu
Signature
addMenu(Stringcaption,
  ui::PopupMenumenu 
  )  
 :ui::PopupMenuFolderButton
Arguments
Stringcaption–
ui::PopupMenumenu–
Returns

 
→ top of page
Method addRadioButton
Signature
addRadioButton(Stringcaption,
  intbChecked,
  StringactionAlias 
  )  
 :ui::PopupMenuButton
Arguments
Stringcaption–
intbChecked–
StringactionAlias–
Returns

 
→ top of page
Method addSeparator
Signature
addSeparator()

 
→ top of page
Method addXFMChild
Signature
addXFMChild(Objecto)
Arguments
Objecto–

 
→ top of page
Method beginXFMTag
Signature
beginXFMTag(ui::AbstractXMLFormform,
  HashTableattributes 
  )  
 :int
Arguments
ui::AbstractXMLFormform–
HashTableattributes–
Returns
int–

 
→ top of page
Method closeOpenSubMenus
Signature
closeOpenSubMenus(ui::PopupMenuFolderButtonnew)
Arguments

 
→ top of page
Method consumeAction
Signature
consumeAction(ui::Actionaction)
 :int
Arguments
ui::Actionaction–
Returns
int–

 
→ top of page
Method focusNextMenuItem
Signature
focusNextMenuItem():ui::Layer
Returns

 
→ top of page
Method focusNextMenuItemByFirstChar
Focus next menu item whose caption starts with the given character
Signature
focusNextMenuItemByFirstChar(intc)
 :int
Arguments
intc–
Returns
int–

 
→ top of page
Method focusPreviousMenuItem
Signature
focusPreviousMenuItem():ui::Layer
Returns

 
→ top of page
Method getCaption
Signature
getCaption():String
Returns
String–

 
→ top of page
Method getIconName
Signature
getIconName():String
Returns
String–

 
→ top of page
Method getNextMenuBarButtonToActivate
Signature
getNextMenuBarButtonToActivate():ui::PopupMenuBarButton
Returns

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

 
→ top of page
Method getParentMenu
Signature
getParentMenu():ui::PopupMenu
Returns

 
→ top of page
Method getRootMenu
Signature
getRootMenu():ui::PopupMenu
Returns

 
→ top of page
Method handleNonChildMouseOver
Signature
handleNonChildMouseOver(ui::MouseEventev,
  Objectl 
  )  
 :int
Arguments
Returns
int–

 
→ top of page
Method handleSelection
Signature
handleSelection(StringactionName,
  intbHide 
  )  
 :int
Arguments
StringactionName–
intbHide–
Returns
int–

 
→ top of page
Method hide
Signature
hide()

 
→ top of page
Method initIconButton
Signature
initIconButton(ui::PopupMenuButtonbutton,
  Stringcaption,
  StringiconName,
  StringactionAlias 
  )  
Arguments
ui::PopupMenuButtonbutton–
Stringcaption–
StringiconName–
StringactionAlias–

 
→ top of page
Method initPopupMenu
Signature
initPopupMenu(ui::ActionConsumerrecipient)
Arguments
ui::ActionConsumerrecipient–

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

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

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

 
→ top of page
Method newColumnLayer
Signature
newColumnLayer()

 
→ top of page
Method onChildMouseEnter
Signature
onChildMouseEnter(ui::MouseEventev)
Arguments

 
→ top of page
Method onDraw
Signature
onDraw()

 
→ top of page
Method onKey
Signature
onKey(Keyk)
 :int
Arguments
Keyk–
Returns
int–

 
→ top of page
Method postShow
Signature
postShow()

 
→ top of page
Method preShow
overwrites FloatingLayer::preShow
Signature
preShow()

 
→ top of page
Method removeMenuItems
Signature
removeMenuItems()

 
→ top of page
Method returnToParentMenu
Signature
returnToParentMenu(intbFromKeyboard)
Arguments
intbFromKeyboard–

 
→ top of page
Method setAllowActivateNext
Signature
setAllowActivateNext(intbAllowActivateNext)
Arguments
intbAllowActivateNext–

 
→ top of page
Method setNumItemsPerColumn
Signature
setNumItemsPerColumn(intnum)
Arguments
intnum–

 
→ top of page
Method setRecipient
Signature
setRecipient(ui::ActionConsumerrecipient)
Arguments
ui::ActionConsumerrecipient–

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

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

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

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

 
→ top of page
Constant ACTION_CANCEL (String)
Constant MIN_SIZE_X (int)
Constant MIN_SIZE_Y (int)

 

Project Modules:MAbstractXMLForm , MAcceleratorKey , MAcceleratorList , MAction , MActionConsumer , MActionProvider , MBezier01Edit , MBezierEdit , MButton , MCharFilter , MCharFilterBinary255Expr , MCharFilterFloat , MCharFilterFloatExpr , MCharFilterHex , MCharFilterHexExpr , MCharFilterHexShort , MCharFilterHexShortExpr , MCharFilterUFix16 , MCheckBox , MChoiceDialog , MCmdProvider , MColorBox , MColorButton , MComboBox , MComboBoxPopup , MComboBoxTM , MComboField , MComposite , MControl , MCursorShapes , MDial , MDialog , MDragHandleLabel , MDynamicPopupMenuAction , MFBO , MFloatAction , MFloatField , MFloatingLayer , MFloatParam , MFloatParamDialog , MFloatParamEditor , MFlowLayout , MFont , MFontCache , MFontResource , MForm , MFT2Face , MFT2FontResource , MFT2Glyph , MGeometry4f , MGraph , MGraphForm , MGridLayout , MHiddenPanel , MHSVColorPicker , MIcon , MIconCache , MInfoDialog , MIntAction , MKeyAction , MKeyboardMonitor , MKeyHelpDialog , MLabel , MLayer , MLayerSwitch , MLayout , MLogger , MLookAndFeel , MLookAndFeel_Dark , MLookAndFeel_Light , MLookAndFeel_Mono , MMouseEvent , MObjectAction , MOpaquePanel , MPanel , MPNGIcon , MPopupMenu , MPopupMenuBar , MPopupMenuBarButton , MPopupMenuButton , MPopupMenuCheckButton , MPopupMenuFolderButton , MPopupMenuSeparator , MPopupMenuWindowDock , MRadioButton , MRadioButtonGroup , MRectangle2f , MRepeatButton , MScroller , MScrollPane , MShader , MShader_ColorGrading , MShader_GradientH , MShader_GradientR , MShader_GradientV , MShader_InvertColor , MShader_PatternFill , MShader_PatternGradientH , MShader_PatternGradientR , MShader_PatternGradientV , MShader_SharpenFilter , MShader_SharpenFilterAndColorGrading , MShape , MShapePolyline , MSizeGroup , MSizeGroupX , MSizeGroupXY , MSizeGroupY , MSlider , MSpacer , MSplitPane , MStatusBar , MStringAction , MStringDialog , MSuperBorderLayout , MTableCellEditor , MTableCellEditorCheckBox , MTableCellEditorComboBox , MTableCellEditorFloatParam , MTableCellEditorString , MTableModel , MTableView , MTableViewData , MTableViewHeader , MTabSwitch , MTextEdit , MTextEditDialog , MTextField , MTextFieldIncDec , MTextInputDialog , MTextView , MTimerAction , MTitledPanel , MToolTip , MTransparentPanel , MTreeTableModel , MTreeTableNode , MUI , MUIConstants , MUIPluginLoader , MUIRenderer , MUserDataContainer , MValueAction , MView , MViewPane , MWindow , MWindowDock , MWindowTitleBar , MXFMObject , MXMLForm , MXYPad 
Project Classes:CmdProvider , ColorBox , graph::AttribsBase , graph::BBox , graph::Canvas , graph::Cell , graph::Edge , graph::GR , graph::Graph , graph::GRGradient , graph::GRPalette , graph::GRParseContext , graph::GRStyle , graph::GRUtils , graph::Node , graph::Port , graph::PortsBase , HSVColorPicker , ui::AbstractXMLForm , ui::AcceleratorKey , ui::AcceleratorList , ui::Action , ui::ActionConsumer , ui::ActionProvider , ui::Bezier01Edit , ui::BezierEdit , ui::BezierEditState , ui::BezierHistory , ui::BezierLUT01 , ui::BorderLayout , ui::Button , ui::CharFilter , ui::CharFilterBinary255Expr , ui::CharFilterFloat , ui::CharFilterFloatExpr , ui::CharFilterHex , ui::CharFilterHexExpr , ui::CharFilterHexShort , ui::CharFilterHexShortExpr , ui::CharFilterUFix16 , ui::CheckBox , ui::ChoiceDialog , ui::ColorButton , ui::ComboBox , ui::ComboBoxPopup , ui::ComboBoxTM , ui::ComboField , ui::Composite , ui::Control , ui::CursorShapes , ui::Dial , ui::Dialog , ui::DragHandleLabel , ui::DynamicPopupMenuAction , ui::FBO , ui::FloatAction , ui::FloatField , ui::FloatingLayer , ui::FloatParam , ui::FloatParamDialog , ui::FloatParamEditor , ui::FlowLayout , ui::Font , ui::FontCache , ui::FontResource , ui::Form , ui::FT2Face , ui::FT2FontResource , ui::FT2Glyph , ui::FT2LocalFileFontResource , ui::FT2PakFileFontResource , ui::Geometry4f , ui::GraphEdge , ui::GraphEdgeArrow , ui::GraphForm , ui::GraphPortButton , ui::GridLayout , ui::HiddenPanel , ui::Icon , ui::IconCache , ui::InfoDialog , ui::IntAction , ui::KeyAction , ui::KeyboardFocusListener , ui::KeyboardMonitor , ui::KeyboardMonitorEntry , ui::KeyHelpButton , ui::KeyHelpDialog , ui::KeyHelpToolTip , ui::KeyRepeatAction , ui::KeyRepeatConsumer , ui::Label , ui::Layer , ui::LayerSwitch , ui::Layout , ui::Logger , ui::LookAndFeel , ui::LookAndFeelDefs , ui::LookAndFeel_Dark , ui::LookAndFeel_Light , ui::LookAndFeel_Mono , ui::MouseEvent , ui::MouseHoldAction , ui::MouseHoldConsumer , ui::ObjectAction , ui::OpaquePanel , ui::Panel , ui::PNGIcon , 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::Shader , ui::Shader_ColorGrading , ui::Shader_GradientH , ui::Shader_GradientR , ui::Shader_GradientV , ui::Shader_InvertColor , ui::Shader_PatternFill , ui::Shader_PatternGradientH , ui::Shader_PatternGradientR , ui::Shader_PatternGradientV , ui::Shader_SharpenFilter , ui::Shader_SharpenFilterAndColorGrading , ui::Shape , ui::ShapePolyline , 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::TableCellEditor , ui::TableCellEditorCheckBox , ui::TableCellEditorComboBox , ui::TableCellEditorFloatParam , ui::TableCellEditorString , ui::TableGraphPanel , ui::TableModel , ui::TableView , ui::TableViewData , ui::TableViewHeader , ui::TabSwitch , ui::TabSwitchLabelPanel , ui::TextEdit , ui::TextEditDialog , ui::TextEditPlugin , ui::TextEditUndoEntry , ui::TextField , ui::TextFieldIncDec , ui::TextInputDialog , ui::TextView , ui::TextViewSyntaxHighlighter , ui::TimerAction , ui::TitledPanel , ui::ToolTip , ui::TransparentPanel , ui::TreeTableModel , ui::TreeTableNode , ui::TriadKeyConsumer , ui::UI , ui::UIConstants , ui::UIRenderer , ui::UserDataContainer , ui::ValueAction , ui::View , ui::ViewPane , ui::Window , ui::WindowDock , ui::WindowTitleBar , ui::XFMObject , ui::XMLForm , ui::XYPad 
Project Functions:getTableViewStepCoarse , Screen_onApplicationActive , Screen_onClose , Screen_onDrainEventQueue , Screen_onDraw , Screen_onDropFiles , Screen_onExpose , Screen_onInputFocusActive , Screen_onKeyboard , Screen_onMouse , Screen_onMouseFocusActive , Screen_onMoveWindow , Screen_onOpen , Screen_onResize , Screen_onTimer , SetDebugLevel , SetDebugLevel , SetEnableProfiling 
All Namespaces:default , graph , ui 
All Projects:core , eqxmms , ShaderVG , ShaderVG_Text , tkanalogrytm , tkchipmunk , tkclap , tkfileutils , tkfreeglut , tkfreetype2 , tkfreeverb , tkmath , tkmidi , tkmidipipe , tkminnie , tkoldmath , tkopengl , tkportaudio , tkradiastools , tksamplechain , tksampleedit , tksampler , tksdl , tksdl_net , tksidplay2 , tkspeexdsp , tksqlite , tktriangulate , tkui , tkvst2 , tkzip , ui , yingtest 


auto-generated by "DOG", the TkScript document generator. Wed, 27/May/2026 15:27:24