/usr/share/gtk-doc/html/lunar/lunar-LunarCalendar.html is in liblunar-1-doc 2.0.1-2.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LunarCalendar</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="liblunar Reference Manual">
<link rel="up" href="index.html" title="liblunar Reference Manual">
<link rel="prev" href="lunar-lunardate.html" title="LunarDate">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="lunar-lunardate.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td> </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">liblunar Reference Manual</th>
<td> </td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#lunar-LunarCalendar.synopsis" class="shortcut">Top</a>
|
<a href="#lunar-LunarCalendar.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="lunar-LunarCalendar"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="lunar-LunarCalendar.top_of_page"></a>LunarCalendar</span></h2>
<p>LunarCalendar — a gtk widget that can displays a chinese lunar calendar</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="lunar-LunarCalendar.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <lunar/lunar.h>
struct <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar">LunarCalendar</a>;
enum <a class="link" href="lunar-LunarCalendar.html#LunarCalendarDisplayOptions" title="enum LunarCalendarDisplayOptions">LunarCalendarDisplayOptions</a>;
<span class="returnvalue">GtkWidget</span> * <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-new" title="lunar_calendar_new ()">lunar_calendar_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-select-month" title="lunar_calendar_select_month ()">lunar_calendar_select_month</a> (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><span class="type">guint</span> month</code></em>,
<em class="parameter"><code><span class="type">guint</span> year</code></em>);
<span class="returnvalue">void</span> <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-select-day" title="lunar_calendar_select_day ()">lunar_calendar_select_day</a> (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><span class="type">guint</span> day</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-mark-day" title="lunar_calendar_mark_day ()">lunar_calendar_mark_day</a> (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><span class="type">guint</span> day</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-unmark-day" title="lunar_calendar_unmark_day ()">lunar_calendar_unmark_day</a> (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><span class="type">guint</span> day</code></em>);
<span class="returnvalue">void</span> <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-clear-marks" title="lunar_calendar_clear_marks ()">lunar_calendar_clear_marks</a> (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>);
<a class="link" href="lunar-LunarCalendar.html#LunarCalendarDisplayOptions" title="enum LunarCalendarDisplayOptions"><span class="returnvalue">LunarCalendarDisplayOptions</span></a> <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-get-display-options" title="lunar_calendar_get_display_options ()">lunar_calendar_get_display_options</a>
(<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>);
<span class="returnvalue">void</span> <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-set-display-options" title="lunar_calendar_set_display_options ()">lunar_calendar_set_display_options</a> (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendarDisplayOptions" title="enum LunarCalendarDisplayOptions"><span class="type">LunarCalendarDisplayOptions</span></a> flags</code></em>);
<span class="returnvalue">void</span> <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-display-options" title="lunar_calendar_display_options ()">lunar_calendar_display_options</a> (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendarDisplayOptions" title="enum LunarCalendarDisplayOptions"><span class="type">LunarCalendarDisplayOptions</span></a> flags</code></em>);
<span class="returnvalue">void</span> <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-get-date" title="lunar_calendar_get_date ()">lunar_calendar_get_date</a> (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><span class="type">guint</span> *year</code></em>,
<em class="parameter"><code><span class="type">guint</span> *month</code></em>,
<em class="parameter"><code><span class="type">guint</span> *day</code></em>);
<span class="returnvalue">void</span> <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-freeze" title="lunar_calendar_freeze ()">lunar_calendar_freeze</a> (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>);
<span class="returnvalue">void</span> <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-thaw" title="lunar_calendar_thaw ()">lunar_calendar_thaw</a> (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="lunar-LunarCalendar.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="lunar-LunarCalendar.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="LunarCalendar"></a><h3>struct LunarCalendar</h3>
<pre class="programlisting">struct LunarCalendar {
GtkWidget widget;
GtkStyle *header_style;
GtkStyle *label_style;
gint month;
gint year;
gint selected_day;
gint day_month[6][7];
gint day[6][7];
gint num_marked_dates;
gint marked_date[31];
LunarCalendarDisplayOptions display_flags;
GdkColor marked_date_color[31];
GdkGC *gc; /* unused */
GdkGC *xor_gc; /* unused */
gint focus_row;
gint focus_col;
gint highlight_row;
gint highlight_col;
LunarCalendarPrivate *priv;
gchar grow_space [32];
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="LunarCalendarDisplayOptions"></a><h3>enum LunarCalendarDisplayOptions</h3>
<pre class="programlisting">typedef enum {
LUNAR_CALENDAR_SHOW_HEADING = 1 << 0,
LUNAR_CALENDAR_SHOW_DAY_NAMES = 1 << 1,
LUNAR_CALENDAR_NO_MONTH_CHANGE = 1 << 2,
LUNAR_CALENDAR_SHOW_WEEK_NUMBERS = 1 << 3,
LUNAR_CALENDAR_WEEK_START_MONDAY = 1 << 4,
LUNAR_CALENDAR_SHOW_LUNAR = 1 << 5
} LunarCalendarDisplayOptions;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="lunar-calendar-new"></a><h3>lunar_calendar_new ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * lunar_calendar_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new calendar, with the current date being selected.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> widget</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lunar-calendar-select-month"></a><h3>lunar_calendar_select_month ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> lunar_calendar_select_month (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><span class="type">guint</span> month</code></em>,
<em class="parameter"><code><span class="type">guint</span> year</code></em>);</pre>
<p>
Shifts the calendar to a different month.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>calendar</code></em> :</span></p></td>
<td>a <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
<td>a month number between 0 and 11.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
<td>the year the month is in.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code>, always</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lunar-calendar-select-day"></a><h3>lunar_calendar_select_day ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> lunar_calendar_select_day (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><span class="type">guint</span> day</code></em>);</pre>
<p>
Selects a day from the current month.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>calendar</code></em> :</span></p></td>
<td>a <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
<td>the day number between 1 and 31, or 0 to unselect
the currently selected day.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lunar-calendar-mark-day"></a><h3>lunar_calendar_mark_day ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> lunar_calendar_mark_day (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><span class="type">guint</span> day</code></em>);</pre>
<p>
Places a visual marker on a particular day.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>calendar</code></em> :</span></p></td>
<td>a <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
<td>the day number to mark between 1 and 31.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code>, always</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lunar-calendar-unmark-day"></a><h3>lunar_calendar_unmark_day ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> lunar_calendar_unmark_day (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><span class="type">guint</span> day</code></em>);</pre>
<p>
Removes the visual marker from a particular day.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>calendar</code></em> :</span></p></td>
<td>a <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
<td>the day number to unmark between 1 and 31.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code>, always</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lunar-calendar-clear-marks"></a><h3>lunar_calendar_clear_marks ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> lunar_calendar_clear_marks (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>);</pre>
<p>
Remove all visual markers.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>calendar</code></em> :</span></p></td>
<td>a <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lunar-calendar-get-display-options"></a><h3>lunar_calendar_get_display_options ()</h3>
<pre class="programlisting"><a class="link" href="lunar-LunarCalendar.html#LunarCalendarDisplayOptions" title="enum LunarCalendarDisplayOptions"><span class="returnvalue">LunarCalendarDisplayOptions</span></a> lunar_calendar_get_display_options
(<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>);</pre>
<p>
Returns the current display options of <em class="parameter"><code>calendar</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>calendar</code></em> :</span></p></td>
<td>a <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the display options.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="lunar-calendar-set-display-options"></a><h3>lunar_calendar_set_display_options ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> lunar_calendar_set_display_options (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendarDisplayOptions" title="enum LunarCalendarDisplayOptions"><span class="type">LunarCalendarDisplayOptions</span></a> flags</code></em>);</pre>
<p>
Sets display options (whether to display the heading and the month
headings).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>calendar</code></em> :</span></p></td>
<td>a <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
<td>the display options to set</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="lunar-calendar-display-options"></a><h3>lunar_calendar_display_options ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> lunar_calendar_display_options (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendarDisplayOptions" title="enum LunarCalendarDisplayOptions"><span class="type">LunarCalendarDisplayOptions</span></a> flags</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">lunar_calendar_display_options</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-set-display-options" title="lunar_calendar_set_display_options ()"><code class="function">lunar_calendar_set_display_options()</code></a> instead</p>
</div>
<p>
Sets display options (whether to display the heading and the month headings).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>calendar</code></em> :</span></p></td>
<td>a <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
<td>the display options to set.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lunar-calendar-get-date"></a><h3>lunar_calendar_get_date ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> lunar_calendar_get_date (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>,
<em class="parameter"><code><span class="type">guint</span> *year</code></em>,
<em class="parameter"><code><span class="type">guint</span> *month</code></em>,
<em class="parameter"><code><span class="type">guint</span> *day</code></em>);</pre>
<p>
Obtains the selected date from a <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>calendar</code></em> :</span></p></td>
<td>a <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
<td>location to store the year number, or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
<td>location to store the month number (between 0 and 11), or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
<td>location to store the day number (between 1 and 31), or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lunar-calendar-freeze"></a><h3>lunar_calendar_freeze ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> lunar_calendar_freeze (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">lunar_calendar_freeze</code> has been deprecated since version 2.8 and should not be used in newly-written code. </p>
</div>
<p>
Does nothing. Previously locked the display of the calendar until
it was thawed with <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-thaw" title="lunar_calendar_thaw ()"><code class="function">lunar_calendar_thaw()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>calendar</code></em> :</span></p></td>
<td>a <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="lunar-calendar-thaw"></a><h3>lunar_calendar_thaw ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> lunar_calendar_thaw (<em class="parameter"><code><a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a> *calendar</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">lunar_calendar_thaw</code> has been deprecated since version 2.8 and should not be used in newly-written code. </p>
</div>
<p>
Does nothing. Previously defrosted a calendar; all the changes made
since the last <a class="link" href="lunar-LunarCalendar.html#lunar-calendar-freeze" title="lunar_calendar_freeze ()"><code class="function">lunar_calendar_freeze()</code></a> were displayed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>calendar</code></em> :</span></p></td>
<td>a <a class="link" href="lunar-LunarCalendar.html#LunarCalendar" title="struct LunarCalendar"><span class="type">LunarCalendar</span></a>
</td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|