Sets our main struct and passes it to the parent class.
Installs a shortcut in @widget_class.
Declares a @callback_symbol to handle @callback_name from the template XML defined for @widget_type.
Automatically assign an object declared in the class template XML to be set to a location on a freshly built instance’s private data, or alternatively accessible via [method@Gtk.Widget.get_template_child].
Retrieves the accessible role used by the given GtkWidget class.
Retrieves the signal id for the activation signal set using gtk_widget_class_set_activate_signal().
Gets the name used by this class for matching in CSS code.
Retrieves the type of the [class@Gtk.LayoutManager] used by the GtkWidget class.
the main Gtk struct as a void*
Get the main Gtk struct
This should be called at class initialization time to specify actions to be added for all instances of this class.
Installs an action called @action_name on @widget_class and binds its state to the value of the @property_name property.
Queries the actions that have been installed for a widget class using [method@Gtk.WidgetClass.install_action] during class initialization.
Sets the accessible role used by the given GtkWidget class.
Sets the GtkWidgetClass.activate_signal field with the given @signal_id; the signal will be emitted when calling gtk_widget_activate().
Sets the GtkWidgetClass.activate_signal field with the signal id for the given @signal_name; the signal will be emitted when calling gtk_widget_activate().
Sets the name to be used for CSS matching of widgets.
Sets the type to be used for creating layout managers for widgets of @widget_class.
This should be called at class initialization time to specify the GtkBuilder XML to be used to extend a widget.
A convenience function that calls [method@Gtk.WidgetClass.set_template] with the contents of a GResource.
For use in language bindings, this will override the default GtkBuilderScope to be used when parsing GtkBuilder XML from this class’s template data.
the main Gtk struct