On 08.09.2014 09:16, Thomas Funk wrote:
> I'm developing a RAD library to create GUI applications based on Gtk2::Fixed.

First, are you aware of Glade and GtkBuilder?

Second, are you absolutely sure you want to use GtkFixed as a basis, as
opposed to, say, the box model based on GtkBox?

> So I thought catching the event which signals Gtk to switch the font size 
> would
> be fine to rescale all the fixed widgets.

In principle, GtkSettings' "notify::gtk-font-name" can be used for this,
but it's not available in perl-Gtk2, only perl-Gtk3:

perl -MGtk3=-init -E'my $s = Gtk3::Settings::get_default (); say $s->get
("gtk-font-name"); $s->signal_connect ("notify::gtk-font-name", sub {
say $s->get ("gtk-font-name") }); Gtk3::main ();'
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to