summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendererspinner.c
Commit message (Collapse)AuthorAgeFilesLines
* The big versioning cleanupMatthias Clasen2018-02-061-8/+0
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* spinner cell: Avoid a crashMatthias Clasen2018-01-021-2/+0
| | | | | The icon helper is not used, so no point in crashing while trying to destroy it.
* Drop gtk_icon_size_lookupMatthias Clasen2017-11-151-7/+19
| | | | | Add a new, private gtk_image_get_image_size to replace it, and update the remaining callers in a suitable way.
* enums: Change GtkIconSize valuesMatthias Clasen2017-11-151-2/+2
| | | | | The new values are the ones we intend to keep. The old ones had duplicated meanings and nobody knew which one to take.
* cellrendererspinner: Don't track old icon sizeBenjamin Otte2017-11-151-6/+1
| | | | | It was only used to avoid gtk_icon_size_lookup() calls and those aren't expensive.
* snapshot: Rename append APIsBenjamin Otte2017-01-131-6/+6
| | | | | | Instead of having gtk_snapshot_append_foo_node(), just have gtk_snapshot_append_foo(). Nobody needs to know that this internally uses nodes.
* cellrenderer: Remove render() vfuncBenjamin Otte2016-12-231-19/+18
| | | | Make the last 2 cell renderers create the cairo node themselves.
* widget: Remove state-flags leftoversTimm Bäder2016-11-021-26/+0
|
* API: stylecontext: Remove state argument from gettersBenjamin Otte2016-10-161-3/+1
| | | | The argument must always be the current state.
* Remove GtkIconFactoryTimm Bäder2016-10-161-1/+0
| | | | Move the icon size lookup API into gtkicontheme.c
* cellrendererspinner: Draw our own spinnerBenjamin Otte2016-10-161-11/+79
| | | | This is the GtkStyle code just moved.
* gtk: Strip newlines from g_warning and g_errorMatthias Clasen2016-02-281-1/+1
| | | | g_logv adds one for us already.
* GtkCellRendererSpinner: Use G_PARAM_EXPLICIT_NOTIFYMatthias Clasen2014-06-091-7/+21
|
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-1/+1
| | | | Instead of Return value:
* Move wholly deprecated classes to gtk/deprecated/Matthias Clasen2013-07-191-1/+1
| | | | | | | | | | | | | | | | | | We've recently a number of classes wholly. For these cases, move the headers and sources to gtk/deprecated/ and adjust Makefiles and includes accordingly. Affected classes: GtkAction GtkActionGroup GtkActivatable GtkIconFactory GtkImageMenuItem GtkRadioAction GtkRecentAction GtkStock GtkToggleAction GtkUIManager
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-7/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* Deprecate GtkIconFactory, GtkIconSet, GtkIconSourceWilliam Jon McCann2013-06-261-6/+1
| | | | | We want to use GtkIconTheme instead. It is worth noting that the parts that remain undeprecated are GtkIconSize and gtk_icon_size_lookup.
* celrendererspinner: Don't use deprecated APIBenjamin Otte2013-04-021-1/+1
|
* build: Remove now-unused GTK_DISABLE_DEPRECATED undefsBenjamin Otte2012-05-011-1/+0
|
* types: Clean up gtkwidget.h includesBenjamin Otte2012-03-031-1/+2
| | | | | | | In particular gtksettings.h and gtkstylecontext.h needed to be included in lots of places now. Also, I order the includes alphabetically in a bunch of headers.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* cellrendererspinner: Ignore deprecation warningsBenjamin Otte2011-11-081-0/+7
| | | | | The cell renderer relies on deprecated functionality, so we need to disable deprecations for included deprecated headers.
* cellrendererspinner: Include correct headerBenjamin Otte2011-11-081-0/+1
|
* Silence new gcc warningsMatthias Clasen2011-01-231-3/+1
| | | | | gcc 4.6.0 has started to warn about set-but-unused variables. So don't do that, then.
* Remove deprecated GtkSpinner style propertiesMatthias Clasen2011-01-051-5/+3
|
* Reduce includes of gtktypeutils.h to a minimumMatthias Clasen2011-01-041-1/+1
|
* Clip to cell_area when rendering cell contentKristian Rietveld2010-12-161-0/+7
| | | | | | | | | | | | | | | | | | | This fixes a GTK+ 3.0 regression. In GTK+ 2, the render method on GtkCellRenderer had a expose_area parameter, typically set to cell_area. This parameter was used for clipping cell content to be rendered to the cell area (and thus clipping to within the focus rectangle). During the rendering clean up this parameter was removed and no clipping put back into place. Since expose_area was usually equal to cell_area anyway, it does not make sense to reintroduce the expose_area parameter. Instead, we do clipping at two levels: - in gtk_cell_renderer_render() we clip to background_area. We cannot clip to cell_area here because we want to allow cell renderers to render in the background area (e.g. background color/effect). - cell renderers should clip to clip_area when rendering cell content individually (as they had to individually clip to expose_region before).
* Make GdkRectangle arguments in GtkCellRenderer use const consistentlyMatthias Clasen2010-10-041-13/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=630900
* Remove GtkObject completelyMatthias Clasen2010-09-261-0/+1
|
* API: Rename gtk_cairo_paint_*() to gtk_paint_*()Benjamin Otte2010-09-261-1/+1
| | | | | | Large patch, but just renaming. Indentation should still mostly be correct because I took care of keeping the indentation for this function name.
* API: Change cellrenderer->render vfunc to take a cairo_tBenjamin Otte2010-09-261-29/+23
| | | | Also constify the rectangle arguments. They were const anyway.
* gtk/gtkcellrendererspinner.c: use accessor functions to access GtkWidgetJavier Jardón2010-08-221-1/+1
|
* gtkcellrendererspinner: Remove GET_PRIV() macroJavier Jardón2010-07-131-5/+4
| | | | | This macro shouldn't be used in any function, but ->priv pointer instead.
* Use accessor functions to access GtkCellRendererJavier Jardón2010-07-131-1/+2
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Don't use GTK_WIDGET_STATE in internal code anymoreJavier Jardón2010-03-091-1/+1
| | | | | | Use gtk_widget_get/set_state() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_HAS_FOCUSJavier Jardón2010-03-011-1/+1
| | | | | | Use gtk_widget_has_focus() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Add customary args to gtk_style_paint_spinner()Matthias Clasen2009-11-271-0/+3
| | | | ...and adjust all callers.
* Use "Since: 2.x" instead "Since 2.x"Javier Jardón2009-10-301-3/+3
|
* Add single-include guard and reduce includes to what's neededMichael Natterer2009-10-211-2/+3
|
* Add GtkSpinner::animation-duration style propertyBastien Nocera2009-10-141-2/+3
|
* Documentation and stylistic fixupsMatthias Clasen2009-10-141-42/+67
|
* Bug 319607 – Add a throbber (activity widget) to GTK+Bastien Nocera2009-10-141-0/+362
Add GtkSpinner activity throbber, as well as a cell renderer.