summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.h
blob: c6ae2a6f6f2b7a295850d33db7f06e7580fb59de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#ifndef SEEN_TOOLBOX_H
#define SEEN_TOOLBOX_H

/**
 * \brief Main toolbox
 *
 * Authors:
 *   Lauris Kaplinski <lauris@kaplinski.com>
 *   Frank Felfe <innerspace@iname.com>
 *
 * Copyright (C) 1999-2002 Authors
 * Copyright (C) 2001-2002 Ximian, Inc.
 *
 * Released under GNU GPL, read the file 'COPYING' for more information
 */

#include <gtk/gtkstyle.h>
#include <gtk/gtktooltips.h>

#include "forward.h"

GtkWidget *sp_tool_toolbox_new(void);
void sp_tool_toolbox_set_desktop(GtkWidget *toolbox, SPDesktop *desktop);

GtkWidget *sp_aux_toolbox_new(void);
void sp_aux_toolbox_set_desktop(GtkWidget *toolbox, SPDesktop *desktop);

GtkWidget *sp_commands_toolbox_new(void);
void sp_commands_toolbox_set_desktop(GtkWidget *toolbox, SPDesktop *desktop);

void show_aux_toolbox(GtkWidget *toolbox);

GtkWidget *sp_toolbox_button_normal_new_from_verb(GtkWidget *t,
                                                  GtkIconSize size,
                                                  Inkscape::Verb * verb,
                                                  Inkscape::UI::View::View *view,
                                                  GtkTooltips *tt);

void aux_toolbox_space(GtkWidget *tb, gint space);

// utility
void sp_toolbox_add_label(GtkWidget *tbl, gchar const *title, bool wide = true);



#endif /* !SEEN_TOOLBOX_H */

/*
  Local Variables:
  mode:c++
  c-file-style:"stroustrup"
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
  indent-tabs-mode:nil
  fill-column:99
  End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :