Dzl micro version component (e.g. 3 if %DZL_VERSION is 1.2.3)
Dzl minor version component (e.g. 2 if %DZL_VERSION is 1.2.3)
Dazzle version, encoded as a string, useful for printing and concatenation.
If both self
and other
are not %NULL, then the cancellation of
other
will be propagated to self
if other
is cancelled.
If self
and other
are the same, self
is returned and no additional
chaining will occur.
If self
and other
are %NULL, then %NULL is returned.
If self
is non-%NULL, it will be returned.
If self
is %NULL and other
is non-%NULL, other will be
returned. This is useful to succinctly chain cancellables like:
|[ cancellable = dzl_cancellable_chain (cancellable, self->cancellable);
@param self a #GCancellable or %NULL
@param other a #GCancellable or %NULL
Create a list of valid uri's from a uri-list drop.
the #GtkSelectionData from drag_data_received
Creates a new frame source that will execute when the timeout interval for the source has elapsed. The timing will try to synchronize based on the end time of the animation.
Target frames per second.
A #GSourceFunc to execute.
Creates a string describing the time span in hours, minutes, and seconds. For example, a time span of three and a half minutes would be "3:30". 2 days, 3 hours, 6 minutes, and 20 seconds would be "51:06:20".
the span of time
A #GBindingTransformFunc to transform a time span into a string label using dzl_g_time_span_to_label().
This function will binary search the contents of store
looking for the
location to insert a new row.
compare_column
must be the index of a column that is a %G_TYPE_POINTER,
%G_TYPE_BOXED or %G_TYPE_OBJECT based column.
compare_func
will be called with key
as the first parameter and the
value from the #GtkListStore row as the second parameter. The third and
final parameter is compare_data
.
A #GtkListStore
A key to compare to when binary searching
the column containing the data to compare
A callback to compare
This function is like gtk_widget_is_ancestor() except that it checks various relative widgets that are not in the direct hierarchy of widgets. That includes #GtkMenu:attach-widget, #GtkPopover:relative-to, and #GtkWindow:transient-for.
This function will find all of the actions on from_widget
in various
groups and add them to widget
. As this just copies the action groups
over, note that it does not allow for muxing items within the same
group.
You should specify a key for mux_key
so that if the same mux key is
seen again, the previous muxings will be removed.
a #GtkWidget
A #GtkWidget containing the groups to copy
a unique key to represent the muxing
This function will generate CSS suitable for Gtk's CSS engine based on the properties of the #PangoFontDescription.
Dzl major version component (e.g. 1 if %DZL_VERSION is 1.2.3)