toolbar.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #if !defined(INCLUDED_GTKUTIL_TOOLBAR_H)
00023 #define INCLUDED_GTKUTIL_TOOLBAR_H
00024
00025 #include "generic/callbackfwd.h"
00026 #include <string>
00027
00028 typedef struct _GtkButton GtkButton;
00029 typedef struct _GtkToggleButton GtkToggleButton;
00030 typedef struct _GtkToolbar GtkToolbar;
00031 class Command;
00032 class Toggle;
00033
00034 GtkButton* toolbar_append_button (GtkToolbar* toolbar, const std::string& description, const std::string& icon,
00035 const Callback& callback);
00036 GtkButton* toolbar_append_button (GtkToolbar* toolbar, const std::string& description, const std::string& icon,
00037 const Command& command);
00038 GtkToggleButton* toolbar_append_toggle_button (GtkToolbar* toolbar, const std::string& description,
00039 const std::string& icon, const Callback& callback);
00040 GtkToggleButton* toolbar_append_toggle_button (GtkToolbar* toolbar, const std::string& description,
00041 const std::string& icon, const Toggle& toggle);
00042
00043 #endif