Re: Gridlines in Gtk2::TreeView




On Aug 27, 2004, at 7:21 PM, muppet wrote:

Is there an alternate solution to my problem ?

an Evil But Fun solution to try would be to create a custom cell renderer that simply draws a skinny vertical separator, and pack one of those into each of the columns after the first. this could have performance problems if you have a lot of data (since you'll be marshaling a *lot* of vfunc calls to perl), and would not be terribly theme-friendly, but it would be an interesting experiement.

Attachment: separator.pl
Description: Binary data



:-)


the separator draws to one side, and it's not themeable or configurable, but it goes to show you can do lots of funky things with the TreeView.

--
She's obviously your child. She looks like you, she talks a lot, and most of it is gibberish.
  -- Elysse, to me, of Zella.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]