Re: change treeview's cell height
- From: Andrew Potter <agpotter gmail com>
- To: gtk devel <gtk-app-devel-list gnome org>
- Subject: Re: change treeview's cell height
- Date: Thu, 24 Jan 2013 15:17:36 -0800
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]