Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkboxlayout.h
Go to the documentation of this file.
1/* gtkboxlayout.h: Box layout manager
2 *
3 * Copyright 2019 GNOME Foundation
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
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/gtkenums.h>
27
29
30#define GTK_TYPE_BOX_LAYOUT (gtk_box_layout_get_type())
31
33G_DECLARE_FINAL_TYPE (GtkBoxLayout, gtk_box_layout, GTK, BOX_LAYOUT, GtkLayoutManager)
34
37
39void gtk_box_layout_set_homogeneous (GtkBoxLayout *box_layout,
40 gboolean homogeneous);
42gboolean gtk_box_layout_get_homogeneous (GtkBoxLayout *box_layout);
44void gtk_box_layout_set_spacing (GtkBoxLayout *box_layout,
45 guint spacing);
47guint gtk_box_layout_get_spacing (GtkBoxLayout *box_layout);
49void gtk_box_layout_set_baseline_position (GtkBoxLayout *box_layout,
50 GtkBaselinePosition position);
53
55void gtk_box_layout_set_baseline_child (GtkBoxLayout *box_layout,
56 int child);
58int gtk_box_layout_get_baseline_child (GtkBoxLayout *box_layout);
59
#define GDK_AVAILABLE_IN_4_12
#define GDK_AVAILABLE_IN_ALL
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
GDK_AVAILABLE_IN_ALL GtkBaselinePosition gtk_box_layout_get_baseline_position(GtkBoxLayout *box_layout)
GDK_AVAILABLE_IN_ALL void gtk_box_layout_set_spacing(GtkBoxLayout *box_layout, guint spacing)
GDK_AVAILABLE_IN_ALL void gtk_box_layout_set_homogeneous(GtkBoxLayout *box_layout, gboolean homogeneous)
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL GtkLayoutManager * gtk_box_layout_new(GtkOrientation orientation)
GDK_AVAILABLE_IN_4_12 void gtk_box_layout_set_baseline_child(GtkBoxLayout *box_layout, int child)
GDK_AVAILABLE_IN_4_12 int gtk_box_layout_get_baseline_child(GtkBoxLayout *box_layout)
GDK_AVAILABLE_IN_ALL gboolean gtk_box_layout_get_homogeneous(GtkBoxLayout *box_layout)
GDK_AVAILABLE_IN_ALL void gtk_box_layout_set_baseline_position(GtkBoxLayout *box_layout, GtkBaselinePosition position)
GDK_AVAILABLE_IN_ALL guint gtk_box_layout_get_spacing(GtkBoxLayout *box_layout)
GtkBaselinePosition
Definition gtkenums.h:129
GtkOrientation
Definition gtkenums.h:438
struct _GtkLayoutManager GtkLayoutManager
Definition gtktypes.h:49
#define G_DECLARE_FINAL_TYPE(ModuleObjName, module_obj_name, MODULE, OBJ_NAME, ParentName)
Definition gtype.h:1602
gint gboolean
Definition gtypes.h:56
unsigned int guint
Definition gtypes.h:61