Commit Graph

341 Commits

Author SHA1 Message Date
Matthias Clasen
97ba70e19b Pick up misc. new api
svn path=/trunk/; revision=21970
2008-12-29 04:11:34 +00:00
Matthias Clasen
b85386bafb Another dupe
svn path=/trunk/; revision=21964
2008-12-29 03:13:42 +00:00
Matthias Clasen
1269355a11 More dupes
svn path=/trunk/; revision=21962
2008-12-29 03:10:16 +00:00
Matthias Clasen
99a772615f Remove duplicates
svn path=/trunk/; revision=21961
2008-12-29 03:08:47 +00:00
Matthias Clasen
94e6589d2d Documentation fixes
svn path=/trunk/; revision=21956
2008-12-29 00:06:12 +00:00
Matthias Clasen
b7935e5e78 Additions
2008-12-27  Matthias Clasen <mclasen@redhat.com>

        * gtk/tmpl/gtkmessagedialog.sgml:
        * gtk/tmpl/gtkmenushell.sgml:
        * gtk/tmpl/gtklinkbutton.sgml:
        * gtk/tmpl/gtkimage.sgml: Additions

        * gtk/gtk-sections.txt:
        * gtk/gtk-docs.sgml: Add GtkHSV
        * gtk/Makefile.am: Don't ignore gtkhsv.h


svn path=/trunk/; revision=21954
2008-12-28 06:59:23 +00:00
Matthias Clasen
ee7c906cd9 Remove nonexisting api
svn path=/trunk/; revision=21952
2008-12-28 06:19:34 +00:00
Matthias Clasen
8a4a531540 More additions
svn path=/trunk/; revision=21943
2008-12-27 05:30:58 +00:00
Matthias Clasen
8e2921f7c5 Add new api
svn path=/trunk/; revision=21934
2008-12-26 06:57:50 +00:00
Marek Kasik
8ff5d4ffc4 Bug 339318 - Allow page rendering to (optionally) happen in a thread
2008-12-19  Marek Kasik  <mkasik@redhat.com>

	Bug 339318 - Allow page rendering to (optionally) happen in a thread

	* gtk/gtk.symbols: API change
	* doc/reference/gtk/gtk-sections.txt: API change
	* gtk/gtkprintoperation-private.h
	* gtk/gtkprintoperation.h
	* gtk/gtkprintoperation.c: Adds 2 new functions
	   gtk_print_operation_set_defer_drawing()
	     - Sets up the GtkPrintOperation to wait for calling of
	       gtk_print_operation_draw_page_finish() from application. It can
	       be used for drawing page in another thread.
	       This function must be called in the callback of "draw-page"
	       signal.
	   gtk_print_operation_draw_page_finish()
	     - Signalize that drawing of particular page is complete.
	       It is called after completion of page drawing (e.g. drawing
	       in another thread).
	       If gtk_print_operation_set_defer_drawing() was called before,
	       then this function has to be called by application. In another
	       case it is called by the library itself.

svn path=/trunk/; revision=21913
2008-12-19 16:42:05 +00:00
Daniel Elstner
0bf3652e1d Bug 563994 – Input method module interface not documented
* gtk/gtkimcontext.h: Add public/private markers.
* gtk/gtkimcontext.c: Add section documentation which explains how
to add a new input method module to GTK+.  Document the signals and
virtual functions of GtkIMContextClass.
* gtk/gtkimmodule.c: Document struct GtkIMContextInfo.
* docs/reference/gtk/gtk-sections.txt: Add GtkIMContextClass and
GtkIMContextInfo to section GtkIMContext.
* docs/reference/gtk/Makefile.am (IGNORE_HFILES): Remove
gtkimmodule.h from the list in order to pick up GtkIMContextInfo.
* docs/reference/gtk/tmpl/gtkimcontext.sgml: Remove file from
repository since all the hand-edited content has been migrated to
source file comments.

