Gtk.Notebook.PageNum Method
Returns the page number that a child Gtk.Widget exists on.

Syntax

public int PageNum (Widget child)

Parameters

child
Gtk.Widget to look for.

Returns

Page number that the widget exists on, -1 if the widget isn't in the notebook.

Remarks

This function returns -1 if the Gtk.Widget is not a direct child of the notebook.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)