1 /* dzl-preferences-group-private.h
2  *
3  * Copyright (C) 2015-2017 Christian Hergert <christian@hergert.me>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program 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
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef DZL_PREFERENCES_GROUP_PRIVATE_H
20 #define DZL_PREFERENCES_GROUP_PRIVATE_H
21 
22 #include "prefs/dzl-preferences-group.h"
23 #include "search/dzl-pattern-spec.h"
24 
25 G_BEGIN_DECLS
26 
27 struct _DzlPreferencesGroup
28 {
29   GtkBin      parent_instance;
30 
31   gint        priority;
32   guint       is_list : 1;
33 
34   GtkLabel   *title;
35   GtkBox     *box;
36   GtkListBox *list_box;
37   GtkFrame   *list_box_frame;
38 
39   GPtrArray  *widgets;
40 
41   GtkListBoxRow *last_focused;
42   guint          last_focused_tab_backward : 1;
43 
44   GHashTable    *size_groups;
45 };
46 
47 G_END_DECLS
48 
49 #endif /* DZL_PREFERENCES_GROUP_PRIVATE_H */
50