svn path=/trunk/; revision=21870
2008-12-11 11:38:59 +00:00
Matthias Clasen
d06e67023c Add new statusicon tooltip api
svn path=/trunk/; revision=21754
2008-11-03 19:46:21 +00:00
Matthias Clasen
4f8f288163 Bug 412134 – Add API to query style properties from the style
2008-11-01  Matthias Clasen  <mclasen@redhat.com>

        Bug 412134 – Add API to query style properties from the style

        * gtk/gtk.symbols:
        * gtk/gtkstyle.[hc]: Add getters for style properties to
        avoid the need for ugly workarounds with dummy widget instances.
        Patch by Mariano Suárez-Alvarez

svn path=/trunk/; revision=21744
2008-11-01 04:15:14 +00:00
Marek Kasik
a3b07ac981 Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
2008-10-30  Marek Kasik  <mkasik@redhat.com>

	Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing

	* gtk/gtk.symbols
	* gtk/gtkprintsettings.c
	* gtk/gtkprintsettings.h
	* docs/reference/gtk/gtk-sections.txt
	* modules/printbackends/file/gtkprintbackendfile.c
	* modules/printbackends/test/gtkprintbackendtest.c
	* modules/printbackends/cups/gtkprintbackendcups.c
	* modules/printbackends/lpr/gtkprintbackendlpr.c:
	Added lpi (lines per inch) setting to GtkPrintSettings and support
	for anamorphic dpi. Surface fallback resolution is set to 2*lpi.

svn path=/trunk/; revision=21733
2008-10-30 16:24:27 +00:00
Matthias Clasen
fbf5f4b647 Add GtkOrientable
svn path=/trunk/; revision=21720
2008-10-27 04:07:42 +00:00
Michael Natterer
776a1d26ab add gtk_box_new.
2008-10-07  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk-sections.txt: add gtk_box_new.


svn path=/trunk/; revision=21597
2008-10-07 07:46:08 +00:00
Björn Lindqvist
36c545b0a1 Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
2008-10-06  Björn Lindqvist  <bjourne@gmail.com>

	Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView

	* gtk/gtkcellview.c (gtk_cell_view_get_model): Add
	gtk_cell_view_get_model.

svn path=/trunk/; revision=21593
2008-10-06 21:15:45 +00:00
Michael Natterer
7d76b604ac add gtk_ruler_new.
2008-10-02  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk-sections.txt: add gtk_ruler_new.


svn path=/trunk/; revision=21566
2008-10-02 15:26:05 +00:00
Torsten Schönfeld
0697bb7942 Add gtk_selection_data_get_selection to retrieve the sealed struct field
GtkSelectionData.selection.

svn path=/trunk/; revision=21564
2008-10-01 18:53:49 +00:00
Michael Natterer
dd41692b20 add gtk_separator_new.
2008-09-30  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk-sections.txt: add gtk_separator_new.


svn path=/trunk/; revision=21554
2008-09-30 14:33:36 +00:00
Matthias Clasen
680c460ff2 Add a getter for the the sealed context_id field.
2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id):
        Add a getter for the the sealed context_id field.


svn path=/trunk/; revision=21546
2008-09-29 20:55:31 +00:00
Carlos Garnacho
ee06ce951b Bug 83935 – GtkEntry's default invisible char should be U+25CF
2008-09-19  Carlos Garnacho  <carlos@imendio.com>

        Bug 83935 – GtkEntry's default invisible char should be U+25CF

        * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
        more suitable invisible char than '*' based on the used font.
        (gtk_entry_class_init) (gtk_entry_set_property)
        (gtk_entry_get_property): Add a "invisible-char-set" property.
        (gtk_entry_unset_invisible_char): New function, needed now that the
        default invisible char isn't fixed.
        * gtk/gtkentry.h:
        * gtk/gtk.symbols:
        * docs/reference/gtk/gtk-sections.txt: Add the new function.

