geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

toolbar.h
Go to the documentation of this file.
1/*
2 * toolbar.h - this file is part of Geany, a fast and lightweight IDE
3 *
4 * Copyright 2009 The Geany contributors
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program 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 along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21#ifndef GEANY_TOOLBAR_H
22#define GEANY_TOOLBAR_H 1
23
24#include "gtkcompat.h"
25
26G_BEGIN_DECLS
27
28/** Toolbar settings. */
29typedef struct GeanyToolbarPrefs
30{
31 gboolean visible;
32 GtkIconSize icon_size;
33 GtkToolbarStyle icon_style; /**< Icon style. */
37}
39
40
41#ifdef GEANY_PRIVATE
42
44
45
46GtkWidget *toolbar_get_widget_child_by_name(const gchar *name);
47
48GtkWidget *toolbar_get_widget_by_name(const gchar *name);
49
50GtkAction *toolbar_get_action_by_name(const gchar *name);
51
53
54void toolbar_update_ui(void);
55
56void toolbar_apply_settings(void);
57
58void toolbar_show_hide(void);
59
60void toolbar_item_ref(GtkToolItem *item);
61
62GtkWidget *toolbar_init(void);
63
64void toolbar_finalize(void);
65
66void toolbar_configure(GtkWindow *parent);
67
68#endif /* GEANY_PRIVATE */
69
70G_END_DECLS
71
72#endif /* GEANY_TOOLBAR_H */
const gchar * name
Definition: document.c:3219
Toolbar settings.
Definition: toolbar.h:30
GtkToolbarStyle icon_style
Icon style.
Definition: toolbar.h:33
gboolean visible
Definition: toolbar.h:31
gboolean use_gtk_default_icon
Definition: toolbar.h:35
gboolean use_gtk_default_style
Definition: toolbar.h:34
gboolean append_to_menu
Definition: toolbar.h:36
GtkIconSize icon_size
Definition: toolbar.h:32
void toolbar_show_hide(void)
Definition: toolbar.c:539
GtkWidget * toolbar_get_widget_by_name(const gchar *name)
Definition: toolbar.c:124
GeanyToolbarPrefs toolbar_prefs
Definition: toolbar.c:48
void toolbar_configure(GtkWindow *parent)
Definition: toolbar.c:1062
void toolbar_finalize(void)
Definition: toolbar.c:525
GtkWidget * toolbar_get_widget_child_by_name(const gchar *name)
Definition: toolbar.c:141
void toolbar_item_ref(GtkToolItem *item)
Definition: toolbar.c:166
void toolbar_update_ui(void)
Definition: toolbar.c:414
gint toolbar_get_insert_position(void)
Definition: toolbar.c:500
GtkAction * toolbar_get_action_by_name(const gchar *name)
Definition: toolbar.c:152
GtkWidget * toolbar_init(void)
Definition: toolbar.c:340
void toolbar_apply_settings(void)
Definition: toolbar.c:577
struct GeanyToolbarPrefs GeanyToolbarPrefs
Toolbar settings.