class GtkApp::Dialog::Progress

Public Class Methods

new(parent) click to toggle source
Calls superclass method
# File lib/gtk_app/dialog/progress.rb, line 4
def initialize(parent)
  
  super("test", parent, 
    Gtk::Dialog::DESTROY_WITH_PARENT,
    [Gtk::Stock::OK, Gtk::Dialog::RESPONSE_NONE])
  pbar = Gtk::ProgressBar.new
  hbox = Gtk::HBox.new(false, 6)
  hbox.pack_start(pbar, true, false, 6)
  self.vbox.add(hbox)
  self.show_all
end