]> Pileus Git - ~andy/gtk/commit
new flags : homogeneous; new guints : tab_hborder, tab_vborder; marked
authorLars Hamann <lars@gtk.org>
Mon, 16 Nov 1998 23:40:50 +0000 (23:40 +0000)
committerLars Hamann <lars@src.gnome.org>
Mon, 16 Nov 1998 23:40:50 +0000 (23:40 +0000)
commite94a7b1a7afe102d74f075e76f2674287f2d2153
tree0c5091b244813b57859ab657573914fa1de5b7ec
parent7e44eced8c7c01f60a1135f7de6bd2215d5a3967
new flags : homogeneous; new guints : tab_hborder, tab_vborder; marked

Tue Nov 17 00:06:29 1998  Lars Hamann  <lars@gtk.org>

* gtk/gtknotebook.h (struct _GtkNotebook): new flags : homogeneous;
new guints : tab_hborder, tab_vborder; marked tab_border deprecated
(struct _GtkNotebookPage): new flags : expand, fill, pack

* gtk/gtknotebook.h/c
(gtk_notebook_set_homogeneous_tabs): new function. set homogeneneous
  tabs
(gtk_notebook_set_tab_border): set tab_h/vborder to tab_border
(gtk_notebook_set_tab_hborder): new function. set tab_hborder
(gtk_notebook_set_tab_vborder): new function. set tab_vborder
(gtk_notebook_query_tab_label): new function. get tab_label widget.
(gtk_notebook_set_tab_label): new function. set tab_label widget.
(gtk_notebook_set_tab_label_text): new function. set tab_label text.
(gtk_notebook_query_menu_label): new function. get tab_label widget.
(gtk_notebook_set_menu_label): new function. set tab_label widget.
(gtk_notebook_set_menu_label_text): new function. set tab_label text.
(gtk_notebook_set_tab_label_packing): new function. set tab_label
  fill, expand, fill_type
(gtk_notebook_query_tab_label_packing): new function. get tab_label
  fill, expand, fill_type

(gtk_notebook_real_page_position): return logic page number
(gtk_notebook_search_page) search next/prev logic page
(gtk_notebook_update_labels): set logic page number.
(gtk_notebook_page_compare): renamed gtk_notebook_find_page
(gtk_notebook_set/get_child_arg): new args CHILD_ARG_TAB_EXPAND,
  CHILD_ARG_TAB_FILL, CHILD_ARG_TAB_PACK
  (gtk_notebook_button_press) (gtk_notebook_key_press)
  (gtk_notebook_focus) (gtk_notebook_pages_allocate)
(gtk_notebook_calc_tabs) (gtk_notebook_switch_focus_tab)
  use gtk_notebook_search_page
(gtk_notebook_page_allocate): fixed allocation bug
(gtk_notebook_set/get_arg): new args TAB_HBORDER, TAB_VBORDER.
(gtk_notebook_init): unset GTK_NO_WINDOW flag
(gtk_notebook_size_request): check whether page->child is visible.
  changes due to tab h/vborder, homogeneous tabs
(gtk_notebook_paint): don't draw invisible tabs
(gtk_notebook_switch_page): calculate page_num if it's less than 0
  (gtk_notebook_append_*) (gtk_notebook_prepend_*)
  (gtk_notebook_insert_page): removed sanity checks

* gtk/testgtk.c (create_notebook): extended Notebook sample a bit.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtknotebook.c
gtk/gtknotebook.h
gtk/testgtk.c
tests/testgtk.c