Sha256: b61695c1426db070ec7b1aff213e9a1e7604280d4e635c30e45599c52c7085a7
Contents?: true
Size: 466 Bytes
Versions: 9
Compression:
Stored size: 466 Bytes
Contents
require_relative '../../helper' Tk.init describe Tk::Bindtags do @entry = Tk::Entry.new('.') @entry.pack # only placed widgets have bindtags? it 'lists bindtags of a widget' do Tk::Bindtags.bindtags(@entry).should == [".entry0", "Entry", ".", "all"] end it 'reverses bindtags of a widget' do tags = Tk::Bindtags.bindtags(@entry) Tk::Bindtags.bindtags(@entry, tags.reverse) Tk::Bindtags.bindtags(@entry).should == tags.reverse end end
Version data entries
9 entries across 9 versions & 1 rubygems