Sha256: 9ed956f52c3e98d9f834a41fe571fa195e7eefba0405d6354396c5677586dd10
Contents?: true
Size: 1 KB
Versions: 3
Compression:
Stored size: 1 KB
Contents
# # tkextlib/iwidgets/disjointlistbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/iwidgets.rb' module Tk module Iwidgets class Disjointlistbox < Tk::Itk::Widget end end end class Tk::Iwidgets::Disjointlistbox TkCommandNames = ['::iwidgets::disjointlistbox'.freeze].freeze WidgetClassName = 'Disjointlistbox'.freeze WidgetClassNames[WidgetClassName] = self def __strval_optkeys super() << 'lhslabeltext' << 'rhslabeltext' << 'lhsbuttonlabel' << 'rhsbuttonlabel' end private :__strval_optkeys def set_lhs(*items) tk_call(@path, 'setlhs', items) self end def set_rhs(*items) tk_call(@path, 'setrhs', items) self end def get_lhs simplelist(tk_call(@path, 'getlhs')) end def get_rhs simplelist(tk_call(@path, 'getrhs')) end def insert_lhs(*items) tk_call(@path, 'insertlhs', items) self end def insert_rhs(*items) tk_call(@path, 'insertrhs', items) self end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tk_as_gem-0.1.0 | ext/lib/tkextlib/iwidgets/disjointlistbox.rb |
tk_as_gem-0.0.1 | ext/lib/tkextlib/iwidgets/disjointlistbox.rb |
tk_as_gem-0.0.0 | ext/lib/tkextlib/iwidgets/disjointlistbox.rb |