Sha256: 573c4d0e59f3b959546898957ff70eb6b921522218fe76b8ff3b85af9fb0ffe0

Contents?: true

Size: 586 Bytes

Versions: 1

Compression:

Stored size: 586 Bytes

Contents

require 'jldrill/views/gtk/widgets/PromptWindow'
require 'jldrill/contexts/PromptContext'
require 'gtk2'

module JLDrill::Gtk

	class PromptView < JLDrill::PromptContext::PromptView
        attr_reader :selectorWindow
        	
		def initialize(context, title, message)
			super(context, title, message)
			@promptWindow = PromptWindow.new(self, title, message)
		end
		
		def getWidget
			@promptWindow
		end

        def destroy
            @promptWindow.destroy
        end

        def run
            @response = @promptWindow.execute
            @response
        end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jldrill-0.5.1.7 lib/jldrill/views/gtk/PromptView.rb