Help for this page

Select Code to Download


  1. or download this
    use Storable;
    tie $hashref, "Tk::Listbox", $lbox, {'ReturnType' => 'both'};
    store $hashref, 'file';
    ...
    $hashref = retrieve('file');
    
  2. or download this
    $listbox->packForget();
  3. or download this
    use Storable;
    @columninfo = $mlistbox->columnPackInfo();
    store \@columninfo, 'file';
    
  4. or download this
    # "-anchor" specifies how the information in a widget (e.g. 
    # text or a bitmap) is to be displayed in the widget. Must 
    # be one of the values n, ne, e, se, s, sw, w, nw, or 
    ...
    # of the widget. 
    
    $mlistbox->configure(-anchor => 'e'); # or 'center'