Functions¶
|
|
|
|
|
|
|
Details¶
- Handy.ease_out_cubic(t)¶
-
Computes the ease out for a value.
Added in version 1.0.
- Handy.enum_value_row_name(value, user_data)¶
- Parameters:
value (
Handy.EnumValueObject) – the value from the enum from which to get a name
- Returns:
a displayable name that represents value
- Return type:
Returns the name of a [class`EnumValueObject`].
This is a default implementation of [callback`ComboRowGetEnumValueNameFunc`] to be used with [method`ComboRow`.set_for_enum]. If the enumeration has a nickname, it will return it, otherwise it will return its name.
Added in version 1.0.
- Handy.get_enable_animations(widget)¶
- Parameters:
widget (
Gtk.Widget) – a widget- Returns:
whether animations are enabled for widget
- Return type:
Checks whether animations are enabled for widget.
This should be used when implementing an animated widget to know whether to animate it or not.
Added in version 1.0.
- Handy.init()¶
Initializes Libhandy.
Call this function just after initializing GTK, if you are using [class`Gtk`.Application] it means it must be called when the [signal`Gio`.Application::startup] signal is emitted.
If Libhandy has already been initialized, the function will simply return.
This makes sure translations, types, themes, and icons for the Handy library are set up properly.
Added in version 1.0.