Sha256: f316edb3b20ae0da81dc1c9a256bb7f2799cf0683148134aef616dc006c374c3

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

class Shoes
  class Dialog
    def initialize
      @gui = Shoes.backend::Dialog.new
    end

    def alert(msg = '')
      @gui.alert msg
    end

    def confirm(msg = '')
      @gui.confirm msg
    end
    
    def dialog_chooser title, folder=false
      @gui.dialog_chooser title, folder
    end

    def ask msg, args
      @gui.ask msg, args
    end

    def ask_color title
      @gui.ask_color title
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
shoes-dsl-4.0.0.pre2 lib/shoes/dialog.rb
shoes-4.0.0.pre1 lib/shoes/dialog.rb