gtk3/docs/reference/gtk/tmpl
Tim Janik 9800f731e0 applied patch from owen to get rid of accel map notifiers. changed things
Tue Nov 20 21:25:08 2001  Tim Janik  <timj@gtk.org>

	* applied patch from owen to get rid of accel map notifiers.
	changed things to fix reentrancy and API as discussed on gtk-devel.

	* gtk/gtkaccelgroup.[hc]:
	(gtk_accel_group_finalize): unregister this accel group from all
	accel map paths.
	(accel_closure_invalidate): handle invalidation of closures by
	disconnecting their accelerators.
	(quick_accel_add): move closure connection and changed notification
	into this function to reduce code duplication. don't emit change
	notification on closurers without accelerators.
	(quick_accel_remove): rewrite, do the exact opposite of quick_accel_add
	for a GtkAccelGroupEntry.
	(gtk_accel_group_connect): get rid of the accel_path_quark argument.
	(gtk_accel_group_connect_by_path): new function to add accelerators
	with an accel path.
	(gtk_accel_group_disconnect_closure): new function, disconnect a
	closure from of an accel group.
	(gtk_accel_group_disconnect): loop over all closure for a accel_ley,
	accel_mods pair and remove them.
	(_gtk_accel_group_reconnect): new function that basically does
	gtk_accel_group_disconnect_closure() and
	gtk_accel_group_connect_by_path() once an accel path changed.
	(gtk_accel_groups_disconnect_closure): remove this, there's
	gtk_accel_group_disconnect_closure().

	* gtk/gtkaccelmap.[hc]: keep list of accel groups per entry now,
	nuke notifiers.
	(_gtk_accel_path_is_valid): make this non-static for
	gtkwidget.c and gtkaccelgroup.c assertions.
	(gtk_accel_map_add_notifer): removed this function.
	(gtk_accel_map_remove_notifer): same.
	(_gtk_accel_map_add_group):
	(_gtk_accel_map_remove_group): (un-)register accel groups, with
	accel paths for correct propagation.
	(gtk_accel_map_add_entry): return void.
	(gtk_accel_map_lookup): return gboolean instead of GQuark.

	* gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): always
	set accel_path on widgets.

	* gtk/gtkwidget.[hc]:
	(accel_path_changed): got rid of this, changes are handled by
	accel maps internally now.
	(_gtk_widget_set_accel_path): get things to work without notifiers.
	(gtk_widget_list_accel_closures): list accel closures of a widget.

	* gtk/gtkwindow.[hc]: rename ::accels_changed, to ::keys_changed.
