diff options
author | Tim Janik <timj@gtk.org> | 1998-07-16 20:23:12 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-07-16 20:23:12 +0000 |
commit | 81517a6d4c09663ba97335affe5b1ec047a567d3 (patch) | |
tree | 4638e036b6e692136a617d1fdd7d8f8a05f6a3bf /gtk/gtknotebook.h | |
parent | 5e3acecc12dc9b7671ea56150a66e2ae41a65a6e (diff) | |
download | gtk+-81517a6d4c09663ba97335affe5b1ec047a567d3.tar.gz |
signdness corrections all ove the place. implementation of object
Thu Jul 16 18:24:41 1998 Tim Janik <timj@gtk.org>
* gtk/gtknotebook.h:
* gtk/gtknotebook.c: signdness corrections all ove the place.
implementation of object arguments: GtkNotebook::enable_popup,
GtkNotebook::tab_pos, GtkNotebook::tab_border, GtkNotebook::show_tabs,
GtkNotebook::show_border, GtkNotebook::scrollable and GtkNotebook::page.
begun implementation of child args, we have GtkNotebook::tab_label, but
GtkNotebook::menu_label and GtkNotebook::position still lack the
implementation.
(gtk_notebook_remove_page):
(gtk_notebook_current_page): allow negative indices (-1) as alias for
the last page.
* gtk/gtkentry.h:
* gtk/gtkentry.c: GtkType and macro fixups. implementation of object
arguments GtkEntry::max_length and GtkEntry::visibility.
(gtk_entry_adjust_scroll): queue a redraw.
* gtk/gtkeditable.h:
* gtk/gtkeditable.c: GtkType und macro fixups. implementation of
object arguments GtkEditable::text_position and GtkEditable::editable.
new (action) signal GtkEditable::set_editable.
provide a default handler for GtkEditable::changed that queues a redraw.
* gtk/gtktext.h:
* gtk/gtktext.c: GtkType und macro fixups. override GtkEditable::
set_editable.
Diffstat (limited to 'gtk/gtknotebook.h')
-rw-r--r-- | gtk/gtknotebook.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h index c74ae40f10..183b7ee505 100644 --- a/gtk/gtknotebook.h +++ b/gtk/gtknotebook.h @@ -55,7 +55,7 @@ struct _GtkNotebook guint32 timer; - gint16 tab_border; + guint16 tab_border; guint show_tabs : 1; guint show_border : 1; @@ -72,9 +72,9 @@ struct _GtkNotebookClass { GtkContainerClass parent_class; - void (* switch_page) (GtkNotebook *notebook, + void (* switch_page) (GtkNotebook *notebook, GtkNotebookPage *page, - gint page_num); + guint page_num); }; struct _GtkNotebookPage @@ -130,7 +130,7 @@ void gtk_notebook_set_show_border (GtkNotebook *notebook, void gtk_notebook_set_scrollable (GtkNotebook *notebook, gint scrollable); void gtk_notebook_set_tab_border (GtkNotebook *notebook, - gint border_width); + guint border_width); void gtk_notebook_popup_enable (GtkNotebook *notebook); void gtk_notebook_popup_disable (GtkNotebook *notebook); |