libhandy-rs/Handy-1.gir
2020-07-17 16:28:43 +02:00

9229 lines
405 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="Gio" version="2.0"/>
<include name="Gtk" version="3.0"/>
<package name="libhandy-1"/>
<c:include name="handy.h"/>
<namespace name="Handy"
version="1"
shared-library="libhandy-1.so.0"
c:identifier-prefixes="Hdy"
c:symbol-prefixes="hdy">
<class name="ActionRow"
c:symbol-prefix="action_row"
c:type="HdyActionRow"
parent="PreferencesRow"
glib:type-name="HdyActionRow"
glib:get-type="hdy_action_row_get_type"
glib:type-struct="ActionRowClass">
<source-position filename="../src/hdy-action-row.h" line="31"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Actionable"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_action_row_new"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="488">Creates a new #HdyActionRow.</doc>
<source-position filename="../src/hdy-action-row.h" line="33"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="493">a new #HdyActionRow</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<virtual-method name="activate" invoker="activate">
<source-position filename="../src/hdy-action-row.h" line="30"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="ActionRow" c:type="HdyActionRow*"/>
</instance-parameter>
</parameters>
</virtual-method>
<method name="activate" c:identifier="hdy_action_row_activate">
<source-position filename="../src/hdy-action-row.h" line="58"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="ActionRow" c:type="HdyActionRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="add_prefix"
c:identifier="hdy_action_row_add_prefix"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="799">Adds a prefix widget to @self.</doc>
<source-position filename="../src/hdy-action-row.h" line="55"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="801">a #HdyActionRow</doc>
<type name="ActionRow" c:type="HdyActionRow*"/>
</instance-parameter>
<parameter name="widget" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="802">the prefix widget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="get_activatable_widget"
c:identifier="hdy_action_row_get_activatable_widget"
version="0.0.7">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="662">Gets the widget activated when @self is activated.</doc>
<source-position filename="../src/hdy-action-row.h" line="47"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="668">the widget activated when @self is
activated, or %NULL if none has been set.</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="664">a #HdyActionRow</doc>
<type name="ActionRow" c:type="HdyActionRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_icon_name"
c:identifier="hdy_action_row_get_icon_name"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="606">Gets the icon name for @self.</doc>
<source-position filename="../src/hdy-action-row.h" line="43"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="612">the icon name for @self.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="608">a #HdyActionRow</doc>
<type name="ActionRow" c:type="HdyActionRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_subtitle"
c:identifier="hdy_action_row_get_subtitle"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="555">Gets the subtitle for @self.</doc>
<source-position filename="../src/hdy-action-row.h" line="39"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="561">the subtitle for @self.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="557">a #HdyActionRow</doc>
<type name="ActionRow" c:type="HdyActionRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_title"
c:identifier="hdy_action_row_get_title"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="503">Gets the title for @self.</doc>
<source-position filename="../src/hdy-action-row.h" line="35"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="509">the title for @self.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="505">a #HdyActionRow</doc>
<type name="ActionRow" c:type="HdyActionRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_use_underline"
c:identifier="hdy_action_row_get_use_underline"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="742">Gets whether an embedded underline in the text of the title and subtitle
labels indicates a mnemonic. See hdy_action_row_set_use_underline().</doc>
<source-position filename="../src/hdy-action-row.h" line="51"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="749">%TRUE if an embedded underline in the title and subtitle labels
indicates the mnemonic accelerator keys.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="744">a #HdyActionRow</doc>
<type name="ActionRow" c:type="HdyActionRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_activatable_widget"
c:identifier="hdy_action_row_set_activatable_widget"
version="0.0.7">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="697">Sets the widget to activate when @self is activated, either by clicking
on it, by calling hdy_action_row_activate(), or via mnemonics in the title or
the subtitle. See the “use_underline” property to enable mnemonics.
The target widget will be activated by emitting the
GtkWidget::mnemonic-activate signal on it.</doc>
<source-position filename="../src/hdy-action-row.h" line="48"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="699">a #HdyActionRow</doc>
<type name="ActionRow" c:type="HdyActionRow*"/>
</instance-parameter>
<parameter name="widget"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="700">the target #GtkWidget, or %NULL to unset</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="set_icon_name"
c:identifier="hdy_action_row_set_icon_name"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="631">Sets the icon name for @self.</doc>
<source-position filename="../src/hdy-action-row.h" line="44"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="633">a #HdyActionRow</doc>
<type name="ActionRow" c:type="HdyActionRow*"/>
</instance-parameter>
<parameter name="icon_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="634">the icon name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_subtitle"
c:identifier="hdy_action_row_set_subtitle"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="577">Sets the subtitle for @self.</doc>
<source-position filename="../src/hdy-action-row.h" line="40"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="579">a #HdyActionRow</doc>
<type name="ActionRow" c:type="HdyActionRow*"/>
</instance-parameter>
<parameter name="subtitle" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="580">the subtitle</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_title"
c:identifier="hdy_action_row_set_title"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="525">Sets the title for @self.</doc>
<source-position filename="../src/hdy-action-row.h" line="36"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="527">a #HdyActionRow</doc>
<type name="ActionRow" c:type="HdyActionRow*"/>
</instance-parameter>
<parameter name="title" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="528">the title</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_use_underline"
c:identifier="hdy_action_row_set_use_underline"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="766">If true, an underline in the text of the title and subtitle labels indicates
the next character should be used for the mnemonic accelerator key.</doc>
<source-position filename="../src/hdy-action-row.h" line="52"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="768">a #HdyActionRow</doc>
<type name="ActionRow" c:type="HdyActionRow*"/>
</instance-parameter>
<parameter name="use_underline" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="769">%TRUE if underlines in the text indicate mnemonics</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="activatable-widget"
version="0.0.7"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="366">The activatable widget for this row.</doc>
<type name="Gtk.Widget"/>
</property>
<property name="icon-name"
version="0.0.6"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="352">The icon name for this row.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="subtitle"
version="0.0.6"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="380">The subtitle for this row.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="title"
version="0.0.6"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="394">The title for this row.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="use-underline"
version="0.0.6"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="408">Whether an embedded underline in the text of the title and subtitle labels
indicates a mnemonic.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent_instance">
<type name="PreferencesRow" c:type="HdyPreferencesRow"/>
</field>
<glib:signal name="activated" when="last" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-action-row.c"
line="425">This signal is emitted after the row has been activated.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
</class>
<record name="ActionRowClass"
c:type="HdyActionRowClass"
glib:is-gtype-struct-for="ActionRow">
<source-position filename="../src/hdy-action-row.h" line="31"/>
<field name="parent_class">
<doc xml:space="preserve"
filename="../src/hdy-action-row.h"
line="23">The parent class</doc>
<type name="Gtk.ListBoxRowClass" c:type="GtkListBoxRowClass"/>
</field>
<field name="activate">
<callback name="activate">
<source-position filename="../src/hdy-action-row.h" line="30"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<type name="ActionRow" c:type="HdyActionRow*"/>
</parameter>
</parameters>
</callback>
</field>
</record>
<class name="ApplicationWindow"
c:symbol-prefix="application_window"
c:type="HdyApplicationWindow"
parent="Gtk.ApplicationWindow"
glib:type-name="HdyApplicationWindow"
glib:get-type="hdy_application_window_get_type"
glib:type-struct="ApplicationWindowClass">
<source-position filename="../src/hdy-application-window.h" line="24"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gio.ActionGroup"/>
<implements name="Gio.ActionMap"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_application_window_new"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-application-window.c"
line="136">Creates a new #HdyApplicationWindow.</doc>
<source-position filename="../src/hdy-application-window.h" line="26"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-application-window.c"
line="141">a newly created #HdyApplicationWindow</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<field name="parent_instance">
<type name="Gtk.ApplicationWindow" c:type="GtkApplicationWindow"/>
</field>
</class>
<record name="ApplicationWindowClass"
c:type="HdyApplicationWindowClass"
glib:is-gtype-struct-for="ApplicationWindow">
<source-position filename="../src/hdy-application-window.h" line="24"/>
<field name="parent_class">
<type name="Gtk.ApplicationWindowClass"
c:type="GtkApplicationWindowClass"/>
</field>
</record>
<class name="Avatar"
c:symbol-prefix="avatar"
c:type="HdyAvatar"
parent="Gtk.DrawingArea"
glib:type-name="HdyAvatar"
glib:get-type="hdy_avatar_get_type"
glib:type-struct="AvatarClass">
<source-position filename="../src/hdy-avatar.h" line="20"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new" c:identifier="hdy_avatar_new">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="546">Creates a new #HdyAvatar.</doc>
<source-position filename="../src/hdy-avatar.h" line="37"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="556">the newly created #HdyAvatar</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="548">The size of the avatar</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="text"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="549">The text used to generate the color and initials if
@show_initials is %TRUE. The color is selected at random if @text is empty.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="show_initials" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="551">whether to show the initials or the fallback icon on
top of the color generated based on @text.</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</constructor>
<method name="get_show_initials"
c:identifier="hdy_avatar_get_show_initials">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="614">Returns whether initials are used for the fallback or the icon.</doc>
<source-position filename="../src/hdy-avatar.h" line="43"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="620">%TRUE if the initials are used for the fallback.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="616">a #HdyAvatar</doc>
<type name="Avatar" c:type="HdyAvatar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_size" c:identifier="hdy_avatar_get_size">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="682">Returns the size of the avatar.</doc>
<source-position filename="../src/hdy-avatar.h" line="50"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="688">the size of the avatar.</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="684">a #HdyAvatar</doc>
<type name="Avatar" c:type="HdyAvatar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_text" c:identifier="hdy_avatar_get_text">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="570">Get the text used to generate the fallback initials and color</doc>
<source-position filename="../src/hdy-avatar.h" line="40"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="576">returns the text used to generate
the fallback initials. This is the internal string used by
the #HdyAvatar, and must not be modified.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="572">a #HdyAvatar</doc>
<type name="Avatar" c:type="HdyAvatar*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_image_load_func"
c:identifier="hdy_avatar_set_image_load_func">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="653">A callback which is called when the custom image need to be reloaded for some
reason (e.g. scale-factor changes).</doc>
<source-position filename="../src/hdy-avatar.h" line="46"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="655">a #HdyAvatar</doc>
<type name="Avatar" c:type="HdyAvatar*"/>
</instance-parameter>
<parameter name="load_image"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="notified"
closure="1"
destroy="2">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="656">callback to set a custom image</doc>
<type name="AvatarImageLoadFunc" c:type="HdyAvatarImageLoadFunc"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="657">user data passed to @load_image</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="async">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="658">destroy notifier for @user_data</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
<method name="set_show_initials"
c:identifier="hdy_avatar_set_show_initials">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="630">Sets whether the initials should be shown on the fallback avatar or the icon.</doc>
<source-position filename="../src/hdy-avatar.h" line="44"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="632">a #HdyAvatar</doc>
<type name="Avatar" c:type="HdyAvatar*"/>
</instance-parameter>
<parameter name="show_initials" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="633">whether the initials should be shown on the fallback avatar
or the icon.</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_size" c:identifier="hdy_avatar_set_size">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="698">Sets the size of the avatar.</doc>
<source-position filename="../src/hdy-avatar.h" line="51"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="700">a #HdyAvatar</doc>
<type name="Avatar" c:type="HdyAvatar*"/>
</instance-parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="701">The size to be used for the avatar</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_text" c:identifier="hdy_avatar_set_text">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="588">Set the text used to generate the fallback initials color</doc>
<source-position filename="../src/hdy-avatar.h" line="41"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="590">a #HdyAvatar</doc>
<type name="Avatar" c:type="HdyAvatar*"/>
</instance-parameter>
<parameter name="text"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="591">the text used to get the initials and color</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<property name="show-initials" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="size" writable="1" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="496">The avatar size of the avatar.</doc>
<type name="gint" c:type="gint"/>
</property>
<property name="text" writable="1" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.c"
line="507">The text used for the initials and for generating the color.
If #HdyAvatar:show-initials is %FALSE it's only used to generate the color.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
</class>
<record name="AvatarClass"
c:type="HdyAvatarClass"
glib:is-gtype-struct-for="Avatar">
<source-position filename="../src/hdy-avatar.h" line="20"/>
<field name="parent_class">
<type name="Gtk.DrawingAreaClass" c:type="GtkDrawingAreaClass"/>
</field>
</record>
<callback name="AvatarImageLoadFunc" c:type="HdyAvatarImageLoadFunc">
<doc xml:space="preserve"
filename="../src/hdy-avatar.h"
line="22">The returned #GdkPixbuf is expected to be square with width and height set
to @size. The image is cropped to a circle without any scaling or transformation.</doc>
<source-position filename="../src/hdy-avatar.h" line="33"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-avatar.h"
line="30">the #GdkPixbuf to use as a custom avatar
or %NULL to fallback to the generated avatar.</doc>
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
</return-value>
<parameters>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-avatar.h"
line="24">the required size of the avatar</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1"
closure="1">
<doc xml:space="preserve"
filename="../src/hdy-avatar.h"
line="25">user data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<class name="Carousel"
c:symbol-prefix="carousel"
c:type="HdyCarousel"
parent="Gtk.EventBox"
glib:type-name="HdyCarousel"
glib:get-type="hdy_carousel_get_type"
glib:type-struct="CarouselClass">
<source-position filename="../src/hdy-carousel.h" line="20"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<implements name="Gtk.Orientable"/>
<implements name="Swipeable"/>
<constructor name="new" c:identifier="hdy_carousel_new" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1165">Create a new #HdyCarousel widget.</doc>
<source-position filename="../src/hdy-carousel.h" line="28"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1170">The newly created #HdyCarousel widget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="get_allow_mouse_drag"
c:identifier="hdy_carousel_get_allow_mouse_drag"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1584">Sets whether @self can be dragged with mouse pointer</doc>
<source-position filename="../src/hdy-carousel.h" line="72"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1590">%TRUE if @self can be dragged with mouse</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1586">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_animation_duration"
c:identifier="hdy_carousel_get_animation_duration"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1543">Gets animation duration used by hdy_carousel_scroll_to().</doc>
<source-position filename="../src/hdy-carousel.h" line="68"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1549">Animation duration in milliseconds</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1545">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_center_content"
c:identifier="hdy_carousel_get_center_content"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1460">Sets whether @self is centering pages.</doc>
<source-position filename="../src/hdy-carousel.h" line="60"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1466">%TRUE if @self is centering pages</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1462">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_indicator_spacing"
c:identifier="hdy_carousel_get_indicator_spacing"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1417">Gets spacing between content and page indicators.</doc>
<source-position filename="../src/hdy-carousel.h" line="56"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1423">Spacing between content and indicators</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1419">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_indicator_style"
c:identifier="hdy_carousel_get_indicator_style"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1373">Gets the current page indicator style.</doc>
<source-position filename="../src/hdy-carousel.h" line="52"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1379">the current indicator style</doc>
<type name="CarouselIndicatorStyle"
c:type="HdyCarouselIndicatorStyle"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1375">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_interactive"
c:identifier="hdy_carousel_get_interactive"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1329">Gets whether @self can be navigated.</doc>
<source-position filename="../src/hdy-carousel.h" line="48"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1335">%TRUE if @self can be swiped</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1331">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_n_pages"
c:identifier="hdy_carousel_get_n_pages"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1293">Gets the number of pages in @self.</doc>
<source-position filename="../src/hdy-carousel.h" line="45"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1299">The number of pages in @self</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1295">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_position"
c:identifier="hdy_carousel_get_position"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1311">Gets current scroll position in @self. It's unitless, 1 matches 1 page.</doc>
<source-position filename="../src/hdy-carousel.h" line="46"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1317">The scroll position</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1313">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_reveal_duration"
c:identifier="hdy_carousel_get_reveal_duration"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1628">Gets duration of the animation used when adding or removing pages in
milliseconds.</doc>
<source-position filename="../src/hdy-carousel.h" line="76"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1635">Page reveal duration</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1630">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_spacing"
c:identifier="hdy_carousel_get_spacing"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1507">Gets spacing between pages in pixels.</doc>
<source-position filename="../src/hdy-carousel.h" line="64"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1513">Spacing between pages</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1509">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
</parameters>
</method>
<method name="insert" c:identifier="hdy_carousel_insert" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1198">Inserts @child into @self at position @position.
If position is -1, or larger than the number of pages,
@child will be appended to the end.</doc>
<source-position filename="../src/hdy-carousel.h" line="32"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1200">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
<parameter name="child" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1201">a widget to add</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
<parameter name="position" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1202">the position to insert @child in.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="prepend" c:identifier="hdy_carousel_prepend" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1180">Prepends @child to @self</doc>
<source-position filename="../src/hdy-carousel.h" line="30"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1182">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
<parameter name="child" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1183">a widget to add</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="reorder" c:identifier="hdy_carousel_reorder" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1220">Moves @child into position @position.
If position is -1, or larger than the number of pages, @child will be moved
to the end.</doc>
<source-position filename="../src/hdy-carousel.h" line="35"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1222">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
<parameter name="child" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1223">a widget to add</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
<parameter name="position" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1224">the position to move @child to.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="scroll_to"
c:identifier="hdy_carousel_scroll_to"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1244">Scrolls to @widget position with an animation.
#HdyCarousel:animation-duration property can be used for controlling the
duration.</doc>
<source-position filename="../src/hdy-carousel.h" line="39"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1246">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
<parameter name="widget" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1247">a child of @self</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="scroll_to_full"
c:identifier="hdy_carousel_scroll_to_full"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1264">Scrolls to @widget position with an animation.</doc>
<source-position filename="../src/hdy-carousel.h" line="41"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1266">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
<parameter name="widget" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1267">a child of @self</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1268">animation duration in milliseconds</doc>
<type name="gint64" c:type="gint64"/>
</parameter>
</parameters>
</method>
<method name="set_allow_mouse_drag"
c:identifier="hdy_carousel_set_allow_mouse_drag"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1602">Sets whether @self can be dragged with mouse pointer. If @allow_mouse_drag
is %FALSE, dragging is only available on touch.</doc>
<source-position filename="../src/hdy-carousel.h" line="73"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1604">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
<parameter name="allow_mouse_drag" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1605">whether @self can be dragged with mouse pointer</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_animation_duration"
c:identifier="hdy_carousel_set_animation_duration"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1561">Sets animation duration used by hdy_carousel_scroll_to().</doc>
<source-position filename="../src/hdy-carousel.h" line="69"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1563">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1564">animation duration in milliseconds</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_center_content"
c:identifier="hdy_carousel_set_center_content"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1478">Sets whether @self is centering content. If #HdyCarousel:indicator-style is
@HDY_CAROUSEL_INDICATOR_STYLE_NONE, centering does nothing, otherwise it
adds whitespace to the left or above the pages to compensate for the
indicators.</doc>
<source-position filename="../src/hdy-carousel.h" line="61"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1480">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
<parameter name="center_content" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1481">whether @self should center contents</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_indicator_spacing"
c:identifier="hdy_carousel_set_indicator_spacing"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1435">Sets spacing between content and page indicators. Does nothing if
#HdyCarousel:indicator-style is @HDY_CAROUSEL_INDICATOR_STYLE_NONE.</doc>
<source-position filename="../src/hdy-carousel.h" line="57"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1437">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
<parameter name="spacing" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1438">the new spacing value</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_indicator_style"
c:identifier="hdy_carousel_set_indicator_style"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1391">Sets style of page indicators. Depending on orientation, they are displayed
below or besides the pages. If the pages are meant to be centered,
#HdyCarousel:center-content can be used to compensate for that.</doc>
<source-position filename="../src/hdy-carousel.h" line="53"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1393">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
<parameter name="style" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1394">indicator style to use</doc>
<type name="CarouselIndicatorStyle"
c:type="HdyCarouselIndicatorStyle"/>
</parameter>
</parameters>
</method>
<method name="set_interactive"
c:identifier="hdy_carousel_set_interactive"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1347">Sets whether @self can be navigated. This can be used to temporarily disable
a #HdyCarousel to only allow swiping in a certain state.</doc>
<source-position filename="../src/hdy-carousel.h" line="49"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1349">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
<parameter name="interactive" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1350">whether @self can be swiped.</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_reveal_duration"
c:identifier="hdy_carousel_set_reveal_duration"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1647">Sets duration of the animation used when adding or removing pages in
milliseconds.</doc>
<source-position filename="../src/hdy-carousel.h" line="77"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1649">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
<parameter name="reveal_duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1650">the new reveal duration value</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_spacing"
c:identifier="hdy_carousel_set_spacing"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1525">Sets spacing between pages in pixels.</doc>
<source-position filename="../src/hdy-carousel.h" line="65"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1527">a #HdyCarousel</doc>
<type name="Carousel" c:type="HdyCarousel*"/>
</instance-parameter>
<parameter name="spacing" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1528">the new spacing value</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<property name="allow-mouse-drag"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1069">Sets whether the #HdyCarousel can be dragged with mouse pointer. If the
value is %FALSE, dragging is only available on touch.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="animation-duration"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1055">Animation duration in milliseconds, used by hdy_carousel_scroll_to().</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="center-content"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1022">Whether the #HdyCarousel is centering pages. If
#HdyCarousel:indicator-style is @HDY_CAROUSEL_INDICATOR_STYLE_NONE,
centering does nothing, otherwise it adds whitespace to the left or above
the pages to compensate for the indicators.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="indicator-spacing"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1005">Spacing between content and page indicators. Does nothing if
#HdyCarousel:indicator-style is @HDY_CAROUSEL_INDICATOR_STYLE_NONE.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="indicator-style"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="988">The style of page indicators. Depending on orientation, they are displayed
below or besides the pages. If the pages are meant to be centered,
#HdyCarousel:center-content can be used to compensate for that.</doc>
<type name="CarouselIndicatorStyle"/>
</property>
<property name="interactive"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="973">Whether @self can be navigated. This can be used to temporarily disable
a #HdyCarousel to only allow navigating it in a certain state.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="n-pages" version="1.0" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="940">The number of pages in a #HdyCarousel</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="position" version="1.0" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="956">Current scrolling position, unitless. 1 matches 1 page. Use
hdy_carousel_scroll_to() for changing it.</doc>
<type name="gdouble" c:type="gdouble"/>
</property>
<property name="reveal-duration"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1084">Page reveal duration in milliseconds.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="spacing"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1039">Spacing between pages in pixels.</doc>
<type name="guint" c:type="guint"/>
</property>
<glib:signal name="page-changed" when="last" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1106">This signal is emitted after a page has been changed. This can be used to
implement "infinite scrolling" by connecting to this signal and amending
the pages.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="index" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="1109">Current page</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="CarouselClass"
c:type="HdyCarouselClass"
glib:is-gtype-struct-for="Carousel">
<source-position filename="../src/hdy-carousel.h" line="20"/>
<field name="parent_class">
<type name="Gtk.EventBoxClass" c:type="GtkEventBoxClass"/>
</field>
</record>
<enumeration name="CarouselIndicatorStyle"
glib:type-name="HdyCarouselIndicatorStyle"
glib:get-type="hdy_carousel_indicator_style_get_type"
c:type="HdyCarouselIndicatorStyle">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="50">These enumeration values describe the possible page indicator styles in a
#HdyCarousel widget.
New values may be added to this enumeration over time.</doc>
<member name="none"
value="0"
c:identifier="HDY_CAROUSEL_INDICATOR_STYLE_NONE"
glib:nick="none">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="52">No indicators</doc>
</member>
<member name="dots"
value="1"
c:identifier="HDY_CAROUSEL_INDICATOR_STYLE_DOTS"
glib:nick="dots">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="53">Each page is represented by a dot. Active dot gradually becomes larger and more opaque.</doc>
</member>
<member name="lines"
value="2"
c:identifier="HDY_CAROUSEL_INDICATOR_STYLE_LINES"
glib:nick="lines">
<doc xml:space="preserve"
filename="../src/hdy-carousel.c"
line="54">Each page is represented by a thin and long line, and active view is shown with another line that moves between them</doc>
</member>
</enumeration>
<enumeration name="CenteringPolicy"
glib:type-name="HdyCenteringPolicy"
glib:get-type="hdy_centering_policy_get_type"
c:type="HdyCenteringPolicy">
<member name="loose"
value="0"
c:identifier="HDY_CENTERING_POLICY_LOOSE"
glib:nick="loose">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="64">Keep the title centered when possible</doc>
</member>
<member name="strict"
value="1"
c:identifier="HDY_CENTERING_POLICY_STRICT"
glib:nick="strict">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="65">Keep the title centered at all cost</doc>
</member>
</enumeration>
<class name="Clamp"
c:symbol-prefix="clamp"
c:type="HdyClamp"
parent="Gtk.Bin"
glib:type-name="HdyClamp"
glib:get-type="hdy_clamp_get_type"
glib:type-struct="ClampClass">
<source-position filename="../src/hdy-clamp.h" line="19"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<implements name="Gtk.Orientable"/>
<constructor name="new" c:identifier="hdy_clamp_new" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="459">Creates a new #HdyClamp.</doc>
<source-position filename="../src/hdy-clamp.h" line="21"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="464">a new #HdyClamp</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="get_maximum_size"
c:identifier="hdy_clamp_get_maximum_size"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="474">Gets the maximum size to allocate to the contained child. It is the width if
@self is horizontal, or the height if it is vertical.</doc>
<source-position filename="../src/hdy-clamp.h" line="22"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="481">the maximum width to allocate to the contained child.</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="476">a #HdyClamp</doc>
<type name="Clamp" c:type="HdyClamp*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_tightening_threshold"
c:identifier="hdy_clamp_get_tightening_threshold"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="519">Gets the size starting from which the clamp will tighten its grip on the
child.</doc>
<source-position filename="../src/hdy-clamp.h" line="25"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="526">the size starting from which the clamp will tighten its grip on the
child.</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="521">a #HdyClamp</doc>
<type name="Clamp" c:type="HdyClamp*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_maximum_size"
c:identifier="hdy_clamp_set_maximum_size"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="493">Sets the maximum size to allocate to the contained child. It is the width if
@self is horizontal, or the height if it is vertical.</doc>
<source-position filename="../src/hdy-clamp.h" line="23"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="495">a #HdyClamp</doc>
<type name="Clamp" c:type="HdyClamp*"/>
</instance-parameter>
<parameter name="maximum_size" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="496">the maximum size</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_tightening_threshold"
c:identifier="hdy_clamp_set_tightening_threshold"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="539">Sets the size starting from which the clamp will tighten its grip on the
child.</doc>
<source-position filename="../src/hdy-clamp.h" line="26"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="541">a #HdyClamp</doc>
<type name="Clamp" c:type="HdyClamp*"/>
</instance-parameter>
<parameter name="tightening_threshold" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="542">the tightening threshold</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<property name="maximum-size"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="407">The maximum size to allocate to the child. It is the width if the clamp is
horizontal, or the height if it is vertical.</doc>
<type name="gint" c:type="gint"/>
</property>
<property name="tightening-threshold"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-clamp.c"
line="422">The size starting from which the clamp will tighten its grip on the child,
slowly allocating less and less of the available size up to the maximum
allocated size. Below that threshold and below the maximum width, the child
will be allocated all the available size.
If the threshold is greater than the maximum size to allocate to the child,
the child will be allocated all the width up to the maximum.
If the threshold is lower than the minimum size to allocate to the child,
that size will be used as the tightening threshold.
Effectively, tightening the grip on the child before it reaches its maximum
size makes transitions to and from the maximum size smoother when resizing.</doc>
<type name="gint" c:type="gint"/>
</property>
</class>
<record name="ClampClass"
c:type="HdyClampClass"
glib:is-gtype-struct-for="Clamp">
<source-position filename="../src/hdy-clamp.h" line="19"/>
<field name="parent_class">
<type name="Gtk.BinClass" c:type="GtkBinClass"/>
</field>
</record>
<class name="ComboRow"
c:symbol-prefix="combo_row"
c:type="HdyComboRow"
parent="ActionRow"
glib:type-name="HdyComboRow"
glib:get-type="hdy_combo_row_get_type"
glib:type-struct="ComboRowClass">
<source-position filename="../src/hdy-combo-row.h" line="56"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Actionable"/>
<implements name="Gtk.Buildable"/>
<constructor name="new" c:identifier="hdy_combo_row_new" version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="462">Creates a new #HdyComboRow.</doc>
<source-position filename="../src/hdy-combo-row.h" line="58"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="467">a new #HdyComboRow</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="bind_model"
c:identifier="hdy_combo_row_bind_model"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="499">Binds @model to @self.
If @self was already bound to a model, that previous binding is destroyed.
The contents of @self are cleared and then filled with widgets that represent
items from @model. @self is updated whenever @model changes. If @model is
%NULL, @self is left empty.</doc>
<source-position filename="../src/hdy-combo-row.h" line="62"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="501">a #HdyComboRow</doc>
<type name="ComboRow" c:type="HdyComboRow*"/>
</instance-parameter>
<parameter name="model"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="502">the #GListModel to be bound to @self</doc>
<type name="Gio.ListModel" c:type="GListModel*"/>
</parameter>
<parameter name="create_list_widget_func"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="call">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="503">a function that creates
widgets for items to display in the list, or %NULL in case you also passed
%NULL as @model</doc>
<type name="Gtk.ListBoxCreateWidgetFunc"
c:type="GtkListBoxCreateWidgetFunc"/>
</parameter>
<parameter name="create_current_widget_func"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="notified"
closure="3"
destroy="4">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="506">a function that creates
widgets for items to display as the selected item, or %NULL in case you
also passed %NULL as @model</doc>
<type name="Gtk.ListBoxCreateWidgetFunc"
c:type="GtkListBoxCreateWidgetFunc"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="509">user data passed to @create_list_widget_func and
@create_current_widget_func</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="user_data_free_func"
transfer-ownership="none"
scope="async">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="511">function for freeing @user_data</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
<method name="bind_name_model"
c:identifier="hdy_combo_row_bind_name_model"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="573">Binds @model to @self.
If @self was already bound to a model, that previous binding is destroyed.
The contents of @self are cleared and then filled with widgets that represent
items from @model. @self is updated whenever @model changes. If @model is
%NULL, @self is left empty.
This is more convenient to use than hdy_combo_row_bind_model() if you want to
represent items of the model with names.</doc>
<source-position filename="../src/hdy-combo-row.h" line="68"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="575">a #HdyComboRow</doc>
<type name="ComboRow" c:type="HdyComboRow*"/>
</instance-parameter>
<parameter name="model"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="576">the #GListModel to be bound to @self</doc>
<type name="Gio.ListModel" c:type="GListModel*"/>
</parameter>
<parameter name="get_name_func"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="notified"
closure="2"
destroy="3">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="577">a function that creates names for items, or %NULL
in case you also passed %NULL as @model</doc>
<type name="ComboRowGetNameFunc" c:type="HdyComboRowGetNameFunc"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="579">user data passed to @get_name_func</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="user_data_free_func"
transfer-ownership="none"
scope="async">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="580">function for freeing @user_data</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
<method name="get_model"
c:identifier="hdy_combo_row_get_model"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="477">Gets the model bound to @self, or %NULL if none is bound.</doc>
<source-position filename="../src/hdy-combo-row.h" line="60"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="483">the #GListModel bound to @self or %NULL</doc>
<type name="Gio.ListModel" c:type="GListModel*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="479">a #HdyComboRow</doc>
<type name="ComboRow" c:type="HdyComboRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_selected_index"
c:identifier="hdy_combo_row_get_selected_index"
version="0.0.7">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="667">Gets the index of the selected item in its #GListModel.</doc>
<source-position filename="../src/hdy-combo-row.h" line="79"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="673">the index of the selected item, or -1 if no item is selected</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="669">a #GtkListBoxRow</doc>
<type name="ComboRow" c:type="HdyComboRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_use_subtitle"
c:identifier="hdy_combo_row_get_use_subtitle"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="721">Gets whether the current value of @self should be displayed as its subtitle.</doc>
<source-position filename="../src/hdy-combo-row.h" line="83"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="727">whether the current value of @self should be displayed as its subtitle</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="723">a #GtkListBoxRow</doc>
<type name="ComboRow" c:type="HdyComboRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_for_enum"
c:identifier="hdy_combo_row_set_for_enum"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="616">Creates a model for @enum_type and binds it to @self. The items of the model
will be #HdyEnumValueObject objects.
If @self was already bound to a model, that previous binding is destroyed.
The contents of @self are cleared and then filled with widgets that represent
items from @model. @self is updated whenever @model changes. If @model is
%NULL, @self is left empty.
This is more convenient to use than hdy_combo_row_bind_name_model() if you
want to represent values of an enumeration with names.
See hdy_enum_value_row_name().</doc>
<source-position filename="../src/hdy-combo-row.h" line="73"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="618">a #HdyComboRow</doc>
<type name="ComboRow" c:type="HdyComboRow*"/>
</instance-parameter>
<parameter name="enum_type" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="619">the enumeration #GType to be bound to @self</doc>
<type name="GType" c:type="GType"/>
</parameter>
<parameter name="get_name_func"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="notified"
closure="2"
destroy="3">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="620">a function that creates names for items, or %NULL
in case you also passed %NULL as @model</doc>
<type name="ComboRowGetEnumValueNameFunc"
c:type="HdyComboRowGetEnumValueNameFunc"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="622">user data passed to @get_name_func</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="user_data_free_func"
transfer-ownership="none"
scope="async">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="623">function for freeing @user_data</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
<method name="set_get_name_func"
c:identifier="hdy_combo_row_set_get_name_func"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="777">Sets a closure to convert items into names. See HdyComboRow:use-subtitle.</doc>
<source-position filename="../src/hdy-combo-row.h" line="87"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="779">a #HdyComboRow</doc>
<type name="ComboRow" c:type="HdyComboRow*"/>
</instance-parameter>
<parameter name="get_name_func"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="notified"
closure="1"
destroy="2">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="780">a function that creates names for items, or %NULL
in case you also passed %NULL as @model</doc>
<type name="ComboRowGetNameFunc" c:type="HdyComboRowGetNameFunc"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="782">user data passed to @get_name_func</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="user_data_free_func"
transfer-ownership="none"
scope="async">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="783">function for freeing @user_data</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
<method name="set_selected_index"
c:identifier="hdy_combo_row_set_selected_index"
version="0.0.7">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="689">Sets the index of the selected item in its #GListModel.</doc>
<source-position filename="../src/hdy-combo-row.h" line="80"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="691">a #HdyComboRow</doc>
<type name="ComboRow" c:type="HdyComboRow*"/>
</instance-parameter>
<parameter name="selected_index" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="692">the index of the selected item</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_use_subtitle"
c:identifier="hdy_combo_row_set_use_subtitle"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="743">Sets whether the current value of @self should be displayed as its subtitle.
If %TRUE, you should not access HdyActionRow:subtitle.</doc>
<source-position filename="../src/hdy-combo-row.h" line="84"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="745">a #HdyComboRow</doc>
<type name="ComboRow" c:type="HdyComboRow*"/>
</instance-parameter>
<parameter name="use_subtitle" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="746">%TRUE to set the current value as the subtitle</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="selected-index"
version="0.0.7"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="402">The index of the selected item in its #GListModel.</doc>
<type name="gint" c:type="gint"/>
</property>
<property name="use-subtitle"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="416">%TRUE to set the current value as the subtitle.
If you use a custom widget creation function, you will need to give @self
a name conversion closure with hdy_combo_row_set_get_name_func().
If %TRUE, you should not access HdyActionRow:subtitle.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent_instance">
<type name="ActionRow" c:type="HdyActionRow"/>
</field>
</class>
<record name="ComboRowClass"
c:type="HdyComboRowClass"
glib:is-gtype-struct-for="ComboRow">
<source-position filename="../src/hdy-combo-row.h" line="56"/>
<field name="parent_class">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.h"
line="51">The parent class</doc>
<type name="ActionRowClass" c:type="HdyActionRowClass"/>
</field>
</record>
<callback name="ComboRowGetEnumValueNameFunc"
c:type="HdyComboRowGetEnumValueNameFunc">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.h"
line="36">Called for combo rows that are bound to an enumeration with
hdy_combo_row_set_for_enum() for each value from that enumeration.</doc>
<source-position filename="../src/hdy-combo-row.h" line="46"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.h"
line="44">a newly allocated displayable name that represents @value</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.h"
line="38">the value from the enum from which to get a name</doc>
<type name="EnumValueObject" c:type="HdyEnumValueObject*"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1"
closure="1">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.h"
line="39">user data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<callback name="ComboRowGetNameFunc" c:type="HdyComboRowGetNameFunc">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.h"
line="23">Called for combo rows that are bound to a #GListModel with
hdy_combo_row_bind_name_model() for each item that gets added to the model.</doc>
<source-position filename="../src/hdy-combo-row.h" line="33"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.h"
line="31">a newly allocated displayable name that represents @item</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="item" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.h"
line="25">the item from the model from which to get a name</doc>
<type name="GObject.Object" c:type="gpointer"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1"
closure="1">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.h"
line="26">user data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<class name="Deck"
c:symbol-prefix="deck"
c:type="HdyDeck"
parent="Gtk.Container"
glib:type-name="HdyDeck"
glib:get-type="hdy_deck_get_type"
glib:type-struct="DeckClass">
<source-position filename="../src/hdy-deck.h" line="35"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<implements name="Gtk.Orientable"/>
<implements name="Swipeable"/>
<constructor name="new" c:identifier="hdy_deck_new">
<source-position filename="../src/hdy-deck.h" line="37"/>
<return-value transfer-ownership="none">
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="get_adjacent_child"
c:identifier="hdy_deck_get_adjacent_child"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="464">Gets the previous or next child, or %NULL if it doesn't exist. This will be
the same widget hdy_deck_navigate() will navigate to.</doc>
<source-position filename="../src/hdy-deck.h" line="67"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="472">the previous or next child, or
%NULL if it doesn't exist.</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="466">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
<parameter name="direction" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="467">the direction</doc>
<type name="NavigationDirection" c:type="HdyNavigationDirection"/>
</parameter>
</parameters>
</method>
<method name="get_can_swipe_back"
c:identifier="hdy_deck_get_can_swipe_back"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="409">Returns whether the #HdyDeck allows swiping to the previous child.</doc>
<source-position filename="../src/hdy-deck.h" line="60"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="415">%TRUE if back swipe is enabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="411">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_can_swipe_forward"
c:identifier="hdy_deck_get_can_swipe_forward"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="446">Returns whether the #HdyDeck allows swiping to the next child.</doc>
<source-position filename="../src/hdy-deck.h" line="63"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="452">%TRUE if forward swipe is enabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="448">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_homogeneous"
c:identifier="hdy_deck_get_homogeneous"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="116">Gets whether @self is homogeneous for the given orientation.
See hdy_deck_set_homogeneous().</doc>
<source-position filename="../src/hdy-deck.h" line="44"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="124">whether @self is homogeneous for the given orientation.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="118">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
<parameter name="orientation" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="119">the orientation</doc>
<type name="Gtk.Orientation" c:type="GtkOrientation"/>
</parameter>
</parameters>
</method>
<method name="get_interpolate_size"
c:identifier="hdy_deck_get_interpolate_size"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="371">Returns whether the #HdyDeck is set up to interpolate between
the sizes of children on page switch.</doc>
<source-position filename="../src/hdy-deck.h" line="57"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="378">%TRUE if child sizes are interpolated</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="373">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_transition_duration"
c:identifier="hdy_deck_get_transition_duration"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="215">Returns the amount of time (in milliseconds) that
transitions between children in @self will take.</doc>
<source-position filename="../src/hdy-deck.h" line="53"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="222">the child transition duration</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="217">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_transition_running"
c:identifier="hdy_deck_get_transition_running"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="330">Returns whether @self is currently in a transition from one page to
another.</doc>
<source-position filename="../src/hdy-deck.h" line="56"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="337">%TRUE if the transition is currently running, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="332">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_transition_type"
c:identifier="hdy_deck_get_transition_type"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="137">Gets the type of animation that will be used
for transitions between children in @self.</doc>
<source-position filename="../src/hdy-deck.h" line="49"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="144">the current transition type of @self</doc>
<type name="DeckTransitionType" c:type="HdyDeckTransitionType"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="139">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_visible_child"
c:identifier="hdy_deck_get_visible_child"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="253">Gets the visible child widget.</doc>
<source-position filename="../src/hdy-deck.h" line="38"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="259">the visible child widget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="255">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_visible_child_name"
c:identifier="hdy_deck_get_visible_child_name"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="292">Gets the name of the currently visible child widget.</doc>
<source-position filename="../src/hdy-deck.h" line="41"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="298">the name of the visible child</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="294">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
</parameters>
</method>
<method name="navigate" c:identifier="hdy_deck_navigate" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="486">Switches to the previous or next child, similar to performing a swipe
gesture to go in @direction.</doc>
<source-position filename="../src/hdy-deck.h" line="69"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="494">%TRUE if visible child was changed, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="488">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
<parameter name="direction" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="489">the direction</doc>
<type name="NavigationDirection" c:type="HdyNavigationDirection"/>
</parameter>
</parameters>
</method>
<method name="set_can_swipe_back"
c:identifier="hdy_deck_set_can_swipe_back"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="390">Sets whether or not @self allows switching to the previous child via a swipe
gesture.</doc>
<source-position filename="../src/hdy-deck.h" line="61"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="392">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
<parameter name="can_swipe_back" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="393">the new value</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_can_swipe_forward"
c:identifier="hdy_deck_set_can_swipe_forward"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="427">Sets whether or not @self allows switching to the next child via a swipe
gesture.</doc>
<source-position filename="../src/hdy-deck.h" line="64"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="429">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
<parameter name="can_swipe_forward" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="430">the new value</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_homogeneous"
c:identifier="hdy_deck_set_homogeneous"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="92">Sets the #HdyDeck to be homogeneous or not for the given orientation.
If it is homogeneous, the #HdyDeck will request the same
width or height for all its children depending on the orientation.
If it isn't, the deck may change width or height when a different child
becomes visible.</doc>
<source-position filename="../src/hdy-deck.h" line="46"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="94">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
<parameter name="orientation" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="95">the orientation</doc>
<type name="Gtk.Orientation" c:type="GtkOrientation"/>
</parameter>
<parameter name="homogeneous" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="96">%TRUE to make @self homogeneous</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_interpolate_size"
c:identifier="hdy_deck_set_interpolate_size"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="349">Sets whether or not @self will interpolate its size when
changing the visible child. If the #HdyDeck:interpolate-size
property is set to %TRUE, @self will interpolate its size between
the current one and the one it'll take after changing the
visible child, according to the set transition duration.</doc>
<source-position filename="../src/hdy-deck.h" line="58"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="351">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
<parameter name="interpolate_size" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="352">the new value</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_transition_duration"
c:identifier="hdy_deck_set_transition_duration"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="234">Sets the duration that transitions between children in @self
will take.</doc>
<source-position filename="../src/hdy-deck.h" line="54"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="236">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="237">the new duration, in milliseconds</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_transition_type"
c:identifier="hdy_deck_set_transition_type"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="172">Sets the type of animation that will be used for transitions between children
in @self.
The transition type can be changed without problems at runtime, so it is
possible to change the animation based on the child that is about to become
current.</doc>
<source-position filename="../src/hdy-deck.h" line="50"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="174">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
<parameter name="transition" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="175">the new transition type</doc>
<type name="DeckTransitionType" c:type="HdyDeckTransitionType"/>
</parameter>
</parameters>
</method>
<method name="set_visible_child"
c:identifier="hdy_deck_set_visible_child"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="271">Makes @visible_child visible using a transition determined by
HdyDeck:transition-type and HdyDeck:transition-duration. The transition can
be cancelled by the user, in which case visible child will change back to
the previously visible child.</doc>
<source-position filename="../src/hdy-deck.h" line="39"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="273">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
<parameter name="visible_child" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="274">the new child</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="set_visible_child_name"
c:identifier="hdy_deck_set_visible_child_name"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="310">Makes the child with the name @name visible.
See hdy_deck_set_visible_child() for more details.</doc>
<source-position filename="../src/hdy-deck.h" line="42"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="312">a #HdyDeck</doc>
<type name="Deck" c:type="HdyDeck*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="313">the name of a child</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<property name="can-swipe-back"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="961">Whether or not @self allows switching to the previous child via a swipe
gesture.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="can-swipe-forward"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="976">Whether or not @self allows switching to the next child via a swipe gesture.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="hhomogeneous"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="843">Horizontally homogeneous sizing.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="interpolate-size"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="946">Whether or not the size should smoothly change when changing between
differently sized children.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="transition-duration"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="918">The transition animation duration, in milliseconds.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="transition-running"
version="1.0"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="932">Whether or not the transition is currently running.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="transition-type"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="899">The type of animation that will be used for transitions between
children.
The transition type can be changed without problems at runtime, so it is
possible to change the animation based on the child that is about
to become current.</doc>
<type name="DeckTransitionType"/>
</property>
<property name="vhomogeneous"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="857">Vertically homogeneous sizing.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="visible-child"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="871">The widget currently visible.</doc>
<type name="Gtk.Widget"/>
</property>
<property name="visible-child-name"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="885">The name of the widget currently visible.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent_instance">
<type name="Gtk.Container" c:type="GtkContainer"/>
</field>
</class>
<record name="DeckClass"
c:type="HdyDeckClass"
glib:is-gtype-struct-for="Deck">
<source-position filename="../src/hdy-deck.h" line="35"/>
<field name="parent_class">
<doc xml:space="preserve"
filename="../src/hdy-deck.h"
line="30">The parent class</doc>
<type name="Gtk.ContainerClass" c:type="GtkContainerClass"/>
</field>
</record>
<enumeration name="DeckTransitionType"
version="1.0"
glib:type-name="HdyDeckTransitionType"
glib:get-type="hdy_deck_transition_type_get_type"
c:type="HdyDeckTransitionType">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="37">This enumeration value describes the possible transitions between children
in a #HdyDeck widget.
New values may be added to this enumeration over time.</doc>
<member name="over"
value="0"
c:identifier="HDY_DECK_TRANSITION_TYPE_OVER"
glib:nick="over">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="39">Cover the old page or uncover the new page, sliding from or towards the end according to orientation, text direction and children order</doc>
</member>
<member name="under"
value="1"
c:identifier="HDY_DECK_TRANSITION_TYPE_UNDER"
glib:nick="under">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="40">Uncover the new page or cover the old page, sliding from or towards the start according to orientation, text direction and children order</doc>
</member>
<member name="slide"
value="2"
c:identifier="HDY_DECK_TRANSITION_TYPE_SLIDE"
glib:nick="slide">
<doc xml:space="preserve"
filename="../src/hdy-deck.c"
line="41">Slide from left, right, up or down according to the orientation, text direction and the children order</doc>
</member>
</enumeration>
<class name="EnumValueObject"
c:symbol-prefix="enum_value_object"
c:type="HdyEnumValueObject"
parent="GObject.Object"
glib:type-name="HdyEnumValueObject"
glib:get-type="hdy_enum_value_object_get_type"
glib:type-struct="EnumValueObjectClass">
<source-position filename="../src/hdy-enum-value-object.h" line="20"/>
<constructor name="new" c:identifier="hdy_enum_value_object_new">
<source-position filename="../src/hdy-enum-value-object.h" line="22"/>
<return-value transfer-ownership="full">
<type name="EnumValueObject" c:type="HdyEnumValueObject*"/>
</return-value>
<parameters>
<parameter name="enum_value" transfer-ownership="none">
<type name="GObject.EnumValue" c:type="GEnumValue*"/>
</parameter>
</parameters>
</constructor>
<method name="get_name" c:identifier="hdy_enum_value_object_get_name">
<source-position filename="../src/hdy-enum-value-object.h" line="25"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="EnumValueObject" c:type="HdyEnumValueObject*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_nick" c:identifier="hdy_enum_value_object_get_nick">
<source-position filename="../src/hdy-enum-value-object.h" line="26"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="EnumValueObject" c:type="HdyEnumValueObject*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_value" c:identifier="hdy_enum_value_object_get_value">
<source-position filename="../src/hdy-enum-value-object.h" line="24"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="EnumValueObject" c:type="HdyEnumValueObject*"/>
</instance-parameter>
</parameters>
</method>
</class>
<record name="EnumValueObjectClass"
c:type="HdyEnumValueObjectClass"
glib:is-gtype-struct-for="EnumValueObject">
<source-position filename="../src/hdy-enum-value-object.h" line="20"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<class name="ExpanderRow"
c:symbol-prefix="expander_row"
c:type="HdyExpanderRow"
parent="PreferencesRow"
glib:type-name="HdyExpanderRow"
glib:get-type="hdy_expander_row_get_type"
glib:type-struct="ExpanderRowClass">
<source-position filename="../src/hdy-expander-row.h" line="29"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Actionable"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_expander_row_new"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="445">Creates a new #HdyExpanderRow.</doc>
<source-position filename="../src/hdy-expander-row.h" line="31"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="450">a new #HdyExpanderRow</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="add_action"
c:identifier="hdy_expander_row_add_action"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="777">Adds an action widget to @self.</doc>
<source-position filename="../src/hdy-expander-row.h" line="61"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="779">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
<parameter name="widget" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="780">the action widget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="add_prefix"
c:identifier="hdy_expander_row_add_prefix"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="801">Adds a prefix widget to @self.</doc>
<source-position filename="../src/hdy-expander-row.h" line="63"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="803">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
<parameter name="widget" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="804">the prefix widget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="get_enable_expansion"
c:identifier="hdy_expander_row_get_enable_expansion"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="673">Gets whether the expansion of @self is enabled.</doc>
<source-position filename="../src/hdy-expander-row.h" line="53"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="679">whether the expansion of @self is enabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="675">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_expanded" c:identifier="hdy_expander_row_get_expanded">
<source-position filename="../src/hdy-expander-row.h" line="49"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_icon_name"
c:identifier="hdy_expander_row_get_icon_name"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="595">Gets the icon name for @self.</doc>
<source-position filename="../src/hdy-expander-row.h" line="45"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="601">the icon name for @self.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="597">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_show_enable_switch"
c:identifier="hdy_expander_row_get_show_enable_switch"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="726">Gets whether the switch enabling the expansion of @self is visible.</doc>
<source-position filename="../src/hdy-expander-row.h" line="57"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="732">whether the switch enabling the expansion of @self is visible.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="728">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_subtitle"
c:identifier="hdy_expander_row_get_subtitle"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="504">Gets the subtitle for @self.</doc>
<source-position filename="../src/hdy-expander-row.h" line="37"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="510">the subtitle for @self.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="506">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_title"
c:identifier="hdy_expander_row_get_title"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="460">Gets the title for @self.</doc>
<source-position filename="../src/hdy-expander-row.h" line="33"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="466">the title for @self.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="462">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_use_underline"
c:identifier="hdy_expander_row_get_use_underline"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="548">Gets whether an embedded underline in the text of the title and subtitle
labels indicates a mnemonic. See hdy_expander_row_set_use_underline().</doc>
<source-position filename="../src/hdy-expander-row.h" line="41"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="555">%TRUE if an embedded underline in the title and subtitle labels
indicates the mnemonic accelerator keys.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="550">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_enable_expansion"
c:identifier="hdy_expander_row_set_enable_expansion"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="695">Sets whether the expansion of @self is enabled.</doc>
<source-position filename="../src/hdy-expander-row.h" line="54"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="697">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
<parameter name="enable_expansion" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="698">%TRUE to enable the expansion</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_expanded" c:identifier="hdy_expander_row_set_expanded">
<source-position filename="../src/hdy-expander-row.h" line="50"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
<parameter name="expanded" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_icon_name"
c:identifier="hdy_expander_row_set_icon_name"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="617">Sets the icon name for @self.</doc>
<source-position filename="../src/hdy-expander-row.h" line="46"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="619">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
<parameter name="icon_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="620">the icon name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_show_enable_switch"
c:identifier="hdy_expander_row_set_show_enable_switch"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="748">Sets whether the switch enabling the expansion of @self is visible.</doc>
<source-position filename="../src/hdy-expander-row.h" line="58"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="750">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
<parameter name="show_enable_switch" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="751">%TRUE to show the switch enabling the expansion</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_subtitle"
c:identifier="hdy_expander_row_set_subtitle"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="526">Sets the subtitle for @self.</doc>
<source-position filename="../src/hdy-expander-row.h" line="38"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="528">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
<parameter name="subtitle" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="529">the subtitle</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_title"
c:identifier="hdy_expander_row_set_title"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="482">Sets the title for @self.</doc>
<source-position filename="../src/hdy-expander-row.h" line="34"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="484">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
<parameter name="title" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="485">the title</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_use_underline"
c:identifier="hdy_expander_row_set_use_underline"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="572">If true, an underline in the text of the title and subtitle labels indicates
the next character should be used for the mnemonic accelerator key.</doc>
<source-position filename="../src/hdy-expander-row.h" line="42"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="574">a #HdyExpanderRow</doc>
<type name="ExpanderRow" c:type="HdyExpanderRow*"/>
</instance-parameter>
<parameter name="use_underline" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="575">%TRUE if underlines in the text indicate mnemonics</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="enable-expansion" writable="1" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="352">%TRUE if the expansion is enabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="expanded" writable="1" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="340">%TRUE if the row is expanded.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="icon-name"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="326">The icon name for this row.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="show-enable-switch"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="364">%TRUE if the switch enabling the expansion is visible.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="subtitle"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="297">The subtitle for this row.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="title"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="283">The title for this row.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="use-underline"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.c"
line="311">Whether an embedded underline in the text of the title and subtitle labels
indicates a mnemonic.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent_instance">
<type name="PreferencesRow" c:type="HdyPreferencesRow"/>
</field>
</class>
<record name="ExpanderRowClass"
c:type="HdyExpanderRowClass"
glib:is-gtype-struct-for="ExpanderRow">
<source-position filename="../src/hdy-expander-row.h" line="29"/>
<field name="parent_class">
<doc xml:space="preserve"
filename="../src/hdy-expander-row.h"
line="24">The parent class</doc>
<type name="PreferencesRowClass" c:type="HdyPreferencesRowClass"/>
</field>
</record>
<class name="HeaderBar"
c:symbol-prefix="header_bar"
c:type="HdyHeaderBar"
parent="Gtk.Container"
glib:type-name="HdyHeaderBar"
glib:get-type="hdy_header_bar_get_type"
glib:type-struct="HeaderBarClass">
<source-position filename="../src/hdy-header-bar.h" line="48"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_header_bar_new"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2316">Creates a new #HdyHeaderBar widget.</doc>
<source-position filename="../src/hdy-header-bar.h" line="50"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2321">a new #HdyHeaderBar</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="get_centering_policy"
c:identifier="hdy_header_bar_get_centering_policy"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2741">Gets the policy @self follows to horizontally align its center widget.</doc>
<source-position filename="../src/hdy-header-bar.h" line="81"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2747">the centering policy</doc>
<type name="CenteringPolicy" c:type="HdyCenteringPolicy"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2743">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_custom_title"
c:identifier="hdy_header_bar_get_custom_title"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2541">Retrieves the custom title widget of the header. See
hdy_header_bar_set_custom_title().</doc>
<source-position filename="../src/hdy-header-bar.h" line="60"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2548">the custom title widget
of the header, or %NULL if none has been set explicitly.</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2543">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_decoration_layout"
c:identifier="hdy_header_bar_get_decoration_layout"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2718">Gets the decoration layout set with
hdy_header_bar_set_decoration_layout().</doc>
<source-position filename="../src/hdy-header-bar.h" line="77"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2725">the decoration layout</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2720">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_has_subtitle"
c:identifier="hdy_header_bar_get_has_subtitle"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2649">Retrieves whether the header bar reserves space for
a subtitle, regardless if one is currently set or not.</doc>
<source-position filename="../src/hdy-header-bar.h" line="73"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2656">%TRUE if the header bar reserves space
for a subtitle</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2651">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_interpolate_size"
c:identifier="hdy_header_bar_get_interpolate_size"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2856">Gets whether @self should interpolate its size on visible child change.
See hdy_header_bar_set_interpolate_size().</doc>
<source-position filename="../src/hdy-header-bar.h" line="91"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2864">%TRUE if @self interpolates its size on visible child change, %FALSE if not</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2858">A #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_show_close_button"
c:identifier="hdy_header_bar_get_show_close_button"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2563">Returns whether this header bar shows the standard window
decorations.</doc>
<source-position filename="../src/hdy-header-bar.h" line="69"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2570">%TRUE if the decorations are shown</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2565">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_subtitle"
c:identifier="hdy_header_bar_get_subtitle"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2457">Retrieves the subtitle of the header. See hdy_header_bar_set_subtitle().</doc>
<source-position filename="../src/hdy-header-bar.h" line="56"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2463">the subtitle of the header, or %NULL if none has
been set explicitly. The returned string is owned by the widget
and must not be modified or freed.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2459">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_title"
c:identifier="hdy_header_bar_get_title"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2397">Retrieves the title of the header. See hdy_header_bar_set_title().</doc>
<source-position filename="../src/hdy-header-bar.h" line="52"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2403">the title of the header, or %NULL if none has
been set explicitly. The returned string is owned by the widget
and must not be modified or freed.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2399">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_transition_duration"
c:identifier="hdy_header_bar_get_transition_duration"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2789">Returns the amount of time (in milliseconds) that
transitions between pages in @self will take.</doc>
<source-position filename="../src/hdy-header-bar.h" line="85"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2796">the transition duration</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2791">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_transition_running"
c:identifier="hdy_header_bar_get_transition_running"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2835">Returns whether the @self is currently in a transition from one page to
another.</doc>
<source-position filename="../src/hdy-header-bar.h" line="89"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2842">%TRUE if the transition is currently running, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2837">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="pack_end"
c:identifier="hdy_header_bar_pack_end"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2348">Adds @child to @self:, packed with reference to the
end of the @self:.</doc>
<source-position filename="../src/hdy-header-bar.h" line="66"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2350">A #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
<parameter name="child" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2351">the #GtkWidget to be added to @self:</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="pack_start"
c:identifier="hdy_header_bar_pack_start"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2331">Adds @child to @self:, packed with reference to the
start of the @self:.</doc>
<source-position filename="../src/hdy-header-bar.h" line="64"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2333">A #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
<parameter name="child" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2334">the #GtkWidget to be added to @self:</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="set_centering_policy"
c:identifier="hdy_header_bar_set_centering_policy"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2761">Sets the policy @self must follow to horizontally align its center widget.</doc>
<source-position filename="../src/hdy-header-bar.h" line="82"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2763">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
<parameter name="centering_policy" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2764">the centering policy</doc>
<type name="CenteringPolicy" c:type="HdyCenteringPolicy"/>
</parameter>
</parameters>
</method>
<method name="set_custom_title"
c:identifier="hdy_header_bar_set_custom_title"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2479">Sets a custom title for the #HdyHeaderBar.
The title should help a user identify the current view. This
supersedes any title set by hdy_header_bar_set_title() or
hdy_header_bar_set_subtitle(). To achieve the same style as
the builtin title and subtitle, use the “title” and “subtitle”
style classes.
You should set the custom title to %NULL, for the header title
label to be visible again.</doc>
<source-position filename="../src/hdy-header-bar.h" line="61"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2481">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
<parameter name="title_widget"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2482">a custom widget to use for a title</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="set_decoration_layout"
c:identifier="hdy_header_bar_set_decoration_layout"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2673">Sets the decoration layout for this header bar, overriding
the #GtkSettings:gtk-decoration-layout setting.
There can be valid reasons for overriding the setting, such
as a header bar design that does not allow for buttons to take
room on the right, or only offers room for a single close button.
Split header bars are another example for overriding the
setting.
The format of the string is button names, separated by commas.
A colon separates the buttons that should appear on the left
from those on the right. Recognized button names are minimize,
maximize, close, icon (the window icon) and menu (a menu button
for the fallback app menu).
For example, “menu:minimize,maximize,close” specifies a menu
on the left, and minimize, maximize and close buttons on the right.</doc>
<source-position filename="../src/hdy-header-bar.h" line="78"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2675">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
<parameter name="layout"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2676">a decoration layout, or %NULL to unset the layout</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_has_subtitle"
c:identifier="hdy_header_bar_set_has_subtitle"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2616">Sets whether the header bar should reserve space
for a subtitle, even if none is currently set.</doc>
<source-position filename="../src/hdy-header-bar.h" line="74"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2618">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
<parameter name="setting" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2619">%TRUE to reserve space for a subtitle</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_interpolate_size"
c:identifier="hdy_header_bar_set_interpolate_size"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2880">Sets whether or not @self will interpolate the size of its opposing
orientation when changing the visible child. If %TRUE, @self will interpolate
its size between the one of the previous visible child and the one of the new
visible child, according to the set transition duration and the orientation,
e.g. if @self is horizontal, it will interpolate the its height.</doc>
<source-position filename="../src/hdy-header-bar.h" line="92"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2882">A #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
<parameter name="interpolate_size" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2883">%TRUE to interpolate the size</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_show_close_button"
c:identifier="hdy_header_bar_set_show_close_button"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2586">Sets whether this header bar shows the standard window decorations,
including close, maximize, and minimize.</doc>
<source-position filename="../src/hdy-header-bar.h" line="70"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2588">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
<parameter name="setting" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2589">%TRUE to show standard window decorations</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_subtitle"
c:identifier="hdy_header_bar_set_subtitle"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2419">Sets the subtitle of the #HdyHeaderBar. The title should give a user
an additional detail to help them identify the current view.
Note that HdyHeaderBar by default reserves room for the subtitle,
even if none is currently set. If this is not desired, set the
#HdyHeaderBar:has-subtitle property to %FALSE.</doc>
<source-position filename="../src/hdy-header-bar.h" line="57"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2421">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
<parameter name="subtitle"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2422">a subtitle, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_title"
c:identifier="hdy_header_bar_set_title"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2365">Sets the title of the #HdyHeaderBar. The title should help a user
identify the current view. A good title should not include the
application name.</doc>
<source-position filename="../src/hdy-header-bar.h" line="53"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2367">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
<parameter name="title"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2368">a title, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_transition_duration"
c:identifier="hdy_header_bar_set_transition_duration"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2810">Sets the duration that transitions between pages in @self
will take.</doc>
<source-position filename="../src/hdy-header-bar.h" line="86"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2812">a #HdyHeaderBar</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</instance-parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2813">the new duration, in milliseconds</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<property name="centering-policy" writable="1" transfer-ownership="none">
<type name="CenteringPolicy"/>
</property>
<property name="custom-title" writable="1" transfer-ownership="none">
<type name="Gtk.Widget"/>
</property>
<property name="decoration-layout"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2186">The decoration layout for buttons. If this property is
not set, the #GtkSettings:gtk-decoration-layout setting
is used.
See hdy_header_bar_set_decoration_layout() for information
about the format of this string.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="decoration-layout-set"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2205">Set to %TRUE if #HdyHeaderBar:decoration-layout is set.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="has-subtitle"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2219">If %TRUE, reserve space for a subtitle, even if none
is currently set.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="interpolate-size" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="show-close-button"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.c"
line="2167">Whether to show window decorations.
Which buttons are actually shown and where is determined
by the #HdyHeaderBar:decoration-layout property, and by
the state of the window (e.g. a close button will not be
shown if the window can't be closed).</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="spacing" writable="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
<property name="subtitle" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="title" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="transition-duration"
writable="1"
transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="transition-running" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent_instance">
<type name="Gtk.Container" c:type="GtkContainer"/>
</field>
</class>
<record name="HeaderBarClass"
c:type="HdyHeaderBarClass"
glib:is-gtype-struct-for="HeaderBar">
<source-position filename="../src/hdy-header-bar.h" line="48"/>
<field name="parent_class">
<doc xml:space="preserve"
filename="../src/hdy-header-bar.h"
line="43">The parent class</doc>
<type name="Gtk.ContainerClass" c:type="GtkContainerClass"/>
</field>
</record>
<class name="HeaderGroup"
c:symbol-prefix="header_group"
c:type="HdyHeaderGroup"
parent="GObject.Object"
glib:type-name="HdyHeaderGroup"
glib:get-type="hdy_header_group_get_type"
glib:type-struct="HeaderGroupClass">
<source-position filename="../src/hdy-header-group.h" line="24"/>
<implements name="Gtk.Buildable"/>
<constructor name="new" c:identifier="hdy_header_group_new">
<source-position filename="../src/hdy-header-group.h" line="38"/>
<return-value transfer-ownership="full">
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</return-value>
</constructor>
<method name="add_gtk_header_bar"
c:identifier="hdy_header_group_add_gtk_header_bar"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="450">Adds @header_bar to @self.
When the widget is destroyed or no longer referenced elsewhere, it will
be removed from the header group.</doc>
<source-position filename="../src/hdy-header-group.h" line="42"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="452">a #HdyHeaderGroup</doc>
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</instance-parameter>
<parameter name="header_bar" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="453">the #GtkHeaderBar to add</doc>
<type name="Gtk.HeaderBar" c:type="GtkHeaderBar*"/>
</parameter>
</parameters>
</method>
<method name="add_header_bar"
c:identifier="hdy_header_group_add_header_bar"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="425">Adds @header_bar to @self.
When the widget is destroyed or no longer referenced elsewhere, it will
be removed from the header group.</doc>
<source-position filename="../src/hdy-header-group.h" line="40"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="427">a #HdyHeaderGroup</doc>
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</instance-parameter>
<parameter name="header_bar" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="428">the #HdyHeaderBar to add</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</parameter>
</parameters>
</method>
<method name="add_header_group"
c:identifier="hdy_header_group_add_header_group"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="475">Adds @header_group to @self.
When the nested group is no longer referenced elsewhere, it will be removed
from the header group.</doc>
<source-position filename="../src/hdy-header-group.h" line="44"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="477">a #HdyHeaderGroup</doc>
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</instance-parameter>
<parameter name="header_group" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="478">the #HdyHeaderGroup to add</doc>
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</parameter>
</parameters>
</method>
<method name="get_children"
c:identifier="hdy_header_group_get_children"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="945">Returns the list of children associated with @self.</doc>
<source-position filename="../src/hdy-header-group.h" line="47"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="951">the #GSList of
children. The list is owned by libhandy and should not be modified.</doc>
<type name="GLib.SList" c:type="GSList*">
<type name="HeaderGroupChild"/>
</type>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="947">a #HdyHeaderGroup</doc>
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_decorate_all"
c:identifier="hdy_header_group_get_decorate_all"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1098">Gets whether the elements of the group should all receive the full decoration.</doc>
<source-position filename="../src/hdy-header-group.h" line="58"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1104">%TRUE if the elements of the group should all receive the full
decoration, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1100">a #HdyHeaderGroup</doc>
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</instance-parameter>
</parameters>
</method>
<method name="remove_child"
c:identifier="hdy_header_group_remove_child"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1051">Removes @child from @self.</doc>
<source-position filename="../src/hdy-header-group.h" line="55"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1053">a #HdyHeaderGroup</doc>
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</instance-parameter>
<parameter name="child" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1054">the #HdyHeaderGroupChild to remove</doc>
<type name="HeaderGroupChild" c:type="HdyHeaderGroupChild*"/>
</parameter>
</parameters>
</method>
<method name="remove_gtk_header_bar"
c:identifier="hdy_header_group_remove_gtk_header_bar"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1001">Removes @header_bar from @self.</doc>
<source-position filename="../src/hdy-header-group.h" line="51"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1003">a #HdyHeaderGroup</doc>
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</instance-parameter>
<parameter name="header_bar" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1004">the #GtkHeaderBar to remove</doc>
<type name="Gtk.HeaderBar" c:type="GtkHeaderBar*"/>
</parameter>
</parameters>
</method>
<method name="remove_header_bar"
c:identifier="hdy_header_group_remove_header_bar"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="976">Removes @header_bar from @self.</doc>
<source-position filename="../src/hdy-header-group.h" line="49"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="978">a #HdyHeaderGroup</doc>
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</instance-parameter>
<parameter name="header_bar" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="979">the #HdyHeaderBar to remove</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</parameter>
</parameters>
</method>
<method name="remove_header_group"
c:identifier="hdy_header_group_remove_header_group"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1026">Removes a nested #HdyHeaderGroup from a #HdyHeaderGroup</doc>
<source-position filename="../src/hdy-header-group.h" line="53"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1028">a #HdyHeaderGroup</doc>
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</instance-parameter>
<parameter name="header_group" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1029">the #HdyHeaderGroup to remove</doc>
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</parameter>
</parameters>
</method>
<method name="set_decorate_all"
c:identifier="hdy_header_group_set_decorate_all"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1071">Sets whether the elements of the group should all receive the full decoration.</doc>
<source-position filename="../src/hdy-header-group.h" line="59"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1073">a #HdyHeaderGroup</doc>
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</instance-parameter>
<parameter name="decorate_all" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="1074">whether the elements of the group should all receive the full decoration</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="decorate-all"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="815">Whether the elements of the group should all receive the full decoration.
This is useful in conjunction with #HdyLeaflet:folded when the leaflet
contains the header bars of the group, as you want them all to display the
complete decoration when the leaflet is folded.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<glib:signal name="update-decoration-layouts" when="last" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="834">This signal is emitted before updating the decoration layouts.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
</class>
<class name="HeaderGroupChild"
c:symbol-prefix="header_group_child"
c:type="HdyHeaderGroupChild"
parent="GObject.Object"
glib:type-name="HdyHeaderGroupChild"
glib:get-type="hdy_header_group_child_get_type"
glib:type-struct="HeaderGroupChildClass">
<source-position filename="../src/hdy-header-group.h" line="20"/>
<method name="get_child_type"
c:identifier="hdy_header_group_child_get_child_type"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="927">Gets the child type.</doc>
<source-position filename="../src/hdy-header-group.h" line="36"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="933">the child type.</doc>
<type name="HeaderGroupChildType" c:type="HdyHeaderGroupChildType"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="929">a #HdyHeaderGroupChild</doc>
<type name="HeaderGroupChild" c:type="HdyHeaderGroupChild*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_gtk_header_bar"
c:identifier="hdy_header_group_child_get_gtk_header_bar"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="887">Gets the child #GtkHeaderBar.
Use hdy_header_group_child_get_child_type() to check the child type.</doc>
<source-position filename="../src/hdy-header-group.h" line="33"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="894">the child #GtkHeaderBar, or %NULL in case of error.</doc>
<type name="Gtk.HeaderBar" c:type="GtkHeaderBar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="889">a #HdyHeaderGroupChild</doc>
<type name="HeaderGroupChild" c:type="HdyHeaderGroupChild*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_header_bar"
c:identifier="hdy_header_group_child_get_header_bar"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="867">Gets the child #HdyHeaderBar.
Use hdy_header_group_child_get_child_type() to check the child type.</doc>
<source-position filename="../src/hdy-header-group.h" line="32"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="874">the child #HdyHeaderBar, or %NULL in case of error.</doc>
<type name="HeaderBar" c:type="HdyHeaderBar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="869">a #HdyHeaderGroupChild</doc>
<type name="HeaderGroupChild" c:type="HdyHeaderGroupChild*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_header_group"
c:identifier="hdy_header_group_child_get_header_group"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="907">Gets the child #HdyHeaderGroup.
Use hdy_header_group_child_get_child_type() to check the child type.</doc>
<source-position filename="../src/hdy-header-group.h" line="34"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="914">the child #HdyHeaderGroup, or %NULL in case of error.</doc>
<type name="HeaderGroup" c:type="HdyHeaderGroup*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="909">a #HdyHeaderGroupChild</doc>
<type name="HeaderGroupChild" c:type="HdyHeaderGroupChild*"/>
</instance-parameter>
</parameters>
</method>
</class>
<record name="HeaderGroupChildClass"
c:type="HdyHeaderGroupChildClass"
glib:is-gtype-struct-for="HeaderGroupChild">
<source-position filename="../src/hdy-header-group.h" line="20"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<enumeration name="HeaderGroupChildType"
version="1.0"
glib:type-name="HdyHeaderGroupChildType"
glib:get-type="hdy_header_group_child_type_get_type"
c:type="HdyHeaderGroupChildType">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="50">This enumeration value describes the child types handled by #HdyHeaderGroup.
New values may be added to this enumeration over time.</doc>
<member name="header_bar"
value="0"
c:identifier="HDY_HEADER_GROUP_CHILD_TYPE_HEADER_BAR"
glib:nick="header-bar">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="52">The child is a #HdyHeaderBar</doc>
</member>
<member name="gtk_header_bar"
value="1"
c:identifier="HDY_HEADER_GROUP_CHILD_TYPE_GTK_HEADER_BAR"
glib:nick="gtk-header-bar">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="53">The child is a #GtkHeaderBar</doc>
</member>
<member name="header_group"
value="2"
c:identifier="HDY_HEADER_GROUP_CHILD_TYPE_HEADER_GROUP"
glib:nick="header-group">
<doc xml:space="preserve"
filename="../src/hdy-header-group.c"
line="54">The child is a #HdyHeaderGroup</doc>
</member>
</enumeration>
<record name="HeaderGroupClass"
c:type="HdyHeaderGroupClass"
glib:is-gtype-struct-for="HeaderGroup">
<source-position filename="../src/hdy-header-group.h" line="24"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<class name="Keypad"
c:symbol-prefix="keypad"
c:type="HdyKeypad"
parent="Gtk.Bin"
glib:type-name="HdyKeypad"
glib:get-type="hdy_keypad_get_type"
glib:type-struct="KeypadClass">
<source-position filename="../src/hdy-keypad.h" line="28"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new" c:identifier="hdy_keypad_new">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="337">Create a new #HdyKeypad widget.</doc>
<source-position filename="../src/hdy-keypad.h" line="30"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="344">the newly created #HdyKeypad widget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<parameter name="only_digits" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="339">whether the keypad should show only digits or also extra buttons for #, *</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="show_symbols" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="340">whether the keypad should show the second line or only the main digit</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</constructor>
<method name="get_column_spacing"
c:identifier="hdy_keypad_get_column_spacing">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="432">Returns the amount of space between the columns of @self.</doc>
<source-position filename="../src/hdy-keypad.h" line="37"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="438">the column spacing of @self</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="434">a #HdyKeypad</doc>
<type name="Keypad" c:type="HdyKeypad*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_entry" c:identifier="hdy_keypad_get_entry">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="523">Get the connected entry. See hdy_keypad_set_entry () for details</doc>
<source-position filename="../src/hdy-keypad.h" line="42"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="529">the set #GtkEntry or NULL if no widget was set</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="525">a #HdyKeypad</doc>
<type name="Keypad" c:type="HdyKeypad*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_row_spacing" c:identifier="hdy_keypad_get_row_spacing">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="384">Returns the amount of space between the rows of @self.</doc>
<source-position filename="../src/hdy-keypad.h" line="34"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="390">the row spacing of @self</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="386">a #HdyKeypad</doc>
<type name="Keypad" c:type="HdyKeypad*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_column_spacing"
c:identifier="hdy_keypad_set_column_spacing">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="405">Sets the amount of space between columns of @self.</doc>
<source-position filename="../src/hdy-keypad.h" line="35"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="407">a #HdyKeypad</doc>
<type name="Keypad" c:type="HdyKeypad*"/>
</instance-parameter>
<parameter name="spacing" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="408">the amount of space to insert between columns</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_entry" c:identifier="hdy_keypad_set_entry">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="478">Binds a #GtkEntry to the keypad and it blocks every
input which wouldn't be possible to type with with the keypad</doc>
<source-position filename="../src/hdy-keypad.h" line="40"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="480">a #HdyKeypad</doc>
<type name="Keypad" c:type="HdyKeypad*"/>
</instance-parameter>
<parameter name="entry" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="481">a #GtkEntry</doc>
<type name="Gtk.Entry" c:type="GtkEntry*"/>
</parameter>
</parameters>
</method>
<method name="set_left_action" c:identifier="hdy_keypad_set_left_action">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="545">Sets the widget for the left lower corner of #HdyKeypad replacing the existing widget, if NULL it just removes whatever widget is there</doc>
<source-position filename="../src/hdy-keypad.h" line="43"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="547">a #HdyKeypad</doc>
<type name="Keypad" c:type="HdyKeypad*"/>
</instance-parameter>
<parameter name="widget" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="548">nullable: the widget which should be show in the left lower corner of #HdyKeypad</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="set_right_action"
c:identifier="hdy_keypad_set_right_action">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="579">Sets the widget for the right lower corner of #HdyKeypad replacing the existing widget, if NULL it just removes whatever widget is there</doc>
<source-position filename="../src/hdy-keypad.h" line="45"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="581">a #HdyKeypad</doc>
<type name="Keypad" c:type="HdyKeypad*"/>
</instance-parameter>
<parameter name="widget" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="582">nullable: the widget which should be show in the right lower corner of #HdyKeypad</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="set_row_spacing" c:identifier="hdy_keypad_set_row_spacing">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="357">Sets the amount of space between rows of @self.</doc>
<source-position filename="../src/hdy-keypad.h" line="32"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="359">a #HdyKeypad</doc>
<type name="Keypad" c:type="HdyKeypad*"/>
</instance-parameter>
<parameter name="spacing" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="360">the amount of space to insert between rows</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="show_symbols" c:identifier="hdy_keypad_show_symbols">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="453">Sets the visibility of symbols (excluding the main digit) on each button in the #HdyKeypad</doc>
<source-position filename="../src/hdy-keypad.h" line="38"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="455">a #HdyKeypad</doc>
<type name="Keypad" c:type="HdyKeypad*"/>
</instance-parameter>
<parameter name="visible" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-keypad.c"
line="456">whether the second line on buttons should be shown or not</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="column-spacing" writable="1" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="entry" writable="1" transfer-ownership="none">
<type name="Gtk.Widget"/>
</property>
<property name="left-action"
readable="0"
writable="1"
transfer-ownership="none">
<type name="Gtk.Widget"/>
</property>
<property name="only-digits" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="right-action"
readable="0"
writable="1"
transfer-ownership="none">
<type name="Gtk.Widget"/>
</property>
<property name="row-spacing" writable="1" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="show-symbols" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent_instance">
<type name="Gtk.Bin" c:type="GtkBin"/>
</field>
</class>
<record name="KeypadClass"
c:type="HdyKeypadClass"
glib:is-gtype-struct-for="Keypad">
<source-position filename="../src/hdy-keypad.h" line="28"/>
<field name="parent_class">
<doc xml:space="preserve"
filename="../src/hdy-keypad.h"
line="23">The parent class</doc>
<type name="Gtk.BinClass" c:type="GtkBinClass"/>
</field>
</record>
<class name="Leaflet"
c:symbol-prefix="leaflet"
c:type="HdyLeaflet"
parent="Gtk.Container"
glib:type-name="HdyLeaflet"
glib:get-type="hdy_leaflet_get_type"
glib:type-struct="LeafletClass">
<source-position filename="../src/hdy-leaflet.h" line="36"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<implements name="Gtk.Orientable"/>
<implements name="Swipeable"/>
<constructor name="new" c:identifier="hdy_leaflet_new">
<source-position filename="../src/hdy-leaflet.h" line="38"/>
<return-value transfer-ownership="none">
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="get_adjacent_child"
c:identifier="hdy_leaflet_get_adjacent_child"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="505">Gets the previous or next child that doesn't have 'allow-visible' child
property set to %FALSE, or %NULL if it doesn't exist. This will be the same
widget hdy_leaflet_navigate() will navigate to.</doc>
<source-position filename="../src/hdy-leaflet.h" line="75"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="514">the previous or next child, or
%NULL if it doesn't exist.</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="507">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
<parameter name="direction" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="508">the direction</doc>
<type name="NavigationDirection" c:type="HdyNavigationDirection"/>
</parameter>
</parameters>
</method>
<method name="get_can_swipe_back"
c:identifier="hdy_leaflet_get_can_swipe_back"
version="0.0.12">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="450">Returns whether the #HdyLeaflet allows swiping to the previous child.</doc>
<source-position filename="../src/hdy-leaflet.h" line="68"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="456">%TRUE if back swipe is enabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="452">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_can_swipe_forward"
c:identifier="hdy_leaflet_get_can_swipe_forward"
version="0.0.12">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="487">Returns whether the #HdyLeaflet allows swiping to the next child.</doc>
<source-position filename="../src/hdy-leaflet.h" line="71"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="493">%TRUE if forward swipe is enabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="489">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_child_transition_duration"
c:identifier="hdy_leaflet_get_child_transition_duration">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="274">Returns the amount of time (in milliseconds) that
transitions between children in @self will take.</doc>
<source-position filename="../src/hdy-leaflet.h" line="61"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="281">the child transition duration</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="276">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_child_transition_running"
c:identifier="hdy_leaflet_get_child_transition_running">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="377">Returns whether @self is currently in a transition from one page to
another.</doc>
<source-position filename="../src/hdy-leaflet.h" line="64"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="384">%TRUE if the transition is currently running, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="379">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_folded" c:identifier="hdy_leaflet_get_folded">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="101">Gets whether @self is folded.</doc>
<source-position filename="../src/hdy-leaflet.h" line="39"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="107">whether @self is folded.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="103">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_homogeneous"
c:identifier="hdy_leaflet_get_homogeneous">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="141">Gets whether @self is homogeneous for the given fold and orientation.
See hdy_leaflet_set_homogeneous().</doc>
<source-position filename="../src/hdy-leaflet.h" line="46"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="150">whether @self is homogeneous for the given fold and orientation.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="143">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
<parameter name="folded" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="144">the fold</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="orientation" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="145">the orientation</doc>
<type name="Gtk.Orientation" c:type="GtkOrientation"/>
</parameter>
</parameters>
</method>
<method name="get_interpolate_size"
c:identifier="hdy_leaflet_get_interpolate_size">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="414">Returns whether the #HdyLeaflet is set up to interpolate between
the sizes of children on page switch.</doc>
<source-position filename="../src/hdy-leaflet.h" line="65"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="421">%TRUE if child sizes are interpolated</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="416">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_mode_transition_duration"
c:identifier="hdy_leaflet_get_mode_transition_duration">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="240">Returns the amount of time (in milliseconds) that
transitions between modes in @self will take.</doc>
<source-position filename="../src/hdy-leaflet.h" line="57"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="247">the mode transition duration</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="242">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_transition_type"
c:identifier="hdy_leaflet_get_transition_type"
version="0.0.12">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="162">Gets the type of animation that will be used
for transitions between modes and children in @self.</doc>
<source-position filename="../src/hdy-leaflet.h" line="53"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="169">the current transition type of @self</doc>
<type name="LeafletTransitionType"
c:type="HdyLeafletTransitionType"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="164">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_visible_child"
c:identifier="hdy_leaflet_get_visible_child">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="308">Gets the visible child widget.</doc>
<source-position filename="../src/hdy-leaflet.h" line="40"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="314">the visible child widget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="310">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_visible_child_name"
c:identifier="hdy_leaflet_get_visible_child_name">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="343">Gets the name of the currently visible child widget.</doc>
<source-position filename="../src/hdy-leaflet.h" line="43"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="349">the name of the visible child</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="345">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
</parameters>
</method>
<method name="navigate"
c:identifier="hdy_leaflet_navigate"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="528">Switches to the previous or next child that doesn't have 'allow-visible'
child property set to %FALSE, similar to performing a swipe gesture to go
in @direction.</doc>
<source-position filename="../src/hdy-leaflet.h" line="77"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="537">%TRUE if visible child was changed, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="530">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
<parameter name="direction" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="531">the direction</doc>
<type name="NavigationDirection" c:type="HdyNavigationDirection"/>
</parameter>
</parameters>
</method>
<method name="set_can_swipe_back"
c:identifier="hdy_leaflet_set_can_swipe_back"
version="0.0.12">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="431">Sets whether or not @self allows switching to the previous child that has
'allow-visible' child property set to %TRUE via a swipe gesture</doc>
<source-position filename="../src/hdy-leaflet.h" line="69"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="433">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
<parameter name="can_swipe_back" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="434">the new value</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_can_swipe_forward"
c:identifier="hdy_leaflet_set_can_swipe_forward"
version="0.0.12">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="468">Sets whether or not @self allows switching to the next child that has
'allow-visible' child property set to %TRUE via a swipe gesture.</doc>
<source-position filename="../src/hdy-leaflet.h" line="72"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="470">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
<parameter name="can_swipe_forward" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="471">the new value</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_child_transition_duration"
c:identifier="hdy_leaflet_set_child_transition_duration">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="291">Sets the duration that transitions between children in @self
will take.</doc>
<source-position filename="../src/hdy-leaflet.h" line="62"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="293">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="294">the new duration, in milliseconds</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_homogeneous"
c:identifier="hdy_leaflet_set_homogeneous">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="117">Sets the #HdyLeaflet to be homogeneous or not for the given fold and orientation.
If it is homogeneous, the #HdyLeaflet will request the same
width or height for all its children depending on the orientation.
If it isn't and it is folded, the leaflet may change width or height
when a different child becomes visible.</doc>
<source-position filename="../src/hdy-leaflet.h" line="49"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="119">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
<parameter name="folded" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="120">the fold</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="orientation" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="121">the orientation</doc>
<type name="Gtk.Orientation" c:type="GtkOrientation"/>
</parameter>
<parameter name="homogeneous" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="122">%TRUE to make @self homogeneous</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_interpolate_size"
c:identifier="hdy_leaflet_set_interpolate_size">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="394">Sets whether or not @self will interpolate its size when
changing the visible child. If the #HdyLeaflet:interpolate-size
property is set to %TRUE, @self will interpolate its size between
the current one and the one it'll take after changing the
visible child, according to the set transition duration.</doc>
<source-position filename="../src/hdy-leaflet.h" line="66"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="396">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
<parameter name="interpolate_size" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="397">the new value</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_mode_transition_duration"
c:identifier="hdy_leaflet_set_mode_transition_duration">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="257">Sets the duration that transitions between modes in @self
will take.</doc>
<source-position filename="../src/hdy-leaflet.h" line="58"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="259">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="260">the new duration, in milliseconds</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_transition_type"
c:identifier="hdy_leaflet_set_transition_type"
version="0.0.12">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="197">Sets the type of animation that will be used for transitions between modes
and children in @self.
The transition type can be changed without problems at runtime, so it is
possible to change the animation based on the mode or child that is about to
become current.</doc>
<source-position filename="../src/hdy-leaflet.h" line="54"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="199">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
<parameter name="transition" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="200">the new transition type</doc>
<type name="LeafletTransitionType"
c:type="HdyLeafletTransitionType"/>
</parameter>
</parameters>
</method>
<method name="set_visible_child"
c:identifier="hdy_leaflet_set_visible_child">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="324">Makes @visible_child visible using a transition determined by
HdyLeaflet:transition-type and HdyLeaflet:child-transition-duration. The
transition can be cancelled by the user, in which case visible child will
change back to the previously visible child.</doc>
<source-position filename="../src/hdy-leaflet.h" line="41"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="326">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
<parameter name="visible_child" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="327">the new child</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="set_visible_child_name"
c:identifier="hdy_leaflet_set_visible_child_name">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="359">Makes the child with the name @name visible.
See hdy_leaflet_set_visible_child() for more details.</doc>
<source-position filename="../src/hdy-leaflet.h" line="44"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="361">a #HdyLeaflet</doc>
<type name="Leaflet" c:type="HdyLeaflet*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="362">the name of a child</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<property name="can-swipe-back"
version="0.0.12"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="1040">Whether or not @self allows switching to the previous child that has
'allow-visible' child property set to %TRUE via a swipe gesture.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="can-swipe-forward"
version="0.0.12"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="1055">Whether or not @self allows switching to the next child that has
'allow-visible' child property set to %TRUE via a swipe gesture.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="child-transition-duration"
writable="1"
transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="child-transition-running" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="folded" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="916">%TRUE if the leaflet is folded.
The leaflet will be folded if the size allocated to it is smaller than the
sum of the natural size of its children, it will be unfolded otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="hhomogeneous-folded"
writable="1"
transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="hhomogeneous-unfolded"
writable="1"
transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="interpolate-size" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="mode-transition-duration"
writable="1"
transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="transition-type"
version="0.0.12"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="993">The type of animation that will be used for transitions between modes and
children.
The transition type can be changed without problems at runtime, so it is
possible to change the animation based on the mode or child that is about
to become current.</doc>
<type name="LeafletTransitionType"/>
</property>
<property name="vhomogeneous-folded"
writable="1"
transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="vhomogeneous-unfolded"
writable="1"
transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="visible-child" writable="1" transfer-ownership="none">
<type name="Gtk.Widget"/>
</property>
<property name="visible-child-name"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent_instance">
<type name="Gtk.Container" c:type="GtkContainer"/>
</field>
</class>
<record name="LeafletClass"
c:type="HdyLeafletClass"
glib:is-gtype-struct-for="Leaflet">
<source-position filename="../src/hdy-leaflet.h" line="36"/>
<field name="parent_class">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.h"
line="31">The parent class</doc>
<type name="Gtk.ContainerClass" c:type="GtkContainerClass"/>
</field>
</record>
<enumeration name="LeafletTransitionType"
version="0.0.12"
glib:type-name="HdyLeafletTransitionType"
glib:get-type="hdy_leaflet_transition_type_get_type"
c:type="HdyLeafletTransitionType">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="41">This enumeration value describes the possible transitions between modes and
children in a #HdyLeaflet widget.
New values may be added to this enumeration over time.</doc>
<member name="over"
value="0"
c:identifier="HDY_LEAFLET_TRANSITION_TYPE_OVER"
glib:nick="over">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="43">Cover the old page or uncover the new page, sliding from or towards the end according to orientation, text direction and children order</doc>
</member>
<member name="under"
value="1"
c:identifier="HDY_LEAFLET_TRANSITION_TYPE_UNDER"
glib:nick="under">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="44">Uncover the new page or cover the old page, sliding from or towards the start according to orientation, text direction and children order</doc>
</member>
<member name="slide"
value="2"
c:identifier="HDY_LEAFLET_TRANSITION_TYPE_SLIDE"
glib:nick="slide">
<doc xml:space="preserve"
filename="../src/hdy-leaflet.c"
line="45">Slide from left, right, up or down according to the orientation, text direction and the children order</doc>
</member>
</enumeration>
<enumeration name="NavigationDirection"
version="1.0"
glib:type-name="HdyNavigationDirection"
glib:get-type="hdy_navigation_direction_get_type"
c:type="HdyNavigationDirection">
<doc xml:space="preserve"
filename="../src/hdy-navigation-direction.c"
line="17">Represents direction of a swipe navigation gesture in #HdyDeck and
#HdyLeaflet.</doc>
<member name="back"
value="0"
c:identifier="HDY_NAVIGATION_DIRECTION_BACK"
glib:nick="back">
<doc xml:space="preserve"
filename="../src/hdy-navigation-direction.c"
line="19">Corresponds to start or top, depending on orientation and text direction</doc>
</member>
<member name="forward"
value="1"
c:identifier="HDY_NAVIGATION_DIRECTION_FORWARD"
glib:nick="forward">
<doc xml:space="preserve"
filename="../src/hdy-navigation-direction.c"
line="20">Corresponds to end or bottom, depending on orientation and text direction</doc>
</member>
</enumeration>
<class name="PreferencesGroup"
c:symbol-prefix="preferences_group"
c:type="HdyPreferencesGroup"
parent="Gtk.Bin"
glib:type-name="HdyPreferencesGroup"
glib:get-type="hdy_preferences_group_get_type"
glib:type-struct="PreferencesGroupClass">
<source-position filename="../src/hdy-preferences-group.h" line="28"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_preferences_group_new"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="293">Creates a new #HdyPreferencesGroup.</doc>
<source-position filename="../src/hdy-preferences-group.h" line="30"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="298">a new #HdyPreferencesGroup</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="get_description"
c:identifier="hdy_preferences_group_get_description"
version="0.0.10">
<source-position filename="../src/hdy-preferences-group.h" line="36"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="363">the description of @self.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="360">a #HdyPreferencesGroup</doc>
<type name="PreferencesGroup" c:type="HdyPreferencesGroup*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_title"
c:identifier="hdy_preferences_group_get_title"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="308">Gets the title of @self.</doc>
<source-position filename="../src/hdy-preferences-group.h" line="32"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="314">the title of @self.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="310">a #HdyPreferencesGroup</doc>
<type name="PreferencesGroup" c:type="HdyPreferencesGroup*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_description"
c:identifier="hdy_preferences_group_set_description"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="379">Sets the description for @self.</doc>
<source-position filename="../src/hdy-preferences-group.h" line="37"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="381">a #HdyPreferencesGroup</doc>
<type name="PreferencesGroup" c:type="HdyPreferencesGroup*"/>
</instance-parameter>
<parameter name="description" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="382">the description</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_title"
c:identifier="hdy_preferences_group_set_title"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="330">Sets the title for @self.</doc>
<source-position filename="../src/hdy-preferences-group.h" line="33"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="332">a #HdyPreferencesGroup</doc>
<type name="PreferencesGroup" c:type="HdyPreferencesGroup*"/>
</instance-parameter>
<parameter name="title" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="333">the title</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<property name="description"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="242">The description for this group of preferences.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="title"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.c"
line="256">The title for this group of preferences.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent_instance">
<type name="Gtk.Bin" c:type="GtkBin"/>
</field>
</class>
<record name="PreferencesGroupClass"
c:type="HdyPreferencesGroupClass"
glib:is-gtype-struct-for="PreferencesGroup">
<source-position filename="../src/hdy-preferences-group.h" line="28"/>
<field name="parent_class">
<doc xml:space="preserve"
filename="../src/hdy-preferences-group.h"
line="23">The parent class</doc>
<type name="Gtk.BinClass" c:type="GtkBinClass"/>
</field>
</record>
<class name="PreferencesPage"
c:symbol-prefix="preferences_page"
c:type="HdyPreferencesPage"
parent="Gtk.Bin"
glib:type-name="HdyPreferencesPage"
glib:get-type="hdy_preferences_page_get_type"
glib:type-struct="PreferencesPageClass">
<source-position filename="../src/hdy-preferences-page.h" line="28"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_preferences_page_new"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="214">Creates a new #HdyPreferencesPage.</doc>
<source-position filename="../src/hdy-preferences-page.h" line="30"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="219">a new #HdyPreferencesPage</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="get_icon_name"
c:identifier="hdy_preferences_page_get_icon_name"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="229">Gets the icon name for @self, or %NULL.</doc>
<source-position filename="../src/hdy-preferences-page.h" line="32"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="235">the icon name for @self, or %NULL.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="231">a #HdyPreferencesPage</doc>
<type name="PreferencesPage" c:type="HdyPreferencesPage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_title"
c:identifier="hdy_preferences_page_get_title"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="279">Gets the title of @self, or %NULL.</doc>
<source-position filename="../src/hdy-preferences-page.h" line="36"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="285">the title of the @self, or %NULL.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="281">a #HdyPreferencesPage</doc>
<type name="PreferencesPage" c:type="HdyPreferencesPage*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_icon_name"
c:identifier="hdy_preferences_page_set_icon_name"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="251">Sets the icon name for @self.</doc>
<source-position filename="../src/hdy-preferences-page.h" line="33"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="253">a #HdyPreferencesPage</doc>
<type name="PreferencesPage" c:type="HdyPreferencesPage*"/>
</instance-parameter>
<parameter name="icon_name"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="254">the icon name, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_title"
c:identifier="hdy_preferences_page_set_title"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="301">Sets the title of @self.</doc>
<source-position filename="../src/hdy-preferences-page.h" line="37"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="303">a #HdyPreferencesPage</doc>
<type name="PreferencesPage" c:type="HdyPreferencesPage*"/>
</instance-parameter>
<parameter name="title"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="304">the title of the page, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<property name="icon-name"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="170">The icon name for this page of preferences.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="title"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.c"
line="184">The title for this page of preferences.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent_instance">
<type name="Gtk.Bin" c:type="GtkBin"/>
</field>
</class>
<record name="PreferencesPageClass"
c:type="HdyPreferencesPageClass"
glib:is-gtype-struct-for="PreferencesPage">
<source-position filename="../src/hdy-preferences-page.h" line="28"/>
<field name="parent_class">
<doc xml:space="preserve"
filename="../src/hdy-preferences-page.h"
line="23">The parent class</doc>
<type name="Gtk.BinClass" c:type="GtkBinClass"/>
</field>
</record>
<class name="PreferencesRow"
c:symbol-prefix="preferences_row"
c:type="HdyPreferencesRow"
parent="Gtk.ListBoxRow"
glib:type-name="HdyPreferencesRow"
glib:get-type="hdy_preferences_row_get_type"
glib:type-struct="PreferencesRowClass">
<source-position filename="../src/hdy-preferences-row.h" line="28"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Actionable"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_preferences_row_new"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="143">Creates a new #HdyPreferencesRow.</doc>
<source-position filename="../src/hdy-preferences-row.h" line="30"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="148">a new #HdyPreferencesRow</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="get_title"
c:identifier="hdy_preferences_row_get_title"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="158">Gets the title of the preference represented by @self.</doc>
<source-position filename="../src/hdy-preferences-row.h" line="32"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="164">the title of the preference represented
by @self, or %NULL.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="160">a #HdyPreferencesRow</doc>
<type name="PreferencesRow" c:type="HdyPreferencesRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_use_underline"
c:identifier="hdy_preferences_row_get_use_underline"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="209">Gets whether an embedded underline in the text of the title indicates a
mnemonic. See hdy_preferences_row_set_use_underline().</doc>
<source-position filename="../src/hdy-preferences-row.h" line="36"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="216">%TRUE if an embedded underline in the title indicates the mnemonic
accelerator keys.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="211">a #HdyPreferencesRow</doc>
<type name="PreferencesRow" c:type="HdyPreferencesRow*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_title"
c:identifier="hdy_preferences_row_set_title"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="181">Sets the title of the preference represented by @self.</doc>
<source-position filename="../src/hdy-preferences-row.h" line="33"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="183">a #HdyPreferencesRow</doc>
<type name="PreferencesRow" c:type="HdyPreferencesRow*"/>
</instance-parameter>
<parameter name="title"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="184">the title, or %NULL.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_use_underline"
c:identifier="hdy_preferences_row_set_use_underline"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="233">If true, an underline in the text of the title indicates the next character
should be used for the mnemonic accelerator key.</doc>
<source-position filename="../src/hdy-preferences-row.h" line="37"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="235">a #HdyPreferencesRow</doc>
<type name="PreferencesRow" c:type="HdyPreferencesRow*"/>
</instance-parameter>
<parameter name="use_underline" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="236">%TRUE if underlines in the text indicate mnemonics</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="title"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="106">The title of the preference represented by this row.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="use-underline"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.c"
line="120">Whether an embedded underline in the text of the title indicates a
mnemonic.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent_instance">
<type name="Gtk.ListBoxRow" c:type="GtkListBoxRow"/>
</field>
</class>
<record name="PreferencesRowClass"
c:type="HdyPreferencesRowClass"
glib:is-gtype-struct-for="PreferencesRow">
<source-position filename="../src/hdy-preferences-row.h" line="28"/>
<field name="parent_class">
<doc xml:space="preserve"
filename="../src/hdy-preferences-row.h"
line="23">The parent class</doc>
<type name="Gtk.ListBoxRowClass" c:type="GtkListBoxRowClass"/>
</field>
</record>
<class name="PreferencesWindow"
c:symbol-prefix="preferences_window"
c:type="HdyPreferencesWindow"
parent="Window"
glib:type-name="HdyPreferencesWindow"
glib:get-type="hdy_preferences_window_get_type"
glib:type-struct="PreferencesWindowClass">
<source-position filename="../src/hdy-preferences-window.h" line="29"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_preferences_window_new"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-preferences-window.c"
line="478">Creates a new #HdyPreferencesWindow.</doc>
<source-position filename="../src/hdy-preferences-window.h" line="31"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-window.c"
line="483">a new #HdyPreferencesWindow</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="get_search_enabled"
c:identifier="hdy_preferences_window_get_search_enabled"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-preferences-window.c"
line="493">Gets whether search is enabled for @self.</doc>
<source-position filename="../src/hdy-preferences-window.h" line="33"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-window.c"
line="499">whether search is enabled for @self.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-window.c"
line="495">a #HdyPreferencesWindow</doc>
<type name="PreferencesWindow" c:type="HdyPreferencesWindow*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_search_enabled"
c:identifier="hdy_preferences_window_set_search_enabled"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-preferences-window.c"
line="515">Sets whether search is enabled for @self.</doc>
<source-position filename="../src/hdy-preferences-window.h" line="34"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-window.c"
line="517">a #HdyPreferencesWindow</doc>
<type name="PreferencesWindow" c:type="HdyPreferencesWindow*"/>
</instance-parameter>
<parameter name="search_enabled" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-window.c"
line="518">%TRUE to enable search, %FALSE to disable it</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="search-enabled"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-preferences-window.c"
line="429">Whether search is enabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent_instance">
<type name="Window" c:type="HdyWindow"/>
</field>
</class>
<record name="PreferencesWindowClass"
c:type="HdyPreferencesWindowClass"
glib:is-gtype-struct-for="PreferencesWindow">
<source-position filename="../src/hdy-preferences-window.h" line="29"/>
<field name="parent_class">
<doc xml:space="preserve"
filename="../src/hdy-preferences-window.h"
line="24">The parent class</doc>
<type name="WindowClass" c:type="HdyWindowClass"/>
</field>
</record>
<class name="SearchBar"
c:symbol-prefix="search_bar"
c:type="HdySearchBar"
parent="Gtk.Bin"
glib:type-name="HdySearchBar"
glib:get-type="hdy_search_bar_get_type"
glib:type-struct="SearchBarClass">
<source-position filename="../src/hdy-search-bar.h" line="24"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_search_bar_new"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="504">Creates a #HdySearchBar. You will need to tell it about
which widget is going to be your text entry using
hdy_search_bar_connect_entry().</doc>
<source-position filename="../src/hdy-search-bar.h" line="26"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="511">a new #HdySearchBar</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="connect_entry"
c:identifier="hdy_search_bar_connect_entry"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="548">Connects the #GtkEntry widget passed as the one to be used in
this search bar. The entry should be a descendant of the search bar.
This is only required if the entry isnt the direct child of the
search bar (as in our main example).</doc>
<source-position filename="../src/hdy-search-bar.h" line="27"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="550">a #HdySearchBar</doc>
<type name="SearchBar" c:type="HdySearchBar*"/>
</instance-parameter>
<parameter name="entry" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="551">a #GtkEntry</doc>
<type name="Gtk.Entry" c:type="GtkEntry*"/>
</parameter>
</parameters>
</method>
<method name="get_search_mode"
c:identifier="hdy_search_bar_get_search_mode"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="570">Returns whether the search mode is on or off.</doc>
<source-position filename="../src/hdy-search-bar.h" line="29"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="576">whether search mode is toggled on</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="572">a #HdySearchBar</doc>
<type name="SearchBar" c:type="HdySearchBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_show_close_button"
c:identifier="hdy_search_bar_get_show_close_button"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="610">Returns whether the close button is shown.</doc>
<source-position filename="../src/hdy-search-bar.h" line="32"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="616">whether the close button is shown</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="612">a #HdySearchBar</doc>
<type name="SearchBar" c:type="HdySearchBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="handle_event"
c:identifier="hdy_search_bar_handle_event"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="205">This function should be called when the top-level
window which contains the search bar received a key event.
If the key event is handled by the search bar, the bar will
be shown, the entry populated with the entered text and %GDK_EVENT_STOP
will be returned. The caller should ensure that events are
not propagated further.
If no entry has been connected to the search bar, using
hdy_search_bar_connect_entry(), this function will return
immediately with a warning.
## Showing the search bar on key presses
|[&lt;!-- language="C" --&gt;
static gboolean
on_key_press_event (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
{
HdySearchBar *bar = HDY_SEARCH_BAR (user_data);
return hdy_search_bar_handle_event (self, event);
}
static void
create_toplevel (void)
{
GtkWidget *window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
GtkWindow *search_bar = hdy_search_bar_new ();
// Add more widgets to the window...
g_signal_connect (window,
"key-press-event",
G_CALLBACK (on_key_press_event),
search_bar);
}
]|</doc>
<source-position filename="../src/hdy-search-bar.h" line="35"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="249">%GDK_EVENT_STOP if the key press event resulted
in text being entered in the search entry (and revealing
the search bar if necessary), %GDK_EVENT_PROPAGATE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="207">a #HdySearchBar</doc>
<type name="SearchBar" c:type="HdySearchBar*"/>
</instance-parameter>
<parameter name="event" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="208">a #GdkEvent containing key press events</doc>
<type name="Gdk.Event" c:type="GdkEvent*"/>
</parameter>
</parameters>
</method>
<method name="set_search_mode"
c:identifier="hdy_search_bar_set_search_mode"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="590">Switches the search mode on or off.</doc>
<source-position filename="../src/hdy-search-bar.h" line="30"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="592">a #HdySearchBar</doc>
<type name="SearchBar" c:type="HdySearchBar*"/>
</instance-parameter>
<parameter name="search_mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="593">the new state of the search mode</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_show_close_button"
c:identifier="hdy_search_bar_set_show_close_button"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="630">Shows or hides the close button. Applications that
already have a “search” toggle button should not show a close
button in their search bar, as it duplicates the role of the
toggle button.</doc>
<source-position filename="../src/hdy-search-bar.h" line="33"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="632">a #HdySearchBar</doc>
<type name="SearchBar" c:type="HdySearchBar*"/>
</instance-parameter>
<parameter name="visible" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="633">whether the close button will be shown or not</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="search-mode-enabled"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="442">Whether the search mode is on and the search bar shown.
See hdy_search_bar_set_search_mode() for details.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="show-close-button"
writable="1"
construct="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-search-bar.c"
line="456">Whether to show the close button in the toolbar.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent_instance">
<type name="Gtk.Bin" c:type="GtkBin"/>
</field>
</class>
<record name="SearchBarClass"
c:type="HdySearchBarClass"
glib:is-gtype-struct-for="SearchBar">
<source-position filename="../src/hdy-search-bar.h" line="24"/>
<field name="parent_class">
<type name="Gtk.BinClass" c:type="GtkBinClass"/>
</field>
</record>
<class name="Squeezer"
c:symbol-prefix="squeezer"
c:type="HdySqueezer"
parent="Gtk.Container"
glib:type-name="HdySqueezer"
glib:get-type="hdy_squeezer_get_type"
glib:type-struct="SqueezerClass">
<source-position filename="../src/hdy-squeezer.h" line="20"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<implements name="Gtk.Orientable"/>
<constructor name="new" c:identifier="hdy_squeezer_new">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1132">Creates a new #HdySqueezer container.</doc>
<source-position filename="../src/hdy-squeezer.h" line="27"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1137">a new #HdySqueezer</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="get_child_enabled"
c:identifier="hdy_squeezer_get_child_enabled">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1357">Gets whether @child is enabled.
See hdy_squeezer_set_child_enabled().</doc>
<source-position filename="../src/hdy-squeezer.h" line="49"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1366">%TRUE if @child is enabled, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1359">a #HdySqueezer</doc>
<type name="Squeezer" c:type="HdySqueezer*"/>
</instance-parameter>
<parameter name="child" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1360">a child of @self</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<method name="get_homogeneous"
c:identifier="hdy_squeezer_get_homogeneous"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1145">Gets whether @self is homogeneous.
See hdy_squeezer_set_homogeneous().</doc>
<source-position filename="../src/hdy-squeezer.h" line="29"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1153">%TRUE if @self is homogeneous, %FALSE is not</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1147">a #HdySqueezer</doc>
<type name="Squeezer" c:type="HdySqueezer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_interpolate_size"
c:identifier="hdy_squeezer_get_interpolate_size"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1292">Gets whether @self should interpolate its size on visible child change.
See hdy_squeezer_set_interpolate_size().</doc>
<source-position filename="../src/hdy-squeezer.h" line="43"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1300">%TRUE if @self interpolates its size on visible child change, %FALSE if not</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1294">A #HdySqueezer</doc>
<type name="Squeezer" c:type="HdySqueezer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_transition_duration"
c:identifier="hdy_squeezer_get_transition_duration">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1197">Gets the amount of time (in milliseconds) that transitions between children
in @self will take.</doc>
<source-position filename="../src/hdy-squeezer.h" line="33"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1204">the transition duration</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1199">a #HdySqueezer</doc>
<type name="Squeezer" c:type="HdySqueezer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_transition_running"
c:identifier="hdy_squeezer_get_transition_running">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1276">Gets whether @self is currently in a transition from one child to another.</doc>
<source-position filename="../src/hdy-squeezer.h" line="41"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1282">%TRUE if the transition is currently running, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1278">a #HdySqueezer</doc>
<type name="Squeezer" c:type="HdySqueezer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_transition_type"
c:identifier="hdy_squeezer_get_transition_type">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1234">Gets the type of animation that will be used for transitions between children
in @self.</doc>
<source-position filename="../src/hdy-squeezer.h" line="37"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1241">the current transition type of @self</doc>
<type name="SqueezerTransitionType"
c:type="HdySqueezerTransitionType"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1236">a #HdySqueezer</doc>
<type name="Squeezer" c:type="HdySqueezer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_visible_child"
c:identifier="hdy_squeezer_get_visible_child">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1340">Gets the currently visible child of @self, or %NULL if there are no visible
children.</doc>
<source-position filename="../src/hdy-squeezer.h" line="47"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1347">the visible child of the #HdySqueezer</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1342">a #HdySqueezer</doc>
<type name="Squeezer" c:type="HdySqueezer*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_child_enabled"
c:identifier="hdy_squeezer_set_child_enabled">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1384">Make @self enable or disable @child. If a child is disabled, it will be
ignored when looking for the child fitting the available size best. This
allows to programmatically and prematurely hide a child of @self even if it
fits in the available space.
This can be used e.g. to ensure a certain child is hidden below a certain
window width, or any other constraint you find suitable.</doc>
<source-position filename="../src/hdy-squeezer.h" line="51"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1386">a #HdySqueezer</doc>
<type name="Squeezer" c:type="HdySqueezer*"/>
</instance-parameter>
<parameter name="child" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1387">a child of @self</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1388">%TRUE to enable the child, %FALSE to disable it</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_homogeneous"
c:identifier="hdy_squeezer_set_homogeneous"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1165">Sets @self to be homogeneous or not. If it is homogeneous, @self will request
the same size for all its children for its opposite orientation, e.g. if
@self is oriented horizontally and is homogeneous, it will request the same
height for all its children. If it isn't, @self may change size when a
different child becomes visible.</doc>
<source-position filename="../src/hdy-squeezer.h" line="30"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1167">a #HdySqueezer</doc>
<type name="Squeezer" c:type="HdySqueezer*"/>
</instance-parameter>
<parameter name="homogeneous" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1168">%TRUE to make @self homogeneous</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_interpolate_size"
c:identifier="hdy_squeezer_set_interpolate_size"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1312">Sets whether or not @self will interpolate the size of its opposing
orientation when changing the visible child. If %TRUE, @self will interpolate
its size between the one of the previous visible child and the one of the new
visible child, according to the set transition duration and the orientation,
e.g. if @self is horizontal, it will interpolate the its height.</doc>
<source-position filename="../src/hdy-squeezer.h" line="44"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1314">A #HdySqueezer</doc>
<type name="Squeezer" c:type="HdySqueezer*"/>
</instance-parameter>
<parameter name="interpolate_size" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1315">%TRUE to interpolate the size</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_transition_duration"
c:identifier="hdy_squeezer_set_transition_duration">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1214">Sets the duration that transitions between children in @self will take.</doc>
<source-position filename="../src/hdy-squeezer.h" line="34"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1216">a #HdySqueezer</doc>
<type name="Squeezer" c:type="HdySqueezer*"/>
</instance-parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1217">the new duration, in milliseconds</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_transition_type"
c:identifier="hdy_squeezer_set_transition_type">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1251">Sets the type of animation that will be used for transitions between children
in @self. Available types include various kinds of fades and slides.
The transition type can be changed without problems at runtime, so it is
possible to change the animation based on the child that is about to become
current.</doc>
<source-position filename="../src/hdy-squeezer.h" line="38"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1253">a #HdySqueezer</doc>
<type name="Squeezer" c:type="HdySqueezer*"/>
</instance-parameter>
<parameter name="transition" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="1254">the new transition type</doc>
<type name="SqueezerTransitionType"
c:type="HdySqueezerTransitionType"/>
</parameter>
</parameters>
</method>
<property name="homogeneous" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="interpolate-size" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="transition-duration"
writable="1"
transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="transition-running" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="transition-type" writable="1" transfer-ownership="none">
<type name="SqueezerTransitionType"/>
</property>
<property name="visible-child" transfer-ownership="none">
<type name="Gtk.Widget"/>
</property>
</class>
<record name="SqueezerClass"
c:type="HdySqueezerClass"
glib:is-gtype-struct-for="Squeezer">
<source-position filename="../src/hdy-squeezer.h" line="20"/>
<field name="parent_class">
<type name="Gtk.ContainerClass" c:type="GtkContainerClass"/>
</field>
</record>
<enumeration name="SqueezerTransitionType"
glib:type-name="HdySqueezerTransitionType"
glib:get-type="hdy_squeezer_transition_type_get_type"
c:type="HdySqueezerTransitionType">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="44">These enumeration values describe the possible transitions between children
in a #HdySqueezer widget.</doc>
<member name="none"
value="0"
c:identifier="HDY_SQUEEZER_TRANSITION_TYPE_NONE"
glib:nick="none">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="46">No transition</doc>
</member>
<member name="crossfade"
value="1"
c:identifier="HDY_SQUEEZER_TRANSITION_TYPE_CROSSFADE"
glib:nick="crossfade">
<doc xml:space="preserve"
filename="../src/hdy-squeezer.c"
line="47">A cross-fade</doc>
</member>
</enumeration>
<class name="SwipeGroup"
c:symbol-prefix="swipe_group"
c:type="HdySwipeGroup"
parent="GObject.Object"
glib:type-name="HdySwipeGroup"
glib:get-type="hdy_swipe_group_get_type"
glib:type-struct="SwipeGroupClass">
<source-position filename="../src/hdy-swipe-group.h" line="20"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_swipe_group_new"
version="0.0.12">
<doc xml:space="preserve"
filename="../src/hdy-swipe-group.c"
line="91">Create a new #HdySwipeGroup object.</doc>
<source-position filename="../src/hdy-swipe-group.h" line="22"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-swipe-group.c"
line="96">The newly created #HdySwipeGroup object</doc>
<type name="SwipeGroup" c:type="HdySwipeGroup*"/>
</return-value>
</constructor>
<method name="add_swipeable"
c:identifier="hdy_swipe_group_add_swipeable"
version="0.0.12">
<doc xml:space="preserve"
filename="../src/hdy-swipe-group.c"
line="213">When the widget is destroyed or no longer referenced elsewhere, it will
be removed from the swipe group.</doc>
<source-position filename="../src/hdy-swipe-group.h" line="24"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-group.c"
line="215">a #HdySwipeGroup</doc>
<type name="SwipeGroup" c:type="HdySwipeGroup*"/>
</instance-parameter>
<parameter name="swipeable" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-group.c"
line="216">the #HdySwipeable to add</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</parameter>
</parameters>
</method>
<method name="get_swipeables"
c:identifier="hdy_swipe_group_get_swipeables"
version="0.0.12">
<doc xml:space="preserve"
filename="../src/hdy-swipe-group.c"
line="279">Returns the list of swipeables associated with @self.</doc>
<source-position filename="../src/hdy-swipe-group.h" line="26"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-group.c"
line="285">a #GSList of
swipeables. The list is owned by libhandy and should not be modified.</doc>
<type name="GLib.SList" c:type="GSList*">
<type name="Swipeable"/>
</type>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-group.c"
line="281">a #HdySwipeGroup</doc>
<type name="SwipeGroup" c:type="HdySwipeGroup*"/>
</instance-parameter>
</parameters>
</method>
<method name="remove_swipeable"
c:identifier="hdy_swipe_group_remove_swipeable"
version="0.0.12">
<doc xml:space="preserve"
filename="../src/hdy-swipe-group.c"
line="249">Removes a widget from a #HdySwipeGroup.</doc>
<source-position filename="../src/hdy-swipe-group.h" line="27"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-group.c"
line="251">a #HdySwipeGroup</doc>
<type name="SwipeGroup" c:type="HdySwipeGroup*"/>
</instance-parameter>
<parameter name="swipeable" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-group.c"
line="252">the #HdySwipeable to remove</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</parameter>
</parameters>
</method>
</class>
<record name="SwipeGroupClass"
c:type="HdySwipeGroupClass"
glib:is-gtype-struct-for="SwipeGroup">
<source-position filename="../src/hdy-swipe-group.h" line="20"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<class name="SwipeTracker"
c:symbol-prefix="swipe_tracker"
c:type="HdySwipeTracker"
parent="GObject.Object"
glib:type-name="HdySwipeTracker"
glib:get-type="hdy_swipe_tracker_get_type"
glib:type-struct="SwipeTrackerClass">
<source-position filename="../src/hdy-swipe-tracker.h" line="20"/>
<implements name="Gtk.Orientable"/>
<constructor name="new"
c:identifier="hdy_swipe_tracker_new"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="885">Create a new #HdySwipeTracker object on @widget.</doc>
<source-position filename="../src/hdy-swipe-tracker.h" line="22"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="891">the newly created #HdySwipeTracker object</doc>
<type name="SwipeTracker" c:type="HdySwipeTracker*"/>
</return-value>
<parameters>
<parameter name="swipeable" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="887">a #GtkWidget to add the tracker on</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</parameter>
</parameters>
</constructor>
<method name="get_allow_mouse_drag"
c:identifier="hdy_swipe_tracker_get_allow_mouse_drag"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="1014">Get whether @self can be dragged with mouse pointer.</doc>
<source-position filename="../src/hdy-swipe-tracker.h" line="34"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="1020">%TRUE is mouse dragging is allowed</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="1016">a #HdySwipeTracker</doc>
<type name="SwipeTracker" c:type="HdySwipeTracker*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enabled"
c:identifier="hdy_swipe_tracker_get_enabled"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="923">Get whether @self is enabled. When it's not enabled, no events will be
processed. Generally widgets will want to expose this via a property.</doc>
<source-position filename="../src/hdy-swipe-tracker.h" line="26"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="930">%TRUE if @self is enabled</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="925">a #HdySwipeTracker</doc>
<type name="SwipeTracker" c:type="HdySwipeTracker*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_reversed"
c:identifier="hdy_swipe_tracker_get_reversed"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="971">Get whether @self is reversing the swipe direction.</doc>
<source-position filename="../src/hdy-swipe-tracker.h" line="30"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="977">%TRUE is the direction is reversed</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="973">a #HdySwipeTracker</doc>
<type name="SwipeTracker" c:type="HdySwipeTracker*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_swipeable"
c:identifier="hdy_swipe_tracker_get_swipeable"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="905">Get @self's swipeable widget.</doc>
<source-position filename="../src/hdy-swipe-tracker.h" line="24"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="911">the swipeable widget</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="907">a #HdySwipeTracker</doc>
<type name="SwipeTracker" c:type="HdySwipeTracker*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_allow_mouse_drag"
c:identifier="hdy_swipe_tracker_set_allow_mouse_drag"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="1032">Set whether @self can be dragged with mouse pointer. This should usually be
%FALSE.</doc>
<source-position filename="../src/hdy-swipe-tracker.h" line="35"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="1034">a #HdySwipeTracker</doc>
<type name="SwipeTracker" c:type="HdySwipeTracker*"/>
</instance-parameter>
<parameter name="allow_mouse_drag" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="1035">whether to allow mouse dragging</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enabled"
c:identifier="hdy_swipe_tracker_set_enabled"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="942">Set whether @self is enabled. When it's not enabled, no events will be
processed. Usually widgets will want to expose this via a property.</doc>
<source-position filename="../src/hdy-swipe-tracker.h" line="27"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="944">a #HdySwipeTracker</doc>
<type name="SwipeTracker" c:type="HdySwipeTracker*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="945">whether to enable to swipe tracker</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_reversed"
c:identifier="hdy_swipe_tracker_set_reversed"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="989">Set whether to reverse the swipe direction. If @self is horizontal,
can be used for supporting RTL text direction.</doc>
<source-position filename="../src/hdy-swipe-tracker.h" line="31"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="991">a #HdySwipeTracker</doc>
<type name="SwipeTracker" c:type="HdySwipeTracker*"/>
</instance-parameter>
<parameter name="reversed" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="992">whether to reverse the swipe direction</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="shift_position"
c:identifier="hdy_swipe_tracker_shift_position"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="1061">Move the current progress value by @delta. This can be used to adjust the
current position if snap points move during the gesture.</doc>
<source-position filename="../src/hdy-swipe-tracker.h" line="38"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="1063">a #HdySwipeTracker</doc>
<type name="SwipeTracker" c:type="HdySwipeTracker*"/>
</instance-parameter>
<parameter name="delta" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="1064">the position delta</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
<property name="allow-mouse-drag"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="792">Whether to allow dragging with mouse pointer. This should usually be
%FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enabled"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="762">Whether the swipe tracker is enabled. When it's not enabled, no events
will be processed. Usually widgets will want to expose this via a property.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="reversed"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="777">Whether to reverse the swipe direction. If the swipe tracker is horizontal,
it can be used for supporting RTL text direction.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="swipeable"
version="1.0"
writable="1"
construct-only="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="748">The widget the swipe tracker is attached to. Must not be %NULL.</doc>
<type name="Swipeable"/>
</property>
<glib:signal name="begin-swipe" when="first" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="813">This signal is emitted when a possible swipe is detected.
The @direction value can be used to restrict the swipe to a certain
direction.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="direction" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="816">The direction of the swipe</doc>
<type name="NavigationDirection"/>
</parameter>
<parameter name="direct" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="817">%TRUE if the swipe is directly triggered by a gesture,
%FALSE if it's triggered via a #HdySwipeGroup</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="end-swipe" when="first" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="856">This signal is emitted as soon as the gesture has stopped.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="859">Snap-back animation duration in milliseconds</doc>
<type name="gint64" c:type="gint64"/>
</parameter>
<parameter name="to" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="860">The progress value to animate to</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="update-swipe" when="first" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="837">This signal is emitted every time the progress value changes.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="progress" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipe-tracker.c"
line="840">The current animation progress value</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="SwipeTrackerClass"
c:type="HdySwipeTrackerClass"
glib:is-gtype-struct-for="SwipeTracker">
<source-position filename="../src/hdy-swipe-tracker.h" line="20"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<interface name="Swipeable"
c:symbol-prefix="swipeable"
c:type="HdySwipeable"
glib:type-name="HdySwipeable"
glib:get-type="hdy_swipeable_get_type"
glib:type-struct="SwipeableInterface">
<source-position filename="../src/hdy-swipeable.h" line="55"/>
<prerequisite name="Gtk.Widget"/>
<virtual-method name="get_cancel_progress"
invoker="get_cancel_progress"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="205">Gets the progress @self will snap back to after the gesture is canceled.</doc>
<source-position filename="../src/hdy-swipeable.h" line="52"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="211">the cancel progress, unitless</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="207">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="get_distance" invoker="get_distance" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="131">Gets the swipe distance of @self. This corresponds to how many pixels
1 unit represents.</doc>
<source-position filename="../src/hdy-swipeable.h" line="48"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="138">the swipe distance in pixels</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="133">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="get_progress" invoker="get_progress" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="182">Gets the current progress of @self</doc>
<source-position filename="../src/hdy-swipeable.h" line="51"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="188">the current progress, unitless</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="184">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="get_snap_points"
invoker="get_snap_points"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="155">Gets the snap points of @self. Each snap point represents a progress value
that is considered acceptable to end the swipe on.</doc>
<source-position filename="../src/hdy-swipeable.h" line="49"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="163">the snap points of
@self. The array must be freed with g_free().</doc>
<array length="0" zero-terminated="0" c:type="gdouble*">
<type name="gdouble" c:type="gdouble"/>
</array>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="157">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
<parameter name="n_snap_points"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="158">location to return the number of the snap points</doc>
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="get_swipe_area"
invoker="get_swipe_area"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="228">Gets the area @self can start a swipe from. This can be used to restrict
swipes to only be possible from a certain area, for example, to only allow
edge swipes, or to have a draggable element and ignore swipes elsewhere.
Swipe area is only considered for direct swipes (as in, not initiated by
#HdySwipeGroup).
If not implemented, the default implementation returns the allocation of
@self, allowing swipes from anywhere.</doc>
<source-position filename="../src/hdy-swipeable.h" line="53"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="230">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
<parameter name="rect"
direction="out"
caller-allocates="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="231">a pointer to a #GdkRectangle to store the swipe area</doc>
<type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="get_swipe_tracker"
invoker="get_swipe_tracker"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="108">Gets the #HdySwipeTracker used by this swipeable widget.</doc>
<source-position filename="../src/hdy-swipeable.h" line="47"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="114">the swipe tracker</doc>
<type name="SwipeTracker" c:type="HdySwipeTracker*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="110">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="switch_child" invoker="switch_child" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="60">See HdySwipeable::child-switched.</doc>
<source-position filename="../src/hdy-swipeable.h" line="43"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="62">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
<parameter name="index" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="63">the index of the child to switch to</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="64">Animation duration in milliseconds</doc>
<type name="gint64" c:type="gint64"/>
</parameter>
</parameters>
</virtual-method>
<method name="emit_child_switched"
c:identifier="hdy_swipeable_emit_child_switched"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="85">Emits HdySwipeable::child-switched signal. This should be called when the
widget switches visible child widget.
@duration can be 0 if the child is switched without animation.</doc>
<source-position filename="../src/hdy-swipeable.h" line="61"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="87">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
<parameter name="index" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="88">the index of the child to switch to</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="89">Animation duration in milliseconds</doc>
<type name="gint64" c:type="gint64"/>
</parameter>
</parameters>
</method>
<method name="get_cancel_progress"
c:identifier="hdy_swipeable_get_cancel_progress"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="205">Gets the progress @self will snap back to after the gesture is canceled.</doc>
<source-position filename="../src/hdy-swipeable.h" line="70"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="211">the cancel progress, unitless</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="207">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_distance"
c:identifier="hdy_swipeable_get_distance"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="131">Gets the swipe distance of @self. This corresponds to how many pixels
1 unit represents.</doc>
<source-position filename="../src/hdy-swipeable.h" line="66"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="138">the swipe distance in pixels</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="133">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_progress"
c:identifier="hdy_swipeable_get_progress"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="182">Gets the current progress of @self</doc>
<source-position filename="../src/hdy-swipeable.h" line="69"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="188">the current progress, unitless</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="184">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_snap_points"
c:identifier="hdy_swipeable_get_snap_points"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="155">Gets the snap points of @self. Each snap point represents a progress value
that is considered acceptable to end the swipe on.</doc>
<source-position filename="../src/hdy-swipeable.h" line="67"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="163">the snap points of
@self. The array must be freed with g_free().</doc>
<array length="0" zero-terminated="0" c:type="gdouble*">
<type name="gdouble" c:type="gdouble"/>
</array>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="157">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
<parameter name="n_snap_points"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="158">location to return the number of the snap points</doc>
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</method>
<method name="get_swipe_area"
c:identifier="hdy_swipeable_get_swipe_area"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="228">Gets the area @self can start a swipe from. This can be used to restrict
swipes to only be possible from a certain area, for example, to only allow
edge swipes, or to have a draggable element and ignore swipes elsewhere.
Swipe area is only considered for direct swipes (as in, not initiated by
#HdySwipeGroup).
If not implemented, the default implementation returns the allocation of
@self, allowing swipes from anywhere.</doc>
<source-position filename="../src/hdy-swipeable.h" line="71"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="230">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
<parameter name="rect"
direction="out"
caller-allocates="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="231">a pointer to a #GdkRectangle to store the swipe area</doc>
<type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
</parameter>
</parameters>
</method>
<method name="get_swipe_tracker"
c:identifier="hdy_swipeable_get_swipe_tracker"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="108">Gets the #HdySwipeTracker used by this swipeable widget.</doc>
<source-position filename="../src/hdy-swipeable.h" line="65"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="114">the swipe tracker</doc>
<type name="SwipeTracker" c:type="HdySwipeTracker*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="110">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
</parameters>
</method>
<method name="switch_child"
c:identifier="hdy_swipeable_switch_child"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="60">See HdySwipeable::child-switched.</doc>
<source-position filename="../src/hdy-swipeable.h" line="57"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="62">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</instance-parameter>
<parameter name="index" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="63">the index of the child to switch to</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="64">Animation duration in milliseconds</doc>
<type name="gint64" c:type="gint64"/>
</parameter>
</parameters>
</method>
<glib:signal name="child-switched" when="first" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="35">This signal should be emitted when the widget's visible child is changed.
@duration can be 0 if the child is switched without animation.
This is used by #HdySwipeGroup, applications should not connect to it.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="index" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="38">the index of the child to switch to</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="39">Animation duration in milliseconds</doc>
<type name="gint64" c:type="gint64"/>
</parameter>
</parameters>
</glib:signal>
</interface>
<record name="SwipeableInterface"
c:type="HdySwipeableInterface"
glib:is-gtype-struct-for="Swipeable"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.h"
line="24">An interface for swipeable widgets.</doc>
<source-position filename="../src/hdy-swipeable.h" line="55"/>
<field name="parent">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.h"
line="26">The parent interface.</doc>
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
<field name="switch_child">
<callback name="switch_child">
<source-position filename="../src/hdy-swipeable.h" line="43"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="62">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</parameter>
<parameter name="index" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="63">the index of the child to switch to</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="64">Animation duration in milliseconds</doc>
<type name="gint64" c:type="gint64"/>
</parameter>
</parameters>
</callback>
</field>
<field name="get_swipe_tracker">
<callback name="get_swipe_tracker">
<source-position filename="../src/hdy-swipeable.h" line="47"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="114">the swipe tracker</doc>
<type name="SwipeTracker" c:type="HdySwipeTracker*"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="110">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="get_distance">
<callback name="get_distance">
<source-position filename="../src/hdy-swipeable.h" line="48"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="138">the swipe distance in pixels</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="133">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="get_snap_points">
<callback name="get_snap_points">
<source-position filename="../src/hdy-swipeable.h" line="49"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="163">the snap points of
@self. The array must be freed with g_free().</doc>
<array length="1" zero-terminated="0" c:type="gdouble*">
<type name="gdouble" c:type="gdouble"/>
</array>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="157">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</parameter>
<parameter name="n_snap_points"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="158">location to return the number of the snap points</doc>
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="get_progress">
<callback name="get_progress">
<source-position filename="../src/hdy-swipeable.h" line="51"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="188">the current progress, unitless</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="184">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="get_cancel_progress">
<callback name="get_cancel_progress">
<source-position filename="../src/hdy-swipeable.h" line="52"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="211">the cancel progress, unitless</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="207">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="get_swipe_area">
<callback name="get_swipe_area">
<source-position filename="../src/hdy-swipeable.h" line="53"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="230">a #HdySwipeable</doc>
<type name="Swipeable" c:type="HdySwipeable*"/>
</parameter>
<parameter name="rect"
direction="out"
caller-allocates="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-swipeable.c"
line="231">a pointer to a #GdkRectangle to store the swipe area</doc>
<type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
</parameter>
</parameters>
</callback>
</field>
</record>
<class name="TitleBar"
c:symbol-prefix="title_bar"
c:type="HdyTitleBar"
parent="Gtk.Bin"
glib:type-name="HdyTitleBar"
glib:get-type="hdy_title_bar_get_type"
glib:type-struct="TitleBarClass">
<source-position filename="../src/hdy-title-bar.h" line="19"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new" c:identifier="hdy_title_bar_new">
<doc xml:space="preserve"
filename="../src/hdy-title-bar.c"
line="336">Creates a new #HdyTitleBar.</doc>
<source-position filename="../src/hdy-title-bar.h" line="21"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-title-bar.c"
line="341">a new #HdyTitleBar</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="get_selection_mode"
c:identifier="hdy_title_bar_get_selection_mode">
<doc xml:space="preserve"
filename="../src/hdy-title-bar.c"
line="79">Returns whether whether @self is in selection mode.</doc>
<source-position filename="../src/hdy-title-bar.h" line="23"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-title-bar.c"
line="85">%TRUE if the title bar is in selection mode</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-title-bar.c"
line="81">a #HdyTitleBar</doc>
<type name="TitleBar" c:type="HdyTitleBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_selection_mode"
c:identifier="hdy_title_bar_set_selection_mode">
<doc xml:space="preserve"
filename="../src/hdy-title-bar.c"
line="47">Sets whether @self is in selection mode.</doc>
<source-position filename="../src/hdy-title-bar.h" line="24"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-title-bar.c"
line="49">a #HdyTitleBar</doc>
<type name="TitleBar" c:type="HdyTitleBar*"/>
</instance-parameter>
<parameter name="selection_mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-title-bar.c"
line="50">%TRUE to enable the selection mode</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="selection-mode" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
</class>
<record name="TitleBarClass"
c:type="HdyTitleBarClass"
glib:is-gtype-struct-for="TitleBar">
<source-position filename="../src/hdy-title-bar.h" line="19"/>
<field name="parent_class">
<type name="Gtk.BinClass" c:type="GtkBinClass"/>
</field>
</record>
<class name="ValueObject"
c:symbol-prefix="value_object"
c:type="HdyValueObject"
parent="GObject.Object"
glib:type-name="HdyValueObject"
glib:get-type="hdy_value_object_get_type"
glib:type-struct="ValueObjectClass">
<source-position filename="../src/hdy-value-object.h" line="20"/>
<constructor name="new"
c:identifier="hdy_value_object_new"
version="0.0.8">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="40">Create a new #HdyValueObject.</doc>
<source-position filename="../src/hdy-value-object.h" line="22"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="46">a new #HdyValueObject</doc>
<type name="ValueObject" c:type="HdyValueObject*"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="42">the #GValue to store</doc>
<type name="GObject.Value" c:type="const GValue*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_collect"
c:identifier="hdy_value_object_new_collect"
version="0.0.8"
introspectable="0">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="57">Creates a new #HdyValueObject. This is a convenience method which uses
the G_VALUE_COLLECT() macro internally.</doc>
<source-position filename="../src/hdy-value-object.h" line="23"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="65">a new #HdyValueObject</doc>
<type name="ValueObject" c:type="HdyValueObject*"/>
</return-value>
<parameters>
<parameter name="type" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="59">the #GType of the value</doc>
<type name="GType" c:type="GType"/>
</parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="60">the value to store</doc>
<varargs/>
</parameter>
</parameters>
</constructor>
<constructor name="new_string"
c:identifier="hdy_value_object_new_string"
version="0.0.8"
introspectable="0">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="89">Creates a new #HdyValueObject. This is a convenience method to create a
#HdyValueObject that stores a string.</doc>
<source-position filename="../src/hdy-value-object.h" line="25"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="96">a new #HdyValueObject</doc>
<type name="ValueObject" c:type="HdyValueObject*"/>
</return-value>
<parameters>
<parameter name="string" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="91">the string to store</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_take_string"
c:identifier="hdy_value_object_new_take_string"
version="0.0.8"
introspectable="0">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="109">Creates a new #HdyValueObject. This is a convenience method to create a
#HdyValueObject that stores a string taking ownership of it.</doc>
<source-position filename="../src/hdy-value-object.h" line="26"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="116">a new #HdyValueObject</doc>
<type name="ValueObject" c:type="HdyValueObject*"/>
</return-value>
<parameters>
<parameter name="string" transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="111">the string to store</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</constructor>
<method name="copy_value"
c:identifier="hdy_value_object_copy_value"
version="0.0.8">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="221">Copy data from the contained #GValue into @dest.</doc>
<source-position filename="../src/hdy-value-object.h" line="29"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="value" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="223">the #HdyValueObject</doc>
<type name="ValueObject" c:type="HdyValueObject*"/>
</instance-parameter>
<parameter name="dest" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="224">#GValue with correct type to copy into</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</method>
<method name="dup_string"
c:identifier="hdy_value_object_dup_string"
version="0.0.8">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="252">Returns a copy of the contained string if the value is of type
#G_TYPE_STRING.</doc>
<source-position filename="../src/hdy-value-object.h" line="32"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="259">a copy of the contained string</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="value" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="254">the #HdyValueObject</doc>
<type name="ValueObject" c:type="HdyValueObject*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_string"
c:identifier="hdy_value_object_get_string"
version="0.0.8">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="237">Returns the contained string if the value is of type #G_TYPE_STRING.</doc>
<source-position filename="../src/hdy-value-object.h" line="31"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="243">the contained string</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="value" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="239">the #HdyValueObject</doc>
<type name="ValueObject" c:type="HdyValueObject*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_value"
c:identifier="hdy_value_object_get_value"
version="0.0.8">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="206">Return the contained value.</doc>
<source-position filename="../src/hdy-value-object.h" line="28"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="212">the contained #GValue</doc>
<type name="GObject.Value" c:type="const GValue*"/>
</return-value>
<parameters>
<instance-parameter name="value" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-value-object.c"
line="208">the #HdyValueObject</doc>
<type name="ValueObject" c:type="HdyValueObject*"/>
</instance-parameter>
</parameters>
</method>
<property name="value"
writable="1"
construct-only="1"
transfer-ownership="none">
<type name="GObject.Value"/>
</property>
</class>
<record name="ValueObjectClass"
c:type="HdyValueObjectClass"
glib:is-gtype-struct-for="ValueObject">
<source-position filename="../src/hdy-value-object.h" line="20"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<class name="ViewSwitcher"
c:symbol-prefix="view_switcher"
c:type="HdyViewSwitcher"
parent="Gtk.Bin"
glib:type-name="HdyViewSwitcher"
glib:get-type="hdy_view_switcher_get_type"
glib:type-struct="ViewSwitcherClass">
<source-position filename="../src/hdy-view-switcher.h" line="20"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_view_switcher_new"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="588">Creates a new #HdyViewSwitcher widget.</doc>
<source-position filename="../src/hdy-view-switcher.h" line="28"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="593">a new #HdyViewSwitcher</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="get_icon_size"
c:identifier="hdy_view_switcher_get_icon_size"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="646">Get the icon size of the images used in the #HdyViewSwitcher.
See: hdy_view_switcher_set_icon_size()</doc>
<source-position filename="../src/hdy-view-switcher.h" line="34"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="654">the icon size of the images</doc>
<type name="Gtk.IconSize" c:type="GtkIconSize"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="648">a #HdyViewSwitcher</doc>
<type name="ViewSwitcher" c:type="HdyViewSwitcher*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_narrow_ellipsize"
c:identifier="hdy_view_switcher_get_narrow_ellipsize"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="689">Get the ellipsizing position of the narrow mode label. See
hdy_view_switcher_set_narrow_ellipsize().</doc>
<source-position filename="../src/hdy-view-switcher.h" line="38"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="696">#PangoEllipsizeMode</doc>
<type name="Pango.EllipsizeMode" c:type="PangoEllipsizeMode"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="691">a #HdyViewSwitcher</doc>
<type name="ViewSwitcher" c:type="HdyViewSwitcher*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_policy"
c:identifier="hdy_view_switcher_get_policy"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="603">Gets the policy of @self.</doc>
<source-position filename="../src/hdy-view-switcher.h" line="30"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="609">the policy of @self</doc>
<type name="ViewSwitcherPolicy" c:type="HdyViewSwitcherPolicy"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="605">a #HdyViewSwitcher</doc>
<type name="ViewSwitcher" c:type="HdyViewSwitcher*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_stack"
c:identifier="hdy_view_switcher_get_stack"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="740">Get the #GtkStack being controlled by the #HdyViewSwitcher.
See: hdy_view_switcher_set_stack()</doc>
<source-position filename="../src/hdy-view-switcher.h" line="42"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="748">the #GtkStack, or %NULL if none has been set</doc>
<type name="Gtk.Stack" c:type="GtkStack*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="742">a #HdyViewSwitcher</doc>
<type name="ViewSwitcher" c:type="HdyViewSwitcher*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_icon_size"
c:identifier="hdy_view_switcher_set_icon_size"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="666">Change the icon size hint for the icons in a #HdyViewSwitcher.</doc>
<source-position filename="../src/hdy-view-switcher.h" line="35"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="668">a #HdyViewSwitcher</doc>
<type name="ViewSwitcher" c:type="HdyViewSwitcher*"/>
</instance-parameter>
<parameter name="icon_size" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="669">the new icon size</doc>
<type name="Gtk.IconSize" c:type="GtkIconSize"/>
</parameter>
</parameters>
</method>
<method name="set_narrow_ellipsize"
c:identifier="hdy_view_switcher_set_narrow_ellipsize"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="708">Set the mode used to ellipsize the text in narrow mode if there is not
enough space to render the entire string.</doc>
<source-position filename="../src/hdy-view-switcher.h" line="39"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="710">a #HdyViewSwitcher</doc>
<type name="ViewSwitcher" c:type="HdyViewSwitcher*"/>
</instance-parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="711">a #PangoEllipsizeMode</doc>
<type name="Pango.EllipsizeMode" c:type="PangoEllipsizeMode"/>
</parameter>
</parameters>
</method>
<method name="set_policy"
c:identifier="hdy_view_switcher_set_policy"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="621">Sets the policy of @self.</doc>
<source-position filename="../src/hdy-view-switcher.h" line="31"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="623">a #HdyViewSwitcher</doc>
<type name="ViewSwitcher" c:type="HdyViewSwitcher*"/>
</instance-parameter>
<parameter name="policy" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="624">the new policy</doc>
<type name="ViewSwitcherPolicy" c:type="HdyViewSwitcherPolicy"/>
</parameter>
</parameters>
</method>
<method name="set_stack"
c:identifier="hdy_view_switcher_set_stack"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="760">Sets the #GtkStack to control.</doc>
<source-position filename="../src/hdy-view-switcher.h" line="43"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="762">a #HdyViewSwitcher</doc>
<type name="ViewSwitcher" c:type="HdyViewSwitcher*"/>
</instance-parameter>
<parameter name="stack"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="763">a #GtkStack</doc>
<type name="Gtk.Stack" c:type="GtkStack*"/>
</parameter>
</parameters>
</method>
<property name="icon-size"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="516">Use the "icon-size" property to hint the icons to use, you almost certainly
want to leave this as %GTK_ICON_SIZE_BUTTON.</doc>
<type name="gint" c:type="gint"/>
</property>
<property name="narrow-ellipsize"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="531">The preferred place to ellipsize the string, if the narrow mode label does
not have enough room to display the entire string, specified as a
#PangoEllipsizeMode.
Note that setting this property to a value other than %PANGO_ELLIPSIZE_NONE
has the side-effect that the label requests only enough space to display
the ellipsis.</doc>
<type name="Pango.EllipsizeMode"/>
</property>
<property name="policy"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="501">The #HdyViewSwitcherPolicy the view switcher should use to determine which
mode to use.</doc>
<type name="ViewSwitcherPolicy"/>
</property>
<property name="stack"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="552">The #GtkStack the view switcher controls.</doc>
<type name="Gtk.Stack"/>
</property>
</class>
<class name="ViewSwitcherBar"
c:symbol-prefix="view_switcher_bar"
c:type="HdyViewSwitcherBar"
parent="Gtk.Bin"
glib:type-name="HdyViewSwitcherBar"
glib:get-type="hdy_view_switcher_bar_get_type"
glib:type-struct="ViewSwitcherBarClass">
<source-position filename="../src/hdy-view-switcher-bar.h" line="22"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_view_switcher_bar_new"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="260">Creates a new #HdyViewSwitcherBar widget.</doc>
<source-position filename="../src/hdy-view-switcher-bar.h" line="24"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="265">a new #HdyViewSwitcherBar</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="get_icon_size"
c:identifier="hdy_view_switcher_bar_get_icon_size"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="318">Get the icon size of the images used in the #HdyViewSwitcher.</doc>
<source-position filename="../src/hdy-view-switcher-bar.h" line="30"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="324">the icon size of the images</doc>
<type name="Gtk.IconSize" c:type="GtkIconSize"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="320">a #HdyViewSwitcherBar</doc>
<type name="ViewSwitcherBar" c:type="HdyViewSwitcherBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_policy"
c:identifier="hdy_view_switcher_bar_get_policy"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="275">Gets the policy of @self.</doc>
<source-position filename="../src/hdy-view-switcher-bar.h" line="26"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="281">the policy of @self</doc>
<type name="ViewSwitcherPolicy" c:type="HdyViewSwitcherPolicy"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="277">a #HdyViewSwitcherBar</doc>
<type name="ViewSwitcherBar" c:type="HdyViewSwitcherBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_reveal"
c:identifier="hdy_view_switcher_bar_get_reveal"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="415">Gets whether @self should be revealed or not.</doc>
<source-position filename="../src/hdy-view-switcher-bar.h" line="38"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="421">%TRUE if @self is revealed, %FALSE if not.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="417">a #HdyViewSwitcherBar</doc>
<type name="ViewSwitcherBar" c:type="HdyViewSwitcherBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_stack"
c:identifier="hdy_view_switcher_bar_get_stack"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="359">Get the #GtkStack being controlled by the #HdyViewSwitcher.</doc>
<source-position filename="../src/hdy-view-switcher-bar.h" line="34"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="365">the #GtkStack, or %NULL if none has been set</doc>
<type name="Gtk.Stack" c:type="GtkStack*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="361">a #HdyViewSwitcherBar</doc>
<type name="ViewSwitcherBar" c:type="HdyViewSwitcherBar*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_icon_size"
c:identifier="hdy_view_switcher_bar_set_icon_size"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="336">Change the icon size hint for the icons in a #HdyViewSwitcher.</doc>
<source-position filename="../src/hdy-view-switcher-bar.h" line="31"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="338">a #HdyViewSwitcherBar</doc>
<type name="ViewSwitcherBar" c:type="HdyViewSwitcherBar*"/>
</instance-parameter>
<parameter name="icon_size" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="339">the new icon size</doc>
<type name="Gtk.IconSize" c:type="GtkIconSize"/>
</parameter>
</parameters>
</method>
<method name="set_policy"
c:identifier="hdy_view_switcher_bar_set_policy"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="293">Sets the policy of @self.</doc>
<source-position filename="../src/hdy-view-switcher-bar.h" line="27"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="295">a #HdyViewSwitcherBar</doc>
<type name="ViewSwitcherBar" c:type="HdyViewSwitcherBar*"/>
</instance-parameter>
<parameter name="policy" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="296">the new policy</doc>
<type name="ViewSwitcherPolicy" c:type="HdyViewSwitcherPolicy"/>
</parameter>
</parameters>
</method>
<method name="set_reveal"
c:identifier="hdy_view_switcher_bar_set_reveal"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="433">Sets whether @self should be revealed or not.</doc>
<source-position filename="../src/hdy-view-switcher-bar.h" line="39"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="435">a #HdyViewSwitcherBar</doc>
<type name="ViewSwitcherBar" c:type="HdyViewSwitcherBar*"/>
</instance-parameter>
<parameter name="reveal" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="436">%TRUE to reveal @self</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_stack"
c:identifier="hdy_view_switcher_bar_set_stack"
version="0.0.10">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="377">Sets the #GtkStack to control.</doc>
<source-position filename="../src/hdy-view-switcher-bar.h" line="35"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="379">a #HdyViewSwitcherBar</doc>
<type name="ViewSwitcherBar" c:type="HdyViewSwitcherBar*"/>
</instance-parameter>
<parameter name="stack"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="380">a #GtkStack</doc>
<type name="Gtk.Stack" c:type="GtkStack*"/>
</parameter>
</parameters>
</method>
<property name="icon-size"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="191">Use the "icon-size" property to hint the icons to use, you almost certainly
want to leave this as %GTK_ICON_SIZE_BUTTON.</doc>
<type name="gint" c:type="gint"/>
</property>
<property name="policy"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="176">The #HdyViewSwitcherPolicy the #HdyViewSwitcher should use to determine
which mode to use.</doc>
<type name="ViewSwitcherPolicy"/>
</property>
<property name="reveal"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="220">Whether the bar should be revealed or hidden.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="stack"
version="0.0.10"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-bar.c"
line="206">The #GtkStack the #HdyViewSwitcher controls.</doc>
<type name="Gtk.Stack"/>
</property>
</class>
<record name="ViewSwitcherBarClass"
c:type="HdyViewSwitcherBarClass"
glib:is-gtype-struct-for="ViewSwitcherBar">
<source-position filename="../src/hdy-view-switcher-bar.h" line="22"/>
<field name="parent_class">
<type name="Gtk.BinClass" c:type="GtkBinClass"/>
</field>
</record>
<record name="ViewSwitcherClass"
c:type="HdyViewSwitcherClass"
glib:is-gtype-struct-for="ViewSwitcher">
<source-position filename="../src/hdy-view-switcher.h" line="20"/>
<field name="parent_class">
<type name="Gtk.BinClass" c:type="GtkBinClass"/>
</field>
</record>
<enumeration name="ViewSwitcherPolicy"
glib:type-name="HdyViewSwitcherPolicy"
glib:get-type="hdy_view_switcher_policy_get_type"
c:type="HdyViewSwitcherPolicy">
<member name="auto"
value="0"
c:identifier="HDY_VIEW_SWITCHER_POLICY_AUTO"
glib:nick="auto">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="44">Automatically adapt to the best fitting mode</doc>
</member>
<member name="narrow"
value="1"
c:identifier="HDY_VIEW_SWITCHER_POLICY_NARROW"
glib:nick="narrow">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="45">Force the narrow mode</doc>
</member>
<member name="wide"
value="2"
c:identifier="HDY_VIEW_SWITCHER_POLICY_WIDE"
glib:nick="wide">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher.c"
line="46">Force the wide mode</doc>
</member>
</enumeration>
<class name="ViewSwitcherTitle"
c:symbol-prefix="view_switcher_title"
c:type="HdyViewSwitcherTitle"
parent="Gtk.Bin"
glib:type-name="HdyViewSwitcherTitle"
glib:get-type="hdy_view_switcher_title_get_type"
glib:type-struct="ViewSwitcherTitleClass">
<source-position filename="../src/hdy-view-switcher-title.h" line="22"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_view_switcher_title_new"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="355">Creates a new #HdyViewSwitcherTitle widget.</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="24"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="360">a new #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</return-value>
</constructor>
<method name="get_icon_size"
c:identifier="hdy_view_switcher_title_get_icon_size"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="413">Get the icon size of the images used in the #HdyViewSwitcher.</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="30"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="419">the icon size of the images</doc>
<type name="Gtk.IconSize" c:type="GtkIconSize"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="415">a #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_policy"
c:identifier="hdy_view_switcher_title_get_policy"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="370">Gets the policy of @self.</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="26"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="376">the policy of @self</doc>
<type name="ViewSwitcherPolicy" c:type="HdyViewSwitcherPolicy"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="372">a #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_stack"
c:identifier="hdy_view_switcher_title_get_stack"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="454">Get the #GtkStack being controlled by the #HdyViewSwitcher.</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="34"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="460">the #GtkStack, or %NULL if none has been set</doc>
<type name="Gtk.Stack" c:type="GtkStack*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="456">a #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_subtitle"
c:identifier="hdy_view_switcher_title_get_subtitle"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="553">Gets the subtitle of @self. See hdy_view_switcher_title_set_subtitle().</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="42"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="559">the subtitle of @self, or %NULL.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="555">a #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_title"
c:identifier="hdy_view_switcher_title_get_title"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="510">Gets the title of @self. See hdy_view_switcher_title_set_title().</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="38"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="516">the title of @self, or %NULL.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="512">a #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_title_visible"
c:identifier="hdy_view_switcher_title_get_title_visible"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="647">Get whether the title label of @self is visible.</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="50"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="653">%TRUE if the title label of @self is visible, %FALSE if not.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="649">a #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_view_switcher_enabled"
c:identifier="hdy_view_switcher_title_get_view_switcher_enabled"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="596">Gets whether @self's view switcher is enabled.
See hdy_view_switcher_title_set_view_switcher_enabled().</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="46"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="604">%TRUE if the view switcher is enabled, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="598">a #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_icon_size"
c:identifier="hdy_view_switcher_title_set_icon_size"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="431">Change the icon size hint for the icons in a #HdyViewSwitcher.</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="31"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="433">a #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</instance-parameter>
<parameter name="icon_size" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="434">the new icon size</doc>
<type name="Gtk.IconSize" c:type="GtkIconSize"/>
</parameter>
</parameters>
</method>
<method name="set_policy"
c:identifier="hdy_view_switcher_title_set_policy"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="388">Sets the policy of @self.</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="27"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="390">a #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</instance-parameter>
<parameter name="policy" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="391">the new policy</doc>
<type name="ViewSwitcherPolicy" c:type="HdyViewSwitcherPolicy"/>
</parameter>
</parameters>
</method>
<method name="set_stack"
c:identifier="hdy_view_switcher_title_set_stack"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="472">Sets the #GtkStack to control.</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="35"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="474">a #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</instance-parameter>
<parameter name="stack"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="475">a #GtkStack</doc>
<type name="Gtk.Stack" c:type="GtkStack*"/>
</parameter>
</parameters>
</method>
<method name="set_subtitle"
c:identifier="hdy_view_switcher_title_set_subtitle"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="571">Sets the subtitle of @self. The subtitle should give a user additional
details.</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="43"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="573">a #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</instance-parameter>
<parameter name="subtitle"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="574">a subtitle, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_title"
c:identifier="hdy_view_switcher_title_set_title"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="528">Sets the title of @self. The title should give a user additional details. A
good title should not include the application name.</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="39"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="530">a #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</instance-parameter>
<parameter name="title"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="531">a title, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_view_switcher_enabled"
c:identifier="hdy_view_switcher_title_set_view_switcher_enabled"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="616">Make @self enable or disable its view switcher. If it is disabled, the title
will be displayed instead. This allows to programmatically and prematurely
hide the view switcher of @self even if it fits in the available space.
This can be used e.g. to ensure the view switcher is hidden below a certain
window width, or any other constraint you find suitable.</doc>
<source-position filename="../src/hdy-view-switcher-title.h"
line="47"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="618">a #HdyViewSwitcherTitle</doc>
<type name="ViewSwitcherTitle" c:type="HdyViewSwitcherTitle*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="619">%TRUE to enable the view switcher, %FALSE to disable it</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="icon-size"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="242">Use the "icon-size" property to hint the icons to use, you almost certainly
want to leave this as %GTK_ICON_SIZE_BUTTON.</doc>
<type name="gint" c:type="gint"/>
</property>
<property name="policy"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="227">The #HdyViewSwitcherPolicy the #HdyViewSwitcher should use to determine
which mode to use.</doc>
<type name="ViewSwitcherPolicy"/>
</property>
<property name="stack"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="257">The #GtkStack the #HdyViewSwitcher controls.</doc>
<type name="Gtk.Stack"/>
</property>
<property name="subtitle"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="285">The subtitle of the #HdyViewSwitcher.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="title"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="271">The title of the #HdyViewSwitcher.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="title-visible" version="1.0" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="313">Whether the bar should be revealed or hidden.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="view-switcher-enabled"
version="1.0"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-view-switcher-title.c"
line="299">Whether the bar should be revealed or hidden.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
</class>
<record name="ViewSwitcherTitleClass"
c:type="HdyViewSwitcherTitleClass"
glib:is-gtype-struct-for="ViewSwitcherTitle">
<source-position filename="../src/hdy-view-switcher-title.h" line="22"/>
<field name="parent_class">
<type name="Gtk.BinClass" c:type="GtkBinClass"/>
</field>
</record>
<class name="Window"
c:symbol-prefix="window"
c:type="HdyWindow"
parent="Gtk.Window"
glib:type-name="HdyWindow"
glib:get-type="hdy_window_get_type"
glib:type-struct="WindowClass">
<source-position filename="../src/hdy-window.h" line="24"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new" c:identifier="hdy_window_new" version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-window.c"
line="180">Creates a new #HdyWindow.</doc>
<source-position filename="../src/hdy-window.h" line="26"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-window.c"
line="185">a newly created #HdyWindow</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<field name="parent_instance">
<type name="Gtk.Window" c:type="GtkWindow"/>
</field>
</class>
<record name="WindowClass"
c:type="HdyWindowClass"
glib:is-gtype-struct-for="Window">
<source-position filename="../src/hdy-window.h" line="24"/>
<field name="parent_class">
<type name="Gtk.WindowClass" c:type="GtkWindowClass"/>
</field>
</record>
<class name="WindowHandle"
c:symbol-prefix="window_handle"
c:type="HdyWindowHandle"
parent="Gtk.EventBox"
glib:type-name="HdyWindowHandle"
glib:get-type="hdy_window_handle_get_type"
glib:type-struct="WindowHandleClass">
<source-position filename="../src/hdy-window-handle.h" line="19"/>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new"
c:identifier="hdy_window_handle_new"
version="1.0">
<doc xml:space="preserve"
filename="../src/hdy-window-handle.c"
line="70">Creates a new #HdyWindowHandle.</doc>
<source-position filename="../src/hdy-window-handle.h" line="21"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-window-handle.c"
line="75">a newly created #HdyWindowHandle</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
</class>
<record name="WindowHandleClass"
c:type="HdyWindowHandleClass"
glib:is-gtype-struct-for="WindowHandle">
<source-position filename="../src/hdy-window-handle.h" line="19"/>
<field name="parent_class">
<type name="Gtk.EventBoxClass" c:type="GtkEventBoxClass"/>
</field>
</record>
<function name="ease_out_cubic"
c:identifier="hdy_ease_out_cubic"
version="0.0.11">
<doc xml:space="preserve"
filename="../src/hdy-animation.c"
line="71">Computes the ease out for @t.</doc>
<source-position filename="../src/hdy-animation.h" line="19"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-animation.c"
line="77">the ease out for @t.</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<parameter name="t" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-animation.c"
line="73">the term</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</function>
<function name="enum_value_row_name"
c:identifier="hdy_enum_value_row_name"
version="0.0.6">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="808">This is a default implementation of #HdyComboRowGetEnumValueNameFunc to be
used with hdy_combo_row_set_for_enum(). If the enumeration has a nickname, it
will return it, otherwise it will return its name.</doc>
<source-position filename="../src/hdy-combo-row.h" line="92"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="817">a newly allocated displayable name that represents @value</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="810">the value from the enum from which to get a name</doc>
<type name="EnumValueObject" c:type="HdyEnumValueObject*"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../src/hdy-combo-row.c"
line="811">unused user data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</function>
<function name="get_enable_animations"
c:identifier="hdy_get_enable_animations"
version="0.0.11">
<doc xml:space="preserve"
filename="../src/hdy-animation.c"
line="21">Returns whether animations are enabled for that widget. This should be used
when implementing an animated widget to know whether to animate it or not.</doc>
<source-position filename="../src/hdy-animation.h" line="17"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-animation.c"
line="28">%TRUE if animations are enabled for @widget.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="widget" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/hdy-animation.c"
line="23">a #GtkWidget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</function>
<function name="init" c:identifier="hdy_init">
<doc xml:space="preserve"
filename="../src/hdy-main.c"
line="176">Call this function just after initializing GTK, if you are using
#GtkApplication it means it must be called when the #GApplication::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.</doc>
<source-position filename="../src/hdy-main.h" line="16"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
</namespace>
</repository>