forked from AuroraMiddleware/gtk
d6acd1ecd3
* gtk/testgtk.c: Functions to test the toolbar space style. * gtk/gtktoolbar.c: Add a private GtkToolbarChildSpace subclass of GtkToolbarChild to hold allocation. Set default space style to GTK_TOOLBAR_SPACE_EMPTY, define SPACE_LINE_* for separator fraction defaults. (gtk_toolbar_paint_space_line): New function; paints the separator line, using "toolbar" as the detail. (gtk_toolbar_expose): (gtk_toolbar_draw): Handle CHILD_SPACE when style is set to SPACE_LINE. (gtk_toolbar_size_allocate): Store space allocations. (gtk_toolbar_insert_element): If we are a space, allocate and initialize a GtkToolbarChildSpace instead of a GtkToolbarChild. (gtk_toolbar_set_space_style): New function. * gtk/gtktoolbar.h: Add GtkToolbarSpaceStyle, with styles of EMPTY and LINE. Add prototype for gtk_toolbar_set_space_style. |
||
---|---|---|
.. | ||
3DRings.xpm | ||
circles.xbm | ||
FilesQueue.xpm | ||
marble.xpm | ||
Modeller.xpm | ||
simple.c | ||
test.xpm | ||
testdnd.c | ||
testgtk.1 | ||
testgtk.c | ||
testgtkrc | ||
testgtkrc2 | ||
testinput.c | ||
testrgb.c | ||
testselection.c | ||
testthreads.c |