Emmanuel Rodriguez wrote:
I tried using a Gtk2::TextView but I didn't find out how to give the
text view the exact height of one line (just as a Gtk2::Entry).

Gtk2::TextView is a Gtk2::Widget, so you can set its dimensions with set_size_request(). For finding the height of one line, look at how GtkEntry does it: gtk_entry_size_request() in gtk+/gtk/gtkentry.c. Or cheat and ask another Gtk2::Entry for its height via get_size_request().
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to