13#include <gtkmm/image.h>
14#include <sigc++/adaptors/bind.h>
15#include <sigc++/functors/mem_fun.h>
23 auto const buttonIcon = Gtk::manage(
sp_get_icon_image(icon, Gtk::IconSize::NORMAL));
24 button.set_has_frame(
false);
25 button.set_child(*buttonIcon);
26 button.set_focusable(
false);
31 set_halign(Gtk::Align::CENTER);
45 for (std::size_t i = 0; i <
_buttons.size(); ++i) {
70 _buttons[old_selection].set_active(
false);
77 int index = 3 * vertical + horizontal;
78 if (index >= 0 && index < 9) {
Gtk::Image * sp_get_icon_image(Glib::ustring const &icon_name, int size)
Macro for icon names used in Inkscape.
static void append(std::vector< T > &target, std::vector< T > &&source)