Wrapping Text while editing Gtk2::CellRendererText
I have a CellRendererText that is editable in a TreeView. The issue that I have is that while in edit mode, the text doesn't wrap - it is all displayed on one line. I have set_wrap_mode as 'word' and set_wrap_width at 400. The text wraps fine except when editing. Is this possible or do I need to implement a custom cell renderer? Thanks for the help. -Jeff ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list
RE: Wrapping Text while editing Gtk2::CellRendererText
I have a CellRendererText that is editable in a TreeView. The issue that I have is that while in edit mode, the text doesn't wrap - it is all displayed on one line. I have set_wrap_mode as 'word' and set_wrap_width at 400. The text wraps fine except when editing. Is this possible or do I need to implement a custom cell renderer? Thanks for the help. -Jeff Here is cell renderer I wrote that handles multi-line text 1) The wrap-width of the cell-renderer is automatically adjusted to fill/shrink the available space in the cell 2) Editing is done using a TextView widget instead of an Entry widget It's on cpan Muppets customrenderer.pl in the examples directory helped Gtk2-Ex-CellRendererWrappedText-0.02.tar.gz Description: Gtk2-Ex-CellRendererWrappedText-0.02.tar.gz ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list
RE: Wrapping Text while editing Gtk2::CellRendererText
This one actually... I have a CellRendererText that is editable in a TreeView. The issue that I have is that while in edit mode, the text doesn't wrap - it is all displayed on one line. I have set_wrap_mode as 'word' and set_wrap_width at 400. The text wraps fine except when editing. Is this possible or do I need to implement a custom cell renderer? Thanks for the help. -Jeff Here is cell renderer I wrote that handles multi-line text 1) The wrap-width of the cell-renderer is automatically adjusted to fill/shrink the available space in the cell 2) Editing is done using a TextView widget instead of an Entry widget It's on cpan Muppets customrenderer.pl in the examples directory helped Gtk2-Ex-CellRendererWrappedText-0.02.1.tar.gz Description: Gtk2-Ex-CellRendererWrappedText-0.02.1.tar.gz ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list