It's me again :)
I would like to create a script that will display a 'Main Menu' which will link to other scripts in the same directory. Is it possible to have a scrolling menu and pretty colours for this? :) (9 Replies)
I'm working on a script for a basic menu with four options. The first option for the menu asks a user to put in anyone's user name and is supposed to display the user's home directory. If a user does not enter a name, then their own home directory should be displayed. The second menu option is... (0 Replies)
Hi there, I am new to Unix and at the moment
I am trying to solve my assignment that is to create a script for the program
to prompt user to type three codes,
from user point of view it should be done by
typing codes separating them by spaces.
Then program displays a menu with these three... (2 Replies)
hi guys, how would you do the following? I have a menu with 5 options in my shell script:
1. Run function 1 against files
2. Run function 2 against files
3. Run function 3 against files
4. Run function 4 against files
5. Run function 5 against files
I'd like to be able to run multiple... (10 Replies)
Problem:
I am trying to create a menu in a menu script and I am running into an issue with the calculator portion of the script. I am first presented with the ==Options Menu== which all 5 options working correctly. Now comes the fun part. I select option 1 which takes me to my ==Calculator... (1 Reply)
hi all i am a newbie to this
is there any examples on creating a main menu with 3 sub menu
main menu -> option a , b and c
a menu -> option 1 ,2 and 3
b menu -> option 1 ,2
c menu -> option 1 ,2
i am getting headache as my code kept getting unexpected EOF
---------- Post... (0 Replies)
Hello,
I want to design a script that will call an existing menu script and select options one by one and redirict the out put to a file.
For example;-
In the script MENU.sh there are 10 options i want to design a script MENU2.sh that will select option 2 3 4 6 7 10 and redirict the output... (4 Replies)
I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome.
Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies
LEARN ABOUT OSF1
xmcreatesimpleoptionmenu
XmCreateSimpleOptionMenu(3X)XmCreateSimpleOptionMenu(3X)NAME
XmCreateSimpleOptionMenu - A RowColumn widget convenience creation function
SYNOPSIS
#include <Xm/RowColumn.h>
Widget XmCreateSimpleOptionMenu (parent, name, arglist, argcount)
Widget parent;
String name;
ArgList arglist;
Cardinal argcount;
DESCRIPTION
XmCreateSimpleOptionMenu creates an instance of a RowColumn widget of type XmMENU_OPTION and returns the associated widget ID.
This routine creates an Option Menu and its submenu containing PushButtonGadget or CascadeButtonGadget children. The name of each button is
button_n, where n is an integer from 0 to one minus the number of buttons in the menu. The name of each separator is separator_n, where n
is an integer from 0 to one minus the number of separators in the menu. Buttons and separators are named and created in the order in which
they are specified in the RowColumn simple menu creation resources supplied in the argument list. Specifies the parent widget ID Specifies
the name of the created widget Specifies the argument list Specifies the number of attribute/value pairs in the argument list (arglist)
The user can specify resources in a resource file for the automatically created widgets and gadgets of an OptionMenu. The following list
identifies the names of these widgets (or gadgets) and the associated OptionMenu areas. Option Menu Label Gadget--"OptionLabel" Option
Menu Cascade Button--"OptionButton"
A number of resources exist specifically for use with this and other simple menu creation routines. The only button types allowed in the
XmNbuttonType resource are XmPUSHBUTTON, XmCASCADEBUTTON, XmSEPARATOR, and XmDOUBLE_SEPARATOR. For a complete definition of RowColumn and
its associated resources, see XmRowColumn(3X).
RETURN VALUE
Returns the RowColumn widget ID.
SEE ALSO XmCreateOptionMenu(3X), XmCreateRowColumn(3X), XmRowColumn(3X), XmVaCreateSimpleOptionMenu(3X)XmCreateSimpleOptionMenu(3X)