summaryrefslogtreecommitdiff
path: root/gtk/gtkexpression.h
Commit message (Collapse)AuthorAgeFilesLines
* docs: Annotate missing symbolsEmmanuele Bassi2020-12-011-0/+11
|
* expression: Add some introspectionMatthias Clasen2020-07-131-0/+11
| | | | | Add a few apis to peek inside expressions, mainly for the benefit of GtkInspector and similar uses.
* Turn GtkExpression into a GTypeInstanceEmmanuele Bassi2020-06-011-4/+70
| | | | | | | | | | | | | Since it's a type with sub-classes, we need to use GTypeInstance (at the very least), otherwise we won't be able to address each sub-class as such. This is similar to how GskRenderNode and GdkEvent are handled, with the added difficulty that GtkExpression is meant to be used in properties, in order to be deserialised by GtkBuilder. This requires adding a GParamSpec sub-class that we can match on from within GtkBuilder, alongside some convenience API for storing a GtkExpression inside a GValue.
* expression: Allow passing a this object to bind()Benjamin Otte2020-05-301-2/+3
| | | | This gives a bit more control over the arguments passed to expressions.
* expression: Add gtk_expression_bind()Benjamin Otte2020-05-301-0/+4
| | | | | Add a simple way to bind expressions to object properties. This is essentially the thing to replace g_object_bind_property().
* expression: Add the ability to watch an expressionBenjamin Otte2020-05-301-0/+28
|
* expression: Add GtkObjectExpressionBenjamin Otte2020-05-301-0/+2
| | | | Weak refs break cycles...
* Add GtkExpressionBenjamin Otte2020-05-301-0/+77
GtkExpressions allow looking up values from objects. There are a few simple expressions, but the main one is the closure expression that just calls a user-provided closure.