Re: Gtk::Label text Orientation



GTK4 removed the :angle property *. Unfortunately the reasoning wasn't documented in the commit message, nor is it mentioned in the migration guide **, so the question of how or whether it can be replaced is a topic (or perhaps bug) for the GTK project, not gtkmm (as gtkmm can only wrap what GTK makes available).

* https://gitlab.gnome.org/GNOME/gtk/-/commit/db4b1d28f53c30e8d4d555775cece1cc8aefdcf3
** https://gitlab.gnome.org/GNOME/gtk/-/commit/db4b1d28f53c30e8d4d555775cece1cc8aefdcf3


On Wed, 25 Aug 2021 at 10:58, Pedro Sousa via gtkmm-list <gtkmm-list gnome org> wrote:
Hello,

I am trying to change the text orientation for a Gtk::Label to vertical.

Using Gtkmm3 we could do it with

Gtk::Label tab;
tab.set_angle(90);

but in Gtkmm4 this function does not exist. 

Can you tell me the substituting function to change the text orientation?

Regards,
Pedro Sousa
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]