Commit Graph

1463 Commits

Author SHA1 Message Date
Matthias Clasen
7e6f1345a9 New function to allow wrapping a native pixmap without a server roundtrip.
2006-03-29  Matthias Clasen <mclasen@redhat.com>

        * gdk/gdk.symbols:
        * gdk/gdkpixmap.h:
        * gdk/win32/gdkpixmap-win32.c:
        * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_screen):
        New function to allow wrapping a native pixmap without
        a server roundtrip.  (#334954, David Baron)
2006-03-30 04:08:51 +00:00
Emmanuele Bassi
ee04430b40 Add a migration guide for porting to the new GtkRecent stuff from the old
2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* docs/reference/gtk/migrating-GtkRecentChooser.sgml: Add a migration
	guide for porting to the new GtkRecent stuff from the old EggRecent
	code.

	* docs/reference/gtk/tmpl/gtkrecentchooser.sgml:
	* docs/reference/gtk/tmpl/gtkrecentchooserdialog.sgml:
	* docs/reference/gtk/tmpl/gtkrecentchoosermenu.sgml:
	* docs/reference/gtk/tmpl/gtkrecentchooserwidget.sgml:
	* docs/reference/gtk/tmpl/gtkrecentfilter.sgml:
	* docs/reference/gtk/tmpl/gtkrecentmanager.sgml: Add template files
	for the reference guide.

	* docs/reference/gtk/gtk-docs.sgml:
	* docs/reference/gtk/gtk-sections.txt:
	* docs/reference/gtk/Makefile.am: Build glue for add GtkRecent to
	the reference guide.
2006-03-29 20:19:01 +00:00
Matthias Clasen
b435c6b967 Syntax fixes.
2006-03-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkcellrendereraccel.sgml:
	* gtk/tmpl/gtkrc.sgml:
	* gtk/directfb.sgml: Syntax fixes.
2006-03-28 18:47:43 +00:00
Matthias Clasen
997470889e Document <classname> in paths.
2006-03-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkrc.sgml: Document <classname> in paths.
2006-03-23 23:35:24 +00:00
Matthias Clasen
fcc1811525 Additions.
2006-03-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Additions.
2006-03-22 20:20:06 +00:00
Matthias Clasen
9489f4caaa Updates.
2006-03-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkcellrendererspin.sgml:
	* gtk/tmpl/gtkcellrendererprogress.sgml:
	* gtk/tmpl/gtkcellrenderercombo.sgml:
	* gtk/tmpl/gtkcellrendereraccel.sgml: Updates.
2006-03-22 17:45:05 +00:00
Matthias Clasen
0047b0b98d Add a cell renderer which uses a spinbutton to edit the value of a cell.
2006-03-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkcellrendererspin.h:
	* gtk/gtkcellrendererspin.c: Add a cell renderer which
	uses a spinbutton to edit the value of a cell. (#156023,
	Daniel Kasak, Lorenzo Gil Sanchez, Carlos Garnacho)

	* gtk/gtk.h:
	* gtk/Makefile.am: Glue it in.
2006-03-22 15:28:16 +00:00
Matthias Clasen
5e66f6aa75 Add a window-placement-set property and a gtk-scrolled-window-placement
2006-03-20  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkscrolledwindow.h:
        * gtk/gtkscrolledwindow.c: Add a window-placement-set property
        and a gtk-scrolled-window-placement setting.  (#157025, Christian
        Neumair)
2006-03-20 19:17:59 +00:00
Matthias Clasen
365a0d377e Add docs for new ports. 2006-03-15 06:46:00 +00:00
Matthias Clasen
fe7a5ebb7b Make actions work with named icons. (#323484, Jorn Baayen)
2006-03-13  Matthias Clasen  <mclasen@redhat.com>

	Make actions work with named icons.  (#323484, Jorn Baayen)

	* gtk/gtkactiongroup.c: If the stock-id field of a GtkActionEntry
	does not contain a registered stock id, interpret it as an
	icon name.

	* gtk/gtkaction.c: Add an icon-name property to actions and
	use it for icons if a stock-id is not specified.
2006-03-13 05:11:23 +00:00
Michael Natterer
3ac02d3215 add gtk_entry_get,set_inner_border()
2006-03-10  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk-sections.txt: add gtk_entry_get,set_inner_border()
2006-03-10 11:06:00 +00:00
Michael Natterer
6b661b53e1 added gdk_screen_get_active_window() and gdk_screen_get_window_stack()
2006-03-08  Michael Natterer  <mitch@imendio.com>

	* gdk/gdk-sections.txt: added gdk_screen_get_active_window()
	and gdk_screen_get_window_stack()
2006-03-08 17:09:53 +00:00
Federico Mena Quintero
d8467db6ce Forgot to commit this the other day - Federico 2006-03-01 23:42:07 +00:00
Federico Mena Quintero
563bfa813a Check that the fontsel has a screen assigned before doing anything. This
2006-02-27  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Check that
	the fontsel has a screen assigned before doing anything.  This
	will at least warn the caller of what is wrong, since we only
	populate the family_list until we get a screen.  Also, put the
	reference docs here.  Fixes bug #332756.
	(gtk_font_selection_dialog_get_font_name): Document this here.
	(gtk_font_selection_get_font_name): Document this here; mention
	that the font names get normalized, so the result of this function
	may not be the same as what you set with
	gtk_font_selection_set_font_name().
2006-02-27 18:18:57 +00:00
Matthias Clasen
2bec6c3f7e Add a reorder_tab keynav signal and an insert_page vfunc to GtkNotebook.
2006-02-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.h: Add a reorder_tab keynav signal and an
	insert_page vfunc to GtkNotebook.

	* gtk/gtk.symbols:
	* gtk/gtknotebook.c: Support notebook DND. New API includes
	gtk_notebook_set_window_creation_hook,
	gtk_notebook_[gs]et_group_id,
	gtk_notebook_[gs]et_tab_reorderable,
	gtk_notebook_[gs]et_tab_detachable (#73240, Carlos Garnacho)
2006-02-23 17:59:33 +00:00
Matthias Clasen
023435bde3 Additions.
2006-02-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Additions.

	* gdk/gdk-sections.txt: Additions.
2006-02-20 01:41:16 +00:00
Matthias Clasen
a271dfe0fd More updates 2006-02-12 06:14:35 +00:00
Matthias Clasen
06e52eee43 Updates 2006-02-12 06:11:02 +00:00
Matthias Clasen
3f99e8efb2 improve liststore docs 2006-02-10 19:33:17 +00:00
Matthias Clasen
adce3190f1 Apply a patch by Murray to improve comboboxentry docs 2006-02-10 18:53:35 +00:00
Matthias Clasen
32fb5404bf Add deprecation notes.
2006-02-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkmenushell.sgml:
	* gtk/tmpl/gtkmenu.sgml: Add deprecation notes.
2006-02-03 17:34:25 +00:00
Matthias Clasen
6e6067d951 Actually implement visibility handling, and add
2006-01-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkassistant.h:
	* gtk/gtkassistant.c: Actually implement visibility handling,
	and add gtk_assistant_update_buttons_state.

	* tests/testassistant.c: Test visibility handling.
2006-01-31 16:57:18 +00:00
Matthias Clasen
49eda9aaa7 Add GtkLinkButton to gallery 2006-01-30 15:39:23 +00:00
Matthias Clasen
a351e61c0b GtkAssistant stuff 2006-01-30 04:53:53 +00:00
Matthias Clasen
40aa02249b Allow to set a global hook function thats called whenever a link button is
2006-01-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtklinkbutton.h:
	* gtk/gtklinkbutton.c: Allow to set a global hook function
	thats called whenever a link button is clicked.
2006-01-28 06:20:30 +00:00
Matthias Clasen
017a5e3d5b More work on GtkAssistant by Carlos Garnacho:
2006-01-28  Matthias Clasen  <mclasen@redhat.com>

	More work on GtkAssistant by Carlos Garnacho:

	* demos/gtk-demo/Makefile.am:
	* demos/gtk-demo/assistant.c: Add a  GtkAssistant demo.

	* gtk/gtkassistant.c: Handle focus, several small fixes to the
	flow computations.
2006-01-28 06:03:50 +00:00
Federico Mena Quintero
bd51b09f77 Fixes bug #328820:
2006-01-27  Federico Mena Quintero  <federico@ximian.com>

	Fixes bug #328820:

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_class_init): Make GDK_KP_Divide pop up
	the location dialog populated to "/".
	(tree_view_keybinding_cb): Likewise.
	(trap_activate_cb): Likewise.
2006-01-27 17:22:17 +00:00
Matthias Clasen
4c4ee38256 Add GtkLinkButton docs
2006-01-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt:
	* gtk/gtk-docs.sgml:
	* gtk/gtk.types: Add GtkLinkButton docs
2006-01-24 03:48:49 +00:00
Matthias Clasen
c73b9a7759 Add GtkAssistant, a widget to construct multi-step wizards. (#115348,
2006-01-18  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkassistant.[hc]: Add GtkAssistant, a widget to
        construct multi-step wizards.  (#115348, Martyn Russell,
        Matthias Clasen, Carlos Garnacho Parro)

        * gtk/gtk.symbols:
        * gtk/Makefile.am:
        * gtk/gtk.h: Necessary glue.
2006-01-18 22:39:14 +00:00
Matthias Clasen
7f9b4a9615 Add a current-value property and a setter for it. (#322735, Jorn Baayen)
2006-01-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkradioaction.[hc]: Add a current-value property and a
	setter for it.  (#322735, Jorn Baayen)
2006-01-16 19:07:13 +00:00
Matthias Clasen
ea6731b779 Remove an unused variable.
2006-01-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_drag_data_received): Remove
	an unused variable.
2006-01-15 04:44:26 +00:00
Matthias Clasen
dcfac2c69c Make this function public API. (#307099, Todd Berman)
2006-01-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkwindow.h:
	* gtk/gtkwindow.c (gtk_window_get_group): Make this function
	public API.  (#307099, Todd Berman)

	* gtk/gtkmenu.c:
	* gtk/gtkmain.c:
	* gtk/gtkentrycompletion.c:
	* gtk/gtkcombo.c:
	* gtk/gtkcombobox.c: Update all callers.
2006-01-10 04:33:30 +00:00
Matthias Clasen
f23bdf7a68 New function to get the action for a proxy. (#326288)
2006-01-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkaction.h:
	* gtk/gtkaction.c (gtk_widget_get_action): New function to
	get the action for a proxy.  (#326288)
2006-01-09 18:07:14 +00:00
Matthias Clasen
b19cda7c37 Add gdk_cairo_set_source_pixmap. (#318805, Alexander Larsson)
2005-12-30  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdk.symbols:
	* gdk/gdkcairo.h:
	* gdk/gdkcairo.c: Add gdk_cairo_set_source_pixmap.  (#318805,
	Alexander Larsson)
2005-12-30 07:16:35 +00:00
Matthias Clasen
9fa783eb62 Add deprecation note to gtk_exit() (#325199, Ævar Arnfjörð Bjarmason)
2005-12-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkmain.sgml: Add deprecation note to
	gtk_exit()  (#325199, Ævar Arnfjörð Bjarmason)
2005-12-30 04:58:41 +00:00
Federico Mena Quintero
e72cea090d In the case for FILTER_RULE_PIXBUF_FORMATS, check that
2005-12-27  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilefilter.c (gtk_file_filter_filter): In the case for
	FILTER_RULE_PIXBUF_FORMATS, check that filter_info->mime_type is
	not NULL.  Fixes bug #317687.
2005-12-27 18:38:52 +00:00
Matthias Clasen
8083b8ef6a Inline docs, use g_assert(), avoid extra allocation for rectangular
2005-12-24  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkregion-generic.c:
	* gdk/gdkpolyreg-generic.c:
	* gdk/gdkregion.h:
	* gdk/gdkrectangle.c: Inline docs, use g_assert(), avoid
	extra allocation for rectangular regions.
2005-12-24 07:29:00 +00:00
Matthias Clasen
f2685563ac Updates 2005-12-20 05:47:43 +00:00
Matthias Clasen
2ae9783809 Fix typo 2005-12-20 04:55:16 +00:00
Matthias Clasen
b5cc099058 Small additions/fixes.
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf/tmpl/module_interface.sgml:
	* gdk-pixbuf/gdk-pixbuf-sections.txt:
	* gdk-pixbuf/tmpl/animation.sgml: Small additions/fixes.
2005-12-19 21:13:49 +00:00
Matthias Clasen
b9c479ba56 Small additions/fixes
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gdk/tmpl/input.sgml:
	* gdk/tmpl/rgb.sgml:
	* gdk/tmpl/x_interaction.sgml:
	* gdk/tmpl/windows.sgml: Small additions/fixes

	* gdk/Makefile.am (IGNORE_HFILES): Add quartz

	* gdk/gdk-sections.txt: Add gdk_window_get_type_hint
2005-12-19 21:02:08 +00:00
Matthias Clasen
189d195c8d Add GtkStatusIcon so it gets an object hierarchy.
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add GtkStatusIcon so it gets
	an object hierarchy.
2005-12-19 20:22:04 +00:00
Matthias Clasen
e60ff3dfd7 Remove inlined documentation
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkbutton.sgml: Remove inlined documentation
2005-12-19 20:19:19 +00:00
Matthias Clasen
19c1116351 Explicitly document GtkStatusIcon as a non-widget. (#324181, Maciej
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkstatusicon.sgml: Explicitly document GtkStatusIcon
	as a non-widget.  (#324181, Maciej Katafiasz)
2005-12-19 19:48:21 +00:00
Ross Burton
b22c707741 If the toolbar mode is ICONS and there is no icon set then show the label, and vice versa (#322019) 2005-12-07 17:14:07 +00:00
Matthias Clasen
4ae9ec1361 Update docs 2005-11-28 14:37:53 +00:00
Matthias Clasen
9856c1b25a Document symbolic colors and color expressions.
2005-11-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkrc.sgml: Document symbolic colors and
	color expressions.
2005-11-23 17:11:36 +00:00
Michael Natterer
ab9c57d34c add gtk_style_lookup_color
2005-11-23  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk-sections.txt: add gtk_style_lookup_color
2005-11-23 10:34:35 +00:00
Anders Carlsson
1097260aa7 Add quartz backend.
2005-11-21  Anders Carlsson  <andersca@imendio.com>

        * configure.in:
        * gtk/Makefile.am:
        * gdk/Makefile.am:
	* gdk/quartz/*:
	Add quartz backend.

        * docs/tools/Makefile.am:
	Only build docshooter when the X11 backend is used.

        * gtk/gtkplug-stub.c:
	Include gtkplug.h here.

        * gtk/gtksocket-stub.c:
	Include gtksocket.h here.
2005-11-22 10:03:32 +00:00
Matthias Clasen
adcf33fa4d Add a tearoff-title property, with getter and setter. (#316482, Olexiy
2005-11-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkcombobox.[hc]: Add a tearoff-title property,
	with getter and setter.  (#316482, Olexiy Avramchenko)

	* tests/testcombo.c (main): Test gtk_combo_box_set_title
2005-11-21 16:01:56 +00:00