Method: Gosu::TextInput#selection_start

Defined in:
rdoc/gosu.rb

#selection_startInteger

Returns the starting position of the currently selected text.

Returns:

  • (Integer)

    the starting position of the currently selected text.



730
731
732
# File 'rdoc/gosu.rb', line 730

def selection_start
  @selection_start
end