Class: Wx::Position
- Inherits:
-
Object
- Object
- Wx::Position
- Defined in:
- lib/wx_sugar/wx_classes/position.rb
Instance Method Summary collapse
-
#default? ⇒ Boolean
Checks if this equal to Wx::DEFAULT_POSITION (i.e. no explicit co-ordinates set).
Instance Method Details
#default? ⇒ Boolean
Checks if this equal to Wx::DEFAULT_POSITION (i.e. no explicit co-ordinates set)
4 5 6 |
# File 'lib/wx_sugar/wx_classes/position.rb', line 4 def default? x == -1 and y == -1 end |