Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
gtk_flipper.h
1// SPDX-FileCopyrightText: © 2021 Benjamin Otte
2// SPDX-License-Identifier: LGPL-2.1-or-later
3/*
4 * Copyright © 2021 Benjamin Otte
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
18 *
19 * Authors: Benjamin Otte <otte@gnome.org>
20 */
21
22#ifndef __GTK_FLIPPER_H__
23#define __GTK_FLIPPER_H__
24
25#include "gtk_wrapper.h"
26
27G_BEGIN_DECLS
28
29#define GTK_TYPE_FLIPPER (gtk_flipper_get_type ())
30
31G_DECLARE_FINAL_TYPE (GtkFlipper, gtk_flipper, GTK, FLIPPER, GtkWidget)
32
33GtkWidget *
34gtk_flipper_new (GtkWidget * child);
35
36GtkWidget *
37gtk_flipper_get_child (GtkFlipper * self);
38void
39gtk_flipper_set_child (GtkFlipper * self, GtkWidget * child);
40gboolean
41gtk_flipper_get_flip_horizontal (GtkFlipper * self);
42void
43gtk_flipper_set_flip_horizontal (GtkFlipper * self, gboolean flip_horizontal);
44gboolean
45gtk_flipper_get_flip_vertical (GtkFlipper * self);
46void
47gtk_flipper_set_flip_vertical (GtkFlipper * self, gboolean flip_vertical);
48gboolean
49gtk_flipper_get_rotate (GtkFlipper * self);
50void
51gtk_flipper_set_rotate (GtkFlipper * self, gboolean rotate);
52
53G_END_DECLS
54
55#endif /* __GTK_FLIPPER_H__ */