mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 20:55:35 +00:00
bed0c03a8d
* gtk/Gtk.metadata : hide NotebookPage.Num method * gtk/Notebook.custom : implement PageNum. * gtk/gtk-api.xml : regen svn path=/trunk/gtk-sharp/; revision=21882
21 lines
505 B
Plaintext
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);
|
|
}
|