summaryrefslogtreecommitdiffstats
path: root/subprojects/libhandy/src/hdy-carousel-indicator-lines.h
blob: baae57deea2e917fde3a09514eb6d341569a9f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Copyright (C) 2020 Alexander Mikhaylenko <alexm@gnome.org>
 *
 * SPDX-License-Identifier: LGPL-2.1+
 */

#pragma once

#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#error "Only <handy.h> can be included directly."
#endif

#include "hdy-version.h"

#include <gtk/gtk.h>
#include "hdy-carousel.h"

G_BEGIN_DECLS

#define HDY_TYPE_CAROUSEL_INDICATOR_LINES (hdy_carousel_indicator_lines_get_type())

HDY_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (HdyCarouselIndicatorLines, hdy_carousel_indicator_lines, HDY, CAROUSEL_INDICATOR_LINES, GtkDrawingArea)

HDY_AVAILABLE_IN_ALL
GtkWidget   *hdy_carousel_indicator_lines_new (void);

HDY_AVAILABLE_IN_ALL
HdyCarousel *hdy_carousel_indicator_lines_get_carousel (HdyCarouselIndicatorLines *self);
HDY_AVAILABLE_IN_ALL
void         hdy_carousel_indicator_lines_set_carousel (HdyCarouselIndicatorLines *self,
                                                        HdyCarousel               *carousel);

G_END_DECLS