GtkSharp/gtk/Notebook.custom
Mike Kestner bed0c03a8d 2004-01-09 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide NotebookPage.Num method
	* gtk/Notebook.custom : implement PageNum.
	* gtk/gtk-api.xml : regen

svn path=/trunk/gtk-sharp/; revision=21882
2004-01-09 20:52:27 +00:00

21 lines
505 B
Plaintext

// Notebook.custom - customization for Gtk.Notebook
//
// Authors: Xavier Amado (xavier@blackbloodstudios.com)
// Mike Kestner (mkestner@ximian.com)
//
// <c> 2004 Novel, Inc.
public Widget CurrentPageWidget {
get {
return GetNthPage (CurrentPage);
}
}
[DllImport("libgtk-win32-2.0-0.dll")]
static extern int gtk_notebook_page_num (IntPtr handle, IntPtr child);
public int PageNum (Widget child)
{
return gtk_notebook_page_num (Handle, child.Handle);
}