Class: TkBuffersChoise
- Inherits:
-
TkBuffersChoiseView
- Object
- TkToplevel
- TkBuffersChoiseView
- TkBuffersChoise
- Defined in:
- lib/a-tkcommons.rb
Instance Method Summary collapse
-
#initialize ⇒ TkBuffersChoise
constructor
A new instance of TkBuffersChoise.
Constructor Details
#initialize ⇒ TkBuffersChoise
Returns a new instance of TkBuffersChoise.
1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 |
# File 'lib/a-tkcommons.rb', line 1364 def initialize super @lb.value= $arcadia['buffers.code.in_memory'].keys @lb.bind("Double-ButtonPress-1",proc{ _sel = @lb.get('active') Revparsel.new($arcadia['buffers.code.in_memory'][_sel]) @lb.delete('active') $arcadia['buffers.code.in_memory'].delete(_sel) destroy }) raise end |