Rechercher une page de manuel
ttk_menubutton.3tk
Langue: en
Version: 8.5 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
ttk::menubutton - Widget that pops down a menu when pressedSYNOPSIS
ttk::menubutton pathName ?options?DESCRIPTION
A ttk::menubutton widget displays a textual label and/or image, and displays a menu when pressed.STANDARD OPTIONS
-class -compound-cursor -image -state-style -takefocus -text-textvariable -underline -width
See the ttk_widget manual entry for details on the standard options.
WIDGET-SPECIFIC OPTIONS
Command-Line Name:-direction Database Name:direction Database Class:Direction
- Specifies where the menu is to be popped up relative to the menubutton. One of: above, below, left, right, or flush. The default is below. flush pops the menu up directly over the menubutton.
Command-Line Name:-menu Database Name:menu Database Class:Menu
- Specifies the path name of the menu associated with the menubutton. To be on the safe side, the menu ought to be a direct child of the menubutton.
WIDGET COMMAND
Menubutton widgets support the standard cget, configure, identify, instate, and state methods. No other widget methods are used.SEE ALSO
ttk::widget(3tk), menu(3tk), menubutton(3tk)KEYWORDS
widget, button, menuContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre