Commit Graph

628 Commits

Author SHA1 Message Date
Federico Mena Quintero
e28adbacc7 Added an .gtkrc-2.0 example of how to actually change the key bindings.
2004-04-29  Federico Mena Quintero  <federico@ximian.com>

	* gtk/tmpl/gtkfilechooser.sgml: Added an .gtkrc-2.0 example of how
	to actually change the key bindings.
2004-04-29 21:13:12 +00:00
Matthias Clasen
34265f4f09 Remove excessive casts from examples. (#139387, Olexiy Avramchenko)
2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkdialog.sgml:
	* gtk/tmpl/gtkeditable.sgml:
	* gtk/tmpl/gtkfilesel.sgml:
	* gtk/tmpl/gtkmain.sgml:
	* gtk/tmpl/gtkmenu.sgml:
	* gtk/tmpl/gtkmessagedialog.sgml:
	* gtk/tmpl/gtktogglebutton.sgml: Remove excessive
	casts from examples.  (#139387, Olexiy Avramchenko)
2004-04-23 19:48:08 +00:00
Matthias Clasen
5ba2af8b10 Fix an example. (#138966, Tim-Philipp Müller)
2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/migrating-GtkAction.sgml: Fix an example.
	(#138966, Tim-Philipp Müller)
2004-04-23 18:04:38 +00:00
Matthias Clasen
f6fbb36d3b Document the only_if_exists argument to gdk_atom_intern() as ignored.
2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* gdk/tmpl/properties.sgml: Document the only_if_exists argument
	to gdk_atom_intern() as ignored.
2004-04-23 15:44:04 +00:00
Matthias Clasen
4d74836ad0 Add GtkFileChooserEmbed to a Private section, so gtk-doc can strip it out
2004-04-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add GtkFileChooserEmbed to a
	Private section, so gtk-doc can strip it out of the hierarchy.
2004-04-21 14:13:34 +00:00
Federico Mena Quintero
df84bd5f57 Added a section explaining character encoding for filenames.
2004-04-15  Federico Mena Quintero  <federico@ximian.com>

	* gtk/tmpl/gtkfilechooser.sgml: Added a section explaining
	character encoding for filenames.
2004-04-16 00:45:21 +00:00
Matthias Clasen
157943b584 Don't crash if a node has no name. (start_element_handler): Accept
2004-04-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (get_child_node): Don't crash if a node
	has no name.
	(start_element_handler): Accept separators without unique
	names.  (#133302, Anders Carlsson)

	* gtk/gtkuimanager.c (node_remove_ui_reference): Don't leak
	list nodes.  (#138862, Morten Welinder)
2004-04-13 20:06:12 +00:00
Federico Mena Quintero
659ce659ad Typo fix.
2004-04-13  Federico Mena Quintero  <federico@ximian.com>

	* gtk/tmpl/gtkfilechooser.sgml: Typo fix.
2004-04-13 17:28:50 +00:00
Federico Mena Quintero
fc586da5a8 Added documentation to all the signals.
2004-04-12  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Added
	documentation to all the signals.
2004-04-13 01:11:34 +00:00
Federico Mena Quintero
544dfb8169 Added a section about using known response codes for "accept"-type
2004-03-26  Federico Mena Quintero  <federico@ximian.com>

	* gtk/tmpl/gtkfilechooserdialog.sgml: Added a section about using
	known response codes for "accept"-type buttons, rather than custom
	responses.  This is related to bugs #136237 and #138263.
2004-03-27 00:54:10 +00:00
Owen Taylor
221843e95e === Released 2.4.0 ===
Tue Mar 16 13:29:58 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.4.0 ===

        * configure.in: Version 2.4.0, interface age 0;
        require glib-2.4.0, pango-1.4.0.

        * NEWS: Updates

        * README.in: Updates
2004-03-16 20:22:55 +00:00
Matthias Clasen
c397238109 Remove conflict markers. 2004-03-16 00:03:59 +00:00
Owen Taylor
fa3b69de78 Fix typo 2004-03-15 03:33:26 +00:00
Owen Taylor
00c4ba6e7e Document #GtkTreeViewSearchEqualFunc and its backwards return value.
Sun Mar 14 22:27:59 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/tmpl/gtktreeview.sgml (linkend): Document
        #GtkTreeViewSearchEqualFunc and its backwards return
        value.
2004-03-15 03:31:58 +00:00
Matthias Clasen
f2e252a2c2 Add some docs. 2004-03-15 01:32:20 +00:00
Owen Taylor
49476b24aa === Released 2.3.6 ===
Tue Mar  9 09:57:25 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.6 ===

        * configure.in: Version 2.3.6, interface age 0.

        * NEWS: Updates
2004-03-09 16:32:26 +00:00
Matthias Clasen
993c96ed62 Fix example of XML ui description. 2004-03-08 23:49:16 +00:00
Owen Taylor
4cbbc3e713 Fix link to gettext. (Henning Nielsen Lund)
Mon Mar  8 08:26:52 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/building.sgml: Fix link to gettext. (Henning Nielsen Lund)
2004-03-08 13:29:29 +00:00
Matthias Clasen
d8f5db0fe3 Document that [xy]thickness can be specified in a style.
Sat Mar  6 23:50:37 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkrc.sgml: Document that [xy]thickness can
	be specified in a style.
2004-03-06 22:46:44 +00:00
Matthias Clasen
312f668efc doc updates. 2004-03-05 22:54:14 +00:00
Matthias Clasen
1835b5fd1e Remove "internally-used" which sounds like "private".
Fri Mar  5 23:45:06 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkinvisible.sgml: Remove "internally-used"
	which sounds like "private".

Tue Mar  2 23:51:24 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkentrycompletion.sgml: Add a bit about actions.
2004-03-05 22:41:53 +00:00
Owen Taylor
30121c9a33 === Released 2.3.5 ===
Tue Mar  2 17:06:05 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.5 ===

        * NEWS: Updates

        * configure.in: Version 2.3.5, interface age 0.
        Require glib-2.3.5, pango-1.3.5.
2004-03-02 22:57:40 +00:00
Owen Taylor
4ea9813d23 Add gtk_entry_set_alignment() to allow right-aligned entries and a
Sun Feb 29 22:01:49 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.[ch]: Add gtk_entry_set_alignment()
        to allow right-aligned entries and a "xalign"
        property. (#59799, patch from Egon Andersen and
        Steffen Gutmann)

        * gtk/gtkmisc.c (gtk_misc_class_init): Use improved
        xalign property description here too.

        * tests/testtext.c: UNDERLINE_ERROR test addition
        from Nicolas Settons' patch.
2004-03-01 03:30:27 +00:00
Matthias Clasen
91b42db3ff Forgotten ChangeLog. 2004-02-28 00:10:21 +00:00
Matthias Clasen
626fadf3f8 Include migrating-GtkComboBox.sgml.
Sat Feb 28 01:11:53 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-docs.sgml: Include migrating-GtkComboBox.sgml.

Sat Feb 28 01:11:34 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/Makefile.am (content_files): Add migrating-GtkComboBox.sgml.

Fri Feb 27 22:54:01 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-docs.sgml: Sort deprecated widgets alphabetically.
2004-02-28 00:09:48 +00:00
Federico Mena Quintero
c5fe469c82 Put explicit <link> elements instead of #Symbol, because the latter
2004-02-27  Federico Mena Quintero  <federico@ximian.com>

	* gtk/migrating-GtkAction.sgml: Put explicit <link> elements
	instead of #Symbol, because the latter doesn't get substituted by
	gtk-doc outside of template files.  Thanks to Matthias for
	pointing this out.

	* gtk/migrating-GtkFileChooser.sgml: Likewise.

	* gtk/gtk-sections.txt: Removed gtk_file_chooser_{set,get}_folder_mode.
2004-02-27 22:06:40 +00:00
Matthias Clasen
9ab57a8f29 Add some more deprecation notes. Suppress link in example.
Fri Feb 27 22:51:35 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkoptionmenu.sgml:
	* gtk/tmpl/gtkcombo.sgml: Add some more deprecation notes.
	* gtk/tmpl/gtkfilechooser.sgml: Suppress link in example.
2004-02-27 21:48:00 +00:00
Federico Mena Quintero
7ba7ec245d Inform about gtk_file_chooser_set_action().
2004-02-27  Federico Mena Quintero  <federico@ximian.com>

	* gtk/migrating-GtkFileChooser.sgml: Inform about
	gtk_file_chooser_set_action().
2004-02-27 19:31:01 +00:00
Matthias Clasen
1637a9c55b New convenience API to construct simple text combos, implemented by Damon
Thu Feb 26 22:20:44 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcomboboxentry.h:
	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new_text): New
	convenience API to construct simple text combos, implemented by
	Damon Chaplin.

	* tests/testcombo.c: Use gtk_combo_box_entry_new_text.
2004-02-26 21:40:09 +00:00
Matthias Clasen
af02a5ccd3 Doc trivia. 2004-02-26 20:46:30 +00:00
Owen Taylor
e16a042908 === Released 2.3.4 ===
Tue Feb 24 19:12:07 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.4 ===

        * configure.in: Bump version to 2.3.4, fix broken
        gtk_binary_age value by copying the GLib logic
        to automatically set it to the right values.
2004-02-25 00:45:35 +00:00
Federico Mena Quintero
f65e2a2a1e Added a section about usage when you want to manage the expanded widgets
2004-02-24  Federico Mena Quintero  <federico@ximian.com>

	* gtk/tmpl/gtkexpander.sgml: Added a section about usage when you
	want to manage the expanded widgets yourself.
2004-02-24 23:09:16 +00:00
Owen Taylor
1a48dcb14f === Released 2.3.3 ===
Tue Feb 24 14:45:03 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.3 ===

        * configure.in: Version 2.3.3, interface age 0.

        * NEWS: Finish updates for 2.3.3.
2004-02-24 22:25:41 +00:00
Matthias Clasen
b337db3a54 New convenience functions analogous to similar API on GtkRadioButton.
Thu Feb 19 00:09:35 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkradiomenuitem.h:
	* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_new_from_widget):
	(gtk_radio_menu_item_new_with_label_from_widget):
	(gtk_radio_menu_item_new_with_mnemonic_from_widget): New
	convenience functions analogous to similar API on GtkRadioButton.
	(#51700, Vitaly Tishkov, patch by Soeren Sandmann)
2004-02-18 23:08:45 +00:00
Federico Mena Quintero
c10e045cef Add a missing semicolon to an entity.
2004-02-17  Federico Mena Quintero  <federico@ximian.com>

	* gtk/migrating-checklist.sgml: Add a missing semicolon to an
	entity.
2004-02-18 02:54:11 +00:00
Federico Mena Quintero
27efde9806 Umm, I'm on crack. Use gtk_accelerator_get_default_mod_mask().
2004-02-16  Federico Mena Quintero  <federico@ximian.com>

	* gtk/migrating-checklist.sgml: Umm, I'm on crack.  Use
	gtk_accelerator_get_default_mod_mask().

	* gdk/tmpl/windows.sgml: Removed the incorrect description from
	GDK_MODIFIER_MASK.
2004-02-16 19:55:18 +00:00
Federico Mena Quintero
b3115437dd Added an example of how to use GDK_MODIFIER_MASK to test for modifier keys
2004-02-16  Federico Mena Quintero  <federico@ximian.com>

	* gdk/tmpl/windows.sgml: Added an example of how to use
	GDK_MODIFIER_MASK to test for modifier keys correctly.

	* gtk/migrating-checklist.sgml: Likewise.
2004-02-16 19:00:16 +00:00
Federico Mena Quintero
9139e54dd3 Added an example of how to use GDK_MODIFIER_MASK to test for modifier keys
2004-02-16  Federico Mena Quintero  <federico@ximian.com>

	* gdk/tmpl/windows.sgml: Added an example of how to use
	GDK_MODIFIER_MASK to test for modifier keys correctly.
2004-02-16 18:12:43 +00:00
Matthias Clasen
be5d74ba4d Add short descriptions.
Sun Feb 15 23:51:08 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkcomboboxentry.sgml:
	* gtk/tmpl/gtkcombobox.sgml: Add short descriptions.
2004-02-15 22:47:41 +00:00
Matthias Clasen
d7042395c4 Add deprecation notes pointing people to GtkComboBox. 2004-02-15 21:06:53 +00:00
Matthias Clasen
6993105c84 Document the tree DND API.
Sun Feb 15 02:49:45 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreednd.c:
	* gtk/gtktreeview.c: Document the tree DND API.

	* gtk/gtktreeview.c (gtk_tree_view_unset_rows_drag_source):
	Call gtk_drag_source_unset().
2004-02-15 01:47:05 +00:00
Matthias Clasen
7743376798 Remove duplicated section for file gtktreednd.sgml.
Sat Feb 14 03:09:49 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-sections.txt: Remove duplicated section for
	file gtktreednd.sgml.
2004-02-14 02:06:36 +00:00
Matthias Clasen
f6a32cf0d1 Fix for #104811, Padraig O'Briain:
Fri Feb 13 00:54:59 2004  Matthias Clasen  <maclas@gmx.de>

	Fix for #104811, Padraig O'Briain:

	* gtk/gtkscale.h:
	* gtk/gtkscale.c (_gtk_scale_clear_layout):
	* gtk/gtkscale.c (gtk_scale_get_layout_offsets):
	* gtk/gtkscale.c (gtk_scale_get_layout): New functions to determine the
	text and its position from a GtkScale, to make it more accessible.
	* gtk/gtkhscale.c (gtk_hscale_get_layout_offsets):
	* gtk/gtkvscale.c (gtk_vscale_get_layout_offsets): Implementations of the
	new GtkScale vfunc.
2004-02-12 23:58:46 +00:00
Matthias Clasen
7b1d024a0e New function to improve the accessibility of tooltips. (#114851, Padraig
Thu Feb 12 23:55:08 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktooltips.h:
	* gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window): New
	function to improve the accessibility of tooltips.  (#114851,
	Padraig O'Briain)
2004-02-12 22:57:56 +00:00
Matthias Clasen
78b3f2d576 Make these public and add docs.
Thu Feb 12 23:16:04 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_popup):
	* gtk/gtkcombobox.c (gtk_combo_box_popdown): Make these public and
	add docs.
2004-02-12 22:27:50 +00:00
Matthias Clasen
64aa39cd4f Correct the docs.
Thu Feb 12 02:22:02 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func):
	Correct the docs.

Thu Feb 12 02:00:53 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtktreemodelfilter.sgml:
	* gtk/tmpl/gtkentrycompletion.sgml:
	* gtk/tmpl/gtkcelllayout.sgml: Additions.

Thu Feb 12 01:27:02 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-sections.txt: Updates.

Thu Feb 12 01:26:42 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/Makefile.am (IGNORE_HFILES): Add some private headers.
2004-02-12 01:52:26 +00:00
Matthias Clasen
c03700734e Add change notification for GtkAccelMap, by on-demand instantiating a
Sat Feb  7 00:06:44 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
	by on-demand instantiating a singleton object with a "changed"
	signal.

	* gtk/gtkmarshalers.list (VOID:STRING,UINT,FLAGS): Add marshaller
	for GtkAccelMap::changed.
2004-02-06 23:37:00 +00:00
Matthias Clasen
3a4758e966 Remove misleading documentation for gtk_object_set_user_data(). (#101614)
Sun Feb  1 00:37:44 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkobject.sgml: Remove misleading documentation for
	gtk_object_set_user_data().  (#101614)
2004-01-31 23:35:21 +00:00
Matthias Clasen
cf0dee3fe1 Improve the documentation of event_mask for gdk_pointer_grab. (#132223,
Sun Feb  1 00:30:53 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk/tmpl/general.sgml: Improve the documentation of event_mask for
	gdk_pointer_grab.  (#132223, Pascal Haakmat)
2004-01-31 23:28:31 +00:00
Matthias Clasen
bdca6b33b8 Allow NULL for strings to clear the list. (#105386, Marco Pesenti Gritti)
Fri Jan 30 00:13:46 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombo.c (gtk_combo_set_popdown_strings): Allow NULL
	for strings to clear the list.  (#105386, Marco Pesenti Gritti)
2004-01-29 23:26:45 +00:00
Matthias Clasen
a76458ace6 Remove unfinished sentence, until jrb finds time to write a real
Wed Jan 28 22:51:41 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtktreeviewcolumn.sgml: Remove unfinished sentence, until
	jrb finds time to write a real description.
2004-01-28 21:49:25 +00:00
Matthias Clasen
f7992f3caa Fix a header name misspelling. (#123589, Jan Huelsbergen)
Wed Jan 28 21:46:55 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk/tmpl/event_structs.sgml: Fix a header name misspelling.
	(#123589, Jan Huelsbergen)
2004-01-28 20:44:40 +00:00
Federico Mena Quintero
b930d25be2 Note that a widget must be focusable for the menu keybindings to work.
2004-01-23  Federico Mena Quintero  <federico@ximian.com>

	* gtk/migrating-checklist.sgml: Note that a widget must be
	focusable for the menu keybindings to work.

2004-01-22  Federico Mena Quintero  <federico@ximian.com>

	* gtk/migrating-checklist.sgml: Mention when it is useful to use
	GdkEventExpose.region rather than GdkEventExpose.area.
2004-01-23 16:43:27 +00:00
Federico Mena Quintero
fa4e057e98 Point to GtkEntry as an example of a widget that uses a custom function to
2004-01-22  Federico Mena Quintero  <federico@ximian.com>

	* gtk/migrating-checklist.sgml: Point to GtkEntry as an example of
	a widget that uses a custom function to position its popup menu.
2004-01-22 20:44:38 +00:00
Federico Mena Quintero
51116ad493 New chapter with a "Migration Checklist" of things people need to do to be
2004-01-22  Federico Mena Quintero  <federico@ximian.com>

	* gtk/migrating-checklist.sgml: New chapter with a "Migration
	Checklist" of things people need to do to be good citizens in the
	GTK+ world.  This is mainly a way to tell people about interesting
	APIs that they should use instead of hand-hacked approaches.

	* gtk/gtk-docs.sgml: Added migrating-checklist.sgml.

	* gtk/Makefile.am (content_files): Likewise.
2004-01-22 20:17:34 +00:00
Jonathan Blandford
7fed66df42 new introduction section.
Thu Jan 22 01:46:45 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/tmpl/gtktreemodelsort.sgml: new introduction section.
2004-01-22 06:48:20 +00:00
Federico Mena Quintero
eafbfd6367 Added gtk_paned_get_child[12].
2004-01-20  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtk-sections.txt: Added gtk_paned_get_child[12].
2004-01-20 23:04:13 +00:00
Matthias Clasen
207b590ce9 Move the old chapters about 1.2 and 2.0 changes to Federicos new
Thu Jan 15 23:54:46 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-docs.sgml: Move the old chapters about 1.2 and 2.0
	changes to Federicos new 'migrating' part.
2004-01-15 22:54:18 +00:00
Matthias Clasen
f2bb20cc15 New function to obtain a list of toplevel widgets constructed by the ui
Fri Jan  9 00:34:57 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkuimanager.h:
	* gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): New function to
	obtain a list of toplevel widgets constructed by the ui manager.

	* gtk/gtkuimanager.h (GtkUIManagerItemType): Change to flags, so that
	the values can be combined for gtk_ui_manager_get_toplevels().

	* tests/testmerge.c: Add a "Dump toplevels" button to test
	gtk_ui_manager_get_toplevels().
2004-01-08 23:37:34 +00:00
Matthias Clasen
512b53765f Fix link in deprecation note.
Thu Jan  8 00:14:02 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkmain.sgml (gtk_input_add_full): Fix link in deprecation
	note.
2004-01-07 23:12:32 +00:00
Matthias Clasen
a11e45a1eb Add creation functions for actions.
Wed Jan  7 22:20:20 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkaction.h:
	* gtk/gtkaction.c (gtk_action_new):
	* gtk/gtktoggleaction.h:
	* gtk/gtktoggleaction.c (gtk_toggle_action_new):
	* gtk/gtkradioaction.h:
	* gtk/gtkradioaction.c (gtk_radio_action_new): Add creation
	functions for actions.

	* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full):
	(gtk_action_group_add_toggle_actions_full):
	(gtk_action_group_add_radio_actions_full): and use the
	new functions here.  (#125322, Patch by Jeff Frank)
2004-01-07 21:54:33 +00:00
Federico Mena Quintero
9d6ed04dff Added a section on how to compute pixel offsets for
2004-01-06  Federico Mena Quintero  <federico@ximian.com>

* gdk-pixbuf/tmpl/gdk-pixbuf.sgml: Added a section on how to
compute pixel offsets for gdk_pixbuf_get_pixels().
2004-01-07 03:16:10 +00:00
Matthias Clasen
638d57cd7e Document GdkPixbufSaveFunc.
Wed Jan  7 01:56:33 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf/tmpl/file-saving.sgml: Document GdkPixbufSaveFunc.

	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufSaveFunc,
	gdk_pixbuf_save_to_callback, gdk_pixbuf_save_to_callbackv,
	gdk_pixbuf_save_to_buffer and gdk_pixbuf_save_to_bufferv.
2004-01-07 01:58:40 +00:00
Matthias Clasen
5b26e695a1 Make it possible to call gdk_pixbuf_loader_set_size (loader, 0, 0) by
Wed Jan  7 01:17:36 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_size_func):
	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_set_size):
	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_init): Make it possible
	to call gdk_pixbuf_loader_set_size (loader, 0, 0) by changing
	the initial values of priv->width/height to -1.

	* io-tiff.c (tiff_image_parse):
	* io-ras.c (RAS2State):
	* io-pnm.c (gdk_pixbuf__pnm_image_load_increment):
	* io-pcx.c (gdk_pixbuf__pcx_load_increment):
	* io-jpeg.c (gdk_pixbuf__jpeg_image_load_increment):
	* io-png.c (png_info_callback):
	* io-ico.c (DecodeHeader):
	* io-bmp.c (DecodeHeader): Call size_func once the size is known,
	even if the module can't make use of the scaling information. If
	size_func returns 0, don't allocate a pixbuf and return, if
	necessary with an error.

	* gdk-pixbuf.h:
	* gdk-pixbuf-io.c (gdk_pixbuf_get_file_info): A new function
	to determine the type and size of an image file without loading
	it completely.  (#53725)
2004-01-07 00:26:58 +00:00
Matthias Clasen
a5c30a3aca Add a way to lock individual accelerator paths. (#73207, reported by Havoc
Mon Dec 29 01:36:22 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkaccelmap.[hc]: (gtk_accel_map_lock_path,
	gtk_accel_map_unlock_path): Add a way to lock individual accelerator
	paths.  (#73207, reported by Havoc Pennington)
2003-12-29 00:38:50 +00:00
Matthias Clasen
5a76c23600 Add GtkClipboardTargetReceivedFunc, gtk_clipboard_request_targets() and
Wed Dec 24 01:12:53 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkclipboard.[hc]: Add GtkClipboardTargetReceivedFunc,
	gtk_clipboard_request_targets() and
	gtk_clipboard_wait_for_targets().  (#101774, Dom Lachowicz)
2003-12-24 00:14:15 +00:00
Matthias Clasen
b21fe1745c New function to emit the "cancel" signal on a menu shell.
Sun Dec 21 01:54:40 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkmenushell.h:
	* gtk/gtkmenushell.c (gtk_menu_shell_cancel): New function
	to emit the "cancel" signal on a menu shell.

	* gtk/gtkmenu.c (gtk_menu_key_press):
	* gtk/gtkoptionmenu.c (gtk_option_menu_remove_menu):
	* gtk/gtkmenubar.c (_gtk_menu_bar_cycle_focus): Use the
	new function instead of directly emitting the
	signal.  (#81803, Owen Taylor)
2003-12-21 00:59:46 +00:00
Matthias Clasen
1df3e42fd0 Add gtk_message_dialog_set_markup
Thu Dec 18 01:24:35 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-sections.txt: Add gtk_message_dialog_set_markup
2003-12-18 00:23:21 +00:00
Matthias Clasen
fbb0ba1a3b Do not interpret distant clicks as double-clicks (#116541, Bernhard
Tue Dec 16 01:46:46 2003  Matthias Clasen  <maclas@gmx.de>

	Do not interpret distant clicks as double-clicks  (#116541,
	Bernhard Walle):

	* gdk/gdkdisplay.h (struct GdkDisplay): Add new fields
	double_click_distance, button_x and button_y.
	* gdk/gdkdisplay.c (gdk_display_init): Initialize the new fields.

	* gdk/gdkdisplay.h:
	* gdk/gdkevents.c (gdk_display_set_double_click_distance):
	New function to set the double click distance on a display.

	* gdk/gdkevents.c: Take double click distance into account
	when generating single, double or triple clicks.

	* gtk/gtksettings.c: Add new setting "gtk-double-click-distance".

	* gdk/x11/gdkevents-x11.c: Add the XSetting
	"Net/DoubleClickDistance" and map it to "gtk-double-click-distance".
2003-12-16 00:56:48 +00:00
Matthias Clasen
e78f5232e6 Add gtk_button_[sg]et_alignment. Mon Dec 15 01:03:08 2003 Matthias Clasen
Mon Dec 15 01:03:08 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-sections.txt: Add gtk_button_[sg]et_alignment.
Mon Dec 15 01:03:08 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-sections.txt: Add gtk_button_[sg]et_alignment.
2003-12-15 00:02:00 +00:00
Matthias Clasen
1014c413c5 Rename from _gdk_x11_register_event_type(), added API docs.
Sun Dec 14 01:28:23 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk/x11/gdkprivate-x11.h:
	* gdk/x11/gdkx.h:
	* gdk/x11/gdkevents-x11.c (gdk_x11_register_standard_event_type):
	Rename from _gdk_x11_register_event_type(), added API docs.
	* gdk/x11/gdkinput-x11.c (_gdk_input_common_init):
	* gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init): Adjust
	all callers.  (#121471, Bill Haneman)
2003-12-14 00:28:57 +00:00
Matthias Clasen
f83b5f37c9 Add stock_dialog_authentication_48.png. (#129255, Olivier Andrieu)
Sat Dec 13 22:37:46 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/Makefile.am (HTML_IMAGES): Add
	stock_dialog_authentication_48.png.  (#129255, Olivier Andrieu)
2003-12-13 21:37:32 +00:00
Matthias Clasen
5d8f0a69c4 Documentation updates. 2003-12-11 23:52:59 +00:00
Matthias Clasen
44c206420a Move the documentation for signals inline, to get proper parameter
Thu Dec 11 01:57:05 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): Move
	the documentation for signals inline, to get proper parameter
	documentation.  (#128977)
2003-12-11 00:57:20 +00:00
Matthias Clasen
5fb61f3075 Changes to allow "no input" windows (#64613):
Thu Dec 11 00:35:12 2003  Matthias Clasen  <maclas@gmx.de>

	Changes to allow "no input" windows (#64613):

	* gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
	field accept_focus.

	* gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
	set it.

	* gtk/gtkwindow.[hc]: Add a boolean property "accept_focus"
	and gtk_window_get_focus() and gtk_window_set_focus().

	* gdk/win32/gdkwindow-win32.c (gdk_window_new):
	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_new):
	Initialize the accept_focus field to TRUE.

	* gdk/win32/gdkwindow-win32.c (gdk_window_set_accept_focus):
	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_accept_focus):
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_accept_focus):
	Implementations for the various backends. The Win32 and linux-fb
	implementations set the accept_focus field, but don't use it yet
	to actually implement noinput windows. The X implementation updates
	the WM_HINTS to select the globally active input model (see the
	ICCCM) if accept_focus is FALSE.

	* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Ignore the
	WM_TAKE_FOCUS message if accept_focus is FALSE.
2003-12-10 23:58:23 +00:00
Matthias Clasen
3f6441ea3a Improve the GDK API for dealing with group leaders (#119375):
Wed Dec 10 00:06:24 2003  Matthias Clasen  <maclas@gmx.de>

	Improve the GDK API for dealing with group leaders (#119375):

	* gdk/gdkwindow.h:
	* gdk/x11/gdkwindow-x11.c (gdk_window_get_group): New function to
	get the group leader of a toplevel window as a GdkWindow.

	* gdk/gdkdisplay.h:
	* gdk/x11/gdkdisplay-x11.c (gdk_display_get_default_group): New
	function to get the default group leader as a GdkWindow.

	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a field for
	the GdkWindow of the default group leader.

	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Construct the GdkWindow
	for the default group leader.
2003-12-09 23:12:53 +00:00
Federico Mena Quintero
94dbe0c487 Recommitting changes that were moved aside to tag GTK_2_3_1
2003-12-08  Federico Mena Quintero  <federico@ximian.com>

        * gtk/migrating-GtkAction.sgml: New chapter about how to migrate
        from gnome-ui/bonobo-ui/etc. to GtkAction.

        * gtk/gtk-docs.sgml: Integrated the above.

        * gtk/Makefile.am (content_files): Added migrating-GtkAction.sgml.
2003-12-08 23:22:24 +00:00
Owen Taylor
ad11e10be7 Add xdgmime directory, gtkfilesystemwin32.
Mon Dec  8 12:47:01 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/Makefile.am (IGNORE_HFILES): Add xdgmime directory,
        gtkfilesystemwin32.

        * gtk/gtk-sections.txt: Some updates.
2003-12-08 22:56:52 +00:00
Federico Mena Quintero
4feada36e9 New chapter about how to migrate from gnome-ui/bonobo-ui/etc. to
2003-12-08  Federico Mena Quintero  <federico@ximian.com>

	* gtk/migrating-GtkAction.sgml: New chapter about how to migrate
	from gnome-ui/bonobo-ui/etc. to GtkAction.

	* gtk/gtk-docs.sgml: Integrated the above.

	* gtk/Makefile.am (content_files): Added migrating-GtkAction.sgml.
2003-12-08 22:28:27 +00:00
Matthias Clasen
94511bb111 Add a missing comma.
Sun Nov 23 21:00:33 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/tree_widget.sgml: Add a missing comma.
2003-11-23 20:00:25 +00:00
Matthias Clasen
01780084d5 Remove leftover documentation of the filter functionality that got removed
Fri Nov 21 00:09:36 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkfontsel.sgml:
	* gtk/tmpl/gtkfontseldlg.sgml: Remove leftover documentation of
	the filter functionality that got removed long ago.
2003-11-20 23:10:05 +00:00
Federico Mena Quintero
5c243e9be8 Added sections section about generating previews and including extra
2003-11-18  Federico Mena Quintero  <federico@ximian.com>

	* gtk/tmpl/gtkfilechooser.sgml: Added sections section about
	generating previews and including extra widgets.

	* gtk/gtk-docs.sgml: Added a part about migrating old code to new
	widgets.

	* gtk/migrating-GtkFileChooser.sgml: New file.

	* gtk/Makefile.am (content_files): Added
	migrating-GtkFileChooser.sgml.
2003-11-18 22:50:26 +00:00
Matthias Clasen
d3b444a4c5 Fix for #119555, Peter Zelesny:
Tue Nov 18 00:12:55 2003  Matthias Clasen  <maclas@gmx.de>

	Fix for #119555, Peter Zelesny:

	* gdk/gdkdrawable.h: Declare gdk_drawable_copy_to_image.
	* gdk/gdkdraw.c (gdk_drawable_copy_to_image): Make public
	by removing the _ prefix.
	* gdk/gdkdraw.c, gdk/gdkpixbuf-drawable.c, gdk/gdkpixmap.c,
	gdk/gdkwindow.c: Adjust all callers.
2003-11-17 23:16:49 +00:00
Matthias Clasen
03522ef802 Add gtk_combo_box_new_with_model, gtk_combo_box_set_model.
Mon Nov 17 23:29:21 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-sections.txt: Add gtk_combo_box_new_with_model,
	gtk_combo_box_set_model.
2003-11-17 22:29:20 +00:00
Matthias Clasen
f7357a7007 Fix parameter name mismatches which confuse gtk-doc.
Sun Nov 16 00:35:29 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkfilechooser.[hc]:
	* gtk/gtkentrycompletion.h: Fix parameter name mismatches which
	confuse gtk-doc.

Sun Nov 16 00:41:48 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-sections.txt: Remove gtk_tool_item_[sg]et_pack_end.

Sun Nov 16 00:32:18 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-sections.txt: Move GtkFileChooser out of the
	private section, in order to get the autogenerated docs
	on hierarchy, signals, properties, etc.
2003-11-15 23:44:33 +00:00
Matthias Clasen
41ee5267cb Check that the mask is NULL or a string of the same length consisting
Sat Nov 15 00:26:19 2003  Matthias Clasen  <maclas@gmx.de>

	* queryloaders.c (loader_sanity_check): Check that the mask
	is NULL or a string of the same length consisting entirely of
	' ', '!', 'x', 'z', 'n'.
2003-11-14 23:28:01 +00:00
Matthias Clasen
e71bcc8487 Changes to improve menu positioning on Xinerama (#108328):
Wed Nov 12 21:40:10 2003  Matthias Clasen  <maclas@gmx.de>

	Changes to improve menu positioning on Xinerama (#108328):

	* gtk/gtkmenu.c (struct _GtkMenuPrivate): Add a menu_num field
	to store the monitor on which the menu is to be positioned.

	* gtk/gtkmenu.[hc] (gtk_menu_position): Store the monitor number
	in the GtkMenuPrivate struct and fetch the monitor geometry after
	calling the position_func, in case it has been changed.

	* gtk/gtkmenu.c (gtk_menu_set_monitor): New function
	to be used in GtkMenuPositionFunc implementations for setting
	the monitor_num field in GtkMenuPrivate.

	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Call
	gtk_menu_set_monitor.
2003-11-12 20:53:03 +00:00
Soeren Sandmann
356df7f650 Make this function take an index and a GtkToolItem.
Thu Oct 23 21:55:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make
	this function take an index and a GtkToolItem.

	* tests/testtoolbar.c (main): Make "Show Arrow" default to
	true. Make one of the separators !draw and expand.
	Update for new highlight_drop_location() API.

	* gtk/gtktoolitem.[ch]: Remove "pack_end" property

	* gtk/gtktoolbar.h: Formatting fixes.

	* gtk/gtktoolbar.c: Remove "pack_end" child property. Allow
	separator tool items to expand.
	(logical_to_physical, physical_to_logical): Fix off-by-one errors
	(Fix #125472, Marco Pesenti Gritti)

	* gtk/gtkseparatortoolitem.[ch]: Add new "draw" property.
	(gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also
	return FALSE, not TRUE.
	(gtk_separator_too_item_{set|get}_property,
	(gtk_separator_tool_item_{set|get}_draw): new functions
2003-10-25 19:58:51 +00:00
Owen Taylor
3a7a64aa46 === Released 2.3.0 ===
Fri Oct 24 16:54:04 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.0 ===

        * configure.in: Remove a stray comma.

        * README.in: Fix a few notes about Xft 1 and pango-1.0.

        * NEWS: Finish updates for 2.3.0.

        * po/Makefile.in.in: Update to latest GLib version.
2003-10-24 22:16:07 +00:00
Federico Mena Quintero
8d7d50cb7f Added the text for the initial section, and descriptions for the signals
2003-10-23  Federico Mena Quintero  <federico@ximian.com>

	* gtk/tmpl/gtkfilechooser.sgml: Added the text for the initial
	section, and descriptions for the signals and enumerations.

	* gtk/tmpl/gtkfilechooserdialog.sgml: Added the text for the
	initial section, and a short example.

	* gtk/tmpl/gtkfilechooserwidget.sgml: Added the text for the
	initial section.
2003-10-23 22:59:34 +00:00
Matthias Clasen
588f16f1e6 Add short descriptions.
Fri Oct 24 00:25:07 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkfilefilter.sgml:
	* gtk/tmpl/gtkfilechooser.sgml:
	* gtk/tmpl/gtkfilechooserwidget.sgml:
	* gtk/tmpl/gtkfilechooserdialog.sgml: Add short descriptions.
2003-10-23 22:26:39 +00:00
Matthias Clasen
4200df5bdb Move GtkCombo and GtkOptionMenu to the "Deprecated" chapter. Add
Thu Oct 23 22:41:02 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-docs.sgml: Move GtkCombo and GtkOptionMenu to
	the "Deprecated" chapter. Add GtkFileChooser, GtkFileChooserDialog,
	GtkFileChooseWidget and GtkFileFilter.

	* gtk/gtkfilefilter.c (gtk_file_filter_new): Fix doc markup.
2003-10-23 20:44:13 +00:00
Federico Mena Quintero
e577ee85c3 Added gtk_file_chooser_get_type, gtk_file_chooser_dialog_get_type,
2003-10-23  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtk.types: Added gtk_file_chooser_get_type,
	gtk_file_chooser_dialog_get_type,
	gtk_file_chooser_widget_get_type, gtk_file_filter_get_type.

	* gtk/gtk-sections.txt: Added GtkFileChooser,
	GtkFileChooserWidget, GtkFileChooserDialog, GtkFileFilter.

	* gtk/Makefile.am (IGNORE_HFILES): Added gtkcellrendererseptext.h,
	gtkfilechooserdefault.h, gtkfilechooserentry.h,
	gtkfilechooserutils.h, gtkfilesystem.h, gtkfilesystemmodel.h,
	gtkfilesystemunix.h.

	* gtk/tmpl/gtkfilechooser.sgml: New template file.

	* gtk/tmpl/gtkfilechooserdialog.sgml: Likewise.

	* gtk/tmpl/gtkfilechooserwidget.sgml: Likewise.

	* gtk/tmpl/gtkfilefilter.sgml: Likewise.
2003-10-23 19:47:13 +00:00
Matthias Clasen
c4739fb57e Add the get_type() functions for GtkEntryCompletion, GtkTreeModelFilter,
Sun Oct 12 00:33:48 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk.types: Add the get_type() functions for
	GtkEntryCompletion, GtkTreeModelFilter, GtkCellLayout,
	GtkComboBox, GtkComboBoxEntry.
2003-10-11 22:36:04 +00:00
Matthias Clasen
3b2003c9a2 Included gtk_progress_bar_get_orientation() in the list of undeprecated
Sat Oct 11 00:18:46 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkprogressbar.sgml: Included
	gtk_progress_bar_get_orientation() in the list of undeprecated
	functions, use less clumsy markup for enumerations.
2003-10-10 22:20:19 +00:00
Matthias Clasen
cd6f16f5bb Add gtkcellview.h and gtkcellviewmenuitem.h.
2003-10-02  Matthias Clasen  <maclas@gmx.de>

	* gtk/Makefile.am (IGNORE_HFILES): Add gtkcellview.h and
	gtkcellviewmenuitem.h.

	* gtk/tmpl/gtkentrycompletion.sgml:
	* gtk/tmpl/gtktreemodelfilter.sgml:
	* gtk/tmpl/gtkcelllayout.sgml:
	* gtk/tmpl/gtkcombobox.sgml:
	* gtk/tmpl/gtkcomboboxentry.sgml: New templates.

	* gtk/gtk-sections.txt:
	* gtk/gtk-docs.sgml: Add sections for GtkEntryCompletion,
	GtkTreeModelFilter, GtkCellLayout, GtkComboBox, GtkComboBoxEntry.

	* gtk/tmpl/gtktreednd.sgml: Add short description.

	* gtk/gtk-docs.sgml: Move GtkItemFactory to the "Deprecated" chapter.

	* gtk/tmpl/gtktoggletoolbutton.sgml: Fix section title.
2003-10-01 22:43:30 +00:00
Matthias Clasen
c34b0a094b Add two missing signals.
* gdk/tmpl/keys.sgml: Add two missing signals.
2003-09-30 23:25:48 +00:00
Matthias Clasen
dbdc43be4c Doc formatting tweaks.
2003-10-01  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkmain.c: Doc formatting tweaks.

	* gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo.

	* gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio):
	Use the same parameter names as in .c file, to pacify gtk-doc.

	* gtk/gtktoggletoolbutton.[hc]:
	* gtk/gtktoolbutton.[hc]:
	* gtk/gtktoolitem.[hc]:
	* gtk/gtktoolbar.[hc]:
	* gtk/gtkcolorbutton.[hc]:
	* gtk/gtkfontbutton.[hc]:
	* gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the
	source, not in the header.

	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio):
	Document these as 2.4 API additions.

	* gtk/tmpl/gtkaction.sgml: Fix cross reference to GtkMenuMerge.

	* gtk/gtk-sections.txt: Additions.

	* gtk/tmpl/gtkitemfactory.sgml: Add hint to use #GtkUIManager instead.
2003-09-30 22:48:10 +00:00
Matthias Clasen
f99ba6c70f Add hint to use #GtkUIManager instead.
* gtk/tmpl/gtkitemfactory.sgml: Add hint to use #GtkUIManager instead.
2003-09-30 21:15:00 +00:00
Matthias Clasen
57f13d815d Test handling of empty menus.
2003-09-30  Matthias Clasen  <maclas@gmx.de>

	* tests/merge-*.ui:
	* tests/testmerge.c: Test handling of empty menus.

	* gtk/gtkuimanager.c (_gtk_menu_is_empty): New function to determine
	whether a menu is empty. Used in gtkaction.c.
	(update_smart_separators): Also update the visibility of empty menus.
	(update_node): When creating a new menu proxy, insert an "Empty" menu
	item which only gets shown if the menu is empty.

	* gtk/gtkaction.c (gtk_action_class_init): Document the meaning of
	"is_important" for menu proxies.
	(_gtk_action_sync_menu_visible): New function to sync the visibility
	of menu proxies. Used in gtkuimanager.c.
	(gtk_action_sync_visible): New function to sync the visibility of
	proxies.
2003-09-30 20:55:24 +00:00
Matthias Clasen
f582c04a9c Document the "direction-changed" and "keys-changed" signals.
2003-09-30  Matthias Clasen  <maclas@gmx.de>

	* gdk/gdkkeys.c (gdk_keymap_class_init): Document the
	"direction-changed" and "keys-changed" signals.

	* gdk/gdkscreen.c (gdk_screen_class_init): Document the
	"size-changed" signal.

	* gdk/gdkdisplaymanager.c (gdk_display_manager_class_init):
	Document the "display-opened" signal.

	* gdk/gdkdisplay.c (gdk_display_close): Doc tweak.
	(gdk_display_class_init): Document the "closed" signal.

	* gdk/tmpl/keys.sgml: Small addition.

	* gdk/gdk-sections.txt: Add GdkDisplayClass and GdkScreenClass.

	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufLoaderClass.
2003-09-30 00:36:29 +00:00
Matthias Clasen
f434562000 Add GdkPixbufLoaderClass.
* gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufLoaderClass.
2003-09-29 23:27:41 +00:00
Matthias Clasen
df64ae4434 Fix a copy-and-paste error. (#122800)
2003-09-22  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtktable.sgml: Fix a copy-and-paste error.  (#122800)
2003-09-22 08:30:26 +00:00
Matthias Clasen
d381967d5c Changes to make cross-process merging feasible:
2003-09-21  Matthias Clasen  <maclas@gmx.de>

	Changes to make cross-process merging feasible:

	* gtk/gtkuimanager.[hc]: Add a readonly "ui" property which holds the
	merged UI definition. Remove the "changed" signal, since its role
	is now filled by "notify::ui". Instead add a "actions-changed" signal
	which gets emitted when the set of actions changes.

	* gtk/gtktoggleactionprivate.h:
	* gtk/gtktoggleaction.[hc] (gtk_toggle_action_[sg]et_draw_as_radio):
	Add a "draw_as_radio" property to toggle actions so that they can be
	used as proxies for radio actions much like the "draw_as_radio"
	property on check menu items enables them to operate as proxies for
	radio actions.

	Prevent the "show_all" trap for action-based menus (see
	http://mail.gnome.org/archives/gtk-devel-list/2003-September/
	msg00260.html):

	* gtk/gtkmenu.c (gtk_menu_{hide,show}_all): Remove g_return_if_fail()
	calls from static functions.

	* gtk/gtkuimanager.c (update_node):
	* gtk/gtkaction.c (connect_proxy): Set "no_show_all" on constructed
	widgets whose visibility is externally controlled.

	* gtk/gtkwidget.[hc] (gtk_widget_[gs]et_no_show_all): Add a boolean
	"no_show_all" property with setter and getter. When TRUE, it keeps
	gtk_widget_{hide,show}_all() from modifying the visibility of the
	widget and its children.
2003-09-21 22:04:48 +00:00
Matthias Clasen
0ceb0db081 Install accelerators on actions, not on proxies, support accelerator-only
2003-09-18  Matthias Clasen  <maclas@gmx.de>

	Install accelerators on actions, not on proxies, support
	accelerator-only actions:

	* gtk/gtkmenu.c (get_accel_path): New function to get the accel path
	and its lock status either via _gtk_widget_get_accel_path() or by
	looking at the accel_path stored in the menu item itself and determining
	its lock status by peeking into the contained accel label. This was
	already (accidentally) committed a week ago.

	* gtk/gtkaction.h (gtk_action_set_accel_group):
	(gtk_action_[dis]connect_accelerator): New functions.

	* gtk/gtkaction.c (struct _GtkActionPrivate): Add accel_group,
	accel_closure and accel_count. We must have a reference to the accel_group,
	since we need it in connect_proxy. The count is necessary to ensure
	that the accelerator isn't removed before the last proxy requesting
	it has been unmerged.
	(connect_proxy): Connect the accelerator to the
	action now, only set the accel_path on the menuitem.
	(remove_proxy): Disconnect the accelerator from the action, not from
	the menuitem.
	(gtk_action_set_accel_group): Set the accel group.
	(gtk_action_[dis]connect_accelerator): Count the number of times
	this functions have been called and install/remove the accelerator if
	the count leaves/reaches zero.

	* gtk/gtkuimanager.h (GtkUIManagerItemType): Add
	GTK_UI_MANAGER_ACCELERATOR.

	* gtk/gtkuimanager.c (NodeType): Add NODE_TYPE_ACCELERATOR.
	(start_element_handler): Create NODE_TYPE_ACCELERATOR nodes from
	<accelerator> elements.
	(gtk_ui_manager_add_ui): Create NODE_TYPE_ACCELERATOR nodes when
	type is GTK_UI_MANAGER_ACCELERATOR.
	(update_node): Set the accel group on actions before creating their
	proxies. Don't set the accel group on created menus. For
	NODE_TYPE_ACCELERATOR nodes, [dis]connect the actions' accelerator.
	(print_node): Also emit <accelerator> elements.

	* tests/testmerge.c (dump_accels): Add a "Dump Accels" button.
2003-09-17 23:58:28 +00:00
Matthias Clasen
543b020fdc Apply egtk-format-protos. Doc tweaks.
* gtk/gtkaction.h: Apply egtk-format-protos.
	* gtk/gtkuimanager.c: Doc tweaks.

	* gtk/tmpl/gtkaction.sgml:
	* gtk/tmpl/gtkradioaction.sgml:
	* gtk/tmpl/gtkactiongroup.sgml:
	* gtk/tmpl/gtkuimanager.sgml: Updates.
2003-09-15 22:21:26 +00:00
Matthias Clasen
c77b0caab1 New function which implements "smart" separators by iterating once over
* gtk/gtkuimanager.c (update_smart_separators): New function which
	implements "smart" separators by iterating once over the entries of a
	menu, hiding and showing separators as necessary.
	(update_node): Mark separators used as fences of placeholders as
	hidden. Explicitly added separators are marked as smart. Call
	update_smart_separators after updating a menu or toolbar node.
	Connect update_smart_separators to "notify::visible" signal on menu
	and tool items.

	* tests/merge-[12].ui: Test smart separators.

	* gtk/tmpl/gtkuimanager.sgml: Add a paragraph about smart separators.
2003-09-15 20:35:28 +00:00
Matthias Clasen
caf380c793 Add value parameter to allow setting the currently selected group member
2003-09-15  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkactiongroup.[hc]: (gtk_action_group_add_radio_actions):
	(gtk_action_group_add_radio_actions_full): Add value parameter to allow
	setting the currently selected group member before connecting signals.
	(GtkToggleActionEntry): Separate struct for constructing toggle actions,
	including a boolean to initialize the action state before connecting
	signals.
	(gtk_action_group_add_toggle_actions):
	(gtk_action_group_add_toggle_actions_full): New functions to construct
	toggle actions from an array of GtkToggleActionEntries.

	* demos/gtk-demo/appwindow.c:
	* tests/testactions.c:
	* tests/testmerge.c: Adjust to new action group API.

	* gtk/gtk-sections.txt: Add gtk_action_group_add_toggle_actions[_full].
2003-09-15 19:51:55 +00:00
Matthias Clasen
df1452102e Add deprecation notes. (#121955)
2003-09-12  Matthias Clasen  <maclas@gmx.de>

	* gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text)
	(gdk_draw_text_wc): Add deprecation notes.  (#121955)
2003-09-11 22:09:38 +00:00
Matthias Clasen
02a963e15b Test gtk_ui_manager_add_ui().
2003-09-04  Matthias Clasen  <maclas@gmx.de>

	* tests/testmerge.c (toggle_dynamic): Test gtk_ui_manager_add_ui().

	* gtk/gtkuimanager.h: Add GtkUIManagerItemType enum which is needed for the
	'type' argument of gtk_ui_manager_add_ui().

	* gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui): Add 'type' and 'top' arguments
	to make this function as powerful as the XML methods of adding UI.  (#120647)

	* gtk/gtk-sections.txt: Add GtkUIManagerItemType.
2003-09-04 20:39:15 +00:00
Matthias Clasen
6c227b5a65 Use "position" instead of "pos".
* tests/merge-2.ui: Use "position" instead of "pos".

	* gtk/gtkuimanager.c (start_element_handler): No need
	to be terse: Change the name of the "pos" attribute
	to "position".

	* gtk/tmpl/gtkuimanager.sgml: Change the name of the "pos"
	attribute to "position".
2003-09-04 09:07:23 +00:00
Matthias Clasen
0a163c7fd7 Doc tweaks. 2003-09-04 00:49:37 +00:00
Matthias Clasen
2ece92c8f3 Doc addition.
* gtk/gtkactiongroup.c (gtk_action_group_new): Doc addition.
2003-09-01 23:45:54 +00:00
Matthias Clasen
7899a702ee Additions. 2003-09-01 23:20:33 +00:00
Matthias Clasen
cbbe97abf5 Shorten the names of some static functions.
2003-09-02  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkuimanager.c: Shorten the names of some static
	functions.

	Support adding and removing merge nodes dynamically (#120647,
	Anders Carlsson):

	* gtk/gtkuimanager.[ch] (gtk_ui_manager_new_merge_id): Renamed
	gtk_ui_manager_next_merge_id to gtk_ui_manager_new_merge_id
	and made it public.
	(gtk_ui_manager_add_ui): New function to add UI elements
	without juggling XML fragments, currently restricted to menuitems,
	toolitems and separators. Actions still come from registered
	action groups.
2003-09-01 22:15:16 +00:00
Matthias Clasen
38ee74b053 Add an example UI description.
* gtk/tmpl/gtkuimanager.sgml: Add an example UI description.
2003-09-01 00:34:41 +00:00
Matthias Clasen
7cddc693b0 Make this public again, since it's occasionally useful. (#121128, Marco
2003-09-01  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkuimanager.[ch] (gtk_ui_manager_ensure_update): Make
	this public again, since it's occasionally useful.  (#121128,
	Marco Pesenti Gritti)

	* gtk/gtkaction.c: Add an "is_important" property and propagate
	it to toolitem proxies.  (#121058, Marco Pesenti Gritti)
2003-08-31 23:36:37 +00:00
Matthias Clasen
2c41fc0918 Add gtktoggleactionprivate.h
2003-08-31  Matthias Clasen  <maclas@gmx.de>

	* gtk/Makefile.am (IGNORE_HFILES): Add gtktoggleactionprivate.h

	* gtk/tmpl/gtkuimanager.sgml:
	* gtk/gtk-sections.txt: Replace gtk_ui_manager_activate by
	gtk_ui_manager_get_action.

	* gtk/gtkuimanager.[ch] (gtk_ui_manager_get_action): New function,
	replaces gtk_ui_manager_activate().  (#120658)

	* tests/testmerge.c: Use gtk_ui_manager_get_action() instead of
	gtk_ui_manager_activate().
2003-08-31 13:49:15 +00:00
Matthias Clasen
320bba9f37 Additions.
2003-08-31  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkuimanager.sgml:
	* gtk/tmpl/gtkactiongroup.sgml:
	* gtk/tmpl/gtkaction.sgml:
	* gtk/tmpl/gtktoggleaction.sgml:
	* gtk/tmpl/gtkradioaction.sgml: Additions.

	* gtk/gtk-sections.txt: Updates.

	* gtk/gtk.types: Add GtkAction, GtkActionGroup, GtkToggleAction,
	GtkRadioAction and GtkUIManager.

	* gtk/gtkaction.c:
	* gtk/gtkactiongroup.c: Some doc tweaks.

	* gtk/gtkuimanager.[hc]: Get rid of the remove_widget signal. It
	wasn't emitted anyway. Some doc tweaks.
2003-08-31 00:27:15 +00:00
Matthias Clasen
ce940e61a5 Improve PointerHint docs. Explain is_hint field in GdkEventMotion.
2003-08-28  Matthias Clasen  <maclas@gmx.de>

	* gdk/tmpl/events.sgml: Improve PointerHint docs.
	* gdk/tmpl/event_structs.sgml: Explain is_hint field in GdkEventMotion.
	(#120542)
	* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
	fix in the docs.
2003-08-27 22:59:47 +00:00
Matthias Clasen
5e8c963498 Rename GtkMenuMerge to GtkUIManager 2003-08-25 23:15:12 +00:00
Matthias Clasen
20667ea755 New templates.
2003-08-24  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkmenumerge.sgml:
	* gtk/tmpl/gtkaction.sgml:
	* gtk/tmpl/gtkactiongroup.sgml:
	* gtk/tmpl/gtkradioaction.sgml:
	* gtk/tmpl/gtktoggleaction.sgml: New templates.

	* gtk/gtk-docs.sgml:
	* gtk/gtk-sections.txt: Add GtkMenuMerge, GtkAction, GtkActionGroup,
	GtkRadioAction, GtkToggleAction.
2003-08-24 20:47:37 +00:00
Matthias Clasen
3c9624c396 Reformat to 80 columns. 2003-08-11 19:14:37 +00:00
Matthias Clasen
424433f1a4 Add support for EWMH "Above" and "Below" window states. (105100, Manuel Clos) 2003-08-10 23:37:37 +00:00
Matthias Clasen
19d81dab2b Copy newer versions of JH_CHECK_XML_CATALOG and JH_PATH_XML_CATALOG from
* acinclude.m4: Copy newer versions of JH_CHECK_XML_CATALOG and JH_PATH_XML_CATALOG from
	gtk-doc to enable configuring without xmlcatalog in PATH.  (#119115)
2003-08-10 22:30:02 +00:00
Matthias Clasen
219ddba928 Mark some members as public. Document public GtkWidget members.
* gtk/gtkwidget.h (struct _GtkWidget): Mark some members as public.
	* gtk/tmpl/gtkwidget.sgml: Document public GtkWidget members.
2003-08-09 23:01:31 +00:00
Matthias Clasen
6e1e7d30fc Get the information about the first day of the week from the locale using
* gtk/gtkcalendar.c: Get the information about the first day of the week from
	the locale using another instance of the "magic translated string" technique.
	Ignore the display option GTK_CALENDAR_WEEK_START_MONDAY with a warning.  (#87977)
2003-08-08 22:44:14 +00:00
Matthias Clasen
e5d0f500c6 Clarify misleading explanation of rowstride. (#119000)
2003-08-03  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf.c (gdk_pixbuf_get_rowstride):
	* gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Clarify misleading explanation of
	rowstride.  (#119000)
2003-08-03 21:51:24 +00:00
Soeren Sandmann
05ce8747c2 Move documentation inline from template files.
Tue Jul 29 13:55:44 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (gtk_toolbar_set_style,
	gtk_toolbar_prepend_element, gtk_toolbar_append_element,
	gtk_toolbar_insert_space, gtk_toolbar_prepend_space,
	gtk_toolbar_append_space, gtk_toolbar_insert_item,
	gtk_toolbar_prepend_item, gtk_toolbar_append_item,
	gtk_toolbar_set_tooltips, gtk_toolbar_set_orientation,
	gtk_toolbar_new, gtk_toolbar_prepend_item):

	Move documentation inline from template files.

	* gtk/gtktoolbar.c (gtk_toolbar_insert_element,
	gtk_toolbar_insert_widget, gtk_toolbar_prepend_widget,
	gtk_toolbar_append_widget, gtk_toolbar_remove_space,
	gtk_toolbar_insert_stock, gtk_toolbar_unset_icon_size,
	gtk_toolbar_get_icon_size, gtk_toolbar_set_icon_size,
	gtk_toolbar_get_tooltips, gtk_toolbar_unset_style,
	gtk_toolbar_get_style, gtk_toolbar_get_orientation)

	Copy documentation from stable that was added after the EggToolbar
	branched.

	* gtk/gtktoolbar.h: deprecate gtk_toolbar_unset_icon_size()
2003-07-29 12:16:02 +00:00
Sven Neumann
ac209d13a3 Resurrected documentation that got lost when the window parameter was
2003-07-29  Sven Neumann  <sven@gimp.org>

	* gdk/tmpl/pixmaps.sgml: Resurrected documentation that got lost
	when the window parameter was renamed to drawable.
2003-07-29 09:08:22 +00:00
Matthias Clasen
7ba06b2936 It is GTK_DEST_DEFAULT_DROP, not GTK_DRAG_DEFAULT_DROP. (#117917,
2003-07-21  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkdnd.sgml: It is GTK_DEST_DEFAULT_DROP, not GTK_DRAG_DEFAULT_DROP. (#117917,
	Tim-Philipp Müller)
2003-07-21 21:37:32 +00:00
Matthias Clasen
a314e4c2ec Add authentication icon. 2003-07-18 23:43:26 +00:00
Matthias Clasen
1fd4cd2fa4 New function. (#64562)
2003-07-19  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkbbox.h:
	* gtk/gtkbbox.c (gtk_button_box_get_child_secondary): New function. (#64562)
2003-07-18 23:08:51 +00:00
Matthias Clasen
eaae0a6b61 Add a new keybinding signal, move_viewport. (gtk_text_view_move_viewport):
2003-07-18  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktextview.c (gtk_text_view_class_init): Add a new keybinding signal, move_viewport.
	(gtk_text_view_move_viewport): New function which implements the move_viewport functionality.
	(gtk_text_view_move_cursor_internal): If the cursor is not visible, move the viewport. (#78669)

	* gtk/gtkenums.h (GtkScrollStep): New enumeration, used for move_viewport argument.

	* gtk/gtkstatusbar.c (gtk_statusbar_class_init): Add a has_resize_grip property.  (#111779)

	* gtk/gtkwindow.h:
	* gtk/gtkwindow.c (gtk_window_set_default_icon): New method.  (#95816)

	* gtk/gtkmessagedialog.h:
	* gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): New method.
	(#65501, Sebastian Rittau)
2003-07-18 18:52:03 +00:00
Matthias Clasen
225b8ccea7 New templates.
2003-07-15  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkseparatortoolitem.sgml:
	* gtk/tmpl/gtkradiotoolbutton.sgml:
	* gtk/tmpl/gtktoggletoolbutton.sgml: New templates.

	* gtk/gtk-docs.sgml: Include gtkseparatortoolitem.xml, gtkradiotoolbutton.xml and
	gtktoggletoolbutton.xml.

	* gtk/gtk.types: Add gtk_separator_tool_item_get_type, gtk_radio_tool_button_get_type and
	gtk_toggle_tool_button_get_type.

	* gtk/gtk-sections.txt: Add GtkSeparatorToolItem, GtkRadioToolButton and GtkToggleToolButton
	sections.
2003-07-14 23:09:32 +00:00
Matthias Clasen
a0829aa499 API doc updates. 2003-07-14 22:13:33 +00:00
Matthias Clasen
36121795d9 Add gtk_tool_button_get_type and gtk_tool_item_get_type.
2003-07-13  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk.types: Add gtk_tool_button_get_type and gtk_tool_item_get_type.

	* gtk/tmpl/gtktoolbutton.sgml:
	* gtk/tmpl/gtktoolitem.sgml:
	* gtk/gtk-docs.sgml:
	* gtk/gtk-sections.txt: Add new toolbar api.

	* gtk/tmpl/gtkdnd.sgml: Remove docs for gtk_drag_begin(), which are now inline.
2003-07-13 20:51:14 +00:00
Matthias Clasen
b9db8ea3ea New function to load an image from a file at a specified size. (#105326,
2003-07-13  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf.h:
	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_size): New function to load an image from a file at a
	specified size.  (#105326, Dom Lachowicz)
2003-07-13 19:43:09 +00:00
Matthias Clasen
4a8650e98b Fix the example. (#116575)
2003-07-08  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkfilesel.sgml: Fix the example.  (#116575)
2003-07-08 21:51:44 +00:00
Owen Taylor
9e3f0c6f5f Document named icon system.
Wed Jul  2 18:15:21 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/Makefile.am gtk/gtk-docs.sgml gtk/gtksections.txt
        gtk/tmpl/gtkicontheme.sgml: Document named icon system.

        * gtk/tmpl/gtkrc.sgml: Mention specifying named icons
        as @"icon-name".

        * gtk/tmpl/gtkimage.sgml: Add a cross-reference to stock
        icons.
2003-07-02 22:45:30 +00:00
Matthias Clasen
7fa24c92de New docs for new widgets. 2003-07-01 19:59:59 +00:00
Matthias Clasen
7f5968aa07 Add GtkExpander docs. 2003-07-01 19:46:22 +00:00
Matthias Clasen
7de2603d95 Add gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(),
2003-07-01  Matthias Clasen  <maclas@gmx.de>

	* gdk/gdk-sections.txt: Add
	gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(),
	gdk_display_supports_cursor_color(), gdk_display_get_default_cursor_size() and
	gdk_display_get_maximal_cursor_size().
2003-06-30 22:32:06 +00:00
Matthias Clasen
8de1773384 Additions. 2003-06-29 22:32:32 +00:00
Matthias Clasen
d927f2a26c Move GtkIMContext to "Abstract Base Classes", since its abstract.
2003-06-24  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-docs.sgml: Move GtkIMContext to "Abstract Base Classes", since its abstract.

	* gtk/tmpl/gtkaccessible.sgml:
	* gtk/tmpl/gtkimmulticontext.sgml:
	* gtk/tmpl/gtkimcontextsimple.sgml:
	* gtk/tmpl/gtkimcontext.sgml:
	* gtk/tmpl/gtkviewport.sgml:
	* gtk/tmpl/gtkcellrenderertext.sgml:
	* gtk/tmpl/gtkcellrendererpixbuf.sgml:
	* gtk/tmpl/gtkcelleditable.sgml:
	* gtk/tmpl/gtktreemodelsort.sgml:
	* gtk/tmpl/gtktreednd.sgml:
	* gtk/tmpl/gtktreesortable.sgml: Add short descriptions.
2003-06-23 22:59:01 +00:00
Matthias Clasen
87d528d71c Add RTL variants of stock icons.
2003-06-23  Matthias Clasen  <maclas@gmx.de>

	* gtk/Makefile.am (HTML_IMAGES): Add RTL variants of stock icons.

	* gtk/tmpl/gtkstock.sgml: Document RTL variants of stock icons.
2003-06-23 21:51:44 +00:00
Matthias Clasen
e7444133cb Typo fix. 2003-06-22 19:42:13 +00:00
Matthias Clasen
de07fd2a7e Add gdk_pixbuf_loader_new_with_mime_type.
2003-06-22  Matthias Clasen  <matthias@localhost.localdomain>

	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add gdk_pixbuf_loader_new_with_mime_type.
2003-06-22 19:08:12 +00:00
Matthias Clasen
4c6bcae486 Another question. 2003-06-18 22:41:06 +00:00
Matthias Clasen
247c311bd8 Add a question about changing fonts. (#114747)
2003-06-19  Matthias Clasen  <maclas@gmx.de>

	* gtk/question_index.sgml: Add a question about changing fonts.
	(#114747)
2003-06-18 22:08:42 +00:00
Matthias Clasen
fcffe5a1ab Add rule to regenerate man pages from Docbook. (man_MANS): Add
2003-06-17  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf/Makefile.am: Add rule to regenerate man pages from
	Docbook.
	(man_MANS): Add gdk-pixbuf-csource.1, gdk-pixbuf-query-loaders.1.
	(content_files): Add gdk-pixbuf-csource.xml,
	gdk-pixbuf-query-loaders.xml.

	* gdk-pixbuf/gdk-pixbuf-csource.xml: New refentry, containing the
	former gdk-pixbuf/gdk-pixbuf-csource.1, converted to Docbook.

	* gdk-pixbuf/gdk-pixbuf-query-loaders.xml: New refentry.

	* gdk-pixbuf/gdk-pixbuf-csource.1:
	* gdk-pixbuf/gdk-pixbuf-query-loaders.1: Man pages generated from
	the .xml sources.

	* gdk-pixbuf/gdk-pixbuf.sgml: Include gdk-pixbuf-csource.xml and
	gdk-pixbuf-query-loaders.xml.

	* gtk/Makefile.am: Add rule to regenerate man pages from Docbook.
	(man_MANS): Add gtk-query-immodules-2.0.1
	(content_files): Add gtk-query-immodules-2.0.xml

	* gtk/gtk-query-immodules-2.0.xml: New refentry.

	* gtk/gtk-query-immodules-2.0.1: Man page generated from the .xml
	source.

	* gtk/gtk-docs.sgml: Include gtk-query-immodules-2.0.xml.


	* acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
	macros to check for XML catalog contents and path, borrowed from
	gtk-doc.
	* configure.in: New option --enable-man to enable regeneration of
	man pages from Docbook, if the necessary tools are found.
2003-06-17 00:37:28 +00:00
Matthias Clasen
5e4a3fbab1 Add autogenerated indices.
2003-06-17  Matthias Clasen  <mc2@YAST_ASK>

	* gtk/gtk-docs.sgml:
	* gdk-pixbuf/gdk-pixbuf.sgml:
	* gdk/gdk-docs.sgml: Add autogenerated indices.
2003-06-16 23:19:37 +00:00
Matthias Clasen
ce294c13a6 Fix some typos.
2003-06-11  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkdnd.sgml: Fix some typos.
2003-06-11 23:12:17 +00:00
Matthias Clasen
31d85b7ed0 Add gtk_text_view_[gs]et_overwrite().
2003-06-10  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-sections.txt: Add gtk_text_view_[gs]et_overwrite().
2003-06-09 22:26:55 +00:00
Matthias Clasen
8992434c4f Add some questions. 2003-06-05 00:41:28 +00:00
Matthias Clasen
8f0e4cf634 Minor improvements to alignment padding documentation. 2003-05-31 23:39:02 +00:00
Matthias Clasen
1499455d25 Document allowed values for adjustments which are used in scrollbars.
* gtk/tmpl/gtkadjustment.sgml: Document allowed values for
	adjustments which are used in scrollbars.  (#108448, Ernst Lippe)
2003-05-26 22:58:28 +00:00
Matthias Clasen
61e5565d51 Fix example. (#113604, Julien Moutte)
2003-05-27  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkradiomenuitem.sgml: Fix example.  (#113604,
	Julien Moutte)
2003-05-26 22:35:16 +00:00
Matthias Clasen
0823a10aaf Some calendar improvements. 2003-05-08 00:25:51 +00:00
Matthias Clasen
b533fc3ae5 Improve the docs about cross-process embedding a bit. (#112101, #112006)
2003-05-05  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-docs.sgml:
	* gtk/tmpl/gtksocket.sgml: Improve the docs about cross-process
	embedding a bit.  (#112101, #112006)
2003-05-05 18:13:59 +00:00
Matthias Clasen
be9972bb3b Remove some accidentally committed changes. 2003-05-01 20:16:29 +00:00
Matthias Clasen
59bd288630 Doc additions and fixes. 2003-04-15 22:51:04 +00:00
Matthias Clasen
82b76f2926 Additions.
2003-04-13  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkenums.sgml: Additions.

	* gtk/tmpl/gtkvruler.sgml:
	* gtk/tmpl/gtkhruler.sgml:
	* gtk/tmpl/gtkgamma.sgml:
	* gtk/tmpl/gtkcurve.sgml:
	* gtk/tmpl/gtkruler.sgml: Fix some typos and add some markup.
2003-04-12 23:29:46 +00:00
Matthias Clasen
e2abcc2dea Add a bunch of new functions.
2003-04-13  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-sections.txt: Add a bunch of new functions.
2003-04-12 22:22:36 +00:00
Matthias Clasen
136ae57786 Typo fixes. 2003-04-09 18:18:23 +00:00
Matthias Clasen
ade1ae83d8 typo fix 2003-04-07 22:38:36 +00:00
Matthias Clasen
0230821081 Add GTK_WRAP_WORD_CHAR. (#110086, David Brigada)
* gtk/gtktextlayout.c (set_para_values):
	* gtk/gtkenums.h (GtkWrapMode): Add GTK_WRAP_WORD_CHAR.  (#110086,
	David Brigada)
2003-04-07 18:19:46 +00:00
Matthias Clasen
c4dd1bd3f9 Fix numerous misspellings of possessive "its". (#110027, Doug Quale) 2003-04-07 00:16:43 +00:00
Matthias Clasen
065df1c008 Add deprecation info. 2003-04-06 23:42:35 +00:00
Matthias Clasen
01bb2521fa Fix formatting of examples.
* gtk/tmpl/gtkmessagedialog.sgml: Fix formatting of examples.
2003-03-31 22:41:55 +00:00
Matthias Clasen
b10031de0d Fix the example. (#109563)
2003-04-01  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkfilesel.sgml: Fix the example.  (#109563)
2003-03-31 22:26:32 +00:00
Michael Natterer
a5a2846731 copy stock_color_picker_25.png, don't copy stock_save_24.png twice.
2003-03-22  Michael Natterer  <mitch@gimp.org>

	* gtk/Makefile.am: copy stock_color_picker_25.png, don't copy
	stock_save_24.png twice.

	* gtk/tmpl/gtkstock.sgml: use it for GTK_STOCK_COLOR_PICKER
	instead of stock_colorselector_24.png.
2003-03-22 19:13:07 +00:00
Matthias Clasen
15e99cdacd Add deprecation guards around gtk_object_new(). 2003-03-04 00:04:26 +00:00
Matthias Clasen
d2e91a53da Fix self-referential documenation of gtk_tree_model_get_iter_root().
2003-02-24  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtktreemodel.sgml: Fix self-referential documenation of
	gtk_tree_model_get_iter_root().  (#106720, Keith Sharp)
2003-02-24 19:12:34 +00:00
Matthias Clasen
43d0d79cc0 Document that font and fontset declarations are ignored.
2003-02-11  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkrc.sgml: Document that font and fontset declarations
	are ignored.
2003-02-11 00:32:28 +00:00
Matthias Clasen
ee52dc8567 # doesn't work here, add links manually. (#104991)
2003-02-02  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk-docs.sgml:
	* gtk/question_index.sgml: # doesn't work here, add links
	manually.  (#104991)
2003-02-02 22:24:48 +00:00
Matthias Clasen
0f4229d419 Mention xxx_DISABLE_DEPRECATED and GDK_MULTIHEAD_SAFE.
2003-02-01  Matthias Clasen  <maclas@gmx.de>

	* gtk/compiling.sgml: Mention xxx_DISABLE_DEPRECATED and
	GDK_MULTIHEAD_SAFE.
2003-02-01 01:19:30 +00:00
Matthias Clasen
2435e831cf Deprecate gtk_paned_computed_position(). (#97077)
2003-01-31  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077)

	* gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_*
	and gtk_input_* functions.  (#71596)

	* gtk/gtkentry.c (gtk_entry_move_cursor):
	* gtk/gtklabel.c (gtk_label_move_cursor): Handle
	GTK_MOVEMENT_HORIZONTAL_PAGES in switches.

	* gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs().  (#79803)

	* gtk/gtkitemfactory.h:
	* gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate.
	(#69244)

	* gtk/tmpl/gtkmain.sgml: Deprecate the gtk_timeout_*, gtk_idle_*
	and gtk_input_* functions.  (#71596)
2003-01-31 00:08:35 +00:00
Matthias Clasen
9134219266 s/overwrite/override/g (#104627, Brian Cameron)
2003-01-30  Matthias Clasen  <maclas@gmx.de>

	* gtk/running.sgml: s/overwrite/override/g  (#104627, Brian Cameron)
2003-01-30 00:05:24 +00:00
Matthias Clasen
1f71780c75 Fix integer color range. (#103992)
2003-01-21  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkrc.sgml: Fix integer color range.  (#103992)
2003-01-20 23:11:18 +00:00
Matthias Clasen
740f871a15 Skip invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and
* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Skip
	invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and
	GTK_MOVEMENT_WORDS.

	* gtk/gtktextiter.c,
	gtk/gtktextiter.h: Add some variant movement functions which
	skip invisible chars, and do some cleanups.

	* gtk/gtk-sections.txt: Add new GtkTextIter functions.
2003-01-14 01:07:58 +00:00
Matthias Clasen
53d79aa119 Remove ids which are now generated by gtk-doc.
2003-01-13  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf/tmpl/gdk-pixbuf.sgml:
	* gdk-pixbuf/tmpl/animation.sgml: Remove ids which are now
	generated by gtk-doc.
2003-01-13 18:34:52 +00:00
Matthias Clasen
1b3f21e870 Update description of priorities for styles and bindings. (#98054)
2003-01-03  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkrc.sgml: Update description of priorities for styles
	and bindings.  (#98054)
2003-01-03 22:50:40 +00:00
Matthias Clasen
01fbc3b649 Add a note about gtkrc-2.0 being parsed by all 2.x versions.
2002-12-31  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkrc.sgml: Add a note about gtkrc-2.0 being parsed by
	all 2.x versions.
2002-12-31 00:25:04 +00:00
Owen Taylor
d33fb32d4e Update directories in download locations; add information about fontconfig
Fri Dec 20 13:10:06 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/building.sgml: Update directories in download
        locations; add information about fontconfig and Xft2.
2002-12-20 18:26:12 +00:00
Matthias Clasen
69f37db80f Add docs. 2002-12-18 23:45:53 +00:00
Matthias Clasen
5d347cad8e Fix a few doc comments. Link to style properties.
2002-12-17  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcontainer.c: Fix a few doc comments.
	* gtk/tmpl/gtkrc.sgml: Link to style properties.

	* gtk/tmpl/gtkcontainer.sgml: Add bits about child properties.

	* gtk/tmpl/gtkwidget.sgml: Add bits about style properties.

	* gdk/tmpl/pixmaps.sgml:
	* gdk/tmpl/windows.sgml:
	* gdk/tmpl/drawing.sgml:
	* gdk/tmpl/gcs.sgml:
	* gtk/tmpl/gtktextview.sgml:
	* gtk/tmpl/gtkrc.sgml:
	* gtk/tmpl/gtkiconfactory.sgml:
	* gtk/tmpl/gtkaccelgroup.sgml: Remove ids which are now
	generated by gtk-doc.
2002-12-17 02:07:57 +00:00
Matthias Clasen
47de18549a Add some information about group list handling. (#101328, James M. Cape)
2002-12-16  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkradiomenuitem.sgml:
	* gtk/tmpl/gtkradiobutton.sgml: Add some information about group
	list handling.  (#101328, James M. Cape)
2002-12-16 22:46:30 +00:00
Eric Warmenhoven
b780b2a39b Minor updates for 2.2.0. (#67820)
2002-12-14  Eric Warmenhoven <eric@warmenhoven.org>

	* gtk/framebuffer.sgml: Minor updates for 2.2.0. (#67820)
2002-12-15 05:47:24 +00:00
Matthias Clasen
9c49927100 Fix some links.
* gtk/text_widget.sgml: Fix some links.
2002-12-11 19:26:58 +00:00
Matthias Clasen
9716930a72 Add some ids to reduce dangling links. 2002-12-11 00:46:53 +00:00
Matthias Clasen
428c076fef Delete EWMH properties if no private->state flags are set. (#66754)
* gdk/x11/gdkwindow-x11.c (set_initial_hints): Delete EWMH
	properties if no private->state flags are set.  (#66754)

	* gtk/gtkwidget.c (gtk_widget_class_find_style_property):
	* gtk/gtkcontainer.c (gtk_container_class_find_child_property):
	Doc typo fixes.

	* gtk/tmpl/gtktextview.sgml: Add docs.

	* gtk/tree_widget.sgml: Fix some links.

	* gtk/tmpl/gtkwindow.sgml: Add docs.

	* gtk/tmpl/gtkeditable.sgml: Document GtkEditable as an interface,
	not as an abstract base class.

	* gtk/gtk-docs.sgml: Move GtkEditable from "Abstract Base Classes"
	to "Numeric/Text Data Entry".
2002-12-10 23:25:33 +00:00
Matthias Clasen
d69fa5be01 Add docs. 2002-12-09 18:37:59 +00:00
Matthias Clasen
da9cd1c6f6 Add deprecation info. 2002-12-08 01:03:03 +00:00
Matthias Clasen
60ba52f5d2 Add deprecation info. 2002-12-08 00:45:36 +00:00
Matthias Clasen
29969a9081 Add docs. 2002-12-08 00:18:13 +00:00
Matthias Clasen
c4b5d5da11 Add "Since" information.
* gdk/tmpl/x_interaction.sgml:
	* gdk/tmpl/gdkscreen.sgml:
	* gdk/tmpl/gdkdisplaymanager.sgml:
	* gdk/tmpl/gdkdisplay.sgml:
	* gtk/tmpl/gtkstock.sgml:
	* gtk/tmpl/gtkwidget.sgml:
	* gtk/tmpl/gtkmain.sgml:
	* gtk/tmpl/gtkcolorsel.sgml:
	* gtk/tmpl/gtkaccelgroup.sgml:
	* gdk-pixbuf/tmpl/module_interface.sgml: Add "Since" information.

	* gdk/gdkcolor.c:
	* gdk/gdkfont.c: Add some Deprecation info.
2002-12-06 00:10:20 +00:00
Matthias Clasen
e322850d15 Replace gtk_list_store_move by _move_before and _move_after.
* gtk/gtk-sections.txt: Replace gtk_list_store_move by
	_move_before and _move_after.
2002-12-05 23:16:16 +00:00
Matthias Clasen
703b33d94b Minor tweaks and completions of shortdescs.
* gtk/tmpl/gtkalignment.sgml:
	* gtk/tmpl/gtkadjustment.sgml:
	* gtk/tmpl/gtkaccellabel.sgml:
	* gtk/tmpl/gtkoldeditable.sgml:
	* gtk/tmpl/gtkwidget.sgml:
	* gtk/tmpl/gtkrange.sgml:
	* gtk/tmpl/gtkeditable.sgml:
	* gtk/tmpl/gtkwindowgroup.sgml:
	* gtk/tmpl/gtkwindow.sgml:
	* gtk/tmpl/gtktypeutils.sgml:
	* gtk/tmpl/gtksignal.sgml:
	* gtk/tmpl/gtkfeatures.sgml:
	* gtk/tmpl/gtkstyle.sgml:
	* gtk/tmpl/gtkselection.sgml:
	* gtk/tmpl/gtkgc.sgml:
	* gtk/tmpl/gtkenums.sgml:
	* gtk/tmpl/gtkbindings.sgml:
	* gtk/tmpl/gtksettings.sgml:
	* gtk/tmpl/gtkdnd.sgml:
	* gtk/tmpl/gtkclipboard.sgml:
	* gtk/tmpl/gtkaccelgroup.sgml:
	* gtk/tmpl/gtkaccelmap.sgml:
	Minor tweaks and completions of shortdescs.
2002-11-29 23:08:54 +00:00
Matthias Clasen
23e681f31b Minor tweaks.
* gdk/tmpl/rgb.sgml:
	* gdk/tmpl/gcs.sgml: Minor tweaks.
2002-11-29 20:47:24 +00:00