Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more
# File tk/lib/tk/macpkg.rb, line 43 def close(rsrcRef) tk_call('resource', 'close', rsrcRef) end
# File tk/lib/tk/macpkg.rb, line 47 def delete(rsrcType, opts=nil) tk_call('resource', 'delete', *(hash_kv(opts) << rsrcType)) end
# File tk/lib/tk/macpkg.rb, line 51 def files(rsrcRef=nil) if rsrcRef tk_call('resource', 'files', rsrcRef) else tk_split_simplelist(tk_call('resource', 'files')) end end
# File tk/lib/tk/macpkg.rb, line 59 def list(rsrcType, rsrcRef=nil) tk_split_simplelist(tk_call('resource', 'list', rsrcType, rsrcRef)) end
# File tk/lib/tk/macpkg.rb, line 63 def open(fname, access=nil) tk_call('resource', 'open', fname, access) end
# File tk/lib/tk/macpkg.rb, line 37 def self.package_name PACKAGE_NAME end
# File tk/lib/tk/macpkg.rb, line 67 def read(rsrcType, rsrcID, rsrcRef=nil) tk_call('resource', 'read', rsrcType, rsrcID, rsrcRef) end