Re: Gtk::Orientable

2020-01-02 Thread Daniel Boles via gtkmm-list
in gtkmm 3, Gtk::SpinButton does not implement Gtk::Orientable, and cannot because adding that would break ABI in a stable release. so, you must do this by calling the C API yourself. that should be wrapped behind type-safe helper functions. here is a working example (C++17, but that isn't

Gtk::Orientable

2020-01-02 Thread Liomar da Hora via gtkmm-list
Hi, I am looking for an example to change the orientation of a SpinButton to vertical. Where can I find? ___ gtkmm-list mailing list gtkmm-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: How to implement Gtk::Orientable interface?

2017-10-26 Thread Tom Schoonjans
Thanks Kjell, it works now! > On 25 Oct 2017, at 19:18, Kjell Ahlstedt <kjellahlst...@gmail.com> wrote: > > On 10/25/2017 10:40 AM, Tom Schoonjans wrote: >> Hi all, >> >> >> I have a class that derives from Glib::Object that should implement

Re: How to implement Gtk::Orientable interface?

2017-10-25 Thread Kjell Ahlstedt
On 10/25/2017 10:40 AM, Tom Schoonjans wrote: Hi all, I have a class that derives from Glib::Object that should implement Gtk::Orientable. I thought it would be sufficient to just do: class MyClass : public MyParentClass, ::Gtk::Orientable { public: MyClass() : Glib

How to implement Gtk::Orientable interface?

2017-10-25 Thread Tom Schoonjans
Hi all, I have a class that derives from Glib::Object that should implement Gtk::Orientable. I thought it would be sufficient to just do: class MyClass : public MyParentClass, ::Gtk::Orientable { public: MyClass() : Glib::ObjectBase(“MyClass"), MyParentClass(), Gtk::Orien