Package pyraf :: Module eparoption
[hide private]
[frames] | no frames]

Module eparoption

source code

eparoption.py: module for defining the various parameter display
   options to be used for the parameter editor task.  The widget that is used
   for entering the parameter value is the variant.  Instances should be
   created using the eparOptionFactory function defined at the end of the
   module.

   Parameter types:
   string  - Entry widget
   *gcur   - NOT IMPLEMENTED AT THIS TIME
   ukey    - NOT IMPLEMENTED AT THIS TIME
   pset    - Action button
   real    - Entry widget
   int     - Entry widget
   boolean - Radiobutton widget
   array real - NOT IMPLEMENTED AT THIS TIME
   array int  - NOT IMPLEMENTED AT THIS TIME

   Enumerated lists - Menubutton/Menu widget

$Id: eparoption.py 678 2005-07-01 21:19:43Z perry $

M.D. De La Pena, 1999 August 05

Classes [hide private]
  EparOption
EparOption base class
  EnumEparOption
  BooleanEparOption
  StringEparOption
  NumberEparOption
  PsetEparOption
Functions [hide private]
 
eparOptionFactory(master, statusBar, param, defaultParam, doScroll, fieldWidths)
Return EparOption item of appropriate type for the parameter param
source code
Variables [hide private]
  MAXLIST = 15
  MAXLINES = 100
  XSHIFT = 110
  _eparOptionDict = {"b": BooleanEparOption, "r": NumberEparOpti...

Imports: getdouble, MULTIPLE, TypeType, mainloop, Canvas, AtSelLast, CodeType, TRUE, getboolean, LAST, BASELINE, BOTTOM, Wm, NUMERIC, Toplevel, DictProxyType, Pack, ObjectType, DictType, EXTENDED, OFF, ALL, CURRENT, CallWrapper, Scrollbar, ListType, MethodType, ModuleType, FIRST, ON, TracebackType, image_names, Text, YES, LambdaType, GROOVE, XRangeType, Scale, NORMAL, Misc, BUTT, Label, X, LabelFrame, ROUND, image_types, AtInsert, StringType, NONE, CENTER, FloatType, Spinbox, Radiobutton, Checkbutton, Grid, StringTypes, GeneratorType, Button, FLAT, END, VERTICAL, MITER, Widget, DISABLED, S, COMMAND, EllipsisType, W, ACTIVE, NSEW, EW, FrameType, TclVersion, CHORD, tkinter, Listbox, Image, BitmapImage, Event, RADIOBUTTON, Place, HIDDEN, PAGES, NoDefaultRoot, CHAR, SEPARATOR, BooleanType, HORIZONTAL, TclError, MOVETO, WORD, SUNKEN, NO, DictionaryType, NotImplementedType, READABLE, NE, CHECKBUTTON, Variable, NS, ANCHOR, NW, RAISED, DoubleVar, RIDGE, BooleanVar, Tributton, SOLID, N, CASCADE, SEL_FIRST, TkVersion, UNDERLINE, UNITS, TupleType, OptionMenu, LongType, SEL, FALSE, ClassType, Frame, SEL_LAST, SW, SINGLE, InstanceType, MemberDescriptorType, UnicodeType, LEFT, FunctionType, wantobjects, SE, EXCEPTION, FixTk, IntType, Menu, TOP, GetSetDescriptorType, DOTBOX, OUTSIDE, Tk, IntVar, AtSelFirst, UnboundMethodType, PanedWindow, INSERT, BuiltinMethodType, AtEnd, BROWSE, Tcl, BuiltinFunctionType, BaseWidget, ARC, SliceType, BEVEL, E, BOTH, PIESLICE, Message, FileType, Y, Entry, PhotoImage, RIGHT, BufferType, Studbutton, INSIDE, Menubutton, WRITABLE, StringVar, PROJECTING, At, ComplexType, SCROLL, NoneType, getint, os, sys, string, commands, FileDialog, tkFileDialog, filedlg, epar


Variables Details [hide private]

_eparOptionDict

Value:
{"b": BooleanEparOption, "r": NumberEparOption, "d": NumberEparOption,\
 "i": NumberEparOption, "pset": PsetEparOption, "ar": NumberEparOption\
, "ai": NumberEparOption,}