4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Bernhard Reiter
9 * Full author contact details are available in file CREDITS.
15 #include "GViewBase.h"
22 /** This class provides a GTK+ implementation of the Branch Dialog.
24 class GBranch : public GViewCB<ControlBranch, GViewGladeB> {
26 GBranch(Dialog & parent);
29 virtual void doBuild();
30 virtual void update();
32 /// enables the apply button if a synonym is selected from the list
33 void selection_changed();
35 /** apply() won't act when this is true.
36 true if no text is selected when the Branch dialog is opened
40 Gtk::Button * cancelbutton_;
41 Gtk::Button * okbutton_;
42 Gtk::Label * brancheslabel_;
43 Gtk::ComboBoxText branchescombo_;
46 } // namespace frontend