Re: hiding progressbar in a Gtk2::TreeViewColumn
- From: anguila <anguila gmail com>
- To: muppet <scott asofyet org>
- Cc: "gtk-perl-list gnome org List" <gtk-perl-list gnome org>
- Subject: Re: hiding progressbar in a Gtk2::TreeViewColumn
- Date: Sat, 25 Jul 2009 00:04:35 +0200
but with the 3th child how can i set the property of progressbar at visible = false, this will affect to the other parents using same model, isn't it?
On Fri, Jul 24, 2009 at 11:48 PM, muppet
<scott asofyet org> wrote:
On Jul 24, 2009, at 4:21 PM, anguila wrote:
Any idea how to hide this progressbar?
If i'm understanding you correctly, then simply don't create a view column just for the progressbars -- pack the progress into the last column with the last column's text renderer, and decide whether to show it on a per-row basis. You can pack as many renderers as you want into one view column, and they will share space; then when you hide the progressbar, the remaining contents should soak up its space. I think that using an attribute to control the progress bar renderer's "visible" property should work, or else use a cell data function.
--
The one difference between Dali and a crazy man is very simple: Dali is not crazy at all.
-- Salvador Dali
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]