Class: AGTkListbox

Inherits:
AGTkBase show all
Defined in:
lib/tk/al-tk.rb

Instance Attribute Summary

Attributes inherited from AGTk

#canvas, #l_manager, #x0, #x3, #y0, #y3

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AGTkLayoutManaged

#start_properties

Methods inherited from AGTk

#activate, #active_move_tab, class_renderer, class_sniffer, #contains_events, #delete, #getFileName, #has_events, #initialize, #new_object, #popup, #popup_items, #update_property

Constructor Details

This class inherits a constructor from AGTk

Class Method Details

.class_wrappedObject



2828
2829
2830
# File 'lib/tk/al-tk.rb', line 2828

def AGTkListbox.class_wrapped
  TkListbox
end

Instance Method Details

#propertiesObject



2832
2833
2834
2835
2836
2837
2838
2839
2840
# File 'lib/tk/al-tk.rb', line 2832

def properties
  super()
  publish('property','name'=>'relief',
    'get'=> proc{@obj.cget('relief')},
    'set'=> proc{|r| @obj.configure('relief'=>r)},
    'def'=> "",
    'type'=> TkType::TkagRelief
  )
end