Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
sidepanel.h
Go to the documentation of this file.
1/*
2 This file is part of darktable,
3 Copyright (C) 2015-2020 darktable developers.
4
5 darktable 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 darktable 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 darktable. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#pragma once
20
21#include <glib-object.h>
22#include <gtk/gtk.h>
23
24G_BEGIN_DECLS
25
26#define DTGTK_TYPE_SIDE_PANEL (dtgtk_side_panel_get_type())
27#define DTGTK_SIDE_PANEL(obj) \
28 (G_TYPE_CHECK_INSTANCE_CAST((obj), DTGTK_TYPE_SIDE_PANEL, GtkDarktableSidePanel))
29#define DTGTK_IS_SIDE_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), DTGTK_TYPE_SIDE_PANEL))
30#define DTGTK_SIDE_PANEL_CLASS(klass) \
31 (G_TYPE_CHECK_CLASS_CAST((klass), DTGTK_TYPE_SIDE_PANEL, GtkDarktableSidePanelClass))
32#define DTGTK_IS_SIDE_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), DTGTK_TYPE_SIDE_PANEL))
33#define DTGTK_SIDE_PANEL_GET_CLASS(obj) \
34 (G_TYPE_INSTANCE_GET_CLASS((obj), DTGTK_TYPE_SIDE_PANEL, GtkDarktableSidePanelClass))
35
40
42{
43 GtkPanedClass parent_class;
44
45 /*< private >*/
46 gint width;
48
50
51GtkWidget *dtgtk_side_panel_new();
52
53G_END_DECLS
54
55// clang-format off
56// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
57// vim: shiftwidth=2 expandtab tabstop=2 cindent
58// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
59// clang-format on
60
struct _GtkDarktableSidePanelClass GtkDarktableSidePanelClass
GType dtgtk_side_panel_get_type(void)
GtkWidget * dtgtk_side_panel_new()
Definition sidepanel.c:55
struct _GtkDarktableSidePanel GtkDarktableSidePanel
Definition sidepanel.h:42
gint width
Definition sidepanel.h:46
GtkPanedClass parent_class
Definition sidepanel.h:43
Definition sidepanel.h:37
GtkPaned panel
Definition sidepanel.h:38