Class: FX::MenuCommand

Inherits:
Fox::FXMenuCommand
  • Object
show all
Includes:
MiddleBtn, Responder
Defined in:
lib/libGUIb16.rb,
lib/libGUIb14.rb

Instance Method Summary collapse

Methods included from MiddleBtn

#handleMMB_Events, #onMiddleBtnPress, #onMiddleBtnRelease

Constructor Details

#initialize(p, text = "MenuCommand") ⇒ MenuCommand

Returns a new instance of MenuCommand.



669
670
671
672
673
# File 'lib/libGUIb16.rb', line 669

def initialize(p, text = "MenuCommand")
  @text = text if Fox.fxrubyversion == "1.4.4"
  super
  handleMMB_Events
end