Sha256: 62acc71f6addb602bcac10467e03464449b80ce2f88081d618c6f373ff54365b
Contents?: true
Size: 306 Bytes
Versions: 2
Compression:
Stored size: 306 Bytes
Contents
module TkInspect module CanvasWindow class RootComponent < TkComponent::Base attr_accessor :canvas_window def render(p, parent_component) @canvas = p.canvas(sticky: 'nwes', x_flex: 1, y_flex: 1) end def canvas @canvas.native_item end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tk_inspect-0.2.1 | lib/tk_inspect/canvas_window/root_component.rb |
tk_inspect-0.2.0 | lib/tk_inspect/canvas_window/root_component.rb |