Help for this page

Select Code to Download


  1. or download this
    #create a vbox that will contain all the stock buttons
    my $vbox_stock = Gtk2::VBox->new(FALSE,5);
    ...
     my $btn_stock = Gtk2::Button->new_from_stock($val);
     $vbox_stock->pack_start($btn_stock,FALSE,FALSE,4);
    }
    
  2. or download this
    #create a vbox that will contain all the stock buttons
    my $vbox_stock = Gtk2::VBox->new(FALSE,5);
    ...
      $vbox_stock->pack_start($btn_stock,FALSE,FALSE,4);
     }
    }