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


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


Written by
Andreas Kupries
Description
Widget to choose month and year
See also
monthList, calendarTix
Depends on
Tix
Keywords
calendar, choosing month and year, year/month choice, tix

Class 'monthBrowserTixA'

Superclasses
valueManager
Options
charwidth
Methods
OnWrap, TrackCharWidth, TrackMonth, TrackYear, createSubwidgets, monthBrowserTixA, setBindings, setBindingsTo, updateDisplay

-charwidth
Width of the widget in characters.

OnWrap (dir)

Increment/decrement operator for internal year browser.
Argument: dirdirection of wrap, must be one of 'up' or 'down'.

TrackCharWidth (o oldValue)

Executed whenever the width of the widget is changed by the outside.
Argument: oThe name of the changed option, always '-charwidth'.
Argument: oldValueThe old value of the option.

TrackMonth (month)

Callback. Used by the internal month list to integrate changes to the month into the overall value. Executed every time the month changed its value.
Argument: monthThe new value of the chosen month.

TrackYear (year)

Callback. Used by the internal year browser to integrate changes to the year into the overall value. Executed every time the year changed its value.
Argument: yearThe (possibly) new value of the chosen year.

createSubwidgets ()

Generate the subwidgets and their layout.

monthBrowserTixA ()

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

setBindings ()

Adds various keyboard accelerators to the month browser.

setBindingsTo (w)

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

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