Re: hiding columns on certain rows
- From: Jason Burchfield <jason burchfield cas-inc com>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtkmm-list gnome org
- Subject: Re: hiding columns on certain rows
- Date: Mon, 13 Mar 2006 08:33:46 -0600
Murray Cumming wrote:
On Mon, 2006-03-13 at 09:14 -0300, Claudio Polegato Junior wrote:
Jason Burchfield escreveu:
I have a Gtk::TreeView with two columns. Is there any way to hide a
column on certain rows? I use a Gtk::TreeStore and I use a
CellRendererToggle in the first column. I only want the Toggle shown
on the children rows. Is this possible?
Hi,
Yes, it's possible. Two ways:
[snip]
I suspect that Gtk::CellRenderer::property_visible() would be much
simpler.
Thanks Gtk::CellRenderer::property_visible() works great.
--
Jason Burchfield
CAS, Inc.
(256) 971-6096
Jason.Burchfield at cas-inc dot com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]