14#include <gtkmm/enums.h>
15#include <gtkmm/image.h>
16#include <gtkmm/label.h>
25 Glib::ustring
const &icon,
27 :
Gtk::Box{
Gtk::Orientation::HORIZONTAL, 6}
32 g_assert(g_utf8_validate(icon.c_str(), -1,
nullptr));
40 _label->set_halign(Gtk::Align::START);
47 set_tooltip_markup(tooltip);
52 return _widget->mnemonic_activate(group_cycling);
Gtk::Image * sp_get_icon_image(Glib::ustring const &icon_name, int size)
std::unique_ptr< Magick::Image > image
Align
Values for the <align> parameter of preserveAspectRatio.
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.
Helpers for using Gtk::Boxes, encapsulating large changes between GTK3 & GTK4.