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 | #ifndef __GTK_COLUMN_VIEW_COLUMN_PRIVATE_H__ |
21 | #define __GTK_COLUMN_VIEW_COLUMN_PRIVATE_H__ |
22 | |
23 | #include "gtk/gtkcolumnviewcolumn.h" |
24 | |
25 | #include "gtk/gtkcolumnviewcellprivate.h" |
26 | |
27 | |
28 | void gtk_column_view_column_set_column_view (GtkColumnViewColumn *self, |
29 | GtkColumnView *view); |
30 | |
31 | void gtk_column_view_column_set_position (GtkColumnViewColumn *self, |
32 | guint position); |
33 | |
34 | void gtk_column_view_column_add_cell (GtkColumnViewColumn *self, |
35 | GtkColumnViewCell *cell); |
36 | void gtk_column_view_column_remove_cell (GtkColumnViewColumn *self, |
37 | GtkColumnViewCell *cell); |
38 | GtkColumnViewCell * gtk_column_view_column_get_first_cell (GtkColumnViewColumn *self); |
39 | GtkWidget * gtk_column_view_column_get_header (GtkColumnViewColumn *self); |
40 | |
41 | void gtk_column_view_column_queue_resize (GtkColumnViewColumn *self); |
42 | void gtk_column_view_column_measure (GtkColumnViewColumn *self, |
43 | int *minimum, |
44 | int *natural); |
45 | void gtk_column_view_column_allocate (GtkColumnViewColumn *self, |
46 | int offset, |
47 | int size); |
48 | void gtk_column_view_column_get_allocation (GtkColumnViewColumn *self, |
49 | int *offset, |
50 | int *size); |
51 | |
52 | void gtk_column_view_column_notify_sort (GtkColumnViewColumn *self); |
53 | |
54 | void gtk_column_view_column_set_header_position (GtkColumnViewColumn *self, |
55 | int offset); |
56 | void gtk_column_view_column_get_header_allocation (GtkColumnViewColumn *self, |
57 | int *offset, |
58 | int *size); |
59 | |
60 | #endif /* __GTK_COLUMN_VIEW_COLUMN_PRIVATE_H__ */ |
61 | |