17#ifndef SEEN_GRADIENT_SELECTOR_H
18#define SEEN_GRADIENT_SELECTOR_H
21#include <glibmm/refptr.h>
23#include <gtkmm/treemodel.h>
24#include <sigc++/signal.h>
35class CellRendererPixbuf;
36class CellRendererText;
44class GradientVectorSelector;
63 Gtk::TreeModelColumn<Glib::ustring>
name;
64 Gtk::TreeModelColumn<unsigned long>
color;
66 Gtk::TreeModelColumn<SPGradient *>
data;
67 Gtk::TreeModelColumn<Glib::RefPtr<Gdk::Pixbuf>>
pixbuf;
85 bool onKeyPressed(GtkEventControllerKey
const * controller,
86 unsigned keyval,
unsigned keycode, GdkModifierType state);
88 void onGradientRename(
const Glib::ustring &path_string,
const Glib::ustring &new_text);
112 void moveSelection(
int amount,
bool down =
true,
bool toEnd =
false);
Typed SVG document implementation.
Button
helper to stop accidents on int vs gtkmm3's weak=typed enums, & looks nicer!
static void add(Gtk::Box &box, PackType const pack_type, Gtk::Widget &child)
TODO: insert short description here.
TODO: insert short description here.