Re: Gtk::Label text Orientation
Hi Daniel, I'm working with Pedro and opened a issue on the GTK repo for the lack of documentation for the replacement and I got an answer. https://gitlab.gnome.org/GNOME/gtk/-/issues/4225 If you could give it a look. Regards, Pedro Serrano On 2021-08-30 03:21, Pedro Sousa via gtkmm-list wrote: Hi Daniel, Thanks for your answer. Regards, Pedro On Sun, 2021-08-29 at 12:25 +0100, Daniel Boles via gtkmm-list wrote: 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 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 [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list ___ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list ___ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list ___ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list
Re: Gtk::Label text Orientation
Hi Daniel, Thanks for your answer. Regards, Pedro On Sun, 2021-08-29 at 12:25 +0100, Daniel Boles via gtkmm-list wrote: > 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 > 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 > > [email protected] > > https://mail.gnome.org/mailman/listinfo/gtkmm-list > ___ > gtkmm-list mailing list > [email protected] > https://mail.gnome.org/mailman/listinfo/gtkmm-list ___ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list
Re: Gtk::Label text Orientation
2nd link was wrong: ** https://docs.gtk.org/gtk4/migrating-3to4.html On Sun, 29 Aug 2021 at 12:25, Daniel Boles wrote: > 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 < > [email protected]> 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 >> [email protected] >> https://mail.gnome.org/mailman/listinfo/gtkmm-list >> > ___ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list
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 < [email protected]> 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 > [email protected] > https://mail.gnome.org/mailman/listinfo/gtkmm-list > ___ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list