2001-11-20 23:43:03 +00:00
..
gtk-unused.sgml applied patch from owen to get rid of accel map notifiers. changed things 2001-11-20 23:43:03 +00:00
gtkaccelgroup.sgml applied patch from owen to get rid of accel map notifiers. changed things 2001-11-20 23:43:03 +00:00
gtkaccellabel.sgml applied patch from owen to get rid of accel map notifiers. changed things 2001-11-20 23:43:03 +00:00
gtkadjustment.sgml Rearrange docs (#64566) 2001-11-14 22:36:23 +00:00
gtkalignment.sgml
gtkarrow.sgml
gtkaspectframe.sgml
gtkbbox.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkbin.sgml
gtkbindings.sgml
gtkbox.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkbutton.sgml gtk/gtkbutton.[ch] fixed inline comments 2001-10-26 15:44:20 +00:00
gtkcalendar.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkcelleditable.sgml Remove handle_box from App demo. 2001-10-22 18:24:29 +00:00
gtkcellrenderer.sgml Stop being stupid and emitting the signal every time. 2001-09-27 00:09:41 +00:00
gtkcellrendererpixbuf.sgml Stop being stupid and emitting the signal every time. 2001-09-27 00:09:41 +00:00
gtkcellrenderertext.sgml docs 2001-10-03 04:44:13 +00:00
gtkcellrenderertoggle.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkcheckbutton.sgml
gtkcheckmenuitem.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkclipboard.sgml Documentation updates. Updates. 2001-10-17 21:41:47 +00:00
gtkclist.sgml
gtkcolorsel.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtkcolorseldlg.sgml
gtkcombo.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtkcontainer.sgml Darn. I can't believe this took this long to fix. 2001-10-29 20:43:01 +00:00
gtkctree.sgml
gtkcurve.sgml
gtkdialog.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtkdnd.sgml Remove handle_box from App demo. 2001-10-22 18:24:29 +00:00
gtkdrawingarea.sgml
gtkeditable.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkentry.sgml Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108, 2001-11-10 22:06:44 +00:00
gtkenums.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtkeventbox.sgml
gtkfeatures.sgml
gtkfilesel.sgml
gtkfixed.sgml
gtkfontsel.sgml
gtkfontseldlg.sgml
gtkframe.sgml Rename interface signals to make them more clear. Also, change 2001-09-12 23:16:18 +00:00
gtkgamma.sgml Resurrect 1.2 documentation. (#62604) 2001-10-18 22:08:33 +00:00
gtkgc.sgml
gtkhandlebox.sgml Finish a sentence. This fixes #56702. 2001-10-27 01:21:14 +00:00
gtkhbbox.sgml
gtkhbox.sgml
gtkhpaned.sgml
gtkhruler.sgml
gtkhscale.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkhscrollbar.sgml Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108, 2001-11-10 22:06:44 +00:00
gtkhseparator.sgml Document all stock items with their stock text. 2001-11-10 00:02:13 +00:00
gtkiconfactory.sgml Stop being stupid and emitting the signal every time. 2001-09-27 00:09:41 +00:00
gtkimage.sgml fix GtkImage overview 2001-10-05 01:53:04 +00:00
gtkimagemenuitem.sgml Stop being stupid and emitting the signal every time. 2001-09-27 00:09:41 +00:00
gtkimcontext.sgml Add a function gdk_window_invalidate_maybe_recurse() for use in "shallow 2001-11-04 22:57:03 +00:00
gtkimcontextsimple.sgml Add gtkimcontextsimple. 2001-10-19 19:48:31 +00:00
gtkimmulticontext.sgml
gtkinputdialog.sgml
gtkinvisible.sgml
gtkitem.sgml
gtkitemfactory.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtklabel.sgml add a #error unless you define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so 2001-10-22 21:52:47 +00:00
gtklayout.sgml default xscale/yscale to 0.0, not 0.5, 0.5 isn't useful 2001-09-08 19:33:06 +00:00
gtklist.sgml
gtklistitem.sgml
gtkliststore.sgml docs 2001-10-03 04:44:13 +00:00
gtkmain.sgml
gtkmenu.sgml Return the currently selected column when we get the column, #64380 2001-11-14 22:52:43 +00:00
gtkmenubar.sgml
gtkmenuitem.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtkmenushell.sgml Darn. I can't believe this took this long to fix. 2001-10-29 20:43:01 +00:00
gtkmessagedialog.sgml Move notification of "has_default" to here, so it is safe to call 2001-11-17 01:18:49 +00:00
gtkmisc.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtknotebook.sgml Move notification of "has_default" to here, so it is safe to call 2001-11-17 01:18:49 +00:00
gtkobject.sgml fix allocation to be relative to paned->allocation, now that this is a 2001-11-20 13:55:08 +00:00
gtkoldeditable.sgml fix test case, it previously verified incorrect behavior 2001-10-04 00:22:13 +00:00
gtkoptionmenu.sgml fix infinite loop noticed by yosh. 2001-11-01 00:06:32 +00:00
gtkpaned.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtkpixmap.sgml
gtkplug.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkpreview.sgml Darn. I can't believe this took this long to fix. 2001-10-29 20:43:01 +00:00
gtkprogress.sgml
gtkprogressbar.sgml Rearrange docs (#64566) 2001-11-14 22:36:23 +00:00
gtkradiobutton.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkradiomenuitem.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkrange.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkrc.sgml Typo fix. Updates. Document the special values <none> and <parent> for 2001-10-27 20:41:05 +00:00
gtkruler.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkscale.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkscrollbar.sgml default xscale/yscale to 0.0, not 0.5, 0.5 isn't useful 2001-09-08 19:33:06 +00:00
gtkscrolledwindow.sgml Remove handle_box from App demo. 2001-10-22 18:24:29 +00:00
gtkselection.sgml fix infinite loop noticed by yosh. 2001-11-01 00:06:32 +00:00
gtkseparator.sgml
gtkseparatormenuitem.sgml Updates. 2001-10-10 21:52:42 +00:00
gtksettings.sgml Call update_im_spot_location here explicitly 2001-10-27 02:41:24 +00:00
gtksignal.sgml
gtksizegroup.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtksocket.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkspinbutton.sgml Clarify that we're returning a spin button in the _new function. This 2001-10-27 01:16:09 +00:00
gtkstatusbar.sgml Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108, 2001-11-10 22:06:44 +00:00
gtkstock.sgml Document all stock items with their stock text. 2001-11-10 00:02:13 +00:00
gtkstyle.sgml Fix up for changes to PangoFontDescription. 2001-09-18 20:06:48 +00:00
gtktable.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtktearoffmenuitem.sgml
gtktext.sgml
gtktextbuffer.sgml New function to get a GdkWindow to compare event->window to. 2001-11-15 22:20:18 +00:00
gtktextiter.sgml New function to get a GdkWindow to compare event->window to. 2001-11-15 22:20:18 +00:00
gtktextmark.sgml
gtktexttag.sgml
gtktexttagtable.sgml New function to get a GdkWindow to compare event->window to. 2001-11-15 22:20:18 +00:00
gtktextview.sgml add a #error unless you define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so 2001-10-22 21:52:47 +00:00
gtkthemes.sgml
gtktipsquery.sgml Darn. I can't believe this took this long to fix. 2001-10-29 20:43:01 +00:00
gtktogglebutton.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtktoolbar.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtktooltips.sgml
gtktree.sgml
gtktreednd.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtktreeitem.sgml
gtktreemodel.sgml New function to get a GdkWindow to compare event->window to. 2001-11-15 22:20:18 +00:00
gtktreemodelsort.sgml New function to get a GdkWindow to compare event->window to. 2001-11-15 22:20:18 +00:00
gtktreeselection.sgml New function to get a GdkWindow to compare event->window to. 2001-11-15 22:20:18 +00:00
gtktreesortable.sgml Remove handle_box from App demo. 2001-10-22 18:24:29 +00:00
gtktreestore.sgml Stop being stupid and emitting the signal every time. 2001-09-27 00:09:41 +00:00
gtktreeview.sgml Move notification of "has_default" to here, so it is safe to call 2001-11-17 01:18:49 +00:00
gtktreeviewcolumn.sgml fix allocation to be relative to paned->allocation, now that this is a 2001-11-20 13:55:08 +00:00
gtktypeutils.sgml
gtkvbbox.sgml
gtkvbox.sgml
gtkviewport.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkvpaned.sgml
gtkvruler.sgml
gtkvscale.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkvscrollbar.sgml Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108, 2001-11-10 22:06:44 +00:00
gtkvseparator.sgml
gtkwidget.sgml applied patch from owen to get rid of accel map notifiers. changed things 2001-11-20 23:43:03 +00:00
gtkwindow.sgml applied patch from owen to get rid of accel map notifiers. changed things 2001-11-20 23:43:03 +00:00
gtkwindowgroup.sgml Stop being stupid and emitting the signal every time. 2001-09-27 00:09:41 +00:00