Re: GtkNotebook patch
- From: raster redhat com
- To: gtk-devel-list redhat com
- cc: lars gtk org, gtkdev gtk org
- Subject: Re: GtkNotebook patch
- Date: Fri, 11 Sep 1998 01:08:46 -0400 (EDT)
On 10 Sep, Lars Hamann shouted:
-> Hi!
->
-> This patch adds new tab styles and arrangement possibilities to GtkNotebook.
->
-> - Fixed visibility bugs. Hiding a notebook page now also hides its tab and
-> menu labels.
->
-> - New tab styles :
-> GTK_NOTEBOOK_TAB_NONE
-> GTK_NOTEBOOK_TAB_CHAMFERED
-> GTK_NOTEBOOK_TAB_SLANTED
-> GTK_NOTEBOOK_TAB_SQUARE
->
-> gtk_notebook_set_show_tabs changes to :
-> void gtk_notebook_set_show_tabs (GtkNotebook *notebook,
-> GtkTabStyle tab_style);
->
-> - Separate adjustable tab hborder and vborder via
-> gtk_notebook_set_tab_hborder and gtk_notebook_set_tab_vborder.
->
-> - Packing options similar to gtk_box, i.e. extend, fill, pack_type options.
-> New functions :
-> void gtk_notebook_query_tab_label_packing (GtkNotebook *notebook,
-> GtkWidget *child,
-> gboolean *expand,
-> gboolean *fill,
-> GtkPackType *pack_type);
-> void gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
-> GtkWidget *child,
-> gboolean expand,
-> gboolean fill,
-> GtkPackType pack_type);
->
-> - adjustable tab corner size via gtk_notebook_set_tab_corner_size.
-> - adjustable tab overlap via gtk_notebook_set_tab_overlap
-> - homogeneous tabs via gtk_notebook_set_homogeneous_tabs
-> - new functions for querying and changing page properties :
-> gtk_notebook_query_tab_label
-> gtk_notebook_set_tab_label
-> gtk_notebook_set_tab_label_text
-> gtk_notebook_query_menu_label
-> gtk_notebook_set_menu_label
-> gtk_notebook_set_menu_label_text
->
-> Please test this patch. Comments are welcome.
-> If nobody objects, I'll commit it within the next few days.
I usggets you look at the theme branch - the notebook drawing code
changed a fair bit - :) this will most likely blow chunks when combined
with themes in 1.2
-> bye,
-> Lars
->
--
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
raster@rasterman.com /\___ /\ ___/||\___ ____/|/\___ raster@redhat.com
Carsten Haitzler | _ //__\\ __||_ __\\ ___|| _ / Red Hat Advanced
218/21 Conner Drive || // __ \\_ \ | | \ _/_|| / Development Labs
Chapel Hill NC 27514 USA ||\\\/ \//__/ |_| /___/||\\ 919 547 0012 ext 282
+1 (919) 929 9443, 801 4392 For pure Enlightenment http://www.rasterman.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]