Sha256: 9188b2b0fc15132aca34e193de078780ac9dd49b2eb1f11679dec0365d733fb9

Contents?: true

Size: 537 Bytes

Versions: 1

Compression:

Stored size: 537 Bytes

Contents

require 'jldrill/views/gtk/widgets/QuizStatusBar'
require 'jldrill/contexts/DisplayQuizStatusContext'
require 'gtk2'

module JLDrill::Gtk

	class QuizStatusView < JLDrill::DisplayQuizStatusContext::QuizStatusView
	
        attr_reader :quizStatusBar
        	
		def initialize(context)
			super(context)
			@quizStatusBar = QuizStatusBar.new(self)
			@quizStatusBar.expandWidgetWidth
			@verified = nil
		end
		
		def getWidget
			@quizStatusBar
		end
		
		def update(quiz)
		    @quizStatusBar.update(quiz.status)
		end
    end    
end

Version data entries

1 entries across 1 versions & 1 rubygems

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