From: cedlemo <ce...@gm...> - 2016-11-09 10:47:27
|
Hi Detlef, Try this Gtk::Settings.default.gtk_font_name On 08/11/2016 19:43, Detlef Wagner wrote: > Hi, > > how can I get the value of a Gtk::Settings property? I.e. I want the > name of the font in use, so started with: > > irb(main):060:0* Gtk::Settings.property('gtk-font-name') > => #<GLib::Param::String: Gtk::Settings#gtk-font-name> > > I expected here a Ruby String as the return value. Is it not implemented > for now, or is there an other way to get the value? > > Tanks, detlef > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > ruby-gnome2-devel-en mailing list > rub...@li... > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en |