gnocl::calendar

    A widget to display an interactive calendar.

    Synposis

    gnocl::calendar [-option value]

    Screenshot



    Options

    -day integer
    Description

    -month integer
    Description

    -year integer
    Description

    -rowHeight integer
    Description

    -colWidth integer
    Description

    -noMonthChange boolean (default: 0)
    Description

    -dayNames boolean (default: 1)
    Description

    -details boolean (default: 1)
    Description

    -heading boolean (default: 1)
    Description

    -weekNumbers boolean (default: 1)
    Description

    -onDaySelected string (default: "")

    Tcl command which is executed in the global scope when the date highlighted in the widget is changed. Before evaluation the following percent strings are substituted:

    %w     widget name
    %g      glade name
    %d     day number (range 1 - 31)
    %m    month number  (range 1 - 12)
    %y     year

    -onDoubleDaySelected string (default: "")

    Tcl command which is executed in the global scope when the highlighted date is double clicked. Before evaluation the following percent strings are substituted:

    %w     widget name
    %g      glade name
    %d     day number (range 1 - 31)
    %m    month number  (range 1 - 12)
    %y     year

    -onMonthChanged string (default: "")

    Tcl command which is executed in the global scope if the month displayed in the widget is changed. Before evaluation the following percent strings are substituted:

    %w     widget name
    %g      glade name
    %d     day number (range 1 - 31)
    %m    month number  (range 1 - 12)
    %y     year

    -onNextMonth string (default: "")

    Tcl command which is executed in the global scope if a mouse button is clicked over the month label 'next' glyph (>). Before evaluation the following percent strings are substituted:

    %w     widget name
    %g      glade name
    %d     day number (range 1 - 31)
    %m    month number  (range 1 - 12)
    %y     year

    -onNextYear string (default: "")

    Tcl command which is executed in the global scope if a mouse button is clicked over the year label 'next'  glyph (>). Before evaluation the following percent strings are substituted:

    %w     widget name
    %g      glade name
    %d     day number (range 1 - 31)
    %m    month number  (range 1 - 12)
    %y     year

    -onPrevMonth string (default: "")

    Tcl command which is executed in the global scope if a mouse button is clicked over the year label 'previous'  glyph (<). Before evaluation the following percent strings are substituted:

    %w     widget name
    %g      glade name
    %d     day number (range 1 - 31)
    %m    month number  (range 1 - 12)
    %y     year

    -onPrevYear string (default: "")

    Tcl command which is executed in the global scope if a mouse button is clicked over the year label 'previous' glyph (<). Before evaluation the following percent strings are substituted:

    %w     widget name
    %g      glade name
    %d     day number (range 1 - 31)
    %m    month number  (range 1 - 12)
    %y     year

    Description

    Commands

    Example



    Sections