From: Guillermo T. <gto...@ya...> - 2005-06-24 15:09:04
|
I was looking at wxPerl's demos and I saw a line like this in file wxListCtrl.pm at demo dir: my $attr = Wx::ListItemAttr->new; I look for this class but it isn't in the list. What is that? Does it similiar to another class? TIA, Guillermo __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Mattia B. <mat...@li...> - 2005-06-26 10:07:51
|
On Fri, 24 Jun 2005 08:08:54 -0700 (PDT) Guillermo Torreiro <gto...@ya...> wrote: > I was looking at wxPerl's demos and I saw a line like > this in file wxListCtrl.pm at demo dir: > > my $attr = Wx::ListItemAttr->new; > > I look for this class but it isn't in the list. > > What is that? Does it similiar to another class? Methods: GetBackgroundColour GetTextColour HasBackgroundColour HasFont SetTextColour HasTextColour GetFont SetBackgroundColour new SetFont it is only used in the virtual Wx::ListCtrl, i.e. a listctrl taht does not store its data but uses a callback to retrieve data and formatting. This class is used to rtrieve the formatting. Regards Mattia P.S.: yes, it ought to be documented in wxWidgets |