2
# tkextlib/bwidget/panelframe.rb
3
# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
8
require 'tkextlib/bwidget.rb'
12
class PanelFrame < TkWindow
17
class Tk::BWidget::PanelFrame
18
TkCommandNames = ['PanelFrame'.freeze].freeze
19
WidgetClassName = 'PanelFrame'.freeze
20
WidgetClassNames[WidgetClassName] = self
23
super() + ['panelforeground', 'panelbackground']
25
private :__strval_optkeys
28
tk_send('add', win, keys)
33
tk_send('delete', *wins)
38
win = window(tk_send_without_enc('getframe'))
39
win.instance_eval(&b) if b
44
list(tk_send('items'))
48
tk_send('remove', *wins)