GtkSharp/gtk/Calendar.custom
Gonzalo Paniagua Javier 7ab055de16 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
2003-03-25 00:47:13 +00:00

17 lines
403 B
Plaintext

// 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);
}