summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-09-23 22:05:41 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-09-23 22:05:41 +0000
commit9879b5b45c7d7643b199936011ab7f1c3cebdead (patch)
tree24f9d7faf36cb5d2b253a38cd31b228336f9937d /gtk/gtknotebook.h
parent4d7d94f63331f656b32f1f5fab7da99ae47ba7fb (diff)
downloadgtk+-9879b5b45c7d7643b199936011ab7f1c3cebdead.tar.gz
i Add gtk_notebook_get_n_pages (#73229, Havoc Pennington)
Mon Sep 23 18:01:52 2002 Owen Taylor <otaylor@redhat.com> i * gtk/gtknotebook.[ch]: Add gtk_notebook_get_n_pages (#73229, Havoc Pennington) * gtk/gtknotebook.c (gtk_notebook_get_nth_page): Handle -1 to mean the last page, as we do elsewhere. (#73229)
Diffstat (limited to 'gtk/gtknotebook.h')
-rw-r--r--gtk/gtknotebook.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h
index 7ed5ed0652..e6d0cd8d70 100644
--- a/gtk/gtknotebook.h
+++ b/gtk/gtknotebook.h
@@ -150,6 +150,7 @@ void gtk_notebook_remove_page (GtkNotebook *notebook,
gint gtk_notebook_get_current_page (GtkNotebook *notebook);
GtkWidget* gtk_notebook_get_nth_page (GtkNotebook *notebook,
gint page_num);
+gint gtk_notebook_get_n_pages (GtkNotebook *notebook);
gint gtk_notebook_page_num (GtkNotebook *notebook,
GtkWidget *child);
void gtk_notebook_set_current_page (GtkNotebook *notebook,