mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 04:45:37 +00:00
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
17 lines
403 B
Plaintext
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);
|
|
}
|
|
|