summaryrefslogtreecommitdiff
path: root/gtk/gtkcssprovider.h
Commit message (Collapse)AuthorAgeFilesLines
* docs: Fix annotation for GtkCssProviderErrorEmmanuele Bassi2014-11-251-1/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=740374
* Fix docs for gtk_css_provider_load_from_resourceMatthias Clasen2014-10-221-1/+1
|
* Add a function to load css from a resourceMatthias Clasen2014-10-041-0/+4
| | | | | | | This is common enough that we should just provide an API for it - we already had a function for this purpose anyway. https://bugzilla.gnome.org/show_bug.cgi?id=672946
* docs: add docs for GtkCssProviderErrorWilliam Jon McCann2014-01-211-0/+11
|
* Add annotations to gtk headersMatthias Clasen2013-05-051-0/+8
| | | | Add annotations to all exported functions in GTK+ headers.
* Revert "Bind the themes to the livecycle of the screen"Matthias Clasen2012-09-171-1/+2
| | | | | | | | | This reverts commit 1f5dea9eba4de5a54e9370fe8e4b90e6c0cec200, since it was causeing noticable behaviour changes. Previously, GTK_DATA_PREFIX=/ ./gtk3-demo would start gtk3-demo with the Raleigh theme. With that change, it was starting with no theme at all (i.e. all black).
* Bind the themes to the lifecycle of the screenWilliam Jon McCann2012-09-161-2/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683896
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* gtk: Use versioned deprecationsMatthias Clasen2012-02-271-0/+1
| | | | | | | 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.
* API: cssprovider: Change parsing-error signalBenjamin Otte2011-08-261-3/+2
| | | | | Instead of path, line and position, emit the section the error happened in. This has a lot more information to consume.
* gtkcssprovider.h: Remove a trailing comma.Murray Cumming2011-06-091-1/+1
|
* css: No more special code for regionsBenjamin Otte2011-05-181-1/+2
| | | | Just treat regions the same as elements.
* css: Rewrite the parserBenjamin Otte2011-05-181-8/+2
| | | | | | | | | | | | | Instead of relying on GScanner and its idea of syntax, code up a parser that obeys the CSS spec. This also has the great side effect of reporting correct line numbers and positions. Also included is a reorganization of the returned error values. Instead of error values describing what type of syntax error was returned, the code just returns SYNTAX_ERROR. Other messages exist for when actual values don't work or when errors shouldn't be fatal due to backwards compatibility.
* API: cssprovider: Add more error codesBenjamin Otte2011-05-181-1/+11
|
* API: cssprovider: Make error a signalBenjamin Otte2011-05-181-1/+6
|
* API: gtk: Add gtk_css_provider_to_string()Benjamin Otte2011-05-181-0/+2
| | | | | | This is intented to convert the contents of a CSS provider back to a string. It is not complete yet but good enough for starting a testsuite. :)
* cssprovider: #include gioBenjamin Otte2011-04-271-1/+1
| | | | We reference GFile...
* cssprovider: Move private struct definition to headerBenjamin Otte2011-04-161-1/+2
| | | | consistency, improved debugging, etc
* gtk: add missing class paddingMichael Natterer2011-01-251-0/+6
| | | | | | Sorry for this late ABI break, but the newly added style classes definitely need padding, so I can just as well add missing padding globally.
* Some error reportingMatthias Clasen2010-12-041-0/+9
| | | | When we take a GError argument, better use it.
* Fix prototype of gtk_css_style_provider_load_from_dataMatthias Clasen2010-12-041-4/+4
| | | | GError arguments must be **.
* Add theming docsCarlos Garnacho2010-12-041-4/+4
| | | | | Both API and file format is documented, there's still missing a migration doc though.
* GtkCssProvider: Add gtk_css_provider_get_named()Carlos Garnacho2010-12-041-0/+2
| | | | This functions loads a CSS file from a installed theme.
* GtkCssProvider: Add gtk_css_provider_load_from_path()Carlos Garnacho2010-12-041-0/+3
|
* GtkCssProvider: Add gtk_css_provider_get_default().Carlos Garnacho2010-12-041-0/+3
| | | | | This method returns a GtkCssProvider with the default style information loaded.
* GtkCssProvider: Add priv pointer to object struct.Carlos Garnacho2010-12-041-0/+1
|
* Added GtkCssProvider.Carlos Garnacho2010-12-041-0/+61
GtkCssProvider is a GtkStyleProvider implementation which is able to read CSS-like input to style widgets. At the moment, only the basic parser features are available.