Re: setting color of some of the rows in a TreeView

On Apr 25, 2005, at 7:45 AM, rashwin wrote:

Hi All,
I have a similar urgent requirement in Perl-Gtk.( I currently am not in a position to move to Gtk2). Is there a similar setting of colors possible for the tree items in a Tree View in Perl-Gtk?

there's no TreeView in gtk+ 1.x....  i presume you mean the GtkCTree? SET-FOREGROUND SET-BACKGROUND

GtkCList is a little easier: FOREGROUND BACKGROUND

i'd point you to the Gtk-Perl docs, but is not responding, and i haven't had the manpages installed for a couple of years.

use Disclaimer::Standard qw(PleaseUpgrade);

That's it! It's one thing for a ghost to scare my children, but it's another to play my theremin!
  - Homer Simpson

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