Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | widgets | |
Tool | fontchooserwidget |
You may send the fontchooserwidget 3 events
Construct a fontchooserwidget
Synopsis
fontchooserwidget(parent, font, widgetset)
Arguments
parent
Parent of the menu
Allowed:
Tk frame
Default:
F
font
Font of text
Allowed:
X font
Default:
F
widgetset
Widget set to use
Allowed:
A widgetserver closure tool
Default:
dws
Returns
fontchooserwidget widget
Description
Constructs a fontchooserwidget according to the specified construction
arguments, and returns a subsequence to the widget. Remember to use the fontchooserwidget via the widgetserver if at all
possible.
The fontchooser widget sends one event
Example
include 'fontchooserwidget.g'
f := dws.frame();
myfont := '-adobe-courier-medium-r-normal--14-*'
fc := fontchooserwidget(f, myfont);
whenever fc->newvalue do {
print 'font selected is ', $value;
}
Next: gchooser - Tool
Up: fontchooserwidget - Tool
Previous: fontchooserwidget - 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