<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML><HEAD><TITLE>CuiCalendar</TITLE><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="Cuiterm Reference Manual" HREF="index.html"><LINK REL="UP" TITLE="Cuiterm Documentation 0.5" HREF="c4.html"><LINK REL="PREVIOUS" TITLE="CuiEntry" HREF="cuientry.html"><LINK REL="NEXT" TITLE="CuiPopupMenu" HREF="cuipopupmenu.html"><META NAME="GENERATOR" CONTENT="GTK-Doc V1.3 (SGML mode)"><STYLE TYPE="text/css">.synopsis, .classsynopsis { background: #eeeeee; border: solid 1px #aaaaaa; padding: 0.5em; } .programlisting { background: #eeeeff; border: solid 1px #aaaaff; padding: 0.5em; } .variablelist { padding: 4px; margin-left: 3em; } .navigation { background: #ffeeee; border: solid 1px #ffaaaa; margin-top: 0.5em; margin-bottom: 0.5em; } .navigation a { color: #770000; } .navigation a:visited { color: #550000; } .navigation .title { font-size: 200%; }</STYLE></HEAD><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF"><TABLE WIDTH="100%" CLASS="navigation" SUMMARY="Navigation header" CELLPADDING="2" CELLSPACING="2"><TR VALIGN="middle"><TD><A ACCESSKEY="p" HREF="cuientry.html"><IMG SRC="left.png" WIDTH="24" HEIGHT="24" BORDER="0" ALT="Prev"></A></TD><TD><A ACCESSKEY="u" HREF="c4.html"><IMG SRC="up.png" WIDTH="24" HEIGHT="24" BORDER="0" ALT="Up"></A></TD><TD><A ACCESSKEY="h" HREF="index.html"><IMG SRC="home.png" WIDTH="24" HEIGHT="24" BORDER="0" ALT="Home"></A></TD><TH WIDTH="100%" align="center">Cuiterm Reference Manual</TH><TD><A ACCESSKEY="n" HREF="cuipopupmenu.html"><IMG SRC="right.png" WIDTH="24" HEIGHT="24" BORDER="0" ALT="Next"></A></TD></TR></TABLE><H1><A NAME="CUICALENDAR"></A>CuiCalendar</H1><DIV CLASS="REFNAMEDIV"><A NAME="AEN5136"></A><H2>Name</H2>CuiCalendar -- </DIV><DIV CLASS="REFSYNOPSISDIV"><A NAME="AEN5139"></A><H2>Synopsis</H2><PRE CLASS="SYNOPSIS"> #include <history.h> <A HREF="cuicalendar.html#CUICALENDAR-STRUCT">CuiCalendar</A>; <A HREF="cuiwidget.html">CuiWidget</A>* <A HREF="cuicalendar.html#CUI-CALENDAR-NEW">cui_calendar_new</A> (void); void <A HREF="cuicalendar.html#CUI-CALENDAR-REALIZE">cui_calendar_realize</A> (<A HREF="cuicalendar.html">CuiCalendar</A> *calendar); void <A HREF="cuicalendar.html#CUI-CALENDAR-SET-DEFAULT-DATE">cui_calendar_set_default_date</A> (<A HREF="cuicalendar.html">CuiCalendar</A> *calendar, gchar *date);</PRE></DIV><DIV CLASS="REFSECT1"><A NAME="AEN5152"></A><H2>Object Hierarchy</H2><PRE CLASS="SYNOPSIS"> GObject +----<A HREF="cuiwidget.html">CuiWidget</A> +----CuiCalendar</PRE></DIV><DIV CLASS="REFSECT1"><A NAME="AEN5157"></A><H2>Description</H2><P></P></DIV><DIV CLASS="REFSECT1"><A NAME="AEN5160"></A><H2>Details</H2><DIV CLASS="REFSECT2"><A NAME="AEN5162"></A><H3><A NAME="CUICALENDAR-STRUCT"></A>CuiCalendar</H3><PRE CLASS="PROGRAMLISTING">typedef struct _CuiCalendar CuiCalendar;</PRE><P>This widget is similar to the CuiEntry but it shows a calendar to select a date and a time index.</P><P></P></DIV><HR><DIV CLASS="REFSECT2"><A NAME="AEN5170"></A><H3><A NAME="CUI-CALENDAR-NEW"></A>cui_calendar_new ()</H3><PRE CLASS="PROGRAMLISTING"><A HREF="cuiwidget.html">CuiWidget</A>* cui_calendar_new (void);</PRE><P>Creates a new <A HREF="cuicalendar.html"><SPAN CLASS="TYPE">CuiCalendar</SPAN></A> widget.</P><P></P><P></P><TABLE CLASS="variablelist" BORDER="0" CELLSPACING="0" CELLPADDING="4"><TBODY><TR><TD ALIGN="LEFT" VALIGN="TOP"><A NAME="AEN5182"><SPAN STYLE="white-space: nowrap"><SPAN CLASS="emphasis"><I CLASS="EMPHASIS">Returns</I></SPAN> :</SPAN></TD><TD ALIGN="LEFT" VALIGN="TOP"><P> a new <A HREF="cuicalendar.html"><SPAN CLASS="TYPE">CuiCalendar</SPAN></A> widget</P></TD></TR></TBODY></TABLE></DIV><HR><DIV CLASS="REFSECT2"><A NAME="AEN5189"></A><H3><A NAME="CUI-CALENDAR-REALIZE"></A>cui_calendar_realize ()</H3><PRE CLASS="PROGRAMLISTING">void cui_calendar_realize (<A HREF="cuicalendar.html">CuiCalendar</A> *calendar);</PRE><P>Fires up the calendar on the screen</P><P></P><P></P><TABLE CLASS="variablelist" BORDER="0" CELLSPACING="0" CELLPADDING="4"><TBODY><TR><TD ALIGN="LEFT" VALIGN="TOP"><A NAME="AEN5200"><SPAN STYLE="white-space: nowrap"><CODE CLASS="PARAMETER">calendar</CODE> :</SPAN></TD><TD ALIGN="LEFT" VALIGN="TOP"><P> a <A HREF="cuicalendar.html"><SPAN CLASS="TYPE">CuiCalendar</SPAN></A> type widget</P></TD></TR></TBODY></TABLE></DIV><HR><DIV CLASS="REFSECT2"><A NAME="AEN5207"></A><H3><A NAME="CUI-CALENDAR-SET-DEFAULT-DATE"></A>cui_calendar_set_default_date ()</H3><PRE CLASS="PROGRAMLISTING">void cui_calendar_set_default_date (<A HREF="cuicalendar.html">CuiCalendar</A> *calendar, gchar *date);</PRE><P></P><P></P><TABLE CLASS="variablelist" BORDER="0" CELLSPACING="0" CELLPADDING="4"><TBODY><TR><TD ALIGN="LEFT" VALIGN="TOP"><A NAME="AEN5218"><SPAN STYLE="white-space: nowrap"><CODE CLASS="PARAMETER">calendar</CODE> :</SPAN></TD><TD ALIGN="LEFT" VALIGN="TOP"><P></P></TD></TR><TR><TD ALIGN="LEFT" VALIGN="TOP"><A NAME="AEN5223"><SPAN STYLE="white-space: nowrap"><CODE CLASS="PARAMETER">date</CODE> :</SPAN></TD><TD ALIGN="LEFT" VALIGN="TOP"><P> </P></TD></TR></TBODY></TABLE></DIV></DIV><TABLE CLASS="navigation" WIDTH="100%" SUMMARY="Navigation footer" CELLPADDING="2" CELLSPACING="2"><TR VALIGN="middle"><TD ALIGN="left"><A ACCESSKEY="p" HREF="cuientry.html"><B><<< CuiEntry</B></A></TD><TD ALIGN="right"><A ACCESSKEY="n" HREF="cuipopupmenu.html"><B>CuiPopupMenu >>></B></A></TD></TR></TABLE></BODY></HTML>