Sha256: f892abea12039ade600eaa2e17615d71aa5ce8c8312259c5344997eb8579194c
Contents?: true
Size: 696 Bytes
Versions: 3
Compression:
Stored size: 696 Bytes
Contents
# # tlabel widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) # require 'tk' require 'tkextlib/tile.rb' module Tk module Tile class TLabel < Tk::Label end Label = TLabel end end Tk.__set_toplevel_aliases__(:Ttk, Tk::Tile::Label, :TkLabel) class Tk::Tile::TLabel < Tk::Label include Tk::Tile::TileWidget if Tk::Tile::USE_TTK_NAMESPACE TkCommandNames = ['::ttk::label'.freeze].freeze else TkCommandNames = ['::tlabel'.freeze].freeze end WidgetClassName = 'TLabel'.freeze WidgetClassNames[WidgetClassName] = self def self.style(*args) [self::WidgetClassName, *(args.map!{|a| _get_eval_string(a)})].join('.') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tk_as_gem-0.1.0 | ext/lib/tkextlib/tile/tlabel.rb |
tk_as_gem-0.0.1 | ext/lib/tkextlib/tile/tlabel.rb |
tk_as_gem-0.0.0 | ext/lib/tkextlib/tile/tlabel.rb |