Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ttk_menubutton(n) [osx man page]

ttk::menubutton(n)						 Tk Themed Widget						ttk::menubutton(n)

__________________________________________________________________________________________________________________________________________________

NAME
ttk::menubutton - Widget that pops down a menu when pressed SYNOPSIS
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 [-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 asso- ciated 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(n), menu(n), menubutton(n) KEYWORDS
widget, button, menu Tk 8.5 ttk::menubutton(n)

Check Out this Related Man Page

ttk::menubutton(3tk)						 Tk Themed Widget					      ttk::menubutton(3tk)

__________________________________________________________________________________________________________________________________________________

NAME
ttk::menubutton - Widget that pops down a menu when pressed SYNOPSIS
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. STANDARD STYLES
Ttk::menubutton widgets support the Toolbutton style in all standard themes, which is useful for creating widgets for toolbars. SEE ALSO
ttk::widget(3tk), menu(3tk), menubutton(3tk) KEYWORDS
widget, button, menu Tk 8.5 ttk::menubutton(3tk)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

changing root menu options on Redaht

Hello all, I would like to change the options on the root menu when I use the middle button on a three mouse buttom setting. I can append to the menu but, I seem to be unable to find the lisp code for pop-root-menu. Does anyone know how to change this? THANKS ALL (3 Replies)
Discussion started by: larry
3 Replies

2. UNIX for Dummies Questions & Answers

Help needed with menu options

I'm programming a menu for an intro to unix class and am hung up on 2 required options. One has to exit from unix. The other has to get a command prompt by using one of the menu choices, then return to the menu via CTRL-D. below is my code #!/bin/ksh #Jimmy's happy menu mesg y msg="ON"... (2 Replies)
Discussion started by: sanitywonko
2 Replies

3. Windows & DOS: Issues & Discussions

variable in dos batch file

Sir I have a very old cobol programme (source not availble). On execution and invoking some menu commands, depending upon the "pressed menu commands" it is writing certain values into a dos batch file. At the end of cobol file, this batch file gets exeuted. On keying in the Drive from which you... (6 Replies)
Discussion started by: chssastry
6 Replies

4. UNIX for Dummies Questions & Answers

menu + awk + while + case

the idea is to create script with menu and when option 1 or2 is pressed program should clear screan display info and get back to menu.... I managed some code but getting errors... #!/bin/bash choice1=ls -l|awk'{print $9 $1}' choice2= ls | wc -c choice3=exit while do clear echo "... (8 Replies)
Discussion started by: me.
8 Replies

5. Shell Programming and Scripting

Print lines containing same values in a group

Hi, I have a table like this: Name A1 A2 A3 B1 B2 B3 111 abc abc abc cbc cbc cbc 222 acv acv n_n bbc bbc bbc 333 bvv bvv bvv cBx ccx ccx 444 ttk ttk ttk kke kke kke 555 mcr mcr mcr mcr mcr mcr The 1st column is just names... (3 Replies)
Discussion started by: polsum
3 Replies

6. UNIX for Dummies Questions & Answers

application with menu

Hi, Actually i need to develop a bash script with menu features. For example a Title should be always there . under that some menu options will be there..in each menu, submenus will be there. In order to build the script with menu features , which library is the preferable one in linux?... (1 Reply)
Discussion started by: pandeesh
1 Replies

7. Shell Programming and Scripting

Execution Problem with dispalying file content using menu driven script

HI All.. below is my menu options script. in option 2,3 and 4 im giving input and they are saving into their respective text file. problem is when im trying to "cat" those files in options 7,8 and 9 im not getting the output. no respective file contents are displaying on screen. but if i... (1 Reply)
Discussion started by: saichand1985
1 Replies