Sha256: c5cf18210f3382fa57c6427adadadb17b4c4acf22cfc77e1855c7cf6ea4fc7dc

Contents?: true

Size: 544 Bytes

Versions: 1

Compression:

Stored size: 544 Bytes

Contents

# encoding: utf-8
require 'jldrill/contexts/ShowInfoContext'
require 'jldrill/views/gtk/widgets/InfoWindow'
require 'gtk2'

module JLDrill::Gtk

	class InfoView < JLDrill::ShowInfoContext::InfoView

        attr_reader :infoWindow
        	
		def initialize(context)
			super(context)
			@infoWindow = InfoWindow.new(self)
		end
		
		def getWidget
			@infoWindow
		end

        def destroy
            @infoWindow.destroy
        end

        def run(info)
            super(info)
            @infoWindow.execute(info)
        end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jldrill-0.6.0.1 lib/jldrill/views/gtk/InfoView.rb