Callbacks¶
|
|
|
|
|
|
|
Details¶
- Adw.AnimationTargetFunc(value, *user_data)¶
- Parameters:
Prototype for animation targets based on user callbacks.
- Adw.CssClassBindingMapToClassFunc(self, property_value, *user_data)¶
- Parameters:
self (
Adw.CssClassBinding) – The binding classproperty_value (
GObject.Value) – the source property valueuser_data (
objectorNone) – The user data provided when creating the binding
- Returns:
whether to apply the target CSS class
- Return type:
Prototype for mapping properties to CSS classes for a [class`CssClassBinding`].
Added in version 1.10.
- Adw.CssClassBindingMapToPropertyFunc(self, class_applied, property_value, *user_data)¶
- Parameters:
self (
Adw.CssClassBinding) – The binding classclass_applied (
bool) – whether the target CSS class is appliedproperty_value (
GObject.Value) – The value to use for the source propertyuser_data (
objectorNone) – The user data provided when creating the binding
Prototype for mapping CSS classes to properties for a [class`CssClassBinding`].
Added in version 1.10.
- Adw.SidebarSectionCreateItemFunc(item, *user_data)¶
- Parameters:
item (
GObject.Object) – the item from the model for which to create an item for
- Returns:
an
AdwSidebarItemthat represents item- Return type:
Called for sidebars that are bound to a [iface`Gio`.ListModel] with [method`SidebarSection`.bind_model] for each item that gets added to the model.
Added in version 1.9.