gtk2/docs/reference/gtk
Matthias Clasen 812e0cfdb7 Support vertical menubars (#166632):
2005-02-11  Matthias Clasen  <mclasen@redhat.com>

	Support vertical menubars  (#166632):

	* gtk/gtkenums.h (GtkPackDirection): New enumeration for pack
	directions, with values for left-to-right, right-to-left,
	top-to-bottom and bottom-to-top.

	* gtk/gtk.symbols:
	* gtk/gtkmenubar.h:
	* gtk/gtkmenubar.c: Add two properties, pack-direction and
	child-pack-direction, which specify how children and
	grandchildren of a menubar are packed, with getters and setters.

	* gtk/gtkmenubar.c (gtk_menu_bar_set_property):
	(gtk_menu_bar_get_property): Implement set_property and get_property.

	* gtk/gtkmenubar.c (gtk_menu_bar_size_request):
	(gtk_menu_bar_size_allocate): Take pack direction into account.

	* gtk/gtkmenubar.c (gtk_menu_bar_move_current): Implement
	move_current here move all the menubar-specific direction
	tweaking from the generic menushell implementation here.

	* gtk/gtkmenu.c (gtk_menu_move_current): Move  menu-specific
	direction tweaking from the generic menushell implementation here.

	* gtk/gtkmenuitem.c (gtk_menu_item_size_request):
	(gtk_menu_bar_size_allocate): Take pack direction into account.

	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_request)
	(gtk_image_menu_item_size_allocate):
	(gtk_image_menu_item_toggle_size_request): Take child pack
	direction into account and pack the image vertically if
	necessary.

	* gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
	Set the submenu direction to left-right for menuitems in
	vertical menubars.
	(gtk_real_menu_shell_move_current): Simplify by moving
	direction tweaking to menu- and menubar-specific
	implementations. Take pack direction into account when
	doing fallbacks.

	* tests/testmenubars.c: Test menubars in various packing
	direction combinations.

	* tests/Makefile.am (noinst_PROGRAMS): Add testmenubars.
2005-02-11 07:15:11 +00:00
..
images Add complex dialogs to gallery. 2004-12-07 06:22:19 +00:00
tmpl Accept the "expand" attribute and set a flag in the node if it is set to 2005-02-08 15:54:09 +00:00
.cvsignore Resurrected documentation that got lost when the window parameter was 2003-07-29 09:08:22 +00:00
building.sgml Some updates 2005-01-16 04:12:43 +00:00
changes-1.2.sgml remove gtk- prefix from TreeView and a few other entities, more consistent 2002-01-06 21:09:26 +00:00
changes-2.0.sgml Add note about gtk_notebook_reorder_child(). 2002-03-01 15:40:12 +00:00
compiling.sgml Mention xxx_DISABLE_DEPRECATED and GDK_MULTIHEAD_SAFE. 2003-02-01 01:19:30 +00:00
framebuffer.sgml Add some forgotten functions. 2004-07-31 21:21:08 +00:00
glossary.xml Remove a dangling link. 2004-12-15 17:25:25 +00:00
gtk-docs.sgml Add an index for 2.8 symbols. 2005-01-18 21:05:36 +00:00
gtk-overrides.txt Remove GtkArgSetFunc, GtkArgGetFunc. 2001-06-04 19:08:59 +00:00
gtk-query-immodules-2.0.1 Add rule to regenerate man pages from Docbook. (man_MANS): Add 2003-06-17 00:37:28 +00:00
gtk-query-immodules-2.0.xml Add rule to regenerate man pages from Docbook. (man_MANS): Add 2003-06-17 00:37:28 +00:00
gtk-sections.txt Support vertical menubars (#166632): 2005-02-11 07:15:11 +00:00
gtk-update-icon-cache.1 Add a --quiet option. 2005-02-01 13:55:08 +00:00
gtk-update-icon-cache.xml Add a --quiet option. 2005-02-01 13:55:08 +00:00
gtk.types Re-add the #include 2004-11-19 04:23:08 +00:00
Makefile.am spell missing stock icons correctly. 2004-12-17 18:52:09 +00:00
migrating-checklist.sgml Add a missing semicolon to an entity. 2004-02-18 02:54:11 +00:00
migrating-GtkAboutDialog.sgml Markup fixes. 2004-11-05 06:07:44 +00:00
migrating-GtkAction.sgml Explain how to migrate non-stock icons. 2004-11-09 13:59:31 +00:00
migrating-GtkColorButton.sgml Markup fixes. 2004-11-05 06:07:44 +00:00
migrating-GtkComboBox.sgml Remove chapterinfo. 2004-10-11 06:11:06 +00:00
migrating-GtkFileChooser.sgml Put explicit <link> elements instead of #Symbol, because the latter 2004-02-27 22:06:40 +00:00
migrating-GtkIconView.sgml Markup fixes. 2004-11-05 06:07:44 +00:00
objects_grouped.sgml remove GtkPacker. 2001-10-05 21:26:48 +00:00
other_software.sgml half-finished docs on merging GTK with existing hunks of code (event loop 2002-04-30 15:58:51 +00:00
question_index.sgml Add a "ref and sink" question. (#156865, Philip Langdale, text based on a 2004-11-01 19:19:06 +00:00
resources.sgml Mention the need to subscribe to the GTK+ mailing lists. 2002-03-06 23:36:37 +00:00
running.sgml Add a new debug flag, geometry, to debug size allocation. 2004-10-08 15:26:02 +00:00
text_widget.sgml Fix some links. 2002-12-11 19:26:58 +00:00
tree_widget.sgml Minor update. 2004-05-14 13:53:37 +00:00
version.xml.in Add package version info to API docs. 2002-11-21 20:19:01 +00:00
visual_index.xml Add complex dialogs to gallery. 2004-12-07 06:22:19 +00:00
windows.sgml s/PRETEND_WIN9X/G_WIN32_PRETEND_WIN9X/. 2004-10-31 17:44:15 +00:00
x11.sgml Add some forgotten functions. 2004-07-31 21:21:08 +00:00