gtk2/docs/reference/gtk/tmpl
Owen Taylor fbfc305174 Allow %NULL for style to mean "revert to default style"
Tue Jun 26 19:39:03 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_set_style): Allow %NULL
	for style to mean "revert to default style"

	* gtk/gtkwidget.[ch] (gtk_widget_set_rc_style,
	  gtk_widget_restore_default_style): Make this functions
	deprecated aliases for gtk_widget_set_style (widget, NULL).

	* gtk/gtkwidget.[ch]: Remove:
	   gtk_widget_set_default_style ()
	   gtk_widget_push_style ()
	   gtk_widget_pop_style ()
	These functions interact are overriden by RC files, and
	thus virtually useless, and complicated.

Fri Jun 22 18:49:48 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.c: Add a GtkRcContext structure to hold
	most of the previous global variables in gtkrc.c. This is
	in preparation for multi-head, since each screen can
	have different GtkSettings and RC information.

	* gtk/gtkrc.[ch]:

	* gtk/gtkrc.h (struct _GtkRcStyleClass): Add a
	GtkSettings parameter to GtkRcStyle::parse.

	* gdk/x11/gdkevents-x11.c gtk/gtksettings.c gtk/gtkrc.c:
	Add two new settings gtk-theme-name, gtk-key-theme-name,
	for RC files that are loaded by name after reading
	the default RC files.

	* gtk/gtkrc.c: Allow priorities for styles, as wll as
	bindings.

	* gtk/gtkenums.h gtk/gtkrc.c: Add GTK_PATH_PRIO_THEME,
	and use it by default for RC files loaded via
	gtk-theme-name, gtk-key-theme-name.

	* gtk/gtkiconfactory.c (gtk_icon_source_set_filename)
        gtk/gtkrc.c (gtk_rc_parse_pixmap_path_string)
	tests/testgtkrc: Require pathnames to be absolute.

	* gtk/gtkrc.c gtk/gtkiconfactory.c: Look up the full filename for
	the source when parsing, since the operation of looking up a
	pixmap from an RC file depends on the parsing context.

	* gtk/gtkrc.c (gtk_rc_context_reparse_all): Automatically
	reset RC styles on all widgets when files are reparsed.

	* tests/testgtk.c (create_rc_file)
	  gtk/gtkwindow.c (gtk_window_read_rcfiles):
	Simplify, now that gtk_rc_reparse_all() resets styles on
	all widgets itself.

	* gtk/gtkmain.c (gtk_get_default_language): Fix broken
	return value.

	* gtk/gtksettings.[ch] (gtk_settings_install_property[_ch]): Remove
	GtkSettings argument.

	* gtk/gtksettings.[ch] (gtk_settings_get_default): Rename from
	gtk_settings_get_global().

	* gtk/gtkwidget.[ch]: Add a function gtk_widget_Get_settings()
	to get the appropriate GtkSettings for a widget. (For now,
	just gets the default GtkSetttings.)

	* gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtkmenubar.c
	  gtk/gtktextview.c gtk/gtktoolbar.c: Fixes for GtkSettings
        changes.

	* gtk/gtkrc.[ch]: Add gtk_rc_get_style_by_paths() to allow
	getting a style for a path without actually having a widget.
	(Allows using a style for a subpart of a widget, for
	example.)

	* gtk/gtkrc.[ch]: Add gtk_rc_reparse_all_for_setting() to allow forcing
	the RC files to be reloaded for just one GtkSettings
	(not sure how useful this really is.)

	* gtk/gtkrc.h: Deprecate
	gtk_rc_add_widget_name/widget_class/class_style
