Class: GGLib::CheckBox::CheckedHk

Inherits:
Widget show all
Defined in:
lib/ext/widgets.rb

Instance Attribute Summary collapse

Attributes inherited from Widget

#buttonId, #defimage, #id, #name, #sleeping, #theme, #window, #zfocus

Attributes inherited from GGLib::Containable

#align, #container, #maxSize, #minSize, #offset, #padding, #valign

Attributes inherited from Tile

#id, #inclusive

Instance Method Summary collapse

Methods inherited from Widget

#acceptStickyFocus?, #acceptText?, #blur, #button, #clicked?, #del, #downevent, #draw, #event, #feedText, #focus, #hasFocus?, #hasStickyFocus?, #intDraw, #onClick, #onDelete, #onDrag, #onInitialize, #onKeyDown, #onKeyUp, #onMouseDown, #onMouseOut, #onMouseOver, #onRightClick, #onRightDrag, #onRightMouseDown, #onStickyBlur, #onStickyFocus, #over?, #sleep, #sleeping?, #stickFocus, #unstickFocus, #wakeUp

Methods inherited from Tile

#centerOn, #del, deleteAllInstances, deleteById, #each, #eachBorder, getAllInstances, getById, #height, #iTile, intersect?, #intersect?, #isInTile?, #move, #resize, setAllInstances, #setCoordinates, #setTile, #width, #xTile

Constructor Details

#initialize(x1, y1, x2, y2) ⇒ CheckedHk

Returns a new instance of CheckedHk.



375
376
377
# File 'lib/ext/widgets.rb', line 375

def initialize(x1,y1,x2,y2)
  @x1,@y1,@x2,@y2 = x1,y1,x2,y2
end

Instance Attribute Details

#x1Object (readonly)

Returns the value of attribute x1.



374
375
376
# File 'lib/ext/widgets.rb', line 374

def x1
  @x1
end

#x2Object (readonly)

Returns the value of attribute x2.



374
375
376
# File 'lib/ext/widgets.rb', line 374

def x2
  @x2
end

#y1Object (readonly)

Returns the value of attribute y1.



374
375
376
# File 'lib/ext/widgets.rb', line 374

def y1
  @y1
end

#y2Object (readonly)

Returns the value of attribute y2.



374
375
376
# File 'lib/ext/widgets.rb', line 374

def y2
  @y2
end