Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkexpander.h
Go to the documentation of this file.
1/* GTK - The GIMP Toolkit
2 *
3 * Copyright (C) 2003 Sun Microsystems, Inc.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library 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 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 *
18 * Authors:
19 * Mark McLoughlin <mark@skynet.ie>
20 */
21
22#pragma once
23
24#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
25#error "Only <gtk/gtk.h> can be included directly."
26#endif
27
28#include <gtk/gtkwidget.h>
29
31
32#define GTK_TYPE_EXPANDER (gtk_expander_get_type ())
33#define GTK_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EXPANDER, GtkExpander))
34#define GTK_IS_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EXPANDER))
35
36typedef struct _GtkExpander GtkExpander;
37
40
42GtkWidget *gtk_expander_new (const char *label);
45
48 gboolean expanded);
51
54 const char *label);
56const char * gtk_expander_get_label (GtkExpander *expander);
57
60 gboolean use_underline);
63
66 gboolean use_markup);
69
72 GtkWidget *label_widget);
77 gboolean resize_toplevel);
80
83 GtkWidget *child);
86
88
90
#define GDK_AVAILABLE_IN_ALL
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
GOBJECT_AVAILABLE_IN_ALL void g_object_unref(gpointer object)
GDK_AVAILABLE_IN_ALL GType gtk_expander_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL void gtk_expander_set_label(GtkExpander *expander, const char *label)
GDK_AVAILABLE_IN_ALL void gtk_expander_set_expanded(GtkExpander *expander, gboolean expanded)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_expander_get_child(GtkExpander *expander)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_expander_new(const char *label)
GDK_AVAILABLE_IN_ALL gboolean gtk_expander_get_use_markup(GtkExpander *expander)
GDK_AVAILABLE_IN_ALL void gtk_expander_set_resize_toplevel(GtkExpander *expander, gboolean resize_toplevel)
GDK_AVAILABLE_IN_ALL void gtk_expander_set_use_markup(GtkExpander *expander, gboolean use_markup)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_expander_new_with_mnemonic(const char *label)
GDK_AVAILABLE_IN_ALL void gtk_expander_set_child(GtkExpander *expander, GtkWidget *child)
GDK_AVAILABLE_IN_ALL void gtk_expander_set_label_widget(GtkExpander *expander, GtkWidget *label_widget)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_expander_get_label_widget(GtkExpander *expander)
GDK_AVAILABLE_IN_ALL const char * gtk_expander_get_label(GtkExpander *expander)
GDK_AVAILABLE_IN_ALL gboolean gtk_expander_get_resize_toplevel(GtkExpander *expander)
GDK_AVAILABLE_IN_ALL void gtk_expander_set_use_underline(GtkExpander *expander, gboolean use_underline)
GDK_AVAILABLE_IN_ALL gboolean gtk_expander_get_use_underline(GtkExpander *expander)
struct _GtkExpander GtkExpander
Definition gtkexpander.h:36
GDK_AVAILABLE_IN_ALL gboolean gtk_expander_get_expanded(GtkExpander *expander)
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56