Table of Contents

wxCalendarCtrl

include file: wxCalendar.e


Creation parameters:

  • func get_cal_days_in_month( atom cal )   
  • func get_date( atom cal )   
  • func get_date_time( atom cal )   
  • proc set_date( atom cal, sequence Date )   
  • proc set_date_back_color( atom cal, integer day, atom color )   
  • proc set_date_border( atom cal, integer day, integer border )   
  • proc set_date_border_color( atom cal, integer day, atom color )   
  • proc set_date_font( atom cal, integer day, atom font )   
  • proc set_date_holiday( atom cal, integer day, atom color )   
  • proc set_date_text_color( atom cal, integer day, atom color )     
     
    Parent Topics:
  • Classes
  • Controls  
     
    Subtopics:
  • wxCalendarDateAttr
  • wxDateTime


    Table of Contents

    [func]
    get_cal_days_in_month
    ( atom cal )

    Category: wxCalendarCtrl

    Returns the number of days in the currently selected month.

    See Also: get_date, get_date_time, set_date, set_date_back_color, set_date_border, set_date_border_color, set_date_font, set_date_holiday, set_date_text_color



    Table of Contents

    [func]
    get_date
    ( atom cal )

    Category: wxCalendarCtrl

    Returns the selected date. See read_datetime() for format information.

    See Also: get_cal_days_in_month, get_date_time, set_date, set_date_back_color, set_date_border, set_date_border_color, set_date_font, set_date_holiday, set_date_text_color



    Table of Contents

    [func]
    get_date_time
    ( atom cal )

    Category: wxCalendarCtrl

    Returns a wxDateTime object for the selected date on the calendar.

    See Also: get_cal_days_in_month, get_date, set_date, set_date_back_color, set_date_border, set_date_border_color, set_date_font, set_date_holiday, set_date_text_color



    Table of Contents

    [proc]
    set_date
    ( atom cal, sequence Date )

    Category: wxCalendarCtrl

    See wxDateTime for the proper format of Date.

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date_back_color, set_date_border, set_date_border_color, set_date_font, set_date_holiday, set_date_text_color



    Table of Contents

    [proc]
    set_date_back_color
    ( atom cal, integer day, atom color )

    Category: wxCalendarCtrl

    day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31.

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date, set_date_border, set_date_border_color, set_date_font, set_date_holiday, set_date_text_color



    Table of Contents

    [proc]
    set_date_border
    ( atom cal, integer day, integer border )

    Category: wxCalendarCtrl

    day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31

    border:

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date, set_date_back_color, set_date_border_color, set_date_font, set_date_holiday, set_date_text_color



    Table of Contents

    [proc]
    set_date_border_color
    ( atom cal, integer day, atom color )

    Category: wxCalendarCtrl

    day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date, set_date_back_color, set_date_border, set_date_font, set_date_holiday, set_date_text_color



    Table of Contents

    [proc]
    set_date_font
    ( atom cal, integer day, atom font )

    Category: wxCalendarCtrl

    day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date, set_date_back_color, set_date_border, set_date_border_color, set_date_holiday, set_date_text_color



    Table of Contents

    [proc]
    set_date_holiday
    ( atom cal, integer day, atom color )

    Category: wxCalendarCtrl

    day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31.

    holiday should be 1 if the day is a holiday, or 0 if not a holiday.

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date, set_date_back_color, set_date_border, set_date_border_color, set_date_font, set_date_text_color



    Table of Contents

    [proc]
    set_date_text_color
    ( atom cal, integer day, atom color )

    Category: wxCalendarCtrl

    day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date, set_date_back_color, set_date_border, set_date_border_color, set_date_font, set_date_holiday