Class: TkResizingTitledFrame

Inherits:
TkFrame
  • Object
show all
Includes:
TkResizable
Defined in:
lib/a-tkcommons.rb

Constant Summary

Constants included from TkResizable

TkResizable::MIN_HEIGHT, TkResizable::MIN_WIDTH

Instance Method Summary collapse

Methods included from TkResizable

#resizing_do_move_obj, #resizing_do_press, #start_resizing, #stop_resizing

Constructor Details

#initialize(parent = nil, *args) ⇒ TkResizingTitledFrame

Returns a new instance of TkResizingTitledFrame.



1391
1392
1393
1394
1395
1396
1397
1398
# File 'lib/a-tkcommons.rb', line 1391

def initialize(parent=nil, *args)
  super(parent, *args)
  @resizing_label=TkLabel.new(self, Arcadia.style('label')){
    text '-'
    image Arcadia.image_res(EXPAND_LIGHT_GIF)
  }.pack('side'=> 'right','anchor'=> 's')
  start_resizing(@resizing_label, self)
end