- ~Toolbar();
-
- /// (re)sets the toolbar
- void set(bool doingmain = false);
-
- /** this is to be the entry point to the toolbar
- frame, where you can change the toolbar realtime. */
- void edit();
- /// add a new button to the toolbar.
- void add(int , bool doclean = true);
- /// name of func instead of kb_action
- void add(string const & , bool doclean = true);
- /// invokes the n'th icon in the toolbar
- void push(int);
- /// activates the toolbar
- void activate();
- /// deactivates the toolbar
- void deactivate();
- /// update the state of the icons
- void update();
+ virtual ~Toolbar();
+
+ /// Initialize toolbar from backend
+ void init();
+
+ /// update the state of the toolbars
+ void update(bool in_math, bool in_table);
+
+ /// show/hide the named toolbar
+ void display(std::string const & name, bool show);