2001-06-30 16:08:25 +00:00
..
gtk-unused.sgml s/RESIZEABLE/RESIZABLE/ 2001-06-25 23:48:51 +00:00
gtkaccelgroup.sgml Move gtk-reference files into GTK+ tree proper. 2000-09-07 18:17:06 +00:00
gtkaccellabel.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkadjustment.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkalignment.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkarg.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtkarrow.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkaspectframe.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkbbox.sgml Add documentation about GtkSizeGroup. 2001-05-18 18:28:52 +00:00
gtkbin.sgml New function 2001-05-25 03:42:40 +00:00
gtkbindings.sgml changed gtk_item_factory_dump_items() and gtk_item_factory_dump_rc() 2001-04-03 13:18:00 +00:00
gtkbox.sgml fix up some docs 2001-03-23 22:21:06 +00:00
gtkbutton.sgml fix up some docs 2001-03-23 22:21:06 +00:00
gtkcalendar.sgml Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little 2000-10-29 08:03:34 +00:00
gtkcellrenderer.sgml Applied patch from Nils Barth (bug # 51041) to replace "gint" with 2001-03-16 20:12:40 +00:00
gtkcellrendererpixbuf.sgml New function. 2000-10-30 23:21:38 +00:00
gtkcellrenderertext.sgml New function. 2000-10-30 23:21:38 +00:00
gtkcellrenderertextpixbuf.sgml New function. 2000-10-30 23:21:38 +00:00
gtkcellrenderertoggle.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkcheckbutton.sgml fix up some docs 2001-03-23 22:21:06 +00:00
gtkcheckmenuitem.sgml *** empty log message *** 2001-03-29 21:17:45 +00:00
gtkclipboard.sgml New function. 2000-10-30 23:21:38 +00:00
gtkclist.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtkcolorsel.sgml docs, fixes bug #54144 2001-05-11 17:13:44 +00:00
gtkcolorseldlg.sgml Move gtk-reference files into GTK+ tree proper. 2000-09-07 18:17:06 +00:00
gtkcombo.sgml You can't use + as a metacharacter for basic regular expressions. (This 2001-03-03 23:29:50 +00:00
gtkcontainer.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtkctree.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkcurve.sgml CVS is doing its broken pipe thing, this is more of the previous commit 2001-02-03 01:09:41 +00:00
gtkdata.sgml Delete. 2001-03-15 19:02:23 +00:00
gtkdialog.sgml Clip the retrieved image data to the screen, using a server grab to avoid 2001-06-29 01:59:02 +00:00
gtkdnd.sgml Add a special size for drag-and-drop GTK_ICON_SIZE_DND (Default to 32x32) 2001-06-25 01:51:58 +00:00
gtkdrawingarea.sgml docs, fixes bug #54144 2001-05-11 17:13:44 +00:00
gtkeditable.sgml cd to srcdir before calling gtkdoc-fixref, distribute index.sgml. 2000-11-14 16:36:20 +00:00
gtkentry.sgml add read-only "scroll_offset" property for notification when the layout 2001-06-09 00:12:00 +00:00
gtkenums.sgml Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +00:00
gtkeventbox.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkfeatures.sgml Move gtk-reference files into GTK+ tree proper. 2000-09-07 18:17:06 +00:00
gtkfilesel.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtkfixed.sgml Add the intro docs section 2001-02-04 03:11:11 +00:00
gtkfontsel.sgml New function 2001-05-25 03:42:40 +00:00
gtkfontseldlg.sgml Move gtk-reference files into GTK+ tree proper. 2000-09-07 18:17:06 +00:00
gtkframe.sgml Apply property patch from Lee Mallabone 2001-03-23 23:39:24 +00:00
gtkgamma.sgml CVS is doing its broken pipe thing, this is more of the previous commit 2001-02-03 01:09:41 +00:00
gtkgc.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkhandlebox.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkhbbox.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkhbox.sgml fixed minor error - using <em>. 1999-11-16 00:33:10 +00:00
gtkhpaned.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkhruler.sgml docs, fixes bug #54144 2001-05-11 17:13:44 +00:00
gtkhscale.sgml clamp the value to the range that was set 2001-06-05 20:07:02 +00:00
gtkhscrollbar.sgml Add documentation about GtkSizeGroup. 2001-05-18 18:28:52 +00:00
gtkhseparator.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkiconfactory.sgml Add a special size for drag-and-drop GTK_ICON_SIZE_DND (Default to 32x32) 2001-06-25 01:51:58 +00:00
gtkimage.sgml docs, fixes bug #54144 2001-05-11 17:13:44 +00:00
gtkimagemenuitem.sgml Docs fixups, and: 2001-06-15 18:25:42 +00:00
gtkimcontext.sgml Remove -DGTK_DISABLE_COMPAT add -DGTK_ENABLE_BROKEN 2001-04-17 18:12:46 +00:00
gtkimmulticontext.sgml cd to srcdir before calling gtkdoc-fixref, distribute index.sgml. 2000-11-14 16:36:20 +00:00
gtkinputdialog.sgml CVS is doing its broken pipe thing, this is more of the previous commit 2001-02-03 01:09:41 +00:00
gtkinvisible.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkitem.sgml Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little 2000-10-29 08:03:34 +00:00
gtkitemfactory.sgml use gdk_pixbuf_new_from_stream(). fixed up item factory so inlined pixbufs 2001-06-26 20:56:32 +00:00
gtklabel.sgml fix up some docs 2001-03-23 22:21:06 +00:00
gtklayout.sgml fixed a bunch of notifications, added reference counts around emissions 2001-04-01 04:05:42 +00:00
gtklist.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtklistitem.sgml Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little 2000-10-29 08:03:34 +00:00
gtkliststore.sgml fix up some docs 2001-03-23 22:21:06 +00:00
gtkmain.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkmenu.sgml some cleanups, fixed mnemonic_widget handling, added PROP_MNEMONIC_WIDGET. 2001-03-22 13:44:00 +00:00
gtkmenubar.sgml fix warning 2001-04-28 00:12:47 +00:00
gtkmenuitem.sgml docs, fixes bug #54144 2001-05-11 17:13:44 +00:00
gtkmenushell.sgml Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little 2000-10-29 08:03:34 +00:00
gtkmessagedialog.sgml Check in these docs, I seem to have written them a while ago then 2000-11-01 16:01:17 +00:00
gtkmisc.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtknotebook.sgml Fix stupid error introduced last night that was making things decidedly 2001-06-24 15:34:48 +00:00
gtkobject.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkoldeditable.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkoptionmenu.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkpacker.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtkpaned.sgml Add documentation about GtkSizeGroup. 2001-05-18 18:28:52 +00:00
gtkpixmap.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkplug.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkpreview.sgml Move gtk-reference files into GTK+ tree proper. 2000-09-07 18:17:06 +00:00
gtkprogress.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkprogressbar.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtkradiobutton.sgml Fix stupid error introduced last night that was making things decidedly 2001-06-24 15:34:48 +00:00
gtkradiomenuitem.sgml docs, fixes bug #54144 2001-05-11 17:13:44 +00:00
gtkrange.sgml add "inverted" property 2001-06-06 20:39:02 +00:00
gtkrc.sgml Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +00:00
gtkruler.sgml CVS is doing its broken pipe thing, this is more of the previous commit 2001-02-03 01:09:41 +00:00
gtkscale.sgml rename from gtk_text_iter_reorder 2001-06-05 21:53:56 +00:00
gtkscrollbar.sgml Started. 2000-01-19 20:14:49 +00:00
gtkscrolledwindow.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkselection.sgml cd to srcdir before calling gtkdoc-fixref, distribute index.sgml. 2000-11-14 16:36:20 +00:00
gtkseparator.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkseparatormenuitem.sgml Remove -DGTK_DISABLE_COMPAT add -DGTK_ENABLE_BROKEN 2001-04-17 18:12:46 +00:00
gtksettings.sgml Remove -DGTK_DISABLE_COMPAT add -DGTK_ENABLE_BROKEN 2001-04-17 18:12:46 +00:00
gtksignal.sgml docs, fixes bug #54144 2001-05-11 17:13:44 +00:00
gtksizegroup.sgml Docs fixups, and: 2001-06-15 18:25:42 +00:00
gtksocket.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkspinbutton.sgml clamp the value to the range that was set 2001-06-05 20:07:02 +00:00
gtkstatusbar.sgml Remove -DGTK_DISABLE_COMPAT add -DGTK_ENABLE_BROKEN 2001-04-17 18:12:46 +00:00
gtkstock.sgml get sizes an icon set can render without falling back to missing image 2001-05-25 20:41:46 +00:00
gtkstyle.sgml fix some shell typos 2001-05-07 15:58:47 +00:00
gtktable.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtktearoffmenuitem.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtktext.sgml bracket in #ifdef GTK_ENABLE_BROKEN. 2001-01-31 03:51:14 +00:00
gtktextbuffer.sgml docs, fixes bug #54144 2001-05-11 17:13:44 +00:00
gtktextiter.sgml Docs fixups, and: 2001-06-15 18:25:42 +00:00
gtktextmark.sgml fix up some docs 2001-03-23 22:21:06 +00:00
gtktexttag.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtktexttagtable.sgml Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little 2000-10-29 08:03:34 +00:00
gtktextview.sgml Add a special size for drag-and-drop GTK_ICON_SIZE_DND (Default to 32x32) 2001-06-25 01:51:58 +00:00
gtkthemes.sgml cd to srcdir before calling gtkdoc-fixref, distribute index.sgml. 2000-11-14 16:36:20 +00:00
gtktipsquery.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtktogglebutton.sgml Add documentation about GtkSizeGroup. 2001-05-18 18:28:52 +00:00
gtktoolbar.sgml Handle case where we need to parse the xsetting as if it were an RC file 2001-06-04 23:15:51 +00:00
gtktooltips.sgml Clip the retrieved image data to the screen, using a server grab to avoid 2001-06-29 01:59:02 +00:00
gtktree.sgml bracket in #ifdef GTK_ENABLE_BROKEN. 2001-01-31 03:51:14 +00:00
gtktreeitem.sgml Add note about GTK_ENABLE_BROKEN. 2001-04-25 16:34:09 +00:00
gtktreemodel.sgml Updates 2001-06-13 21:24:09 +00:00
gtktreemodelsimple.sgml You can't use + as a metacharacter for basic regular expressions. (This 2001-03-03 23:29:50 +00:00
gtktreemodelsort.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtktreeselection.sgml fixes to compile with G_DISABLE_COMPAT 2001-06-29 16:30:25 +00:00
gtktreestore.sgml got rid of gtk_widget_popup(), a function that bad needs to be nuked, not 2001-04-01 07:32:41 +00:00
gtktreeview.sgml CVS is doing its broken pipe thing, this is more of the previous commit 2001-02-03 01:09:41 +00:00
gtktreeviewcolumn.sgml new function for mapping a window without fooling with stacking order, but 2001-06-28 05:24:00 +00:00
gtktypeutils.sgml Handle case where we need to parse the xsetting as if it were an RC file 2001-06-04 23:15:51 +00:00
gtkvbbox.sgml Move gtk-reference files into GTK+ tree proper. 2000-09-07 18:17:06 +00:00
gtkvbox.sgml fixed minor error - using <em>. 1999-11-16 00:33:10 +00:00
gtkviewport.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkvpaned.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkvruler.sgml docs, fixes bug #54144 2001-05-11 17:13:44 +00:00
gtkvscale.sgml clamp the value to the range that was set 2001-06-05 20:07:02 +00:00
gtkvscrollbar.sgml Add documentation about GtkSizeGroup. 2001-05-18 18:28:52 +00:00
gtkvseparator.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkwidget.sgml Clip the retrieved image data to the screen, using a server grab to avoid 2001-06-29 01:59:02 +00:00
gtkwindow.sgml new function for mapping a window without fooling with stacking order, but 2001-06-28 05:24:00 +00:00