add_indicator(keys={}, &b)
click to toggle source
def add_indicator(keys={}, &b)
win = window(tk_send('addindicator', *hash_kv(keys)))
if b
if TkCore::WITH_RUBY_VM
win.instance_exec(self, &b)
else
win.instance_eval(&b)
end
end
win
end
get_frame(&b)
click to toggle source
def get_frame(&b)
win = window(tk_send('getframe'))
if b
if TkCore::WITH_RUBY_VM
win.instance_exec(self, &b)
else
win.instance_eval(&b)
end
end
win
end
get_indicator(idx, &b)
click to toggle source
def get_indicator(idx, &b)
win = window(tk_send('getindicator', idx))
if b
if TkCore::WITH_RUBY_VM
win.instance_exec(self, &b)
else
win.instance_eval(&b)
end
end
win
end
show_statusbar(name)
click to toggle source
def show_statusbar(name)
tk_send('showstatusbar', name)
self
end