Class: ATKTileLabel
- Inherits:
-
AGTkCommonTile
- Object
- AGTkLayoutManaged
- AGTkCommonTile
- ATKTileLabel
- Defined in:
- ext/ae-rad/lib/tkext/al-tile.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.class_wrapped ⇒ Object
29 30 31 |
# File 'ext/ae-rad/lib/tkext/al-tile.rb', line 29 def ATKTileLabel.class_wrapped Tk::Tile::TLabel end |
Instance Method Details
#properties ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'ext/ae-rad/lib/tkext/al-tile.rb', line 32 def properties super publish('property','name'=>'text', 'default'=> @i_name, 'get'=> proc{@obj.cget('text')}, 'set'=> proc{|t| @obj.configure('text'=>t)}, 'def'=> "" ) publish('property','name'=>'state', 'get'=> proc{@obj.cget('state')}, 'set'=> proc{|j| @obj.configure('state'=>j)}, 'def'=> "", 'type'=>TkType::TkagState ) end |