Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkcolumnviewcolumn.h
Go to the documentation of this file.
1/*
2 * Copyright © 2019 Benjamin Otte
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 * Authors: Benjamin Otte <otte@gnome.org>
18 */
19
20#pragma once
21
22#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
23#error "Only <gtk/gtk.h> can be included directly."
24#endif
25
26#include <gtk/gtkcolumnview.h>
27#include <gtk/gtksorter.h>
28
30
31#define GTK_TYPE_COLUMN_VIEW_COLUMN (gtk_column_view_column_get_type ())
32#define GTK_COLUMN_VIEW_COLUMN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_COLUMN_VIEW_COLUMN, GtkColumnViewColumn))
33#define GTK_COLUMN_VIEW_COLUMN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_COLUMN_VIEW_COLUMN, GtkColumnViewColumnClass))
34#define GTK_IS_COLUMN_VIEW_COLUMN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_COLUMN_VIEW_COLUMN))
35#define GTK_IS_COLUMN_VIEW_COLUMN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_COLUMN_VIEW_COLUMN))
36#define GTK_COLUMN_VIEW_COLUMN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_COLUMN_VIEW_COLUMN, GtkColumnViewColumnClass))
38
39typedef struct _GtkColumnViewColumnClass GtkColumnViewColumnClass;
40
43
46 GtkListItemFactory *factory);
47
52 GtkListItemFactory *factory);
55
58 const char *title);
61
64 GtkSorter *sorter);
67
70 gboolean visible);
73
75
77 GMenuModel *menu);
80
83 int fixed_width);
86
89 gboolean resizable);
92
95 gboolean expand);
98
101 const char *id);
104
106
#define GDK_AVAILABLE_IN_4_10
#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)
struct _GtkColumnViewColumn GtkColumnViewColumn
struct _GtkColumnView GtkColumnView
GDK_AVAILABLE_IN_ALL const char * gtk_column_view_column_get_title(GtkColumnViewColumn *self)
GDK_AVAILABLE_IN_ALL void gtk_column_view_column_set_title(GtkColumnViewColumn *self, const char *title)
GDK_AVAILABLE_IN_ALL void gtk_column_view_column_set_fixed_width(GtkColumnViewColumn *self, int fixed_width)
GDK_AVAILABLE_IN_ALL void gtk_column_view_column_set_header_menu(GtkColumnViewColumn *self, GMenuModel *menu)
GDK_AVAILABLE_IN_ALL GtkSorter * gtk_column_view_column_get_sorter(GtkColumnViewColumn *self)
GDK_AVAILABLE_IN_4_10 void gtk_column_view_column_set_id(GtkColumnViewColumn *self, const char *id)
GDK_AVAILABLE_IN_ALL void gtk_column_view_column_set_factory(GtkColumnViewColumn *self, GtkListItemFactory *factory)
GDK_AVAILABLE_IN_ALL GMenuModel * gtk_column_view_column_get_header_menu(GtkColumnViewColumn *self)
GDK_AVAILABLE_IN_ALL GtkColumnViewColumn * gtk_column_view_column_new(const char *title, GtkListItemFactory *factory)
GDK_AVAILABLE_IN_ALL gboolean gtk_column_view_column_get_expand(GtkColumnViewColumn *self)
struct _GtkColumnViewColumnClass GtkColumnViewColumnClass
GDK_AVAILABLE_IN_4_10 const char * gtk_column_view_column_get_id(GtkColumnViewColumn *self)
GDK_AVAILABLE_IN_ALL void gtk_column_view_column_set_sorter(GtkColumnViewColumn *self, GtkSorter *sorter)
GDK_AVAILABLE_IN_ALL gboolean gtk_column_view_column_get_visible(GtkColumnViewColumn *self)
GDK_AVAILABLE_IN_ALL gboolean gtk_column_view_column_get_resizable(GtkColumnViewColumn *self)
GDK_AVAILABLE_IN_ALL int gtk_column_view_column_get_fixed_width(GtkColumnViewColumn *self)
GDK_AVAILABLE_IN_ALL GType gtk_column_view_column_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GtkColumnView * gtk_column_view_column_get_column_view(GtkColumnViewColumn *self)
GDK_AVAILABLE_IN_ALL void gtk_column_view_column_set_visible(GtkColumnViewColumn *self, gboolean visible)
GDK_AVAILABLE_IN_ALL void gtk_column_view_column_set_resizable(GtkColumnViewColumn *self, gboolean resizable)
GDK_AVAILABLE_IN_ALL void gtk_column_view_column_set_expand(GtkColumnViewColumn *self, gboolean expand)
GDK_AVAILABLE_IN_ALL GtkListItemFactory * gtk_column_view_column_get_factory(GtkColumnViewColumn *self)
struct _GtkListItemFactory GtkListItemFactory
Definition gtktypes.h:51
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56