home
 
 index of namespace ui
 
 index of project tkui
 
 index of module MPopupMenu

Class MPopupMenu.ui::PopupMenu


SynopsisA 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 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 
  )  
Arguments
Stringcaption
StringiconName
ui::PopupMenumenu

 
 top of page
Method addMenu
Signature
addMenu(Stringcaption,
  ui::PopupMenumenu 
  )  
Arguments
Stringcaption
ui::PopupMenumenu

 
 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()

 
 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()

 
 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 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)
 :int
Arguments
StringactionName
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 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 preShow
overwrites FloatingLayer::preShow
Signature
preShow()

 
 top of page
Method returnToParentMenu
Signature
returnToParentMenu()

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

 
 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 MIN_SIZE_X (int)
Constant MIN_SIZE_Y (int)

 

Project Modules:MAbstractXMLForm , MAcceleratorKey , MAcceleratorList , MAction , MActionConsumer , MActionProvider , MButton , MCharFilter , MCharFilterFloat , MCharFilterFloatExpr , MCharFilterHex , MCharFilterHexExpr , MCheckBox , MChoiceDialog , MColorBox , MComboBox , MComposite , MControl , MCursorShapes , MDial , MDialog , MFBO , MFloatAction , MFloatField , MFloatingLayer , MFloatParam , MFloatParamEditor , MFont , MFontResource , MForm , MFT2Face , MFT2FontCache , MFT2Glyph , MIcon , MIconCache , MInfoDialog , MIntAction , 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 , MSuperBorderLayout , MTabbedView , MTableCellEditor , MTableCellEditorCheckBox , MTableCellEditorComboBox , MTableCellEditorFloatParam , MTableModel , MTableView , MTableViewData , MTableViewHeader , MTextEdit , MTextEditDialog , MTextField , MTextInputDialog , MTextView , MTimerAction , MTitledPanel , MToolTip , MTransparentPanel , MTreeTableModel , MTreeTableNode , MUI , MUIConstants , MUIRenderer , MValueAction , MVector2f , MView , MViewPane , MWindow , MWindowDock , MWindowTitleBar , MXFMObject , MXMLForm 
Project Classes:ColorBox , FloatParam , FloatParamEditor , ui::AbstractXMLForm , ui::AcceleratorKey , ui::AcceleratorList , ui::Action , ui::ActionConsumer , ui::ActionProvider , ui::BorderLayout , ui::Button , ui::CharFilter , ui::CharFilterFloat , ui::CharFilterFloatExpr , ui::CharFilterHex , ui::CharFilterHexExpr , ui::CheckBox , ui::ChoiceDialog , ui::ComboBox , ui::ComboBoxPopup , ui::ComboBoxTM , ui::Composite , ui::Control , ui::CursorShapes , ui::Dial , ui::Dialog , ui::FBO , ui::FloatAction , ui::FloatField , ui::FloatingLayer , ui::Font , ui::FontResource , ui::Form , ui::FT2Face , ui::FT2FontCache , ui::FT2FontResource , ui::FT2Glyph , ui::FT2LocalFileFontResource , ui::FT2PakFileFontResource , ui::Icon , ui::IconCache , ui::InfoDialog , ui::IntAction , 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::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::StatusBarMessage , ui::StringAction , ui::SuperBorderLayout , ui::TabbedView , ui::TableCellEditor , ui::TableCellEditorCheckBox , ui::TableCellEditorComboBox , ui::TableCellEditorFloatParam , ui::TableModel , ui::TableView , ui::TableViewData , ui::TableViewHeader , ui::TextEdit , ui::TextEditDialog , ui::TextField , 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_onDraw , Screen_onDropFiles , Screen_onExpose , Screen_onIdle , Screen_onInputFocusActive , Screen_onKeyboard , Screen_onMouse , Screen_onMouseFocusActive , Screen_onReopen , Screen_onResize 
All Namespaces:default , ui 
All Projects:core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit 


auto-generated by "DOG", the TkScript document generator. Sat, 31/Dec/2011 16:12:22