Commit 7f617116 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

Standardize function prototypes

This applies the function prototype styles rules added in the previous
commit.

Fixes #151
parent ceb2c870
Pipeline #285758 failed with stages
in 12 minutes and 16 seconds
......@@ -82,8 +82,8 @@ ADW_AVAILABLE_IN_ALL
void adw_action_row_add_suffix (AdwActionRow *self,
GtkWidget *widget);
ADW_AVAILABLE_IN_ALL
void adw_action_row_remove (AdwActionRow *self,
GtkWidget *widget);
void adw_action_row_remove (AdwActionRow *self,
GtkWidget *widget);
ADW_AVAILABLE_IN_ALL
void adw_action_row_activate (AdwActionRow *self);
......
......@@ -23,30 +23,33 @@ typedef void (*AdwAnimationValueCallback) (double value,
typedef void (*AdwAnimationDoneCallback) (gpointer user_data);
typedef double (*AdwAnimationEasingFunc) (double t);
GType adw_animation_get_type (void) G_GNUC_CONST;
GType adw_animation_get_type (void) G_GNUC_CONST;
AdwAnimation *adw_animation_new (GtkWidget *widget,
double from,
double to,
gint64 duration,
AdwAnimationEasingFunc easing_func,
AdwAnimationValueCallback value_cb,
AdwAnimationDoneCallback done_cb,
gpointer user_data);
AdwAnimation *adw_animation_new (GtkWidget *widget,
double from,
double to,
gint64 duration,
AdwAnimationEasingFunc easing_func,
AdwAnimationValueCallback value_cb,
AdwAnimationDoneCallback done_cb,
gpointer user_data);
AdwAnimation *adw_animation_ref (AdwAnimation *self);
void adw_animation_unref (AdwAnimation *self);
AdwAnimation *adw_animation_ref (AdwAnimation *self);
void adw_animation_unref (AdwAnimation *self);
void adw_animation_start (AdwAnimation *self);
void adw_animation_stop (AdwAnimation *self);
void adw_animation_start (AdwAnimation *self);
void adw_animation_stop (AdwAnimation *self);
GtkWidget *adw_animation_get_widget (AdwAnimation *self);
double adw_animation_get_value (AdwAnimation *self);
GtkWidget *adw_animation_get_widget (AdwAnimation *self);
double adw_animation_get_value (AdwAnimation *self);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (AdwAnimation, adw_animation_unref)
double adw_lerp (double a, double b, double t);
double adw_ease_in_cubic (double t);
double adw_lerp (double a,
double b,
double t);
double adw_ease_in_cubic (double t);
double adw_ease_in_out_cubic (double t);
G_END_DECLS
......@@ -39,37 +39,43 @@ typedef GdkPixbuf *(* AdwAvatarImageLoadFunc) (int size,
ADW_AVAILABLE_IN_ALL
GtkWidget *adw_avatar_new (int size,
const char *text,
gboolean show_initials);
GtkWidget *adw_avatar_new (int size,
const char *text,
gboolean show_initials);
ADW_AVAILABLE_IN_ALL
const char *adw_avatar_get_icon_name (AdwAvatar *self);
const char *adw_avatar_get_icon_name (AdwAvatar *self);
ADW_AVAILABLE_IN_ALL
void adw_avatar_set_icon_name (AdwAvatar *self,
const char *icon_name);
void adw_avatar_set_icon_name (AdwAvatar *self,
const char *icon_name);
ADW_AVAILABLE_IN_ALL
const char *adw_avatar_get_text (AdwAvatar *self);
const char *adw_avatar_get_text (AdwAvatar *self);
ADW_AVAILABLE_IN_ALL
void adw_avatar_set_text (AdwAvatar *self,
const char *text);
void adw_avatar_set_text (AdwAvatar *self,
const char *text);
ADW_AVAILABLE_IN_ALL
gboolean adw_avatar_get_show_initials (AdwAvatar *self);
gboolean adw_avatar_get_show_initials (AdwAvatar *self);
ADW_AVAILABLE_IN_ALL
void adw_avatar_set_show_initials (AdwAvatar *self,
gboolean show_initials);
void adw_avatar_set_show_initials (AdwAvatar *self,
gboolean show_initials);
ADW_AVAILABLE_IN_ALL
void adw_avatar_set_image_load_func (AdwAvatar *self,
AdwAvatarImageLoadFunc load_image,
gpointer user_data,
GDestroyNotify destroy);
void adw_avatar_set_image_load_func (AdwAvatar *self,
AdwAvatarImageLoadFunc load_image,
gpointer user_data,
GDestroyNotify destroy);
ADW_AVAILABLE_IN_ALL
int adw_avatar_get_size (AdwAvatar *self);
int adw_avatar_get_size (AdwAvatar *self);
ADW_AVAILABLE_IN_ALL
void adw_avatar_set_size (AdwAvatar *self,
int size);
void adw_avatar_set_size (AdwAvatar *self,
int size);
ADW_AVAILABLE_IN_ALL
GdkPixbuf *adw_avatar_draw_to_pixbuf (AdwAvatar *self,
int size,
int scale_factor);
GdkPixbuf *adw_avatar_draw_to_pixbuf (AdwAvatar *self,
int size,
int scale_factor);
G_END_DECLS
......@@ -23,7 +23,7 @@ ADW_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (AdwCarouselIndicatorDots, adw_carousel_indicator_dots, ADW, CAROUSEL_INDICATOR_DOTS, GtkWidget)
ADW_AVAILABLE_IN_ALL
GtkWidget *adw_carousel_indicator_dots_new (void);
GtkWidget *adw_carousel_indicator_dots_new (void);
ADW_AVAILABLE_IN_ALL
AdwCarousel *adw_carousel_indicator_dots_get_carousel (AdwCarouselIndicatorDots *self);
......
......@@ -23,7 +23,7 @@ ADW_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (AdwCarouselIndicatorLines, adw_carousel_indicator_lines, ADW, CAROUSEL_INDICATOR_LINES, GtkWidget)
ADW_AVAILABLE_IN_ALL
GtkWidget *adw_carousel_indicator_lines_new (void);
GtkWidget *adw_carousel_indicator_lines_new (void);
ADW_AVAILABLE_IN_ALL
AdwCarousel *adw_carousel_indicator_lines_get_carousel (AdwCarouselIndicatorLines *self);
......
......@@ -22,83 +22,83 @@ ADW_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (AdwCarousel, adw_carousel, ADW, CAROUSEL, GtkWidget)
ADW_AVAILABLE_IN_ALL
GtkWidget *adw_carousel_new (void);
GtkWidget *adw_carousel_new (void);
ADW_AVAILABLE_IN_ALL
void adw_carousel_prepend (AdwCarousel *self,
GtkWidget *child);
void adw_carousel_prepend (AdwCarousel *self,
GtkWidget *child);
ADW_AVAILABLE_IN_ALL
void adw_carousel_append (AdwCarousel *self,
GtkWidget *child);
void adw_carousel_append (AdwCarousel *self,
GtkWidget *child);
ADW_AVAILABLE_IN_ALL
void adw_carousel_insert (AdwCarousel *self,
GtkWidget *child,
int position);
void adw_carousel_insert (AdwCarousel *self,
GtkWidget *child,
int position);
ADW_AVAILABLE_IN_ALL
void adw_carousel_reorder (AdwCarousel *self,
GtkWidget *child,
int position);
void adw_carousel_reorder (AdwCarousel *self,
GtkWidget *child,
int position);
ADW_AVAILABLE_IN_ALL
void adw_carousel_remove (AdwCarousel *self,
GtkWidget *child);
void adw_carousel_remove (AdwCarousel *self,
GtkWidget *child);
ADW_AVAILABLE_IN_ALL
void adw_carousel_scroll_to (AdwCarousel *self,
GtkWidget *widget);
void adw_carousel_scroll_to (AdwCarousel *self,
GtkWidget *widget);
ADW_AVAILABLE_IN_ALL
void adw_carousel_scroll_to_full (AdwCarousel *self,
GtkWidget *widget,
gint64 duration);
void adw_carousel_scroll_to_full (AdwCarousel *self,
GtkWidget *widget,
gint64 duration);
ADW_AVAILABLE_IN_ALL
GtkWidget *adw_carousel_get_nth_page (AdwCarousel *self,
guint n);
GtkWidget *adw_carousel_get_nth_page (AdwCarousel *self,
guint n);
ADW_AVAILABLE_IN_ALL
guint adw_carousel_get_n_pages (AdwCarousel *self);
guint adw_carousel_get_n_pages (AdwCarousel *self);
ADW_AVAILABLE_IN_ALL
double adw_carousel_get_position (AdwCarousel *self);
double adw_carousel_get_position (AdwCarousel *self);
ADW_AVAILABLE_IN_ALL
gboolean adw_carousel_get_interactive (AdwCarousel *self);
gboolean adw_carousel_get_interactive (AdwCarousel *self);
ADW_AVAILABLE_IN_ALL
void adw_carousel_set_interactive (AdwCarousel *self,
gboolean interactive);
void adw_carousel_set_interactive (AdwCarousel *self,
gboolean interactive);
ADW_AVAILABLE_IN_ALL
guint adw_carousel_get_spacing (AdwCarousel *self);
guint adw_carousel_get_spacing (AdwCarousel *self);
ADW_AVAILABLE_IN_ALL
void adw_carousel_set_spacing (AdwCarousel *self,
guint spacing);
void adw_carousel_set_spacing (AdwCarousel *self,
guint spacing);
ADW_AVAILABLE_IN_ALL
guint adw_carousel_get_animation_duration (AdwCarousel *self);
guint adw_carousel_get_animation_duration (AdwCarousel *self);
ADW_AVAILABLE_IN_ALL
void adw_carousel_set_animation_duration (AdwCarousel *self,
guint duration);
void adw_carousel_set_animation_duration (AdwCarousel *self,
guint duration);
ADW_AVAILABLE_IN_ALL
gboolean adw_carousel_get_allow_mouse_drag (AdwCarousel *self);
gboolean adw_carousel_get_allow_mouse_drag (AdwCarousel *self);
ADW_AVAILABLE_IN_ALL
void adw_carousel_set_allow_mouse_drag (AdwCarousel *self,
gboolean allow_mouse_drag);
void adw_carousel_set_allow_mouse_drag (AdwCarousel *self,
gboolean allow_mouse_drag);
ADW_AVAILABLE_IN_ALL
gboolean adw_carousel_get_allow_scroll_wheel (AdwCarousel *self);
gboolean adw_carousel_get_allow_scroll_wheel (AdwCarousel *self);
ADW_AVAILABLE_IN_ALL
void adw_carousel_set_allow_scroll_wheel (AdwCarousel *self,
gboolean allow_scroll_wheel);
void adw_carousel_set_allow_scroll_wheel (AdwCarousel *self,
gboolean allow_scroll_wheel);
ADW_AVAILABLE_IN_ALL
gboolean adw_carousel_get_allow_long_swipes (AdwCarousel *self);
gboolean adw_carousel_get_allow_long_swipes (AdwCarousel *self);
ADW_AVAILABLE_IN_ALL
void adw_carousel_set_allow_long_swipes (AdwCarousel *self,
gboolean allow_long_swipes);
void adw_carousel_set_allow_long_swipes (AdwCarousel *self,
gboolean allow_long_swipes);
ADW_AVAILABLE_IN_ALL
guint adw_carousel_get_reveal_duration (AdwCarousel *self);
guint adw_carousel_get_reveal_duration (AdwCarousel *self);
ADW_AVAILABLE_IN_ALL
void adw_carousel_set_reveal_duration (AdwCarousel *self,
guint reveal_duration);
void adw_carousel_set_reveal_duration (AdwCarousel *self,
guint reveal_duration);
G_END_DECLS
......@@ -44,11 +44,11 @@ ADW_AVAILABLE_IN_ALL
void adw_combo_row_set_model (AdwComboRow *self,
GListModel *model);
ADW_AVAILABLE_IN_ALL
guint adw_combo_row_get_selected (AdwComboRow *self);
ADW_AVAILABLE_IN_ALL
void adw_combo_row_set_selected (AdwComboRow *self,
guint position);
ADW_AVAILABLE_IN_ALL
guint adw_combo_row_get_selected (AdwComboRow *self);
ADW_AVAILABLE_IN_ALL
gpointer adw_combo_row_get_selected_item (AdwComboRow *self);
......
......@@ -23,10 +23,12 @@ ADW_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (AdwEnumValueObject, adw_enum_value_object, ADW, ENUM_VALUE_OBJECT, GObject)
ADW_AVAILABLE_IN_ALL
int adw_enum_value_object_get_value (AdwEnumValueObject *self);
int adw_enum_value_object_get_value (AdwEnumValueObject *self);
ADW_AVAILABLE_IN_ALL
const char *adw_enum_value_object_get_name (AdwEnumValueObject *self);
const char *adw_enum_value_object_get_name (AdwEnumValueObject *self);
ADW_AVAILABLE_IN_ALL
const char *adw_enum_value_object_get_nick (AdwEnumValueObject *self);
const char *adw_enum_value_object_get_nick (AdwEnumValueObject *self);
G_END_DECLS
......@@ -35,13 +35,13 @@ struct _AdwExpanderRowClass
};
ADW_AVAILABLE_IN_ALL
GtkWidget *adw_expander_row_new (void);
GtkWidget *adw_expander_row_new (void);
ADW_AVAILABLE_IN_ALL
const char *adw_expander_row_get_subtitle (AdwExpanderRow *self);
const char *adw_expander_row_get_subtitle (AdwExpanderRow *self);
ADW_AVAILABLE_IN_ALL
void adw_expander_row_set_subtitle (AdwExpanderRow *self,
const char *subtitle);
void adw_expander_row_set_subtitle (AdwExpanderRow *self,
const char *subtitle);
ADW_AVAILABLE_IN_ALL
gboolean adw_expander_row_get_use_underline (AdwExpanderRow *self);
......@@ -50,10 +50,10 @@ void adw_expander_row_set_use_underline (AdwExpanderRow *self,
gboolean use_underline);
ADW_AVAILABLE_IN_ALL
const char *adw_expander_row_get_icon_name (AdwExpanderRow *self);
const char *adw_expander_row_get_icon_name (AdwExpanderRow *self);
ADW_AVAILABLE_IN_ALL
void adw_expander_row_set_icon_name (AdwExpanderRow *self,
const char *icon_name);
void adw_expander_row_set_icon_name (AdwExpanderRow *self,
const char *icon_name);
ADW_AVAILABLE_IN_ALL
gboolean adw_expander_row_get_expanded (AdwExpanderRow *self);
......@@ -74,17 +74,17 @@ void adw_expander_row_set_show_enable_switch (AdwExpanderRow *self,
gboolean show_enable_switch);
ADW_AVAILABLE_IN_ALL
void adw_expander_row_add_action (AdwExpanderRow *self,
GtkWidget *widget);
void adw_expander_row_add_action (AdwExpanderRow *self,
GtkWidget *widget);
ADW_AVAILABLE_IN_ALL
void adw_expander_row_add_prefix (AdwExpanderRow *self,
GtkWidget *widget);
void adw_expander_row_add_prefix (AdwExpanderRow *self,
GtkWidget *widget);
ADW_AVAILABLE_IN_ALL
void adw_expander_row_add (AdwExpanderRow *self,
GtkWidget *child);
void adw_expander_row_add (AdwExpanderRow *self,
GtkWidget *child);
ADW_AVAILABLE_IN_ALL
void adw_expander_row_remove (AdwExpanderRow *self,
GtkWidget *child);
void adw_expander_row_remove (AdwExpanderRow *self,
GtkWidget *child);
G_END_DECLS
......@@ -24,8 +24,8 @@ const char *adw_fading_label_get_label (AdwFadingLabel *self);
void adw_fading_label_set_label (AdwFadingLabel *self,
const char *label);
float adw_fading_label_get_align (AdwFadingLabel *self);
void adw_fading_label_set_align (AdwFadingLabel *self,
float align);
float adw_fading_label_get_align (AdwFadingLabel *self);
void adw_fading_label_set_align (AdwFadingLabel *self,
float align);
G_END_DECLS
......@@ -38,7 +38,7 @@ ADW_AVAILABLE_IN_ALL
GtkWidget *adw_flap_new (void);
ADW_AVAILABLE_IN_ALL
GtkWidget *adw_flap_get_content (AdwFlap *self);
GtkWidget *adw_flap_get_content (AdwFlap *self);
ADW_AVAILABLE_IN_ALL
void adw_flap_set_content (AdwFlap *self,
GtkWidget *content);
......@@ -56,13 +56,13 @@ void adw_flap_set_separator (AdwFlap *self,
GtkWidget *separator);
ADW_AVAILABLE_IN_ALL
GtkPackType adw_flap_get_flap_position (AdwFlap *self);
GtkPackType adw_flap_get_flap_position (AdwFlap *self);
ADW_AVAILABLE_IN_ALL
void adw_flap_set_flap_position (AdwFlap *self,
GtkPackType position);
ADW_AVAILABLE_IN_ALL
gboolean adw_flap_get_reveal_flap (AdwFlap *self);
gboolean adw_flap_get_reveal_flap (AdwFlap *self);
ADW_AVAILABLE_IN_ALL
void adw_flap_set_reveal_flap (AdwFlap *self,
gboolean reveal_flap);
......
......@@ -42,44 +42,44 @@ typedef enum {
} AdwCenteringPolicy;
ADW_AVAILABLE_IN_ALL
GtkWidget *adw_header_bar_new (void);
GtkWidget *adw_header_bar_new (void);
ADW_AVAILABLE_IN_ALL
GtkWidget *adw_header_bar_get_title_widget (AdwHeaderBar *self);
GtkWidget *adw_header_bar_get_title_widget (AdwHeaderBar *self);
ADW_AVAILABLE_IN_ALL
void adw_header_bar_set_title_widget (AdwHeaderBar *self,
GtkWidget *title_widget);
void adw_header_bar_set_title_widget (AdwHeaderBar *self,
GtkWidget *title_widget);
ADW_AVAILABLE_IN_ALL
void adw_header_bar_pack_start (AdwHeaderBar *self,
GtkWidget *child);
void adw_header_bar_pack_start (AdwHeaderBar *self,
GtkWidget *child);
ADW_AVAILABLE_IN_ALL
void adw_header_bar_pack_end (AdwHeaderBar *self,
GtkWidget *child);
void adw_header_bar_pack_end (AdwHeaderBar *self,
GtkWidget *child);
ADW_AVAILABLE_IN_ALL
void adw_header_bar_remove (AdwHeaderBar *self,
GtkWidget *child);
void adw_header_bar_remove (AdwHeaderBar *self,
GtkWidget *child);
ADW_AVAILABLE_IN_ALL
gboolean adw_header_bar_get_show_start_title_buttons (AdwHeaderBar *self);
gboolean adw_header_bar_get_show_start_title_buttons (AdwHeaderBar *self);
ADW_AVAILABLE_IN_ALL
void adw_header_bar_set_show_start_title_buttons (AdwHeaderBar *self,
gboolean setting);
void adw_header_bar_set_show_start_title_buttons (AdwHeaderBar *self,
gboolean setting);
ADW_AVAILABLE_IN_ALL
gboolean adw_header_bar_get_show_end_title_buttons (AdwHeaderBar *self);
gboolean adw_header_bar_get_show_end_title_buttons (AdwHeaderBar *self);
ADW_AVAILABLE_IN_ALL
void adw_header_bar_set_show_end_title_buttons (AdwHeaderBar *self,
gboolean setting);
void adw_header_bar_set_show_end_title_buttons (AdwHeaderBar *self,
gboolean setting);
ADW_AVAILABLE_IN_ALL
const char *adw_header_bar_get_decoration_layout (AdwHeaderBar *self);
const char *adw_header_bar_get_decoration_layout (AdwHeaderBar *self);
ADW_AVAILABLE_IN_ALL
void adw_header_bar_set_decoration_layout (AdwHeaderBar *self,
const char *layout);
void adw_header_bar_set_decoration_layout (AdwHeaderBar *self,
const char *layout);
ADW_AVAILABLE_IN_ALL
AdwCenteringPolicy adw_header_bar_get_centering_policy (AdwHeaderBar *self);
AdwCenteringPolicy adw_header_bar_get_centering_policy (AdwHeaderBar *self);
ADW_AVAILABLE_IN_ALL
void adw_header_bar_set_centering_policy (AdwHeaderBar *self,
AdwCenteringPolicy centering_policy);
......
......@@ -33,10 +33,10 @@ void adw_leaflet_page_set_name (AdwLeafletPage *self,
const char *name);
ADW_AVAILABLE_IN_ALL
gboolean adw_leaflet_page_get_navigatable (AdwLeafletPage *self);
gboolean adw_leaflet_page_get_navigatable (AdwLeafletPage *self);
ADW_AVAILABLE_IN_ALL
void adw_leaflet_page_set_navigatable (AdwLeafletPage *self,
gboolean navigatable);
void adw_leaflet_page_set_navigatable (AdwLeafletPage *self,
gboolean navigatable);
#define ADW_TYPE_LEAFLET (adw_leaflet_get_type())
......@@ -50,103 +50,112 @@ typedef enum {
} AdwLeafletTransitionType;
ADW_AVAILABLE_IN_ALL
GtkWidget *adw_leaflet_new (void);
GtkWidget *adw_leaflet_new (void);
ADW_AVAILABLE_IN_ALL
AdwLeafletPage *adw_leaflet_append (AdwLeaflet *self,
GtkWidget *child);
AdwLeafletPage *adw_leaflet_append (AdwLeaflet *self,
GtkWidget *child);
ADW_AVAILABLE_IN_ALL
AdwLeafletPage *adw_leaflet_prepend (AdwLeaflet *self,
GtkWidget *child);
AdwLeafletPage *adw_leaflet_prepend (AdwLeaflet *self,
GtkWidget *child);
ADW_AVAILABLE_IN_ALL
AdwLeafletPage *adw_leaflet_insert_child_after (AdwLeaflet *self,
AdwLeafletPage *adw_leaflet_insert_child_after (AdwLeaflet *self,
GtkWidget *child,
GtkWidget *sibling);
ADW_AVAILABLE_IN_ALL
void adw_leaflet_reorder_child_after (AdwLeaflet *self,
GtkWidget *child,
GtkWidget *sibling);
void adw_leaflet_reorder_child_after (AdwLeaflet *self,
GtkWidget *child,
GtkWidget *sibling);
ADW_AVAILABLE_IN_ALL
void adw_leaflet_remove (AdwLeaflet *self,
GtkWidget *child);
void adw_leaflet_remove (AdwLeaflet *self,
GtkWidget *child);
ADW_AVAILABLE_IN_ALL
AdwLeafletPage *adw_leaflet_get_page (AdwLeaflet *self,
GtkWidget *child);
AdwLeafletPage *adw_leaflet_get_page (AdwLeaflet *self,
GtkWidget *child);
ADW_AVAILABLE_IN_ALL
gboolean adw_leaflet_get_folded (AdwLeaflet *self);
gboolean adw_leaflet_get_folded (AdwLeaflet *self);
ADW_AVAILABLE_IN_ALL
GtkWidget *adw_leaflet_get_visible_child (AdwLeaflet *self);
GtkWidget *adw_leaflet_get_visible_child (AdwLeaflet *self);
ADW_AVAILABLE_IN_ALL
void adw_leaflet_set_visible_child (AdwLeaflet *self,
GtkWidget *visible_child);
void adw_leaflet_set_visible_child (AdwLeaflet *self,
GtkWidget *visible_child);
ADW_AVAILABLE_IN_ALL
const char *adw_leaflet_get_visible_child_name (AdwLeaflet *self);
const char *adw_leaflet_get_visible_child_name (AdwLeaflet *self);
ADW_AVAILABLE_IN_ALL
void adw_leaflet_set_visible_child_name (AdwLeaflet *self,
const char *name);
void adw_leaflet_set_visible_child_name (AdwLeaflet *self,
const char *name);
ADW_AVAILABLE_IN_ALL
gboolean adw_leaflet_get_homogeneous (AdwLeaflet *self,
gboolean folded,
GtkOrientation orientation);
gboolean adw_leaflet_get_homogeneous (AdwLeaflet *self,
gboolean folded,
GtkOrientation orientation);
ADW_AVAILABLE_IN_ALL
void adw_leaflet_set_homogeneous (AdwLeaflet *self,
gboolean folded,
GtkOrientation orientation,
gboolean homogeneous);
void adw_leaflet_set_homogeneous (AdwLeaflet *self,
gboolean folded,
GtkOrientation orientation,
gboolean homogeneous);
ADW_AVAILABLE_IN_ALL
AdwLeafletTransitionType adw_leaflet_get_transition_type (AdwLeaflet *self);
AdwLeafletTransitionType adw_leaflet_get_transition_type (AdwLeaflet *self);
ADW_AVAILABLE_IN_ALL
void adw_leaflet_set_transition_type (AdwLeaflet *self,
AdwLeafletTransitionType transition);
void adw_leaflet_set_transition_type (AdwLeaflet *self,
AdwLeafletTransitionType transition);
ADW_AVAILABLE_IN_ALL
guint adw_leaflet_get_mode_transition_duration (AdwLeaflet *self);
guint adw_leaflet_get_mode_transition_duration (AdwLeaflet *self);
ADW_AVAILABLE_IN_ALL
void adw_leaflet_set_mode_transition_duration (AdwLeaflet *self,
guint duration);
void adw_leaflet_set_mode_transition_duration (AdwLeaflet *self,
guint duration);
ADW_AVAILABLE_IN_ALL
guint adw_leaflet_get_child_transition_duration (AdwLeaflet *self);
guint adw_leaflet_get_child_transition_duration (AdwLeaflet *self);
ADW_AVAILABLE_IN_ALL
void adw_leaflet_set_child_transition_duration (AdwLeaflet *self,
guint duration);
void adw_leaflet_set_child_transition_duration (AdwLeaflet *self,
guint duration);
ADW_AVAILABLE_IN_ALL
gboolean adw_leaflet_get_child_transition_running (AdwLeaflet *self);
gboolean adw_leaflet_get_child_transition_running (AdwLeaflet *self);
ADW_AVAILABLE_IN_ALL
gboolean adw_leaflet_get_interpolate_size (AdwLeaflet *self);
gboolean adw_leaflet_get_interpolate_size (AdwLeaflet *self);
ADW_AVAILABLE_IN_ALL
void adw_leaflet_set_interpolate_size (AdwLeaflet *self,
gboolean interpolate_size);
void adw_leaflet_set_interpolate_size (AdwLeaflet *self,
gboolean interpolate_size);
ADW_AVAILABLE_IN_ALL
gboolean adw_leaflet_get_can_swipe_back (AdwLeaflet *self);
gboolean adw_leaflet_get_can_swipe_back (AdwLeaflet *self);