- 27 Feb, 2012 2 commits
-
-
Javier Jardon authored
-
Matthias Clasen authored
This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions in 3.2 and 3.4.
-
- 16 Dec, 2011 3 commits
-
-
Benjamin Otte authored
It's private for now, because we require a GType that isn't exported in the API yet.
-
Benjamin Otte authored
-
Benjamin Otte authored
These make more sense as flags than they do as properties of the cell renderer.
-
- 10 Nov, 2011 1 commit
-
-
Matthias Clasen authored
We now use function attributes for deprecation so the build-breaking guards are no longer needed.
-
- 11 Oct, 2011 1 commit
-
-
Matthias Clasen authored
We define our own GDK_DEPRECATED[_FOR] macros for this and allow it to be turned off by defining the GDK_DISABLE_DEPRECATION_WARNINGS macro.
-
- 27 Jan, 2011 1 commit
-
-
Carlos Garnacho authored
This is a helper function to help retrieve a GtkStateFlags from a GtkCellRendererState, also given the cell renderer and widget sensitivities.
-
- 29 Nov, 2010 1 commit
-
-
Tristan Van Berkom authored
This is because focus in treeviews can be given to cells that cannot do anything with activation (for better keynav), so we dissociate the concept of cell activation and focusing.
-
- 25 Nov, 2010 1 commit
-
-
Tristan Van Berkom authored
Since a cell renderer might use more space than the natural size when recieving expand space it's impossible to know how much space is actually used to render content. Adding this virtual method to allow text renderers to implement it, the base default method uses height-for-width apis and aligns the cell assuming the renderer uses a fixed size. This commit removes the similar code from gtkcellarea and subclasses.
-
- 13 Nov, 2010 1 commit
-
-
Matthias Clasen authored
This is just a private convenience function, and exporting _-prefixed functions doesn't work with our libtool setup. Just do the 3 line calculation in gail.
-
- 09 Nov, 2010 1 commit
-
-
Matthias Clasen authored
This is just a private convenience function, and exporting _-prefixed functions doesn't work with our libtool setup. Just do the 3 line calculation in gail.
-
- 08 Nov, 2010 1 commit
-
-
Javier Jardon authored
-
- 06 Nov, 2010 1 commit
-
-
Javier Jardon authored
-
- 05 Nov, 2010 1 commit
-
-
Tristan Van Berkom authored
-
- 30 Oct, 2010 1 commit
-
-
Javier Jardon authored
-
- 26 Oct, 2010 1 commit
-
-
Javier Jardon authored
-
- 19 Oct, 2010 1 commit
-
-
Matthias Clasen authored
-
- 04 Oct, 2010 1 commit
-
-
- 27 Sep, 2010 1 commit
-
-
Javier Jardon authored
-
- 26 Sep, 2010 5 commits
-
-
Benjamin Otte authored
This mostly goes to keep consistency with the changes to GtkSizeRequest in the last patch, as GtkCellSizeRequest requires GtkCellRenderer and GtkCellRenderer implements GtkCellSizeRequest there's no use in keeping them separate. This patch renames the functions: gtk_cell_size_request_get_request_mode() => gtk_cell_renderer_get_request_mode() gtk_cell_size_request_get_width() => gtk_cell_renderer_get_preferred_width() gtk_cell_size_request_get_height() => gtk_cell_renderer_get_preferred_height() gtk_cell_size_request_get_size() => gtk_cell_renderer_get_preferred_size() gtk_cell_size_request_get_width_for_height() => gtk_cell_renderer_get_preferred_width_for_height() gtk_cell_size_request_get_height_for_width() => gtk_cell_renderer_get_preferred_height_for_width() ... and moves the corresponding vfuncs to GtkCellRenderer. The patch also renames the implementations of these functions in cell renderers to include the word "preferrred".
-
Benjamin Otte authored
-
Benjamin Otte authored
The next commit will rename gtk_cell_renderer_render_cairo() to gtk_cell_renderer_render() again
-
Benjamin Otte authored
It's like gtk_cell_renderer_render(), just cooler.
-
Benjamin Otte authored
Also constify the rectangle arguments. They were const anyway.
-
- 19 Sep, 2010 1 commit
-
-
Javier Jardon authored
-
- 27 Aug, 2010 1 commit
-
-
Javier Jardon authored
-
- 19 Aug, 2010 1 commit
-
-
Tristan Van Berkom authored
This patch adds height-for-width geometry management for cell renderers while still responding to the old gtk_cell_renderer_get_size() apis with virtual return values (obtained by soliciting the new height-for-width cell renderer apis).
-
- 13 Jul, 2010 1 commit
-
-
Javier Jardon authored
-
- 02 May, 2010 2 commits
-
-
Michael Natterer authored
...and disallow inclusion of individual files unconditionally.
-
Javier Jardón authored
-
- 15 Jul, 2009 1 commit
-
-
Michael Natterer authored
-
- 13 Jul, 2009 1 commit
-
-
Michael Natterer authored
-
- 24 Jun, 2008 1 commit
-
-
Michael Natterer authored
2008-06-24 Michael Natterer <mitch@imendio.com> * gtk/gtkassistant.h * gtk/gtkcellrenderer.h * gtk/gtkfilechooserentry.h * gtk/gtkprivate.h * gtk/gtktooltip.h * gtk/gtktreeview.h * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h if there is any other widget included, they all have to include their respective parent classes (the is-a relation works for includes too). svn path=/trunk/; revision=20679
-
- 20 Jun, 2008 2 commits
-
-
Tim Janik authored
* gtk/gtkbox.h: * gtk/gtkbutton.h: * gtk/gtkcellrenderer.h: * gtk/gtkcellrenderertext.h: * gtk/gtkcheckmenuitem.h: * gtk/gtkcontainer.h: * gtk/gtkentry.h: * gtk/gtkhandlebox.h: * gtk/gtkimcontextsimple.h: * gtk/gtklabel.h: * gtk/gtkliststore.h: * gtk/gtkmenu.h: * gtk/gtkmenuitem.h: * gtk/gtkmenushell.h: * gtk/gtknotebook.h: * gtk/gtkpaned.h: * gtk/gtkplug.h: * gtk/gtkprintjob.h: * gtk/gtkprogressbar.h: * gtk/gtkrange.h: * gtk/gtkscale.h: * gtk/gtkscrolledwindow.h: * gtk/gtksizegroup.h: * gtk/gtksocket.h: * gtk/gtkspinbutton.h: * gtk/gtkstatusbar.h: * gtk/gtktable.h: * gtk/gtktearoffmenuitem.h: * gtk/gtktextbuffer.h: * gtk/gtktextview.h: * gtk/gtktogglebutton.h: * gtk/gtktoolbar.h: * gtk/gtktreestore.h: * gtk/gtktreeviewcolumn.h: * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints. svn path=/trunk/; revision=20621
-
Tim Janik authored
* gtk/gtkcellrenderer.h: seal all member fields. All member fields are already accessible via GObject properties. svn path=/trunk/; revision=20525
-
- 28 May, 2008 1 commit
-
-
Michael Natterer authored
2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other headers. * gtk/gtktypebuiltins.h.template * gtk/gtkversion.h.in * gtk/gtk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gtk/gtkprintbackend.h * gtk/gtkprinter-private.h * gtk/gtktextlayout.h * gtk/gtktexttagprivate.h * gtk/gtktexttypes.h * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual headers in these private or semi-private headers. * gtk/gtkimmodule.h: also here because it's not in gtk.h. * gtk/gtkpagesetupunixdialog.h * gtk/gtkprinter.h * gtk/gtkprintjob.h * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers. * gtk/gtkclist.h * gtk/gtkcombo.h * gtk/gtkctree.h * gtk/gtkfilesel.h * gtk/gtkitemfactory.h * gtk/gtklist.h * gtk/gtklistitem.h * gtk/gtkoldeditable.h * gtk/gtkoptionmenu.h * gtk/gtkpixmap.h * gtk/gtkpreview.h * gtk/gtksignal.h * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h> instead of individual headers in these deprecated headers. They don't get included at all when GTK_DISABLE_DEPRECATED is defined, so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED and include them individually, which should continue to work. * gtk/gtkclist.c: include "gtkctree.h" because of the change above. svn path=/trunk/; revision=20221
-
- 25 Jan, 2008 1 commit
-
-
Michael Natterer authored
2008-01-25 Michael Natterer <mitch@imendio.com> * gtk/gtkbutton.h * gtk/gtkcellrenderer.h * gtk/gtkimcontext.h * gtk/gtkstyle.h * gtk/gtktoolbar.h * gtk/gtktooltip.h * gtk/gtktreeprivate.h * gtk/gtktreeviewcolumn.h * gtk/gtkwidget.h: add const to constant structs which are passed into GTK+. Also add some forgotten const for const strings. * gtk/gtkbutton.c * gtk/gtkcellrenderer.c * gtk/gtkimcontext.c * gtk/gtkstyle.c * gtk/gtktoolbar.c * gtk/gtktooltip.c * gtk/gtktreeview.c * gtk/gtktreeviewcolumn.c * gtk/gtkwidget.c: changed accordingly. svn path=/trunk/; revision=19399
-
- 14 Dec, 2006 1 commit
-
-
Benjamin Berg authored
-
- 13 Dec, 2006 1 commit
-
-
Benjamin Berg authored
2006-12-13 Benjamin Berg <benjamin@sipsolutions.net> * engines/clearlooks/src/clearlooks_rc_style.c: (clearlooks_rc_style_init), (clearlooks_gtk2_rc_parse_dummy), (clearlooks_rc_style_parse), (clearlooks_rc_style_merge): * engines/clearlooks/src/clearlooks_rc_style.h: * engines/clearlooks/src/clearlooks_style.c: (clearlooks_style_draw_box), (clearlooks_style_init_from_rc), (clearlooks_style_copy): * engines/clearlooks/src/clearlooks_style.h: * engines/clearlooks/src/clearlooks_types.h: - Remove unused code/options from the code. Warn about their usage while parsing. * themes/Clearlooks/gtk-2.0/gtkrc: - Remove options that don't have any effect.
-