summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.h
diff options
context:
space:
mode:
authorLars Hamann <lars@src.gnome.org>1998-06-10 21:48:21 +0000
committerLars Hamann <lars@src.gnome.org>1998-06-10 21:48:21 +0000
commit6b61461a404b910f9024299fd97fc9cb2423d781 (patch)
tree6e59f3660745d98ce7075074a4ca3ca262f3cf3d /gtk/gtknotebook.h
parent344572dc7129d688a99bedff8ba3b8e46ffd0376 (diff)
downloadgtk+-6b61461a404b910f9024299fd97fc9cb2423d781.tar.gz
adapted clist pixmap clipping
* gtk/gtkctree.c (draw_row): adapted clist pixmap clipping * gtk/gtknotebook.h (struct _GtkNotebookClass): * gtk/gtknotebook.c (gtk_real_notebook_switch_page): added missing argument (according to Joseph Coleman's bug report) * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class function to fix notebook focus handling
Diffstat (limited to 'gtk/gtknotebook.h')
-rw-r--r--gtk/gtknotebook.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h
index fadd33e32c..501a991aa9 100644
--- a/gtk/gtknotebook.h
+++ b/gtk/gtknotebook.h
@@ -62,6 +62,7 @@ struct _GtkNotebook
guint click_child : 2;
guint button : 2;
guint need_timer : 1;
+ guint child_has_focus : 1;
};
struct _GtkNotebookClass
@@ -69,7 +70,8 @@ struct _GtkNotebookClass
GtkContainerClass parent_class;
void (* switch_page) (GtkNotebook *notebook,
- GtkNotebookPage *page);
+ GtkNotebookPage *page,
+ gint page_num);
};
struct _GtkNotebookPage