7ab055de16
* api/gtk-api.xml: changed DisplayOptions by SetDisplayOptions. * sources/Gtk.metadata: added rename hint for DisplayOptions. Moved GtkHTMLStream hints to 'misc' area (they were in 'rename' area). * gtk/Calendar.custom: added a .net style GetDate override. * sample/CalendarApp.cs: updated to new methods in the Calendar API. svn path=/trunk/gtk-sharp/; revision=12799
16 lines
403 B
Text
16 lines
403 B
Text
// Gtk.Calendar.Custom - Gtk Calendar class customizations
|
|
//
|
|
// Author:
|
|
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
|
|
//
|
|
// (c) 2003 Ximian, Inc. (http://www.ximian.com)
|
|
//
|
|
// This code is inserted after the automatically generated code.
|
|
|
|
public DateTime GetDate ()
|
|
{
|
|
uint year, month, day;
|
|
GetDate (out year, out month, out day);
|
|
return new DateTime ((int) year, (int) month + 1, (int) day);
|
|
}
|
|
|