Re: TreeView width?
- From: edscott wilson garcia <edscott imp mx>
- To: igorbounov voronezh serw ru, gtk-list gnome org
- Subject: Re: TreeView width?
- Date: 17 Sep 2003 23:57:51 +0000
On Wed, 2003-09-17 at 07:07, Igor Gorbounov wrote:
> Hi, All!
> Is there any reliable method for calculating the size of a filled
> TreeView before showing it, for proper setting the size of a window
> containing this treeview?
> get_width() for TreeViewColumns returns 0, get_width() for the treeview
> itself returns a significant lesser value, cell_get_size(...) returns
> very small widths, pango_layout gives the proper values for text size
> in cells, but it knows nothing about white spaces between columns and
> I have to scan all rows for every column to get the maximum size.
> So how normal folks are doing this?
Using gtk autosize features to get appropriate size?
> Igor Gorbounov
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]