Sha256: 87329de1fe36b019ed1bbb0f9f28db0d7dcf86a46f0d3302b89d7ec3a6735dd5
Contents?: true
Size: 372 Bytes
Versions: 4
Compression:
Stored size: 372 Bytes
Contents
module Nuklear module UI class Col < Base include Nuklear::UI::Container attr_accessor :width def initialize(width:, **options) super(**options) self.width = width end def to_command [:ui_layout_row_push, width] end def result(_, context) run_commands(context) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nuklear-0.1.3 | lib/nuklear/ui/col.rb |
nuklear-0.1.2 | lib/nuklear/ui/col.rb |
nuklear-0.1.1 | lib/nuklear/ui/col.rb |
nuklear-0.1.0 | lib/nuklear/ui/col.rb |