summaryrefslogtreecommitdiff
path: root/gtk/gtkcssprovider.h
Commit message (Collapse)AuthorAgeFilesLines
* 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.