Commit Graph

1476 Commits

Author SHA1 Message Date
Christian Dywan
2c83960053 Bug 559009 – gtk_radio_button_get_group documentation needs to say
2008-11-25  Christian Dywan  <christian@imendio.com>

	Bug 559009 – gtk_radio_button_get_group documentation needs
        to say whether to free the returned GSList

	* gtk/tmpl/gtkradiobutton.sgml: Clarify radio_button_get_group docs

svn path=/trunk/; revision=21808
2008-11-25 15:59:05 +00:00
Matthias Clasen
7dfb0b734b Use a new gtk-doc feature to generate much nicer indices.
2008-11-21  Matthias Clasen  <mclasen@redhat.com>

        * gtk/Makefile.am:
        * gdk/Makefile.am:
        * gdk-pixbuf/Makefile.am: Use a new gtk-doc feature to generate
        much nicer indices.

        * gtk/drawing-model.xml: Fix document structure


svn path=/trunk/; revision=21795
2008-11-21 08:21:28 +00:00
Tristan Van Berkom
4858ae47e2 Made buildable and added support for adding children of type "submenu"
* gtk/gtkmenuitem.c: Made buildable and added support for adding children
	of type "submenu"

	* gtk/gtkwindow.c: Added support for custom tag "accel-groups" to add GtkAccelGroups
	to the window.

	* gtk/gtkcontainer.c: Added builder contextual warnings in buildable_add_child()

	* gtk/tests/builder.c: Added tests for buildable menus (test that accelerators are
	properly connected on stock items, test the menu hierarchy, test permission to
	add alien/custom menuitem children).

	* docs/reference/gtk/tmpl/gtkbuilder.sgml, docs/reference/gtk/tmpl/gtkwindow.sgml,
	docs/reference/gtk/tmpl/gtkmenuitem.sgml: Updated docs for buildable submenus
	and accel groups.


svn path=/trunk/; revision=21767
2008-11-06 17:34:30 +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
Federico Mena Quintero
040865e7e8 The GTK+ Drawing Model: new chapter for the documentation
Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=21727
2008-10-29 18:59:40 +00:00
Matthias Clasen
fbf5f4b647 Add GtkOrientable
svn path=/trunk/; revision=21720
2008-10-27 04:07:42 +00:00
Matthias Clasen
8e22ae5eba add a short desc
svn path=/trunk/; revision=21719
2008-10-27 04:03:51 +00:00
Matthias Clasen
3ffe40cd5e Add short desc
svn path=/trunk/; revision=21718
2008-10-27 04:02:57 +00:00
Matthias Clasen
6b16a0d092 Add a missing type
svn path=/trunk/; revision=21710
2008-10-24 04:25:14 +00:00
Michael Natterer
7accf50a3a Bug 516425 – Optionally display accelerators in popups
2008-10-09  Michael Natterer  <mitch@imendio.com>

	Bug 516425 – Optionally display accelerators in popups

	* gtk/tmpl/gtkuimanager.sgml: document the enhanced XML syntax and
	the new enum value for popups with accelerators.


svn path=/trunk/; revision=21616
2008-10-09 08:51:02 +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
Matthias Clasen
859aaf903d Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.

        * gdk/gdk.symbols:
        * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
        a gdk_keymap_get_caps_lock_state function.

        * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
        state-changed when caps lock lockedness changes.

        * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
        changes in the XkbSelectEventDetails call.


svn path=/trunk/; revision=21545
2008-09-29 20:40:45 +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
3a6b0693b9 2.14.2
svn path=/trunk/; revision=21420
2008-09-18 04:30:42 +00:00
Sven Herzberg
ad7880a590 Bug 551063 – deprecated marking without a link to what new code should
2008-09-06  Sven Herzberg  <sven@imendio.com>

        Bug 551063 – deprecated marking without a link to what new code should
        use

        * gdk/tmpl/input.sgml: dropped tmpl documentation for gdk_input_add()
        and gdk_input_add_full()
        * gdk/gdkevents.c: added inline documentation for gdk_input_add() and
        gdk_input_add_full(); added replacement hints into the deprecation
        message

