Lines Matching defs:mi

1548 void ContextMenu::EnterGroup(Gtk::MenuItem* mi)
1550 _desktop->setCurrentLayer(reinterpret_cast<SPObject *>(mi->get_data("group")));
1653 Gtk::MenuItem* mi;
1656 mi = Gtk::manage(new Gtk::MenuItem(_("_Object Properties..."),1));
1657 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ItemProperties));
1658 mi->show();
1659 append(*mi);//insert(*mi,positionOfLastDialog++);
1665 mi = Gtk::manage(new Gtk::MenuItem(_("_Select This"), 1));
1667 mi->set_sensitive(FALSE);
1669 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ItemSelectThis));
1671 mi->show();
1672 append(*mi);
1676 mi = Gtk::manage(new Gtk::MenuItem(_("Select Same")));
1677 mi->show();
1680 mi->set_sensitive(FALSE);
1682 mi->set_submenu(*select_same_submenu);
1683 append(*mi);
1686 mi = Gtk::manage(new Gtk::MenuItem(_("Fill and Stroke"), 1));
1687 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::SelectSameFillStroke));
1688 mi->set_sensitive(!SP_IS_ANCHOR(_item));
1689 mi->show();
1690 select_same_submenu->append(*mi);
1693 mi = Gtk::manage(new Gtk::MenuItem(_("Fill Color"), 1));
1694 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::SelectSameFillColor));
1695 mi->set_sensitive(!SP_IS_ANCHOR(_item));
1696 mi->show();
1697 select_same_submenu->append(*mi);
1700 mi = Gtk::manage(new Gtk::MenuItem(_("Stroke Color"), 1));
1701 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::SelectSameStrokeColor));
1702 mi->set_sensitive(!SP_IS_ANCHOR(_item));
1703 mi->show();
1704 select_same_submenu->append(*mi);
1707 mi = Gtk::manage(new Gtk::MenuItem(_("Stroke Style"), 1));
1708 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::SelectSameStrokeStyle));
1709 mi->set_sensitive(!SP_IS_ANCHOR(_item));
1710 mi->show();
1711 select_same_submenu->append(*mi);
1714 mi = Gtk::manage(new Gtk::MenuItem(_("Object type"), 1));
1715 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::SelectSameObjectType));
1716 mi->set_sensitive(!SP_IS_ANCHOR(_item));
1717 mi->show();
1718 select_same_submenu->append(*mi);
1721 mi = Gtk::manage(new Gtk::MenuItem(_("_Move to layer ..."), 1));
1723 mi->set_sensitive(FALSE);
1725 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ItemMoveTo));
1727 mi->show();
1728 append(*mi);
1731 mi = Gtk::manage(new Gtk::MenuItem(_("Create _Link"), 1));
1732 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ItemCreateLink));
1733 mi->set_sensitive(!SP_IS_ANCHOR(_item));
1734 mi->show();
1735 append(*mi);
1754 mi = Gtk::manage(new Gtk::MenuItem(_("Set Mask"), 1));
1755 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::SetMask));
1757 mi->set_sensitive(FALSE);
1759 mi->set_sensitive(TRUE);
1761 mi->show();
1762 append(*mi);
1765 mi = Gtk::manage(new Gtk::MenuItem(_("Release Mask"), 1));
1766 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ReleaseMask));
1768 mi->set_sensitive(TRUE);
1770 mi->set_sensitive(FALSE);
1772 mi->show();
1773 append(*mi);
1776 mi = Gtk::manage(new Gtk::MenuItem(_("Create Clip G_roup"),1));
1777 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::CreateGroupClip));
1778 mi->set_sensitive(TRUE);
1779 mi->show();
1780 append(*mi);
1783 mi = Gtk::manage(new Gtk::MenuItem(_("Set Cl_ip"), 1));
1784 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::SetClip));
1786 mi->set_sensitive(FALSE);
1788 mi->set_sensitive(TRUE);
1790 mi->show();
1791 append(*mi);
1794 mi = Gtk::manage(new Gtk::MenuItem(_("Release C_lip"), 1));
1795 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ReleaseClip));
1797 mi->set_sensitive(TRUE);
1799 mi->set_sensitive(FALSE);
1801 mi->show();
1802 append(*mi);
1805 mi = Gtk::manage(new Gtk::MenuItem(_("_Group"), 1));
1806 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ActivateGroup));
1808 mi->set_sensitive(FALSE);
1810 mi->set_sensitive(TRUE);
1812 mi->show();
1813 append(*mi);
1911 Gtk::MenuItem* mi = Gtk::manage(new Gtk::MenuItem(_("_Ungroup"), 1));
1912 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ActivateUngroup));
1913 mi->show();
1914 append(*mi);
1938 Gtk::MenuItem* mi;
1941 mi = Gtk::manage(new Gtk::MenuItem(_("Link _Properties..."), 1));
1942 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::AnchorLinkProperties));
1943 mi->show();
1944 insert(*mi,positionOfLastDialog++);
1947 mi = Gtk::manage(new Gtk::MenuItem(_("_Follow Link"), 1));
1948 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::AnchorLinkFollow));
1949 mi->show();
1950 append(*mi);
1953 mi = Gtk::manage(new Gtk::MenuItem(_("_Remove Link"), 1));
1954 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::AnchorLinkRemove));
1955 mi->show();
1956 append(*mi);
1989 Gtk::MenuItem* mi;
1994 mi = Gtk::manage(new Gtk::MenuItem(_("Image _Properties..."), 1));
1995 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ImageProperties));
1996 mi->show();
1997 insert(*mi,positionOfLastDialog++);
2000 mi = Gtk::manage(new Gtk::MenuItem(_("Edit Externally..."), 1));
2001 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ImageEdit));
2002 mi->show();
2003 insert(*mi,positionOfLastDialog++);
2005 mi->set_sensitive( FALSE );
2009 mi = Gtk::manage(new Gtk::MenuItem(_("_Trace Bitmap..."), 1));
2010 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ImageTraceBitmap));
2011 mi->show();
2012 insert(*mi,positionOfLastDialog++);
2014 mi->set_sensitive(FALSE);
2018 mi = Gtk::manage(new Gtk::MenuItem(_("Trace Pixel Art"), 1));
2019 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ImageTracePixelArt));
2020 mi->show();
2021 insert(*mi,positionOfLastDialog++);
2023 mi->set_sensitive(FALSE);
2028 mi = Gtk::manage(new Gtk::MenuItem(C_("Context menu", "Embed Image")));
2029 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ImageEmbed));
2030 mi->show();
2031 insert(*mi,positionOfLastDialog++);
2033 mi->set_sensitive( FALSE );
2039 mi = Gtk::manage(new Gtk::MenuItem(C_("Context menu", "Extract Image...")));
2040 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ImageExtract));
2041 mi->show();
2042 insert(*mi,positionOfLastDialog++);
2044 mi->set_sensitive( FALSE );
2180 Gtk::MenuItem* mi;
2183 mi = Gtk::manage(new Gtk::MenuItem(_("_Fill and Stroke..."), 1));
2184 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::FillSettings));
2185 mi->show();
2186 insert(*mi,positionOfLastDialog++);
2200 Gtk::MenuItem* mi;
2203 mi = Gtk::manage(new Gtk::MenuItem(_("_Fill and Stroke..."), 1));
2204 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::FillSettings));
2205 mi->show();
2206 insert(*mi,positionOfLastDialog++);
2209 mi = Gtk::manage(new Gtk::MenuItem(_("_Text and Font..."), 1));
2210 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::TextSettings));
2211 mi->show();
2212 insert(*mi,positionOfLastDialog++);
2215 mi = Gtk::manage(new Gtk::MenuItem(_("Check Spellin_g..."), 1));
2216 mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::SpellcheckSettings));
2217 mi->show();
2218 insert(*mi,positionOfLastDialog++);