Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.Calendar

Class Calendar

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.Widget.Widget
                        dui.Calendar.Calendar

Implemented interfaces:


public class

Calendar



A calendar widget to show and selected dates.
This is not a top level widget (it's not a dialog)

Constructor Summary
public (GtkWidget* gtkWidget)
          
public (char title)
          Creates a new calandar widget witha title

Methods Summary
bit selectMonth(guint month, guint year)
          Select a month
void selectDay(guint day)
          Select a day
bit markDay(guint day)
          Marks the day
bit unmarkDay(guint day)
          Unmarks the day
void clearMarks()
          Clear all marks
void displayOptions(CalendarDisplayOptions flags)
          Set the display options
void getDate(guint* year, guint* month, guint* day)
          Gets the date
void freeze()
          Freezes this calendar
void thaw()
          Thaws this calendar




public ctor(Calendar)(GtkWidget* gtkWidget)



public ctor(Calendar)(char title)
Creates a new calandar widget witha title

Parameters:
title - the calendar title

selectMonth

bit selectMonth(guint month, guint year)
Select a month

Parameters:
month -
year -

Returns:

selectDay

void selectDay(guint day)
Select a day

Parameters:
day -

markDay

bit markDay(guint day)
Marks the day

Parameters:
day -

Returns:

unmarkDay

bit unmarkDay(guint day)
Unmarks the day

Parameters:
day -

Returns:

clearMarks

void clearMarks()
Clear all marks

displayOptions

void displayOptions(CalendarDisplayOptions flags)
Set the display options

Parameters:
flags -

getDate

void getDate(guint* year, guint* month, guint* day)
Gets the date

Parameters:
year -
month -
day -

freeze

void freeze()
Freezes this calendar

thaw

void thaw()
Thaws this calendar