Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
bauhaus_conf.h
Go to the documentation of this file.
1/*
2 * This file is part of Ansel,
3 * Copyright (C) 2026 Aurélien PIERRE.
4 *
5 * Ansel 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 * Ansel 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 Ansel. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef DT_GUI_BAUHAUS_CONF_H
20#define DT_GUI_BAUHAUS_CONF_H
21
22#include "widgets/bauhaus.h"
23
24/* Preference-bound bauhaus widgets.
25 *
26 * A convenience layer over the widget, not part of it: it reads the <enum> declaration from
27 * anselconfig.xml (dt_confgen_*), fills the combobox from the declared values, and writes the
28 * selection straight back to conf. All of that is application configuration, which is why it
29 * lives here rather than with the widget it builds on. */
30
34
35#endif // DT_GUI_BAUHAUS_CONF_H
GtkWidget * dt_bauhaus_combobox_from_conf(dt_bauhaus_t *bh, dt_gui_module_t *self, const char *confkey)
struct _GtkWidget GtkWidget
GtkWidget, opaque, spelled exactly as GTK spells it.
Definition colorspaces.h:98
The dt_gui_module_t type is the intersection between a dt_lib_module_t and a dt_iop_module_t structur...