Class: AGTkBwProgressBar

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.class_wrappedObject



109
110
111
# File 'ext/ae-rad/lib/tkext/al-bwidget.rb', line 109

def AGTkBwProgressBar.class_wrapped
  Tk::BWidget::ProgressBar
end

Instance Method Details

#propertiesObject



113
114
115
116
117
118
119
120
# File 'ext/ae-rad/lib/tkext/al-bwidget.rb', line 113

def properties
  super()
  publish('property','name'=>'variable',
    'get'=> proc{@obj.cget('variable')},
    'set'=> proc{|variable| @obj.configure('variable'=>variable)},
    'def'=> ''
  )
end