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


next up previous contents index
Next: menuframes.Delete - Function Up: menuframes - Tool Previous: menuframes - Constructor


menuframes.add - Function



Package display
Module widgets
Tool menuframes


Add a named frame and return the frame


Synopsis
add(title)


Returns
Tk frame


Description
This adds a frame by name and returns the actual frame. The name is that by which the user selects the frame in the menu button.



Arguments

title Title of the frame to be added
Allowed: String


Example
include 'menuframes.g'   
f := frame();
f1 := frame();
mb := button(f1, 'Windows', type='menu')
r := menuframes(f, mb);
f1 := r.add('Frame 1')
f2 := r.add('Frame 2')
f3 := frame(f1, relief='sunken');





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