Sha256: 3c000a6c88f23a95d51051b100d474bd0fba1d3338ade8ca8054a0b3e825635a

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

# encoding: utf-8
require 'Context/View'

module Context
	class PageView < View
		def initialize(context)
			super(context)
		end
		
		# The page view is meant to be the main view for a context
		# (in Gtk it's a window).  So if the view closes, it should
		# close the context.  Actually, I'm not sure if I like this
		# idea.  It might change.
		def close
			@context.close
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jldrill-0.6.0.1 lib/Context/Views/PageView.rb