ttk::menubutton - Online Linux Manual PageSection : n
Updated : 8.5
Source : Tk
Note : Tk Themed Widget


NAMEttk::menubutton − Widget that pops down a menu when pressed

SYNOPSISttk::menubutton pathName ?options? .\}

DESCRIPTIONA 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 [ −direction 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. [ −menu 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 COMMANDMenubutton widgets support the standard cget, configure, identify, instate, and state methods. No other widget methods are used.

STANDARD STYLESTtk::menubutton widgets support the Toolbutton style in all standard themes, which is useful for creating widgets for toolbars.

STYLING OPTIONSThe class name for a ttk::menubutton is TMenubutton. Dynamic states: active, disabled, readonly. TMenubutton styling options configurable with ttk::style are: −arrowsize amount
−background color
−compound compound
−foreground color
−font font
−padding padding
−relief relief
−width amount
Some options are only available for specific themes. See the ttk::style manual page for information on how to configure ttk styles.

SEE ALSOttk::widget(n), menu(n), menubutton(n)

KEYWORDSwidget, button, menu
0
Johanes Gumabo
Data Size   :   10,899 byte
man-ttk_menubutton.nBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 201,009
Visitor ID   :     :  
Visitor IP   :   3.144.3.235   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_escape_sequence_block|26|(null)|(null)|-1|139)         (parse_manual_page_|249|ttk_menubutton.n|280/139|══─}─══|.══─}─══ )         (htmlprn|149|ttk_menubutton.n|280/139|.══─}─══|.══─}─══ )         (rof_escape_sequence|91|ttk_menubutton.n|280/140|\}|.\} )         (parse_manual_page_|249|ttk_menubutton.n|280/140|\}|.\} )         (rof_OP|10|ttk_menubutton.n|292|4|.OP \-direction direction Direction )         (rof_OP|10|ttk_menubutton.n|298|4|.OP \-menu menu Menu )