Commit Graph

237 Commits

Author SHA1 Message Date
Matthias Clasen
bb23cebf1b Add a rich text section
2006-04-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-docs.sgml:
	* gtk/gtk-sections.txt: Add a rich text section

	* gtk/Makefile.am (IGNORE_HFILES): Add some more private headers.

	* gtk/tmpl/gtkpreview.sgml:
	* gtk/tmpl/gtkrecentmanager.sgml:
	* gtk/tmpl/gtkprintoperation.sgml:
	* gtk/tmpl/gtkrecentchooser.sgml:
	* gtk/tmpl/gtkicontheme.sgml: Additions

	* gtk/gtk-sections.txt: Remove GtkRecentChooserDefault
2006-04-24 05:40:24 +00:00
Alexander Larsson
27f746fbd0 Merge the gtk-printing branch. For more detailed ChangeLog entries, see
2006-04-21  Alexander Larsson  <alexl@redhat.com>

        Merge the gtk-printing branch.
	For more detailed ChangeLog entries, see the branch.

	* .cvsignore:
	* Makefile.am:
	* configure.in:
	* docs/tools/widgets.c:
	* gtk+-unix-print-2.0.pc.in:
	* gtk/Makefile.am:
	* gtk/gen-paper-names.c:
	* gtk/gtk.h:
	* gtk/gtk.symbols:
	* gtk/gtkenums.h:
	* gtk/gtkiconfactory.c:
	* gtk/gtkmarshalers.list:
	* gtk/gtkpagesetup.[ch]:
	* gtk/gtkpagesetupunixdialog.[ch]:
	* gtk/gtkpapersize.[ch]:
	* gtk/gtkprint-win32.[ch]:
	* gtk/gtkprintbackend.[ch]:
	* gtk/gtkprintcontext.[ch]:
	* gtk/gtkprinter-private.h:
	* gtk/gtkprinter.[ch]:
	* gtk/gtkprinteroption.[ch]:
	* gtk/gtkprinteroptionset.[ch]:
	* gtk/gtkprinteroptionwidget.[ch]:
	* gtk/gtkprintjob.[ch]:
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkprintoperation-win32.c:
	* gtk/gtkprintoperation.[ch]:
	* gtk/gtkprintsettings.[ch]:
	* gtk/gtkprintunixdialog.[ch]:
	* gtk/paper_names.c:
	* gtk/paper_names_offsets.c:
	Platform independent printing API and implementations
	for unix and windows.

	* gtk/gtkstock.h:
	* gtk/stock-icons/24/gtk-orientation-landscape.png:
	* gtk/stock-icons/24/gtk-orientation-portrait.png:
	* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
	Add stock icons for page orientation.

	* modules/Makefile.am:
	* modules/printbackends/Makefile.am:
	* modules/printbackends/cups/Makefile.am:
	* modules/printbackends/cups/gtkcupsutils.[ch]:
	* modules/printbackends/cups/gtkprintbackendcups.[ch]:
	* modules/printbackends/cups/gtkprintercups.[ch]:

	Cups printing backend for unix.

	* modules/printbackends/lpr/Makefile.am:
	* modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
	lpr printing backend for unix.

	* modules/printbackends/pdf/Makefile.am:
	* modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
	print-to-pdf printing backend for unix.

	* tests/.cvsignore:
	* tests/Makefile.am:
	* tests/print-editor.c:
	Test application for printing.

	* gdk/gdk.symbols:
	* gdk/win32/gdkevents-win32.c:
	* gdk/win32/gdkwin32.h:
	Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the
	mainloop while displaying a win32 common dialog.

	* gdk/directfb/Makefile.am:
	Whitespace cleanup.