svn path=/trunk/; revision=21446
2008-09-19 13:45:07 +00:00
Matthias Clasen
45226f9583 Add some missing functions
svn path=/trunk/; revision=21277
2008-09-04 04:22:02 +00:00
Matthias Clasen
9eae7a1d2e Split gtk_selection_data_get_data into gtk_selection_data_get_data and
2008-08-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkselection.[hc]: Split gtk_selection_data_get_data into
        gtk_selection_data_get_data and gtk_selection_data_get_length.
        Proposed by Owen Taylor.


svn path=/trunk/; revision=21232
2008-08-29 04:16:56 +00:00
Matthias Clasen
c2a194d3b1 Forgotten file
svn path=/trunk/; revision=21214
2008-08-27 23:09:48 +00:00
Torsten Schönfeld
dea6702955 Move gtk_menu_set_monitor next to gtk_menu_get_monitor. Move
gtk_menu_set_title next to gtk_menu_get_title.

svn path=/trunk/; revision=21159
2008-08-19 20:09:28 +00:00
Matthias Clasen
81aa21a834 Don't add pointless getters
svn path=/trunk/; revision=21114
2008-08-14 03:37:43 +00:00
Torsten Schönfeld
375e16715c Move gtk_font_selection_dialog_get_apply_button,
gtk_font_selection_dialog_get_cancel_button, and
gtk_font_selection_dialog_get_ok_button to the GtkFontSelectionDialog section.

svn path=/trunk/; revision=21112
2008-08-13 20:59:29 +00:00
Matthias Clasen
c246a4e7b0 2.13.6
svn path=/trunk/; revision=21015
2008-08-05 18:20:35 +00:00
Matthias Clasen
7d85757776 Bug 382291 – Automatically dim the combobox when the model is empty
2008-08-04  Matthias Clasen  <mclasen@redhat.com>

        Bug 382291 – Automatically dim the combobox when the model is empty

        * gtk/gtk.symbols:
        * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
        property with getter and setter to control the sensitity of
        empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
        Christian Dywan and others.

        * README.in: Add a note about automatic combobox sensitivity.


svn path=/trunk/; revision=20997
2008-08-04 23:40:36 +00:00
Matthias Clasen
5fde2609d7 Add new functions
svn path=/trunk/; revision=20941
2008-08-02 05:07:48 +00:00
Matthias Clasen
5478721aba Bug 65818 – rename gtk_window_set_default() and add getter for it
svn path=/trunk/; revision=20931
2008-08-02 04:29:47 +00:00
Matthias Clasen
66781b84d0 Add tons of new api
svn path=/trunk/; revision=20868
2008-07-20 01:22:37 +00:00
Paolo Borelli
6ee8be8899 Bug 447998 - GtkBuilder does not support building parts of the xml tree
2008-07-15  Paolo Borelli  <pborelli@katamail.com>

	Bug 447998 - GtkBuilder does not support building parts of the xml tree

	* gtk/gtkbuilder.c:
	* gtk/gtkbuilder.h:
	* gtk/gtkbuilderprivate.h:
	* gtk/gtkbuilderparser.c:
	* gtk/gtk.symbols:
	Add two new functions that allow cherry picking and construct
	objects from a ui description file or string.

	* gtk/tests/builder.c: tests for the above.


svn path=/trunk/; revision=20845
2008-07-16 15:36:53 +00:00
Matthias Clasen
1eb96eadfc Bug 384940 – handle rejecting jobs and authentication meaningfully
Patch by Marek Kasik, icons by Mike Langlie:
        * gtk/gtk.symbols:
        * gtk/gtkprintbackend.h:
        * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
        and getters/setters.

        * gtk/gtkstock.h:
        * gtk/gtkiconfactory.c:
        * gtk/Makefile.am:
        * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.

        * modules/printbackends/cups/gtkprintbackendcups.c:
        * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
        printers.


