Commit ab34eef8 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko Committed by Adrien Plazas

App HdyPaginatorBox

This will be used in the next commit as an internal part of a paginator
parent 932286ae
......@@ -7,6 +7,7 @@ private_headers = [
* Copyright (C) 2019 Alexander Mikhaylenko <>
* SPDX-License-Identifier: LGPL-2.1+
#pragma once
#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#error "Only <handy.h> can be included directly."
#include <gtk/gtk.h>
#define HDY_TYPE_PAGINATOR_BOX (hdy_paginator_box_get_type())
G_DECLARE_FINAL_TYPE (HdyPaginatorBox, hdy_paginator_box, HDY, PAGINATOR_BOX, GtkContainer)
HdyPaginatorBox *hdy_paginator_box_new (void);
void hdy_paginator_box_insert (HdyPaginatorBox *self,
GtkWidget *child,
gint position);
void hdy_paginator_box_reorder (HdyPaginatorBox *self,
GtkWidget *child,
gint position);
void hdy_paginator_box_animate (HdyPaginatorBox *self,
gdouble position,
gint64 duration);
gboolean hdy_paginator_box_is_animating (HdyPaginatorBox *self);
void hdy_paginator_box_stop_animation (HdyPaginatorBox *self);
void hdy_paginator_box_scroll_to (HdyPaginatorBox *self,
GtkWidget *widget,
gint64 duration);
guint hdy_paginator_box_get_n_pages (HdyPaginatorBox *self);
gdouble hdy_paginator_box_get_distance (HdyPaginatorBox *self);
gdouble hdy_paginator_box_get_position (HdyPaginatorBox *self);
void hdy_paginator_box_set_position (HdyPaginatorBox *self,
gdouble position);
guint hdy_paginator_box_get_spacing (HdyPaginatorBox *self);
void hdy_paginator_box_set_spacing (HdyPaginatorBox *self,
guint spacing);
This diff is collapsed.
......@@ -118,6 +118,7 @@ src_sources = [
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment