Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tk_menubar(1t) [opensolaris man page]

tk_menuBar(1T)						       Tk Built-In Commands						    tk_menuBar(1T)

__________________________________________________________________________________________________________________________________________________

NAME
tk_menuBar, tk_bindForTraversal - Obsolete support for menu bars SYNOPSIS
tk_menuBar frame ?menu menu ...? tk_bindForTraversal arg arg ... _________________________________________________________________ DESCRIPTION
These procedures were used in Tk 3.6 and earlier releases to help manage pulldown menus and to implement keyboard traversal of menus. In Tk 4.0 and later releases they are no longer needed. Stubs for these procedures have been retained for backward compatibility, but they have no effect. You should remove calls to these procedures from your code, since eventually the procedures will go away. From Tk 8.0 onwards, you should instead construct your menubar as a normal menu and then attach it to the toplevel of your choice using the -menu option of that widget. SEE ALSO
menu(1T), toplevel(1T) KEYWORDS
keyboard traversal, menu, menu bar, post ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTk | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tk is available on http://opensolaris.org. Tk tk_menuBar(1T)

Check Out this Related Man Page

XmAddToPostFromList(library call)										 XmAddToPostFromList(library call)

NAME
XmAddToPostFromList -- a RowColumn function that makes a menu accessible from more than one widget SYNOPSIS
#include <Xm/RowColumn.h> void XmAddToPostFromList( Widget menu, Widget post_from_widget); DESCRIPTION
XmAddToPostFromList makes a menu accessible from more than one widget. After a menu is once created, this function may be used to make that menu accessible from a second widget. The process may be repeated indefinitely. In other words, where an application would use XmCreatePop- upMenu or XmCreatePulldownMenu or their equivalent to create a new menu identical to one that already exists, it can use this function to reuse that earlier menu. If menu refers to a Popup menu, then the post_from_widget widget can now pop up the specified menu. The actual posting of the menu occurs as it always does, either through an event handler, or the automatic popup menu support (see the XmRowColumn(3) reference page). If menu refers to a Pulldown menu, its ID is placed in the XmNsubMenuId resource of the specified post_from_widget. In this case, the post_from_widget widget must be either a CascadeButton or a CascadeButtonGadget. Note that this function manipulates the internal structures themselves, not a copy of them. menu Specifies the ID of the RowColumn widget containing the menu (Popup or Pulldown) to be made accessible from the widget. post_from_widget Specifies the widget ID of the widget which will now be able to post the menu specified by menu. For a complete definition of RowColumn and its associated resources, see XmRowColumn(3). RELATED
XmGetPostedFromWidget(3), XmRemoveFromPostFromList(3), and XmRowColumn(3). XmAddToPostFromList(library call)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sub menu's

I have designed a script menu, but I would like to to create sub menus e.g. I have my normal menu, then have a few options, and I for example choose option 2 and I would like it to take me to a whole new page (well, clear the screen) then allow me to choose from 5/6 options, which are functional.... (20 Replies)
Discussion started by: Makaveli.2003
20 Replies

2. UNIX for Dummies Questions & Answers

Can anyone help

This is how far I have got, but it still doesnt do what it is supposed to The code is to be written on KornShell and has to be done command line and menu form, im trying to do the menu code first then the command line will be simpler. The question is: for each file in the directory... (1 Reply)
Discussion started by: madtim
1 Replies

3. Programming

code help

why does this code present me the menu twice everytime i chose an option? i think it has something to do with the while loop. #include <stdio.h> void main(){ char choice; int enter =1; while(enter ==1){ printf("choose from options\n"); printf("a do something\n");... (3 Replies)
Discussion started by: bb00y
3 Replies

4. UNIX for Dummies Questions & Answers

printing out procedures in unknown format

