Codebase list ruby-fxruby / run/8a909198-7fff-4596-a78d-571f487fdb51/upstream rdoc-sources / FXMenuTitle.rb
run/8a909198-7fff-4596-a78d-571f487fdb51/upstream

Tree @run/8a909198-7fff-4596-a78d-571f487fdb51/upstream (Download .tar.gz)

FXMenuTitle.rb @run/8a909198-7fff-4596-a78d-571f487fdb51/upstreamraw · history · blame

module Fox
  #
  # A menu title is a child of a menu bar which is responsible
  # for popping up a pulldown menu.
  #
  # === Events
  #
  # The following messages are sent by FXMenuTitle to its target:
  #
  # +SEL_KEYPRESS+::  sent when a key goes down; the message data is an FXEvent instance.
  # +SEL_KEYRELEASE+::  sent when a key goes up; the message data is an FXEvent instance.
  # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
  # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
  #
  class FXMenuTitle < FXMenuCaption

    # The popup menu {FXPopup}
    attr_accessor :menu

    #
    # Constructor
    #
    def initialize(parent, text, icon=nil, popupMenu=nil, opts=0) # :yields: theMenuTitle
    end
  end
end