Class: Wx::MouseButton

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

Overview

Symbolic names for the mouse buttons.

Constant Summary collapse

MOUSE_BTN_ANY =

Any mouse button, means to check for any button being pressed for example.

Wx::MouseButton.new(-1)
MOUSE_BTN_NONE =

None of the mouse buttons.

Wx::MouseButton.new(0)
MOUSE_BTN_LEFT =

Left mouse button.

Wx::MouseButton.new(1)
MOUSE_BTN_MIDDLE =

Middle mouse button.

Wx::MouseButton.new(2)
MOUSE_BTN_RIGHT =

Right mouse button.

Wx::MouseButton.new(3)
MOUSE_BTN_AUX1 =

First additional mouse button.

Wx::MouseButton.new(4)
MOUSE_BTN_AUX2 =

Second additional mouse button.

Wx::MouseButton.new(5)
MOUSE_BTN_MAX =
Wx::MouseButton.new(6)

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