Class: Gtk::CClosureExpression
- Inherits:
-
Expression
- Object
- Expression
- Gtk::CClosureExpression
- Defined in:
- (unknown)
Overview
A variant of GtkClosureExpression using a C closure.
Instance Method Summary collapse
-
#initialize(value_type, marshal, n_params, params, callback_func, user_data, user_destroy) ⇒ Gtk::CClosureExpression
constructor
Creates a
GtkExpressionthat callscallback_funcwhen it is evaluated.
Methods inherited from Expression
#bind, #evaluate, #is_static, #ref, #unref, #value_type, #watch
Constructor Details
#initialize(value_type, marshal, n_params, params, callback_func, user_data, user_destroy) ⇒ Gtk::CClosureExpression
Creates a GtkExpression that calls callback_func when it is evaluated.
This function is a variant of [ctorGtk.ClosureExpression.new] that
creates a GClosure by calling g_cclosure_new() with the given
callback_func, user_data and user_destroy.