Class: ATkTileStyle

Inherits:
AGINTk
  • Object
show all
Defined in:
ext/ae-rad/lib/tkext/al-tile.rb

Defined Under Namespace

Classes: TkTileStyle

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.class_wrappedObject



136
137
138
# File 'ext/ae-rad/lib/tkext/al-tile.rb', line 136

def ATkTileStyle.class_wrapped
  TkTileStyle
end

Instance Method Details

#propertiesObject



139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# File 'ext/ae-rad/lib/tkext/al-tile.rb', line 139

def properties
  super
  publish('property','name'=>'theme',
  'get'=> proc{},
  'set'=> proc{|j| @obj.style.theme_use(j)},
  'def'=> "",
  'type'=> EnumType.new(@obj.style.theme_names)
  )

  publish('property','name'=>'foreground',
  'get'=> proc{},
  'set'=> proc{|foreground| @obj.style.configure('foreground'=>foreground)},
  'def'=> '',
  'type'=> TkType::TkagColor
  )


end