GDS-Render v1.2.1
activity-bar.h
Go to the documentation of this file.
1/*
2 * GDSII-Converter
3 * Copyright (C) 2019 Mario Hüttel <mario.huettel@gmx.net>
4 *
5 * This file is part of GDSII-Converter.
6 *
7 * GDSII-Converter is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * GDSII-Converter is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with GDSII-Converter. If not, see <http://www.gnu.org/licenses/>.
18 */
19
32#ifndef __LAYER_ELEMENT_H__
33#define __LAYER_ELEMENT_H__
34
35#include <gtk/gtk.h>
36
37G_BEGIN_DECLS
38
39/* Creates Class structure etc */
40G_DECLARE_FINAL_TYPE(ActivityBar, activity_bar, ACTIVITY, BAR, GtkBox)
41
42#define TYPE_ACTIVITY_BAR (activity_bar_get_type())
43
48ActivityBar *activity_bar_new();
49
54void activity_bar_set_ready(ActivityBar *bar);
55
62void activity_bar_set_busy(ActivityBar *bar, const char *text);
63
64G_END_DECLS
65
66#endif /* __LAYER_ELEMENT_H__ */
67
void activity_bar_set_ready(ActivityBar *bar)
Deletes all applied tasks and sets bar to "Ready".
Definition: activity-bar.c:102
ActivityBar * activity_bar_new()
Create new Object ActivityBar.
Definition: activity-bar.c:91
void activity_bar_set_busy(ActivityBar *bar, const char *text)
Enable spinner and set text. If text is NULL, 'Working...' is displayed.
Definition: activity-bar.c:108
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(GdsRenderGui, gds_render_gui, RENDERER, GUI, GObject)