Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: radiobuttons.disabled - Function Up: radiobuttons - Tool Previous: radiobuttons - Tool


radiobuttons - Constructor



Package display
Module widgets
Tool radiobuttons


Construct a radiobuttons widget


Synopsis
radiobuttons(parent, names, default, side, widgetset)


Arguments

parent Parent of the menu
Allowed: Widget
Default: Standalone
names The names of the buttons
Allowed: Vector of strings
Default: None
default Index of names for button that is initially selected
Allowed: Integer
Default: None
side Side to pack buttons in
Allowed: String from 'left', 'right', 'top', 'bottom'
Default: 'left'
widgetset The widget server to use
Allowed: widgetserver tool
Default: dws


Returns
Agent


Description



Example
- include 'radiobuttons.g'   
- include 'widgetserver.g'   
- names := "a b c";
- f := dws.frame();
- r := radiobuttons(parent=f, names=names, default=2, side='top', widgetset=dws);





next up previous contents index
Next: radiobuttons.disabled - Function Up: radiobuttons - Tool Previous: radiobuttons - Tool   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