jdtoronto has asked for the wisdom of the Perl Monks concerning the following question:
With Tk::JComboBox in this code fragment (part of a rather large GUI the rest of which works rather well);
The issues:$frfr->Label( -text => 'Campaign' )->grid( -column => 0, -row => 0 ) +; $frfr->Checkbutton( -text => 'enabled', -variable => \$self->{_campaigns_filter_flag}, #-command => sub { $self->_campaigns_filter_flag_change(); }, -command => sub { $self->_get_records_all(); }, )->grid( $self->{_campaign_list} = $frfr->JComboBox( -relief => 'sunken', -highlightthickness => 0, -mode => 'readonly', -listwidth => '16', -entrywidth => '16', #-listcmd => sub { $self->_campaign_list_load() }, ), -padx => 2, -pady => 1, ); $self->{_campaign_list}->configure( -subwidgets => [ Listbox => { -b +ackground => 'white' }, ] ); $self->{_campaign_list}->configure( -selectcommand => sub { $self->_ +campaign_filter_set( $self->{_campaign_list} ); } ); #$self->_campaign_list_load(); $self->{_campaign_list}->configure( -popupcreate => sub { $self->_ca +mpaign_list_load() } );
Update The author has made some changes and expects that v1.12 of the module will address these issues. Thanks Rob for your timely response!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problems with Tk::JComboBox
by rcseege (Pilgrim) on Sep 19, 2006 at 02:01 UTC | |
|
Re: Problems with Tk::JComboBox
by rcseege (Pilgrim) on Sep 20, 2006 at 09:10 UTC |