Re: [gtkmm] TreeView width?
- From: Igor Gorbounov <igorbounov voronezh serw ru>
- To: ZHOU DX <zhou_dx yahoo com>
- Cc: Martin Schulze <martin-ml hippogriff de>, gtkmm-list gnome org
- Subject: Re: [gtkmm] TreeView width?
- Date: Thu, 18 Sep 2003 15:49:09 +0400
ZHOU DX wrote:
Hi,
Probably you can get the width of the treeview in the
on_realize of its parent frame or whatever. Then you
can do some adjustment.
[...]
It seems funny, but the best solution for me occured to be this one:
this->set_size_request(std::min(int(scrollwindow->get_width() + 2 *
get_border_width()), 1000), 780);
The scrollwindow is set to policy "Never".
Thanks to all.
Igor Gorbounov
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]