Gtk.CClosureExpression

g Gtk.CClosureExpression Gtk.CClosureExpression Gtk.Expression Gtk.Expression Gtk.Expression->Gtk.CClosureExpression

Subclasses:

None

Methods

Inherited:

Gtk.Expression (7)

class

new (value_type, marshal, params, callback_func, *user_data)

Virtual Methods

None

Fields

None

Class Details

class Gtk.CClosureExpression
Bases:

Gtk.Expression

Abstract:

No

A variant of GtkClosureExpression using a C closure.

classmethod new(value_type, marshal, params, callback_func, *user_data)[source]
Parameters:
Returns:

a new GtkExpression

Return type:

Gtk.CClosureExpression

Creates a GtkExpression that calls callback_func when it is evaluated.

This function is a variant of [ctor`Gtk`.ClosureExpression.new] that creates a GClosure by calling g_cclosure_new() with the given callback_func, user_data and user_destroy.