1 | /* GTK - The GIMP Toolkit |
2 | * Copyright (C) 2021 Red Hat, Inc. |
3 | * |
4 | * Authors: |
5 | * - Matthias Clasen <mclasen@redhat.com> |
6 | * |
7 | * This library is free software; you can redistribute it and/or |
8 | * modify it under the terms of the GNU Lesser General Public |
9 | * License as published by the Free Software Foundation; either |
10 | * version 2 of the License, or (at your option) any later version. |
11 | * |
12 | * This library is distributed in the hope that it will be useful, |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 | * Lesser General Public License for more details. |
16 | * |
17 | * You should have received a copy of the GNU Lesser General Public |
18 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
19 | */ |
20 | |
21 | #ifndef __GTK_POPOVER_CONTENT_H__ |
22 | #define __GTK_POPOVER_CONTENT_H__ |
23 | |
24 | #include "gtkwidget.h" |
25 | #include "gtkenums.h" |
26 | |
27 | #define GTK_TYPE_POPOVER_CONTENT (gtk_popover_content_get_type ()) |
28 | #define GTK_POPOVER_CONTENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_POPOVER_CONTENT, GtkPopoverContent)) |
29 | #define GTK_POPOVER_CONTENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_POPOVER_CONTENT, GtkPopoverContentClass)) |
30 | #define GTK_IS_POPOVER_CONTENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_POPOVER_CONTENT)) |
31 | #define GTK_IS_POPOVER_CONTENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_POPOVER_CONTENT)) |
32 | #define GTK_POPOVER_CONTENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_POPOVER_CONTENT, GtkPopoverContentClass)) |
33 | |
34 | typedef struct _GtkPopoverContent GtkPopoverContent; |
35 | typedef struct _GtkPopoverContentClass GtkPopoverContentClass; |
36 | |
37 | struct _GtkPopoverContent |
38 | { |
39 | GtkWidget parent_instance; |
40 | }; |
41 | |
42 | struct _GtkPopoverContentClass |
43 | { |
44 | GtkWidgetClass parent_class; |
45 | }; |
46 | |
47 | GType gtk_popover_content_get_type (void) G_GNUC_CONST; |
48 | |
49 | GtkWidget *gtk_popover_content_new (void); |
50 | |
51 | #endif |
52 | |