Sha256: 18d56eb9ad53495abab5bb1bb4214c958409415a523a98e76a65ad6b40c5134d

Contents?: true

Size: 530 Bytes

Versions: 3

Compression:

Stored size: 530 Bytes

Contents

#
# tk/label.rb : treat label widget
#
require 'tk'

class Tk::Label<TkWindow
  TkCommandNames = ['label'.freeze].freeze
  WidgetClassName = 'Label'.freeze
  WidgetClassNames[WidgetClassName] = self
  #def create_self(keys)
  #  if keys and keys != None
  #    tk_call_without_enc('label', @path, *hash_kv(keys, true))
  #  else
  #    tk_call_without_enc('label', @path)
  #  end
  #end
  #private :create_self
end

#TkLabel = Tk::Label unless Object.const_defined? :TkLabel
Tk.__set_toplevel_aliases__(:Tk, Tk::Label, :TkLabel)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tk_as_gem-0.1.0 ext/lib/tk/label.rb
tk_as_gem-0.0.1 ext/lib/tk/label.rb
tk_as_gem-0.0.0 ext/lib/tk/label.rb