2006-04-21 15:09:32 +00:00
Matthias Clasen
301dd71a1a Updates 2006-03-31 06:31:50 +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
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
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
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
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
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
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
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
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
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
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
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
Matthias Clasen
cfd7c13b6c Implement a getter for headers-clickable. (#163851, Richard Hult)
2005-11-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c: Implement a getter for headers-clickable.
	(#163851, Richard Hult)
2005-11-10 14:18:45 +00:00
Matthias Clasen
0ce29ee614 Add a focus-on-click property with setter and getter. (#318945, Christian
2005-11-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkfilechooserbutton.h:
	* gtk/gtkfilechooserbutton.c: Add a focus-on-click property
	with setter and getter.  (#318945, Christian Persch)
2005-11-07 15:57:19 +00:00
Matthias Clasen
b863d24089 Add a has-selection property 2005-10-07 03:38:57 +00:00
Michael Natterer
e71dfee544 gtk/gtk-docs.sgml gtk/gtk-sections.txt GtkCellRendererKeys ->
2005-09-22  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk-docs.sgml
	* gtk/gtk-sections.txt
	* gtk/gtk.types: GtkCellRendererKeys -> GtkCellRendererAccel
2005-09-22 16:35:39 +00:00
Matthias Clasen
07600fb107 Add a cell renderer for displaying and editing accelerators, a port of
2005-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrendererkeys.h:
	* gtk/gtkcellrendererkeys.c: Add a cell renderer for displaying
	and editing accelerators, a port of EggCellRendererKeys .

	* gtk/gtk.symbols:
	* gtk/gtk.h:
	* gtk/Makefile.am: Add the keys cell renderer.

	* tests/Makefile.am:
	* tests/testkeys.c: Test GtkCellRendererKeys
2005-09-10 01:51:07 +00:00
Matthias Clasen
7ee4ea8719 Add functions which look for text, image or uri targets in an array of
2005-08-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkselection.h:
	* gtk/gtkselection.c: Add functions which look for text, image
	or uri targets in an array of atoms.   (#314089, Mark Wielaard)
2005-08-30 05:42:37 +00:00
Matthias Clasen
60d6b85399 Add gtk_window_[sg]et_deletable. Add
2005-08-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add gtk_window_[sg]et_deletable.
	Add gtk_selection_data_targets_include_uri.
2005-08-30 05:06:36 +00:00
Matthias Clasen
adb16c5b89 Add a deletable property with getter and setter, to control the close
2005-08-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkwindow.h:
	* gtk/gtkwindow.c: Add a deletable property with getter
	and setter, to control the close button in the window
	frame.  (#59718, Havoc Pennington)
2005-08-30 04:46:09 +00:00
Matthias Clasen
4dfca1aa6b Construct the "Select All" menuitem from stock.
2005-08-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (popup_targets_received):
	* gtk/gtkentry.c (popup_targets_received): Construct
	the "Select All" menuitem from stock.

	* gtk/stock-icons/stock_select_all_{16,24}.png:
	* gtk/stock-icons/Makefile.am:
	* gtk/gtkiconfactory.c:
	* gtk/gtkstock.h:
	* gtk/gtkstock.c: Add a "Select All" stock item.  (#78545,
	Calum Benson)
2005-08-29 20:01:28 +00:00
Matthias Clasen
b17a4ae336 Add docs.
2005-08-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkstatusicon-x11.c: Add docs.

	* gtk/gtkstatusicon.h: Fix a typo.
2005-08-29 19:01:42 +00:00
Matthias Clasen
b0b1c78af8 Small fixes
2005-08-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt:
	* gtk/Makefile.am:
	* gdk-pixbuf/gdk-pixbuf-sections.txt:
	* gdk/tmpl/images.sgml: Small fixes
2005-08-06 05:12:11 +00:00
Federico Mena Quintero
d747251b2e Add a "save" example to the typical usage.
2005-07-15  Federico Mena Quintero  <federico@ximian.com>

	* gtk/tmpl/gtkfilechooserdialog.sgml: Add a "save" example to the
	typical usage.

	* gtk/gtk-sections.txt: Add GtkFileChooserConfirmation,
	gtk_file_chooser_set_do_overwrite_confirmation,
	gtk_file_chooser_get_do_overwrite_confirmation.

	* gtk/tmpl/gtkfilechooser.sgml: Document the confirmation signal
	and enumeration; provide an example.
2005-07-15 05:50:48 +00:00
Matthias Clasen
7158c558ae Add new api 2005-07-14 20:22:00 +00:00
Matthias Clasen
bf9bfd06ca Add a GtkAboutDialog::wrap-license property 2005-07-05 14:53:37 +00:00
Matthias Clasen
546e045ccf Updates 2005-06-30 03:21:25 +00:00
Matthias Clasen
6e30650fe4 Variant of gtk_window_present which takes a timestamp. (#166379, Elijah
2005-06-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkwindow.h:
	* gtk/gtkwindow.c (gtk_window_present_with_time): Variant of
	gtk_window_present which takes a timestamp.  (#166379, Elijah Newren)
2005-06-20 18:19:34 +00:00
Matthias Clasen
b6e4e4cb0c Add an ignore-hidden property with getter and setter. (#171612, Christian
2005-06-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtksizegroup.[hc]: Add an ignore-hidden property
	with getter and setter.  (#171612, Christian Neumair)
2005-06-19 04:16:28 +00:00
Matthias Clasen
58a30d5f5a Make this function public. (#64792, Havoc Pennington)
2005-06-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkimage.h:
	* gtk/gtkimage.c (gtk_image_clear): Make this function
	public.  (#64792, Havoc Pennington)
2005-06-19 02:02:09 +00:00
Matthias Clasen
23fabedc9d Support the ICCCM urgency hint. (#61858, Havoc Pennington)
2005-06-17  Matthias Clasen  <mclasen@redhat.com>

	Support the ICCCM urgency hint.  (#61858, Havoc Pennington)

	* gtk/gtk.symbols:
	* gtk/gtkwindow.[hc]: Add a GtkWindow::urgency-hint property
	with getter and setter.

	* gdk/gdk.symbols:
	* gdk/gdkwindow.h:
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_urgency_hint):
	Add a setter for the urgency hint.

	* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store
	urgency hint here.

	* gdk/x11/gdkwindow-x11.c (update_wm_hints): Set the urgency
	hint in the WM_HINTS property when appropriate.
2005-06-17 20:19:32 +00:00
Matthias Clasen
2e3ff48627 Add new functions.
2005-06-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add new functions.
2005-06-13 05:23:41 +00:00
Matthias Clasen
0dcce7e40c Add gtk_icon_view_get_visible_range
2005-06-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add gtk_icon_view_get_visible_range
2005-06-11 05:17:17 +00:00
Michael Natterer
fa6f8b9401 Add gtk_action_get_accel_closure
2005-06-10  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk-sections.txt: Add gtk_action_get_accel_closure
2005-06-10 19:12:32 +00:00
Matthias Clasen
a4ed2092df Add GtkClipboardIamgeReceivedFunc
2005-06-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkclipboard.sgml:
	* gtk/gtk-sections.txt: Add GtkClipboardIamgeReceivedFunc
2005-06-10 05:03:41 +00:00
Matthias Clasen
226fb39fca Updates 2005-06-09 06:08:25 +00:00
Matthias Clasen
5efff5b160 Add new entry completion functions.
2005-05-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add new entry completion functions.
2005-05-26 20:37:28 +00:00
Matthias Clasen
67f557226f Support named icons in tool buttons by adding a icon-name property.
2005-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtktoolbutton.h:
	* gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name)
	(gtk_tool_button_get_icon_name): Support named icons in
	tool buttons by adding a icon-name property.
2005-05-18 05:38:50 +00:00
Matthias Clasen
77f3189adc New functions to support themed drag icons. (#116577, Christian Neumair)
2005-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkdnd.h:
	* gtk/gtkdnd.c (gtk_drag_source_set_icon_name)
	(gtk_drag_set_icon_name): New functions to support themed
	drag icons.  (#116577, Christian Neumair)
2005-05-18 05:23:59 +00:00
Matthias Clasen
3e77a18b4a Test DND.
2005-05-06  Matthias Clasen  <mclasen@redhat.com>

	* tests/testiconview.c: Test DND.

	* gtk/gtk.symbols:
	* gtk/gtkiconview.[hc]: Add DND support similar to the DND
	support in the tree view.  (#150270)
2005-05-06 04:14:32 +00:00
Matthias Clasen
fefbd24704 Add gtk_dialog_get_response_for_widget. Add new scrolled window getters.
2005-05-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add gtk_dialog_get_response_for_widget.
	Add new scrolled window getters.
2005-05-03 05:02:04 +00:00
Matthias Clasen
c93ab959d3 Add gtk_dialog_get_response_for_widget.
2005-05-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add gtk_dialog_get_response_for_widget.
2005-05-03 04:46:29 +00:00