File 'clock/monthListTix.cls' (part of 'Pool_Clock')


Home | Packages | Files | Procedures | Classes | Keywords | External packages


Written by
Andreas Kupries
Description
Widget to choose a month by name.
See also
monthList, calendarTix
Depends on
Tix
Keywords
calendar, choosing a month, month choice, tix

Class 'monthListTix'

Superclasses
valueManager
Options
onwrap
Methods
OnWrap, SetupList, TrackUserChanges, createSubwidgets, down, monthListTix, setBindings, setBindingsTo, up, updateDisplay

-onwrap
Script to evaluate in the case of a wrap around, either at the start or the end of the year. The evaluation takes place before the execution of valueManager:command. A single argument is appended before the actual evaluation, it specifies the direction of the wrap. Possible values are 'up' (wrap 12 -> 1) and 'down' (wrap 1->12). A possible use is the modification of an associated yearBrowser.

OnWrap (direction)

executes the script associated with wraparounds
Argument: directiondirection of wraparound, one of 'up' and 'down'.

SetupList ()

Initializes the internal combobox, adds the names of all months.

TrackUserChanges (newvalue)

Callback. Used by the internal tix combobox to forward external changes to the display to the internal datastructures.
Argument: newvalueThe new value displayed by the combobox.

createSubwidgets ()

Generate the subwidgets and their layout.

down ()

Decrements the chosen month by one. Triggers a wraparound at the start of the year.

monthListTix ()

Initialize the value to the current month if not set already by the user.

setBindings ()

Associate bindings for this widget with its internal components.

setBindingsTo (w)

Adds various keyboard accelerators to the given widget.
Argument: wThe widget the accelerators are added to.

up ()

Increments the chosen month by one. Triggers a wraparound at the end of the year.

updateDisplay ()

Method required by the superclass valueManager to propagate changes to the value into the display.


Generated by AutoDoc 2.1 at 02/20/1999, invoked by Andreas Kupries