2
.\" $Id: cdk_calendar.3,v 1.19 2005/04/15 23:30:32 tom Exp $"
2
.\" $Id: cdk_calendar.3,v 1.22 2005/12/28 18:35:31 tom Exp $"
11
getCDKCalendarDayAttribute,
12
getCDKCalendarHighlight,
14
getCDKCalendarMonthAttribute,
15
getCDKCalendarYearAttribute,
20
removeCDKCalendarMarker,
22
setCDKCalendarBackgroundAttrib,
23
setCDKCalendarBackgroundColor,
26
setCDKCalendarDayAttribute,
27
setCDKCalendarDaysNames,
28
setCDKCalendarHighlight,
30
setCDKCalendarMonthAttribute,
31
setCDKCalendarMonthsNames,
32
setCDKCalendarPostProcess,
33
setCDKCalendarPreProcess,
34
setCDKCalendarYearAttribute \- curses calendar widget.
7
.XX activateCDKCalendar
12
.XX getCDKCalendarDate
13
.XX getCDKCalendarDayAttribute
14
.XX getCDKCalendarHighlight
15
.XX getCDKCalendarMarker
16
.XX getCDKCalendarMonthAttribute
17
.XX getCDKCalendarYearAttribute
21
.XX positionCDKCalendar
22
.XX removeCDKCalendarMarker
24
.XX setCDKCalendarBackgroundAttrib
25
.XX setCDKCalendarBackgroundColor
27
.XX setCDKCalendarBoxAttribute
28
.XX setCDKCalendarDate
29
.XX setCDKCalendarDayAttribute
30
.XX setCDKCalendarDaysNames
31
.XX setCDKCalendarHighlight
32
.XX setCDKCalendarHorizontalChar
33
.XX setCDKCalendarLLChar
34
.XX setCDKCalendarLRChar
35
.XX setCDKCalendarMarker
36
.XX setCDKCalendarMonthAttribute
37
.XX setCDKCalendarMonthsNames
38
.XX setCDKCalendarPostProcess
39
.XX setCDKCalendarPreProcess
40
.XX setCDKCalendarULChar
41
.XX setCDKCalendarURChar
42
.XX setCDKCalendarVerticalChar
43
.XX setCDKCalendarYearAttribute
44
cdk_calendar \- curses calendar widget.
137
147
.BI "CDKCALENDAR *" "calendar",
138
148
.BI "boolean " "box");
150
.B setCDKCalendarBoxAttribute ("
151
.BI "CDKCALENDAR *" "calendar",
140
154
.B "void setCDKCalendarDate ("
141
155
.BI "CDKCALENDAR *" "calendar",
142
156
.BI "int " "day",
155
169
.BI "CDKCALENDAR *" "calendar",
156
170
.BI "chtype " "attribute");
172
.B "void setCDKCalendarHorizontalChar ("
173
.BI "CDKCALENDAR *" "calendar",
176
.B "void setCDKCalendarLLChar ("
177
.BI "CDKCALENDAR *" "calendar",
180
.B "void setCDKCalendarLRChar ("
181
.BI "CDKCALENDAR *" "calendar",
158
184
.B "void setCDKCalendarMarker ("
159
185
.BI "CDKCALENDAR *" "calendar",
160
186
.BI "int " "day",
180
206
.BI "PROCESSFN " "callback",
181
207
.BI "void * " "data");
209
.B setCDKCalendarULChar ("
210
.BI "CDKCALENDAR *" "calendar",
213
.B setCDKCalendarURChar ("
214
.BI "CDKCALENDAR *" "calendar",
217
.B setCDKCalendarVerticalChar ("
218
.BI "CDKCALENDAR *" "calendar",
183
221
.B "void setCDKCalendarYearAttribute ("
184
222
.BI "CDKCALENDAR *" "calendar",
185
223
.BI "chtype " "attribute");
348
386
The \fBcalendar\fR parameter represents an existing calendar pointer.
349
387
The other parameter names correspond to the same parameter names listed
350
in the \fInewCDKCalendar\fR function.
388
in the \fBnewCDKCalendar\fR function.
352
390
.B setCDKCalendarBackgroundAttrib
353
391
sets the background attribute of the widget.
362
400
.B setCDKCalendarBox
363
401
sets whether the widget will be drawn with a box around it.
403
.B setCDKCalendarBoxAttribute
404
sets the attribute of the box.
365
406
.B setCDKCalendarDate
366
407
sets the calendar to the given date.
367
408
If the value of the \fBday\fR,
384
425
sets the attribute of the highlight bar of the scrolling
385
426
list portion of the widget.
428
.B setCDKCalendarHorizontalChar
429
sets the horizontal drawing character for the box to
432
.B setCDKCalendarLLChar
433
sets the lower left hand corner of the widget's box to
436
.B setCDKCalendarLRChar
437
sets the lower right hand corner of the widget's box to
387
440
.B setCDKCalendarMarker
388
441
allows the user to set a marker which will be displayed when the month is drawn.
389
442
The \fBmarker\fR parameter is the attribute to use when drawing the marker.
412
465
The parameter \fBdata\fR points to data passed to the callback function.
413
466
To learn more about pre-processing see \fIcdk_process (3)\fR.
468
.B setCDKCalendarULChar
469
sets the upper left hand corner of the widget's box to
472
.B setCDKCalendarURChar
473
sets the upper right hand corner of the widget's box to
476
.B setCDKCalendarVerticalChar
477
sets the vertical drawing character for the box to
415
480
.B setCDKCalendarYearAttribute
416
481
sets the attribute of the year in the calendar.