10#include <glibmm/i18n.h>
12#include <gtkmm/button.h>
13#include <gtkmm/image.h>
14#include <gtkmm/label.h>
29namespace LivePathEffect {
43 auto const _widget = Gtk::make_managed<Gtk::Box>(Gtk::Orientation::HORIZONTAL);
46 auto const pLabel = Gtk::make_managed<Gtk::Label>(
param_label);
52 auto const pIcon = Gtk::make_managed<Gtk::Image>();
53 pIcon->set_from_icon_name(
"edit-clone");
54 auto const pButton = Gtk::make_managed<Gtk::Button>();
55 pButton->set_has_frame(
false);
56 pButton->set_child(*pIcon);
59 pButton->set_tooltip_text(_(
"Link to path in clipboard"));
63 auto const pIcon = Gtk::make_managed<Gtk::Image>();
64 pIcon->set_from_icon_name(
"edit-select-original");
65 auto const pButton = Gtk::make_managed<Gtk::Button>();
66 pButton->set_has_frame(
false);
67 pButton->set_child(*pIcon);
70 pButton->set_tooltip_text(_(
"Select original"));
LivePathEffectObject * getLPEObj()
Gtk::Widget * param_newWidget() override
void on_select_original_button_click()
OriginalPathParam(const Glib::ustring &label, const Glib::ustring &tip, const Glib::ustring &key, Inkscape::UI::Widget::Registry *wr, Effect *effect)
Glib::ustring param_tooltip
Glib::ustring param_label
void on_link_button_click()
SPItem * getObject() const
void clear()
Unselects all selected objects.
The set of selected SPObjects for a given document and layer model.
void set(XML::Node *repr)
Set the selection to an XML node's SPObject.
To do: update description of desktop.
Inkscape::Selection * getSelection() const
Base class for visual SVG elements.
void requestModified(unsigned int flags)
Requests that a modification notification signal be emitted later (e.g.
Editable view implementation.
Macro for icon names used in Inkscape.
void pack_start(Gtk::Box &box, Gtk::Widget &child, bool const expand, bool const fill, unsigned const padding)
Adds child to box, packed with reference to the start of box.
Helper class to stream background task notifications as a series of messages.
static cairo_user_data_key_t key
Helpers for using Gtk::Boxes, encapsulating large changes between GTK3 & GTK4.