Add support for up to four scroll arrows. Control their display by new

2003-05-23  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtknotebook.c: Add support for up to four scroll
	arrows. Control their display by new style properties
	"has_forward_stepper", "has_backward_stepper",
	"has_secondary_forward_stepper" and
	has_secondary_backward_stepper". (#110540)

	* gtk/gtknotebook.h (struct _GtkNotebook): Make in_child and
	click_child three bits wide, add
	has_{before,after}_{previous,next} fields.
This commit is contained in:
Matthias Clasen
2003-05-22 22:34:31 +00:00
committed by Matthias Clasen
parent a32adaf4f9
commit ed1468ba4c
7 changed files with 276 additions and 113 deletions

View File

@ -77,13 +77,18 @@ struct _GtkNotebook
guint show_border : 1;
guint tab_pos : 2;
guint scrollable : 1;
guint in_child : 2;
guint click_child : 2;
guint in_child : 3;
guint click_child : 3;
guint button : 2;
guint need_timer : 1;
guint child_has_focus : 1;
guint have_visible_child : 1;
guint focus_out : 1; /* Flag used by ::move-focus-out implementation */
guint has_before_previous : 1;
guint has_before_next : 1;
guint has_after_previous : 1;
guint has_after_next : 1;
};
struct _GtkNotebookClass