Lines Matching defs:mi
332 Gtk::RadioMenuItem *mi = Gtk::manage(new Gtk::RadioMenuItem(_sw_group));
333 mi->add(*(new Gtk::Label(iter->first, 0.0, 0.5)));
334 _unit_mis = g_slist_append(_unit_mis, mi);
336 mi->signal_activate().connect(sigc::bind<Inkscape::Util::Unit const *>(sigc::mem_fun(*this, &SelectedStyle::on_popup_units), u));
337 _popup_sw.attach(*mi, 0,1, row, row+1);
346 Gtk::MenuItem *mi = Gtk::manage(new Gtk::MenuItem());
347 mi->add(*(new Gtk::Label(_sw_presets_str[i], 0.0, 0.5)));
348 mi->signal_activate().connect(sigc::bind<int>(sigc::mem_fun(*this, &SelectedStyle::on_popup_preset), i));
349 _popup_sw.attach(*mi, 0,1, row, row+1);
504 Gtk::RadioMenuItem *mi = (Gtk::RadioMenuItem *) g_slist_nth_data(_unit_mis, i);
505 if (mi && mi->get_label() == _sw_unit->abbr) {
506 mi->set_active();