Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkwindowcontrols.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Alexander Mikhaylenko <alexm@gnome.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
12 * License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program; if not, write to the Free Software Foundation,
16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18
19#pragma once
20
21#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
22#error "Only <gtk/gtk.h> can be included directly."
23#endif
24
25#include <gtk/gtkwidget.h>
26
28
29#define GTK_TYPE_WINDOW_CONTROLS (gtk_window_controls_get_type ())
30
32G_DECLARE_FINAL_TYPE (GtkWindowControls, gtk_window_controls, GTK, WINDOW_CONTROLS, GtkWidget)
33
36
38GtkPackType gtk_window_controls_get_side (GtkWindowControls *self);
39
41void gtk_window_controls_set_side (GtkWindowControls *self,
42 GtkPackType side);
43
45const char * gtk_window_controls_get_decoration_layout (GtkWindowControls *self);
46
48void gtk_window_controls_set_decoration_layout (GtkWindowControls *self,
49 const char *layout);
50
52gboolean gtk_window_controls_get_empty (GtkWindowControls *self);
53
#define GDK_AVAILABLE_IN_ALL
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
GtkPackType
Definition gtkenums.h:472
GDK_AVAILABLE_IN_ALL GtkPackType gtk_window_controls_get_side(GtkWindowControls *self)
GDK_AVAILABLE_IN_ALL void gtk_window_controls_set_side(GtkWindowControls *self, GtkPackType side)
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL GtkWidget * gtk_window_controls_new(GtkPackType side)
GDK_AVAILABLE_IN_ALL const char * gtk_window_controls_get_decoration_layout(GtkWindowControls *self)
GDK_AVAILABLE_IN_ALL void gtk_window_controls_set_decoration_layout(GtkWindowControls *self, const char *layout)
GDK_AVAILABLE_IN_ALL gboolean gtk_window_controls_get_empty(GtkWindowControls *self)
#define G_DECLARE_FINAL_TYPE(ModuleObjName, module_obj_name, MODULE, OBJ_NAME, ParentName)
Definition gtype.h:1602
gint gboolean
Definition gtypes.h:56