Sha256: 42511b7ee8281e563e19094db68708d2a12cc772b62ae7c9606cc82bef11b6a0

Contents?: true

Size: 840 Bytes

Versions: 5

Compression:

Stored size: 840 Bytes

Contents

module Fox
  #
  # Menu bar
  #
  class FXMenuBar < FXToolBar
    #
    # Construct a floatable menubar.
    # Normally, the menubar is docked under window _p_.
    # When floated, the menubar can be docked under window _q_, which is
    # typically an FXToolBarShell window.
    #
    def initialize(p, q, opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, x=0, y=0, width=0, height=0, padLeft=3, padRight=3, padTop=2, padBottom=2, hSpacing=DEFAULT_SPACING, vSpacing=DEFAULT_SPACING) # :yields: theMenuBar
    end
  
    #
    # Construct a non-floatable menubar.
    # The menubar can not be undocked.
    #
    def initialize(parent, opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, x=0, y=0, width=0, height=0, padLeft=3, padRight=3, padTop=2, padBottom=2, hSpacing=DEFAULT_SPACING, vSpacing=DEFAULT_SPACING) # :yields: theMenuBar
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fxruby-1.2.2 rdoc-sources/FXMenuBar.rb
fxruby-1.2.3 rdoc-sources/FXMenuBar.rb
fxruby-1.2.4 rdoc-sources/FXMenuBar.rb
fxruby-1.2.5 rdoc-sources/FXMenuBar.rb
fxruby-1.2.6 rdoc-sources/FXMenuBar.rb