Sha256: fd4b4cbafe54bc1e1424c9cd5cad720e785b21fdb88606d1e6eca26b7d8e319b
Contents?: true
Size: 474 Bytes
Versions: 1
Compression:
Stored size: 474 Bytes
Contents
require 'Context/Gtk/Widget' require 'gtk2' module JLDrill::Gtk class QuizStatusBar < Gtk::Statusbar include Context::Gtk::Widget attr_reader :text def initialize(view) super() @view = view @text = "" @id = get_context_id("Update quiz status") end def update(string) @text = string pop(@id) push(@id, string) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jldrill-0.5.1.7 | lib/jldrill/views/gtk/widgets/QuizStatusBar.rb |