14#ifndef SEEN_UI_WIDGET_WIDGET_VFUNCS_CLASS_INIT_H
15#define SEEN_UI_WIDGET_WIDGET_VFUNCS_CLASS_INIT_H
18#include <glibmm/extraclassinit.h>
20#include <gtkmm/enums.h>
33 using CssChanged = void (GtkWidget *, GtkCssStyleChange *);
34 using Focus = gboolean (GtkWidget *, GtkDirectionType );
49 virtual std::optional<bool>
focus(Gtk::DirectionType
direction) {
return std::nullopt; }
static Geom::Point direction(Geom::Point const &first, Geom::Point const &second)
Computes an unit vector of the direction from first to second control point.