Description
This function is used to set the mode of a widgetserver to
either
'app' or
'glish'. Before building a GUI, you
should set what mode you would like the widgetserver to be in,
then build your GUI. For example:
dws.setmode('glish');
f := dws.frame();
# ...
would produce a GUI with standard Glish/Tk default colors, font and
relief for the various widgets. The widgetserver stores its previous
mode/s, so it is recommended that after building your GUI, you restore
the previous mode with the unsetmode function. Normally, AIPS++ GUIs should be written with the mode set to 'app'.
Next: widgetserver.unsetmode - Function
Up: widgetserver - Tool
Previous: widgetserver.guientry - Function
 
Contents
 
Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc.,
Washington, D.C.
Return to AIPS++ Home Page
2006-10-15