Does Anybody know how to print procedures written in this format? .. .nr PS 11 .nr VS 14 .nr LL 6.5i .ad l .DA 1/9/91 .in 4.0i .DS Shepard D. Johnson .DE .in 0i .sp .sp .sp .LG .ce .B Pressure Sensors (P/N 16-0018-0 & 16-0018-1) Test Procedure (1 Reply)
Discussion started by: rjtrjt
1 Replies

5. AIX

CDE menu

Hi all, is any one knows how can i change menus on my front panel (I need to load the default)? for example : when im entering in a session I've got a application menu ( /etc/dt/appconfig/types/en_US) and i need the default one ( /usr/dt/appconfig/types/C) to be load. I've sold that problem... (1 Reply)
Discussion started by: gabim
1 Replies

6. UNIX for Dummies Questions & Answers

switching between machines

I work for a local authority, and have been asked to extend a project I recently worked on currently there are two (2) menus in operation each menu allows us to allow or deny access to users the problem the menus are on seperate machines (Iwant to make these menus sub menus) I want to... (1 Reply)
Discussion started by: w33man
1 Replies

7. What is on Your Mind?

AIX Smit menu designer. WinSmit

Hi, Please excuse me for posting an "ad" message here. Over the last few months I have created software called WinSmit, with this tool you can create your own AIX smit menus and corresponding message files. We all know the smit or smitty menus that IBM provides to maintain the system, the... (6 Replies)
Discussion started by: mimyrtek
6 Replies

8. UNIX for Advanced & Expert Users

Shell menus And Oracle

Dear All, Kindly suggest on how should i proceed with the following requirement I need to develop an interactive shell script menu which would enable the user to inquire the value of a column based on a key value . The output can be more records.. Also is it possible to do the following 1)... (2 Replies)
Discussion started by: ksm
2 Replies

9. Shell Programming and Scripting

multiples menu in ksh

Hi, IS possible in ksh to make multiples menus? For example: My menu. 1)Option1 1.1)Option1.1 2.3)Option1.2 2)Option2 2.1)Option2.1 . . . x)Exit I've tried with case but no success. Thanks in advance. (3 Replies)
Discussion started by: iga3725
3 Replies

10. UNIX for Dummies Questions & Answers

removing application from the unity menu

Hello I have removed wine but the symbols of it application were in the unity menu (though nothing happened when I clicked on them). How can I remove symbols from the unity menu? (1 Reply)
Discussion started by: programAngel
1 Replies

11. Shell Programming and Scripting

Question on returning back a level with menus

Hi Agian Sorry for all these questions...: Last one for a whie, I promise This is an example of a menu script I am using. It works OK...when I get to the 2nd menu level, if the command is issued or canceled, I would like to go back to the first menu (# MAIN SECTION) This is NOT the... (7 Replies)
Discussion started by: olearydc
7 Replies

12. Shell Programming and Scripting

sh file: READ (menu) but now run with option

I have a script which uses READ to detect choice of menu option...now I want to change the script without doing whole rewrite such that when user runs ./script.sh 5 it would execute menu option 5 rather than user running ./script.sh waiting for it to load and then pressing "5 enter" Is it... (1 Reply)
Discussion started by: holyearth
1 Replies

13. Shell Programming and Scripting

Returning to menu

i have my script all setup but what i was wanting to know is, after a choice has been made on the menu and it completes, what command can i type in to return to the menu of the script. with my script, when a command is finished, it just asks me to input my choice but it doesn't show the menu. any... (3 Replies)
Discussion started by: hotshot247
3 Replies

14. Homework & Coursework Questions

Shell scripting/menu

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a shell menu program that will: a. copy a file to a designated directory b. tell you if a specified user... (13 Replies)
Discussion started by: Jagst3r21
13 Replies

15. Shell Programming and Scripting

Formatting Read Command

Hi All, I am using HP Unix and trying to write a script in menu style. At the end of list, I will accept the input from keyboard and take action accordingly. Uptill here it is ok. However, I want to hide the cursor, display it as blinking line after the prompt. How do I achive it. I am using... (2 Replies)
Discussion started by: angshuman
2 Replies