Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkconstraintguide.h
Go to the documentation of this file.
1/* gtkconstraintguide.h: Flexible space for constraints
2 * Copyright 2019 Red Hat, Inc.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 *
17 * Author: Matthias Clasen
18 */
19
20#pragma once
21
22#include <gtk/gtktypes.h>
23#include <gtk/gtkenums.h>
24#include <gtk/gtktypebuiltins.h>
25
27
28#define GTK_TYPE_CONSTRAINT_GUIDE (gtk_constraint_guide_get_type ())
29
31G_DECLARE_FINAL_TYPE (GtkConstraintGuide, gtk_constraint_guide, GTK, CONSTRAINT_GUIDE, GObject)
32
34GtkConstraintGuide * gtk_constraint_guide_new (void);
35
37void gtk_constraint_guide_set_min_size (GtkConstraintGuide *guide,
38 int width,
39 int height);
41void gtk_constraint_guide_get_min_size (GtkConstraintGuide *guide,
42 int *width,
43 int *height);
45void gtk_constraint_guide_set_nat_size (GtkConstraintGuide *guide,
46 int width,
47 int height);
49void gtk_constraint_guide_get_nat_size (GtkConstraintGuide *guide,
50 int *width,
51 int *height);
53void gtk_constraint_guide_set_max_size (GtkConstraintGuide *guide,
54 int width,
55 int height);
57void gtk_constraint_guide_get_max_size (GtkConstraintGuide *guide,
58 int *width,
59 int *height);
60
64void gtk_constraint_guide_set_strength (GtkConstraintGuide *guide,
65 GtkConstraintStrength strength);
66
68void gtk_constraint_guide_set_name (GtkConstraintGuide *guide,
69 const char *name);
71const char * gtk_constraint_guide_get_name (GtkConstraintGuide *guide);
72
#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 GDK_AVAILABLE_IN_ALL GtkConstraintGuide * gtk_constraint_guide_new(void)
GDK_AVAILABLE_IN_ALL void gtk_constraint_guide_set_strength(GtkConstraintGuide *guide, GtkConstraintStrength strength)
GDK_AVAILABLE_IN_ALL void gtk_constraint_guide_set_name(GtkConstraintGuide *guide, const char *name)
GDK_AVAILABLE_IN_ALL void gtk_constraint_guide_get_min_size(GtkConstraintGuide *guide, int *width, int *height)
GDK_AVAILABLE_IN_ALL GtkConstraintStrength gtk_constraint_guide_get_strength(GtkConstraintGuide *guide)
GDK_AVAILABLE_IN_ALL void gtk_constraint_guide_get_nat_size(GtkConstraintGuide *guide, int *width, int *height)
GDK_AVAILABLE_IN_ALL const char * gtk_constraint_guide_get_name(GtkConstraintGuide *guide)
GDK_AVAILABLE_IN_ALL void gtk_constraint_guide_get_max_size(GtkConstraintGuide *guide, int *width, int *height)
GDK_AVAILABLE_IN_ALL void gtk_constraint_guide_set_max_size(GtkConstraintGuide *guide, int width, int height)
GDK_AVAILABLE_IN_ALL void gtk_constraint_guide_set_nat_size(GtkConstraintGuide *guide, int width, int height)
GDK_AVAILABLE_IN_ALL void gtk_constraint_guide_set_min_size(GtkConstraintGuide *guide, int width, int height)
GtkConstraintStrength
Definition gtkenums.h:1150
#define G_DECLARE_FINAL_TYPE(ModuleObjName, module_obj_name, MODULE, OBJ_NAME, ParentName)
Definition gtype.h:1602
const char * name
Definition lsqlite3.c:2154