[gtkmm] RadioElem Signal



Hi All,

I'm very, very new to this.
I made a toolbar with two buttons, when I click one I get the signals
from all two. How to prevent.

  using namespace Gtk::Toolbar_Helpers;
          Gtk::RadioButton::Group gr;
  m_Toolbar.tools().push_back(RadioElem(gr,"Vertex",SigC::slot(*this,
&DendoWindow::on_menu_file_new_generic)));
  m_Toolbar.tools().push_back(RadioElem(gr,"Edge",SigC::slot(*this,
&DendoWindow::on_menu_others)));

r/Detlef



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]