which widgets?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

which widgets?

From: <zmrzlina@volny.cz>
Date: Fri May 27 2005 - 18:46:58 CEST

Standard disclaimer: newbie to group and to tcl/tk

I want to create a simple GUI using tk which lets a user
choose a type of meteorological variable using a drop down box.
Actually that is one thing I am asking - what is the widget
name for a drop box? The widget would consist of a
text area that shows one of give names. The choice
of name is done by clicking a down array to the right
arrow of the name. I probable sound daft describing this - sorry.

total_cloud_fraction MAX=1.0
MIN=0.0
temperature_at_1-5m MAX=320
MIN=252
wind_speed_at_10m MAX=24.5
MIN=0.0
total_precipitation_rate MAX=0.0008
MIN=0.0
total_soil_moisture_content MAX=656
MIN=0.0

The second widget want, to the right of the drop box I just described,
are two input boxes, one box for MAX and one for MIN.

On starting the script it should read from a file containing the
current
Max and Min real numbers. When the GUI starts it should show
total_cloud_fraction and in the boxes display 1.0 and 0.0

The user should be able to change the MIN and MAX numbers displayed in
the boxes.

I want the user to be able to choose a name, view the current MIN and
MAX, and
change it and then have any changes made saved to the output file.

Any hints (like specific widgets I should study), however simple, are
welcome.

Thank you for your patience.
Received on Thu Sep 29 14:19:30 2005