svn path=/trunk/; revision=20838
2008-07-15 17:34:34 +00:00
Matthias Clasen
efd2dbf026 Add gtk_scale_button_get_popup
svn path=/trunk/; revision=20748
2008-07-03 18:03:13 +00:00
Christian Persch
c9e85e48f8 Add clipboard convenience helpers for URIs. Bug #537639.
svn path=/trunk/; revision=20465
2008-06-19 12:55:57 +00:00
Colin Walters
8ade45013c Bug 535303 – add _get_implementation to GtkStatusIcon
2008-06-03  Colin Walters  <walters@redhat.com>
	
	Bug 535303 – add _get_implementation to GtkStatusIcon

	* gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
	function to retrieve internal X11 window ID, useful for libnotify.
	* gtk/gtkstatusicon.h: Prototype it.
	* docs/reference/gtk/gtk-sections.txt: Add to docs.
	* gtk/gtk.symbols: Export it.


svn path=/trunk/; revision=20304
2008-06-03 17:39:20 +00:00
Matthias Clasen
49a42ac0f0 2.13.1
svn path=/trunk/; revision=20246
2008-05-30 05:08:50 +00:00
Matthias Clasen
948fe6242a Additions
svn path=/trunk/; revision=20173
2008-05-26 05:43:00 +00:00
Matthias Clasen
4d734c0e6a Formatting fixes
2008-05-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkshow.[hc]: Formatting fixes

        * gtk/gtkmountoperation.c: Add docs


svn path=/trunk/; revision=20169
2008-05-26 04:05:17 +00:00
Matthias Clasen
64d2764a04 Bug 465144 - gtkprintjob.h is not included with gtk.h
* gtk/gtk-sections.txt: Fix include for gtkprintjob.h, pointed
        out by Étienne Bersac.


svn path=/trunk/; revision=20160
2008-05-25 20:46:03 +00:00
Matthias Clasen
59ae44d00e RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
was chosen

        Patch by Marek Kasik.

        * gtk/gtk.symbols:
        * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.

        * gtk/gtkprintbackend.[hc]: Add fallback implementation.

        * modules/printbackends/file/gtkprintbackendfile.c:
        * modules/printbackends/cups/gtkprintbackendcups.c: Implement
        get_default_page_size.

        * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
        select its default paper size.

        * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
        use the printer default.

        * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
        if we don't have a default page setup.

svn path=/trunk/; revision=20120
2008-05-21 02:17:30 +00:00
Matthias Clasen
9e9fc4eba5 Updates
svn path=/trunk/; revision=19583
2008-02-15 21:55:07 +00:00
Mathias Hasselmann
fdbf92ad90 Add infrastructure for GtkCalendar details. (#339540)
* gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
Add "detail-width-chars" and "detail-height-rows" properties,
and gtk_calendar_set_detail_func function.

svn path=/trunk/; revision=19251
2007-12-27 20:41:08 +00:00
Xan Lopez
b28fea94a0 Add gtk_border_new to avoid memory allocator confusions when using
2007-12-27  Xan Lopez  <xan@gnome.org>

	* gtk/gtk.symbols:
	* gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):

	Add gtk_border_new to avoid memory allocator confusions when using
	GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)

svn path=/trunk/; revision=19248
2007-12-27 14:04:37 +00:00
Mathias Hasselmann
95adf7ee26 Change GtkToolItem to retrieve its properties from GtkToolShell interface,
instead of relying on being child of a GtkToolbar. (#5034079)

* gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
* docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
* gtk/gtktoolbar.c: Implement GtkToolShellIface.
* gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
* gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
Take section docs from template file and update them for GtkToolShell.
* gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
* gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.

svn path=/trunk/; revision=19177
2007-12-14 10:57:46 +00:00
Matthias Clasen
da057b5675 Close an api gap in tooltips
svn path=/trunk/; revision=19175
2007-12-14 05:00:51 +00:00
Behdad Esfahbod
09c762904e Remove duplicate gtk_print_operation_get_error(). (#473340, Yeti)
2007-09-03  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtk-sections.txt: Remove duplicate
        gtk_print_operation_get_error().  (#473340, Yeti)


svn path=/trunk/; revision=18718
2007-09-03 21:59:49 +00:00
Matthias Clasen
b75486f577 2.11.6
svn path=/trunk/; revision=18513
2007-07-20 23:16:43 +00:00