summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 79d46cc)
raw | patch | inline | side by side (parent: 79d46cc)
author | cilix42 <cilix42@users.sourceforge.net> | |
Wed, 2 Jul 2008 16:43:10 +0000 (16:43 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Wed, 2 Jul 2008 16:43:10 +0000 (16:43 +0000) |
src/live_effects/parameter/point.cpp | patch | blob | history |
index 84de8db0561d72d65fc2e3a0224bdc0edb30d16f..fa78ae6a4985ac764ec288960e3a5b55ac45bca8 100644 (file)
pointwdg->clearProgrammatically();
pointwdg->set_undo_parameters(SP_VERB_DIALOG_LIVE_PATH_EFFECT, _("Change point parameter"));
- Gtk::Widget* pIcon = Gtk::manage( sp_icon_get_icon( "draw_node", Inkscape::ICON_SIZE_BUTTON) );
- Gtk::Button * pButton = Gtk::manage(new Gtk::Button());
- pButton->set_relief(Gtk::RELIEF_NONE);
- pIcon->show();
- pButton->add(*pIcon);
- pButton->show();
-
Gtk::HBox * hbox = Gtk::manage( new Gtk::HBox() );
- static_cast<Gtk::HBox*>(hbox)->pack_start(*pButton, true, true);
static_cast<Gtk::HBox*>(hbox)->pack_start(*pointwdg, true, true);
static_cast<Gtk::HBox*>(hbox)->show_all_children();
- tooltips->set_tip(*pButton, _("Edit on-canvas"));
-
return dynamic_cast<Gtk::Widget *> (hbox);
}