Class: RubyCurses::App::Stack

Inherits:
Struct
  • Object
show all
Defined in:
lib/rbcurse/app.rb

Overview

line up vertically whatever comes in, ignoring r and c margin_top to add to margin of existing stack (if embedded) such as extra spacing margin to add to margin of existing stack, or window (0) NOTE: since these coordins are calculated at start therefore if window resized i can’t recalculate.

positioning of components collapse

Instance Attribute Details

#marginObject

Returns the value of attribute margin

Returns:

  • (Object)

    the current value of margin



1003
1004
1005
# File 'lib/rbcurse/app.rb', line 1003

def margin
  @margin
end

#margin_topObject

Returns the value of attribute margin_top

Returns:

  • (Object)

    the current value of margin_top



1003
1004
1005
# File 'lib/rbcurse/app.rb', line 1003

def margin_top
  @margin_top
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



1003
1004
1005
# File 'lib/rbcurse/app.rb', line 1003

def width
  @width
end