gtk2/docs
Alexander Larsson 814957b46e Add note about GtkMenuPositionFunc API changes.
2000-11-08  Alexander Larsson  <alexl@redhat.com>

	* docs/Changes-2.0.txt: Add note about GtkMenuPositionFunc
	API changes.

	* gtk/gtkmenu.c: Add support for scrolling menus.
	Remove gtk_menu_append/prepend/insert, these have been moved to
	gtkcompat.h as #defines.

	* gtk/gtkcompat.h.in:
	Add compatibility #defines for gtk_menu_append/prepend/insert

	* gtk/gtkmenu.h: Add data needed for scrolling menus.
	GtkMenuPositionFunc gets an extra argument push_in.
	gtk_menu_append/prepend/insert removed.

	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Change menu
	positioning behaviour to fit to scrolling menus.

	* gtk/gtkmenuitem.c (gtk_menu_item_forall): Don't recurse
	into menuitem->submeny. That is wrong, and broke torn
	off submenus of torn off menus, since they were unrealized
	when the first menu was unrealized.

	* gtk/gtkmenushell.[ch]: Virtualize gtk_menu_shell_insert() and
	gtk_menu_shell_select_item() since these need to be overridden in
	GtkMenu.

	* gtk/gtkoptionmenu.c (gtk_opttion_menu_position): Change menu
	positioning behaviour to fit to scrolling menus.
	(gtk_option_menu_key_press, gtk_option_menu_button_press): Select
	the current item so that it is prelighted when the menu pops up.
	This is a workaround to the fact that the menu doesn't get the
	initial enter event (due to grabs).

	* gtk/gtkfilesel.c, gtk/gtkinputdialog.c, gtk/testgtk.c:
	s/gtk_menu_append/gtk_menu_shell_append/

	* gtk/gtknotebook.c:
	s/gtk_menu_insert/gtk_menu_shell_insert/

	* gtk/testgtk.c (create_menu, create_menus):
	Create the first menu with 50 items so that menu scrolling
	can be tested.


	Patch from Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkmenuitem.[ch] (gtk_menu_item_toggle_size_request): new
	system to handle size requests.  First, we ask what the size of
	the toggle is.  Then, when allocating the size, we allocate the
	toggle_size first.  This way we can have multiple menu-item
	classes w/o needing a seperate class for each.

	* gtk/gtkmenu.c (gtk_menu_size_request): Actually use the new system.
	* gtk/gtkmenu.c (gtk_menu_size_allocate): Use the new system.

	* gtk/gtkcheckmenuitem.c
	(gtk_check_menu_item_toggle_size_request): New function to handle
	the toggle size-request.
2000-11-08 17:34:52 +00:00
..
faq s/gtk_main_iteration/g_main_iteration/ 2000-07-31 13:00:21 +00:00
reference Derive from GtkDialog, and use stock buttons. Should be 100% source 2000-11-06 16:44:01 +00:00
tutorial docs/tutorial/*.gif *.jpg *.eps Update these to the same look-n-feel. Why 2000-07-27 12:17:17 +00:00
.cvsignore Removed mistakenly added generated sgml 2000-06-21 18:18:00 +00:00
Changes-1.2.txt Fixed some bugs with set_default_size. 1999-02-10 02:35:09 +00:00
Changes-2.0.txt Add note about GtkMenuPositionFunc API changes. 2000-11-08 17:34:52 +00:00
debugging.txt Take border in account properly. 1998-04-06 12:59:06 +00:00
defsformat.txt Add defs file format document (this document isn't 100% finalized, but 2000-03-23 20:20:19 +00:00
developers.txt backed out the section "Gnits to care about". new file, kinda developers 1998-02-11 00:40:20 +00:00
dnd_internals.txt Added a modular client-message-filter mechanism, that is used for the DND 1998-10-18 22:51:24 +00:00
generation.txt Adapt cast macros to standard. 1999-11-22 21:52:50 +00:00
gtk-config.1.in [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gtk-config.txt Put in some information about 'gtk-config --libs gthread'. 1999-02-02 02:35:11 +00:00
gtkdocs_fix I just remembered this commit failed before because 1998-03-12 18:23:11 +00:00
make-todo let title and logo be configurable so that GNOME can use this script too. 2000-02-25 22:56:58 +00:00
Makefile.am Add check for db2html 2000-07-06 21:09:25 +00:00
refcounting.txt Spelling/grammar fixes from Martin Buchholz <martin@xemacs.org> 2000-02-29 13:15:10 +00:00
styles.txt Spelling/grammar fixes from Martin Buchholz <martin@xemacs.org> 2000-02-29 13:15:10 +00:00
text_widget.txt missed a couple of corrections 2000-02-29 13:29:59 +00:00
widget_system.txt Added gdk_text/string_extents() - too calculate all the metrics at once of 1998-08-12 16:49:13 +00:00