Re: change treeview's cell height



On Thu, Jan 24, 2013 at 1:53 PM, Rudra Banerjee <rudra banerjee aol co uk>wrote:

In my treeview, I have cells of fixed width, and I want texts longer
than that should be wrapped with height increased.

Get a pointer to the GtkCellRendererText for the column in question;
depending on how you construct your TreeView there are different methods.
When you have that you can experiment with changing different properties,
such as wrap-mode and wrap-width.
See http://developer.gnome.org/gtk3/stable/GtkCellRendererText.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]