Class: Wx::TextCtrlHitTestResult

Inherits:
Enum
  • Object
show all
Defined in:
lib/wx/doc/gen/text_ctrl.rb

Overview

Describes the possible return values of Wx::TextCtrl#hit_test.

The element names correspond to the relationship between the point asked for and the character returned, e.g. TE_HT_BEFORE means that the point is before (leftward or upward) it and so on.

Constant Summary collapse

TE_HT_UNKNOWN =

Indicates that Wx::TextCtrl#hit_test is not implemented on this platform.

Wx::TextCtrlHitTestResult.new(-2)
TE_HT_BEFORE =

The point is before the character returned.

Wx::TextCtrlHitTestResult.new(-1)
TE_HT_ON_TEXT =

The point is directly on the character returned.

Wx::TextCtrlHitTestResult.new(0)
TE_HT_BELOW =

The point is below the last line of the control.

Wx::TextCtrlHitTestResult.new(1)
TE_HT_BEYOND =

The point is beyond the end of line containing the character returned.

Wx::TextCtrlHitTestResult.new(2)

Method Summary

Methods inherited from Enum

#!, #&, #<=>, [], #allbits?, #anybits?, #coerce, enumerators, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, non_distinct, #real?, set_non_distinct, #succ, #to_int, #to_s, #|, #~

Constructor Details

This class inherits a constructor from Wx::Enum

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Wx::Enum