Sponsored Content
Top Forums Programming Looking for a "Select All" feature in TCL Post 302433457 by scottwevans on Tuesday 29th of June 2010 05:57:50 PM
Old 06-29-2010
Looking for a "Select All" feature in TCL

I hope thi sis simple...

I have a TCL script which has several checkboxes. Is there a way to have one of the checkboxes be a "select all" and select/deselect all of the other boxes?

Can you show me a mini-sample?

Thanks... Scott E.
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

vBulletin Exclude Forums from "Get New Posts" Feature

First I would like to say you run an awesome site. I use it pretty much everyday... I am a member of a local Jeep Club Virtual Jeep Club - Powered by vBulletin and we run vBulletin Version 3.7.0. You have a feature we would like to add. In "User CP" -> "Edit Options" you have: Exclude... (3 Replies)
Discussion started by: Ikon
3 Replies

2. IP Networking

Which release version of Solaris 10 have "snoop -I" feature

In one of Sun docs I found that a new option, -I, is added to the snoop command.This option specifies for the command to use the new IP layer devices instead of the underlying link-layer device to display traffic data. it is used to enhance IP observability. But in Solaris 10 with release verstion... (0 Replies)
Discussion started by: anando.1980
0 Replies

3. Shell Programming and Scripting

"directory checksum error" when attempting to install tcl

OS: HP-UX Programs I want to install: expect and tcl I'm lost. I bought the book. I began reading the book. I want to install expect. I've been able to download the .z, and extract it successfully. But, of course, it apparently needs tcl and possibly tk also, and ... I... (0 Replies)
Discussion started by: instant000
0 Replies

4. Programming

Need a "select all" feature in TCL

I hope this is simple... (I tried looking for help in the Shell Programming and Scripting thread, but got no responses.) I have a TCL script which has several checkboxes. Is there a way to have one of the checkboxes serve as a "select all" and select/deselect all of the other boxes? Can you... (1 Reply)
Discussion started by: scottwevans
1 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. Red Hat

to disable "out off office" feature on QMAIL.

How can I disable out of office feature on qmail. We don't want to be use this feature by users. Especially our boss doesn't want because clients have smartphone so they can answer from everywhere! (0 Replies)
Discussion started by: getrue
0 Replies

7. Shell Programming and Scripting

TCL: syntax error in expression with "*"

I'm using tcl scripts in ns2 ( network simulator) through cygwin. It works fine , however, I downloaded an example when i run it , I got the following syntax error: syntax error in expression with " *2" : unexpected operator * while executing : "expr $bw *2" invoked from within: "$ns... (1 Reply)
Discussion started by: ENG_MOHD
1 Replies

8. What is on Your Mind?

New Feature: Tagging Threads as "Solved"

We just added a new feature. When tagging a thread, if you tag the thread "solved" the title of the thread will show up as blue (#0000FF) in various places (forum view, top stats, etc.) So, if you want to show your thread as "solved" simply add a "solved" tag to the thread taglist. ... (16 Replies)
Discussion started by: Neo
16 Replies

9. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
XkbSelectEventDetails(3)					   XKB FUNCTIONS					  XkbSelectEventDetails(3)

NAME
XkbSelectEventDetails - Selects or deselects for a specific Xkb event and optionally places conditions on when events of that type are reported to your client SYNOPSIS
Bool XkbSelectEventDetails (Display *display, unsigned int device_spec, unsigned int event_type, unsigned long int bits_to_change, unsigned long int values_for_bits); ARGUMENTS
display connection to the X server device_spec device ID, or XkbUseCoreKbd event_type Xkb event type of interest bits_to_change determines events to be selected / deselected values_for_bits 1=>select, 0->deselect; for events in bits_to_change DESCRIPTION
Xkb events are selected using an event mask, much the same as normal core X events are selected. However, unlike selecting core X events, where you must specify the selection status (on or off) for all possible event types whenever you wish to change the selection criteria for any one event, Xkb allows you to restrict the specification to only the event types you wish to change. This means that you do not need to remember the event selection values for all possible types each time you want to change one of them. Many Xkb event types are generated under several different circumstances. When selecting to receive an Xkb event, you may specify either that you want it delivered under all circumstances, or that you want it delivered only for a subset of the possible circumstances. You can also deselect an event type that was previously selected for, using the same granularity. Xkb provides two functions to select and deselect delivery of Xkb events. XkbSelectEvents allows you to select or deselect delivery of more than one Xkb event type at once. Events selected using XkbSelectEvents are delivered to your program under all circumstances that gen- erate the events. To restrict delivery of an event to a subset of the conditions under which it occurs, use XkbSelectEventDetails. XkbSe- lectEventDetails only allows you to change the selection conditions for a single event at a time, but it provides a means of fine-tuning the conditions under which the event is delivered. To select or deselect for a specific Xkb event and optionally place conditions on when events of that type are reported to your client, use XkbSelectEventDetails. This allows you to exercise a finer granularity of control over delivery of Xkb events with XkbSelectEvents. While XkbSelectEvents allows multiple events to be selected, XkbSelectEventDetails changes the selection criteria for a single type of Xkb event. The interpretation of the bits_to_change and values_for_bits masks depends on the event type in question. XkbSelectEventDetails changes the Xkb event selection mask for the keyboard specified by device_spec and the Xkb event specified by event_type. To turn on event selection for an event detail, set the bit for the detail in the bits_to_change parameter and set the corre- sponding bit in the values_for_bits parameter. To turn off event detail selection for a detail, set the bit for the detail in the bits_to_change parameter and do not set the corresponding bit in the values_for_bits parameter. If an invalid event type is specified, a BadValue protocol error results. If a bit is not set in the bits_to_change parameter, but the cor- responding bit is set in the values_for_bits parameter, a BadMatch protocol error results. If an undefined bit is set in either the bits_to_change or the values_for_bits parameter, a BadValue protocol error results. For each type of Xkb event, the legal event details that you can specify in the XkbSelectEventDetails request are listed in the chapters that describe each event in detail. DIAGNOSTICS
BadMatch A compatible version of Xkb was not available in the server or an argument has correct type and range, but is otherwise invalid BadValue An argument is out of range SEE ALSO
XkbSelectEvents(3), XkbUseCoreKbd(3) X Version 11 libX11 1.6.0 XkbSelectEventDetails(3)
All times are GMT -4. The time now is 03:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy