gtk3/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
gtkaccellabel.sgml
gtkadjustment.sgml
gtkalignment.sgml
gtkarg.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtkarrow.sgml
gtkaspectframe.sgml
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
gtkcellrenderer.sgml
gtkcellrendererpixbuf.sgml
gtkcellrenderertext.sgml
gtkcellrenderertextpixbuf.sgml
gtkcellrenderertoggle.sgml
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
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
gtkcombo.sgml
gtkcontainer.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtkctree.sgml
gtkcurve.sgml
gtkdata.sgml
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
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
gtkfeatures.sgml
gtkfilesel.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtkfixed.sgml
gtkfontsel.sgml New function 2001-05-25 03:42:40 +00:00
gtkfontseldlg.sgml
gtkframe.sgml Apply property patch from Lee Mallabone 2001-03-23 23:39:24 +00:00
gtkgamma.sgml
gtkgc.sgml
gtkhandlebox.sgml
gtkhbbox.sgml
gtkhbox.sgml
gtkhpaned.sgml
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
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
gtkinputdialog.sgml
gtkinvisible.sgml
gtkitem.sgml
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
gtklistitem.sgml
gtkliststore.sgml fix up some docs 2001-03-23 22:21:06 +00:00
gtkmain.sgml
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
gtkmessagedialog.sgml
gtkmisc.sgml
gtknotebook.sgml Fix stupid error introduced last night that was making things decidedly 2001-06-24 15:34:48 +00:00
gtkobject.sgml
gtkoldeditable.sgml
gtkoptionmenu.sgml
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
gtkplug.sgml
gtkpreview.sgml
gtkprogress.sgml
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
gtkscale.sgml rename from gtk_text_iter_reorder 2001-06-05 21:53:56 +00:00
gtkscrollbar.sgml
gtkscrolledwindow.sgml
gtkselection.sgml
gtkseparator.sgml
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
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
gtktext.sgml
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
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
gtktipsquery.sgml
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
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
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
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
gtkvbox.sgml
gtkviewport.sgml
gtkvpaned.sgml
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
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