keck has asked for the wisdom of the Perl Monks concerning the following question:
Any idea how I can access the RadioButton elements within the RadioBox?Snippets: # Colors for main window. $self is the top-level frame. my $mainbg = Wx::Colour->new(0,102,179); $self->SetBackgroundStyle('wxBG_STYLE_CUSTOM'); $self->SetBackgroundColour($mainbg); $self->InheritAttributes() # .. later, $self->{rb} is a Wx::RadioBox $self->{rb}->SetBackgroundStyle('wxBG_STYLE_CUSTOM'); $self->{rb}->SetBackgroundColour($buttonbg) # The effect of above is to color the background behind # the text title of the radio box, not behind the radio # button elements. http://bsd-unix.net/~nate/example.jpg # shows what I mean.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: wxPerl RadioBox Inheritance problem
by PodMaster (Abbot) on Sep 13, 2005 at 19:45 UTC |