Apologies, didn't reply to list. -------- Forwarded Message
--------
Hi Glus, Generally in gtkmm, if the constructor is protected you're
expected to use a Glib::RefPtr to access the object - and I see
the wrap() function returns a Glib::RefPtr<
Gdk::Seat
> . That often means the object makes sense only when it's
constructed from already known information. It looks like you probably want to get the Gdk::Seat via its
display: start with the widget you're interested in events
happening on, call Gtk::Widget::get_display(), and then
display->get_default_seat(). That appears to be the way the
nautilus devs are using it (https://bugzilla.gnome.org/show_bug.cgi?id=762235). Ian. On 26/05/16 08:18, Glus Xof wrote:
|