svn path=/trunk/; revision=21305
2008-09-06 17:26:33 +00:00
Stefan Kost
9e90452bac Use xi:include instead of entities to ease maintenance and speed up
* gdk-pixbuf/gdk-pixbuf-csource.xml:
	* gdk-pixbuf/gdk-pixbuf-from-drawables.sgml:
	* gdk-pixbuf/gdk-pixbuf-query-loaders.xml:
	* gdk-pixbuf/gdk-pixbuf-rendering.sgml:
	* gdk-pixbuf/gdk-pixbuf.sgml:
	* gdk-pixbuf/porting-from-imlib.sgml:
	* gdk/gdk-docs.sgml:
	* gdk/multihead.sgml:
	* libgail-util/gail-libgail-util-docs.sgml:
	  Use xi:include instead of entities to ease maintenance and speed up
	  documentation build. Fixes #540967


svn path=/trunk/; revision=21304
2008-09-06 09:47:18 +00:00
Matthias Clasen
21a153f172 2.14.1
svn path=/trunk/; revision=21296
2008-09-05 02:33:53 +00:00
Matthias Clasen
10b98d572c 2.14.0
svn path=/trunk/; revision=21290
2008-09-04 16:56:51 +00:00
Matthias Clasen
45226f9583 Add some missing functions
svn path=/trunk/; revision=21277
2008-09-04 04:22:02 +00:00
Matthias Clasen
4504988e42 Document n-up-layout capability
svn path=/trunk/; revision=21273
2008-09-04 03:46:08 +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
7cc3908418 typo fix
svn path=/trunk/; revision=21216
2008-08-28 02:07:30 +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
783a4d99ed 2.13.7
svn path=/trunk/; revision=21151
2008-08-19 01:17:29 +00:00
Torsten Schönfeld
38993e923a Don't mention GdkWindowRedirect in the docs; it's opaque and not used in any
public API.

svn path=/trunk/; revision=21138
2008-08-16 19:57:41 +00:00
Matthias Clasen
8d221c6caa Some doc additions
svn path=/trunk/; revision=21129
2008-08-15 18:01:38 +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
884d971149 Fix GtkBuilder examples
svn path=/trunk/; revision=20934
2008-08-02 04:37:47 +00:00
Matthias Clasen
ed31e7e8fb Bug 540834 – Insensitive widgets cannot be grabbed
2008-08-02  Matthias Clasen  <mclasen@redhat.com>

        Bug 540834 – Insensitive widgets cannot be grabbed

        * gtk/tmpl/gtkmain.sgml: Explain that insensitive widgets
        cannot be grabbed. Patch by Björn Lindqvist



svn path=/trunk/; revision=20933
2008-08-02 04:35:02 +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
ed383758c6 Improve docs
svn path=/trunk/; revision=20929
2008-08-02 04:12:55 +00:00
Cody Russell
4e3c97b3f2 Bug 56070 – Can't click button after setting it sensitive.
2008-07-31  Cody Russell  <bratsche@gnome.org>

        Bug 56070 – Can't click button after setting it sensitive.

        * gtk/gtkwidget.[ch] 
        * gtk/gtkwindow.c
        * gtk/gtkmain.c
        * gtk/gtkbutton.c
        * gtk/gtkprivate.h
        * gdk/gdkevents.h: Synthesize crossing events events where necessary.

        * gtk/tests/crossingevents.c: Add unit tests for crossing events.

        Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
        has worked on and helped out with this.


svn path=/trunk/; revision=20924
2008-08-01 03:30:50 +00:00
Matthias Clasen
47da2900a6 Add new api
svn path=/trunk/; revision=20920
2008-07-31 22:12:41 +00:00
Matthias Clasen
c3e0a4ea74 2.13.5
svn path=/trunk/; revision=20888
2008-07-22 00:39:10 +00:00
Matthias Clasen
66781b84d0 Add tons of new api
svn path=/trunk/; revision=20868
2008-07-20 01:22:37 +00:00
Matthias Clasen
0a3394b70c Improve the docs
svn path=/trunk/; revision=20867
2008-07-20 00:58:11 +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