Sha256: f32c0df3be429048ac7d2cb861cc9e51ee5842ac40aea70a3221ebfb00da9446
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
# encoding: utf-8 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.6.0.1 | lib/jldrill/views/gtk/widgets/QuizStatusBar.rb |