[gtkmm] RadioMenuItem - set active
- From: "Greg & Erica WOLSKI" <gewolski msn com>
- To: gtkmm-list gnome org
- Subject: [gtkmm] RadioMenuItem - set active
- Date: Tue, 07 Oct 2003 20:21:36 +0000
Hi there,
How do I set active one of the RadioMenuItem group member?
This is my code:
{
Gtk::Menu::MenuList& menulist = m_Menu_Options.items();
Gtk::RadioMenuItem::Group m_group;
menulist.push_back( Gtk::Menu_Helpers::RadioMenuElem(m_group,
"Lesson_1",
SigC::slot(*this, &ExampleWindow::on_menu_option1) ) );
menulist.push_back( Gtk::Menu_Helpers::RadioMenuElem(m_group,
"Lesson_2",
SigC::slot(*this, &ExampleWindow::on_menu_option1) ) );
menulist.push_back( Gtk::Menu_Helpers::RadioMenuElem(m_group,
"Lesson_3",
SigC::slot(*this, &ExampleWindow::on_menu_option1) ) );
}
Thanks,
Greg
_________________________________________________________________
Frustrated with dial-up? Get high-speed for as low as $29.95/month
(depending on the local service providers in your area).
https://broadband.msn.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]