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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
/*
* Copyright (c) 2020 Alexander Mikhaylenko <alexm@gnome.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
* License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#pragma once
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gtk/gtk.h> can be included directly."
#endif
#include <gtk/gtkwidget.h>
G_BEGIN_DECLS
#define GTK_TYPE_WINDOW_CONTROLS (gtk_window_controls_get_type ())
GDK_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (GtkWindowControls, gtk_window_controls, GTK, WINDOW_CONTROLS, GtkWidget)
GDK_AVAILABLE_IN_ALL
GtkWidget * gtk_window_controls_new (GtkPackType side);
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
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_4_18
gboolean gtk_window_controls_get_use_native_controls (GtkWindowControls *self);
GDK_AVAILABLE_IN_4_18
void gtk_window_controls_set_use_native_controls (GtkWindowControls *self,
gboolean setting);
GDK_AVAILABLE_IN_ALL
gboolean gtk_window_controls_get_empty (GtkWindowControls *self);
G_END_DECLS
|