Sha256: 70145226797bdd62dbf6acff70a733b205cd43934eba1a43d5526c98a76b9b8a

Contents?: true

Size: 1.09 KB

Versions: 94

Compression:

Stored size: 1.09 KB

Contents

module Fox
  #
  # Popup window
  #
  # === Popup internal orientation
  #
  # +POPUP_VERTICAL+::          Vertical orientation
  # +POPUP_HORIZONTAL+::        Horizontal orientation
  # +POPUP_SHRINKWRAP+::        Shrinkwrap to content
  #
  class FXPopup < FXShell

    # Frame style [Integer]
    attr_accessor :frameStyle

    # Border width [Integer]
    attr_reader :borderWidth

    # Highlight color {FXColor}
    attr_accessor :hiliteColor

    # Shadow color {FXColor}
    attr_accessor :shadowColor

    # Border color {FXColor}
    attr_accessor :borderColor

    # Base color {FXColor}
    attr_accessor :baseColor

    # Current grab owner {FXWindow}
    attr_reader :grabOwner

    # Popup orientation [Integer]
    attr_accessor :orientation

    # Shrinkwrap mode [Boolean]
    attr_accessor :shrinkWrap

    #
    # Construct popup pane
    #
    def initialize(owner, opts=POPUP_VERTICAL|FRAME_RAISED|FRAME_THICK, x=0, y=0, width=0, height=0) # :yields: thePopup
    end

    # Pop it up
    def popup(grabto, x, y, width=0, height=0); end

    # Pop it down
    def popdown(); end
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
fxruby-1.6.48 rdoc-sources/FXPopup.rb
fxruby-1.6.48-x64-mingw32 rdoc-sources/FXPopup.rb
fxruby-1.6.48-x64-mingw-ucrt rdoc-sources/FXPopup.rb
fxruby-1.6.48-x86-mingw32 rdoc-sources/FXPopup.rb
fxruby-1.6.47 rdoc-sources/FXPopup.rb
fxruby-1.6.47-x64-mingw-ucrt rdoc-sources/FXPopup.rb
fxruby-1.6.47-x64-mingw32 rdoc-sources/FXPopup.rb
fxruby-1.6.47-x86-mingw32 rdoc-sources/FXPopup.rb
fxruby-1.6.46 rdoc-sources/FXPopup.rb
fxruby-1.6.46-x64-mingw32 rdoc-sources/FXPopup.rb
fxruby-1.6.46-x64-mingw-ucrt rdoc-sources/FXPopup.rb
fxruby-1.6.46-x86-mingw32 rdoc-sources/FXPopup.rb
fxruby-1.6.45 rdoc-sources/FXPopup.rb
fxruby-1.6.45-x64-mingw32 rdoc-sources/FXPopup.rb
fxruby-1.6.45-x64-mingw-ucrt rdoc-sources/FXPopup.rb
fxruby-1.6.45-x86-mingw32 rdoc-sources/FXPopup.rb
fxruby-1.6.44 rdoc-sources/FXPopup.rb
fxruby-1.6.44-x64-mingw32 rdoc-sources/FXPopup.rb
fxruby-1.6.44-x86-mingw32 rdoc-sources/FXPopup.rb
fxruby-1.6.43 rdoc-sources/FXPopup.rb