Sponsored Content
Full Discussion: Question
Top Forums Shell Programming and Scripting Question Post 14602 by MaRk2002 on Sunday 3rd of February 2002 08:26:53 PM
Old 02-03-2002
Question Question

when the user selects an option ou from the list how is it possible to let the script detect the option and carry out the appropriate action...i noe its suppose to use the for or if loop..but how ??
 

7 More Discussions You Might Find Interesting

1. Programming

Yet Another Question

Now that I have getch() to work, I have yet another problem. BTW, thank you for answering these questions, I do ask a lot, only because I am eager to know, what is a board used for anyways :) Ok, he's the problem... #include iostream.h #include conio.h int main() { char movement; ... (2 Replies)
Discussion started by: mbolthouse
2 Replies

2. Solaris

vi question

Im trying to edit a 113 meg file in VI and i get the error TMP FILE TOO LARGE. Does someone know how to get around this? Thanks! (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

3. UNIX for Dummies Questions & Answers

mv question

Hello if I like to move file from defined directories system to new directory that not contained any directories system structure . But I like to create the same file system structure as source directory for example : I have 2 directories: foo1 and foo2 foo1 have directories and foo2 have... (2 Replies)
Discussion started by: umen
2 Replies

4. UNIX for Dummies Questions & Answers

Question

hallo, ik heb hier een vraagje. hoeveel gebruikers kunnen er op 1 unix systeem. hopelijk antwoorden golle nu want ik moet da vinde voor school en die leerkracht zaagt. :p groetjes eu wacht wa was mijne nick ah ja vraagje groetjes vraagje ik kan geen engels dus antwoord liever in het... (1 Reply)
Discussion started by: vraagje
1 Replies

5. Shell Programming and Scripting

question about wc

Hey my friend was asking me if i knew a way to cout how many different words in a file. I told him no not off hand, but i was thinking about it, and i started to wonder also. I imagine this is probably pretty simple im just missing something, I keep confusing my self with how you would compair and... (16 Replies)
Discussion started by: yodadbl07
16 Replies

6. Hardware

question

How to add 3 moniters to a pc set up? (2 Replies)
Discussion started by: clicstic
2 Replies

7. AIX

df question

Hi, Can anyone please explain a little about df command. I have following question: Following example is showing % used as 4 where as total free blocks are 15.46 out of 16.00 MB blocks. df -m /test Filesystem MBblocks Free %Used Iused %Iused ... (5 Replies)
Discussion started by: itsabhi9
5 Replies
ttk::combobox(n)						 Tk Themed Widget						  ttk::combobox(n)

__________________________________________________________________________________________________________________________________________________

NAME
ttk::combobox - text field with popdown selection list SYNOPSIS
ttk::combobox pathName ?options? _________________________________________________________________ DESCRIPTION
A ttk::combobox combines a text field with a pop-down list of values; the user may select the value of the text field from among the values in the list. STANDARD OPTIONS
-class -cursor -takefocus -style See the ttk_widget manual entry for details on the standard options. WIDGET-SPECIFIC OPTIONS [-exportselection exportSelection] Boolean value. If set, the widget selection is linked to the X selection. [-justify justify] Specifies how the text is aligned within the widget. One of left, center, or right. [-height height] Specifies the height of the pop-down listbox, in rows. [-postcommand postCommand] A Tcl script to evaluate immediately before displaying the listbox. The -postcommand script may spec- ify the -values to display. [-state state] One of normal, readonly, or disabled. In the readonly state, the value may not be edited directly, and the user can only select one of the -values from the dropdown list. In the normal state, the text field is directly editable. In the disabled state, no interaction is possible. [-textvariable textVariable] Specifies the name of a variable whose value is linked to the widget value. Whenever the variable changes value the widget value is updated, and vice versa. [-values values] Specifies the list of values to display in the drop-down listbox. [-width width] Specifies an integer value indicating the desired width of the entry window, in average-size characters of the widget's font. WIDGET COMMAND
pathName cget option Returns the current value of the specified option. See ttk::widget(n). pathName configure ?option? ?value option value ...? Modify or query widget options. See ttk::widget(n). pathName current ?newIndex? If newIndex is supplied, sets the combobox value to the element at position newIndex in the list of -values. Otherwise, returns the index of the current value in the list of -values or -1 if the current value does not appear in the list. pathName get Returns the current value of the combobox. pathName identify x y Returns the name of the element at position x, y. See ttk::widget(n). pathName instate stateSpec ?script? Test the widget state. See ttk::widget(n). pathName set value Sets the value of the combobox to value. pathName state ?stateSpec? Modify or query the widget state. See ttk::widget(n). The combobox widget also supports the following ttk::entry widget commands (see ttk::entry(n) for details): bbox delete icursor index insert selection xview VIRTUAL EVENTS
The combobox widget generates a <<ComboboxSelected>> virtual event when the user selects an element from the list of values. If the selec- tion action unposts the listbox, this event is delivered after the listbox is unposted. SEE ALSO
ttk::widget(n), ttk::entry(n) KEYWORDS
choice, entry, list box, text box, widget Tk 8.5 ttk::combobox(n)
All times are GMT -4. The time now is 08:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy