From: Masao M. <mu...@hi...> - 2005-03-23 16:31:38
|
Hi all, I'm interested in your "tips and tricks" for Ruby-GNOME2. So I would like to start "[t&t]" program on this ML. If you're interested in, post here your t&t with "[t&t]" as the prefix of your Subject. Sometimes I'll apply your t&t to Hiki. --- OK. Here is my first tips "Find the font name easily". It's an one-liner ;). $ ruby -rgtk2 -e "Gtk.init;d=Gtk::FontSelectionDialog.new;d.run;p d.font_name" Both of "OK" and "Cancel", you can get the current font name to the console. -- .:% Masao Mutoh<mu...@hi...> |