Sha256: 492e175d87397ce4b4c955b13199cca60d76f507016c3c404998bf85e4dca6e8

Contents?: true

Size: 1.66 KB

Versions: 37

Compression:

Stored size: 1.66 KB

Contents

module Fox
  #
  # The FXScrollWindow widget scrolls an arbitrary child window.
  # Use the scroll window when parts of the user interface itself
  # need to be scrolled, for example when applications need to run
  # on small screens.  The scroll window observes some layout hints of 
  # its content-window; it observes +LAYOUT_FIX_WIDTH+, +LAYOUT_FIX_HEIGHT+
  # at all times.  The hints +LAYOUT_FILL_X+, +LAYOUT_LEFT+, +LAYOUT_RIGHT+, 
  # +LAYOUT_CENTER_X+, as well as +LAYOUT_FILL_Y+, +LAYOUT_TOP+, +LAYOUT_BOTTOM+, 
  # +LAYOUT_CENTER_Y+ are however only interpreted if the content size
  # is smaller than the viewport size, because if the content size is
  # larger than the viewport size, then content must be scrolled.
  # Note that this means that the content window's position is not 
  # necessarily equal to the scroll position of the scroll window!
  #
  class FXScrollWindow < FXScrollArea
    #
    # Return an initialized FXScrollWindow instance.
    #
    # ==== Parameters:
    #
    # +p+::	the parent window for this scroll window [FXComposite]
    # +opts+::	the options [Integer]
    # +x+::	initial x-position, when the +LAYOUT_FIX_X+ layout hint is in effect [Integer]
    # +y+::	initial y-position, when the +LAYOUT_FIX_Y+ layout hint is in effect [Integer]
    # +width+::	initial width, when the +LAYOUT_FIX_WIDTH+ layout hint is in effect [Integer]
    # +height+::	initial height, when the +LAYOUT_FIX_HEIGHT+ layout hint is in effect [Integer]
    #
    def initialize(p, opts=0, x=0, y=0, width=0, height=0) # :yields: theScrollWindow
    end
  
    #
    # Return a reference to the contents window (an FXWindow instance).
    #
    def contentWindow; end
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
fxruby-1.6.22.pre2-x86-mingw32 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.22.pre2 rdoc-sources/FXScrollWindow.rb
fxrubi-1.6.22.pre1-x86-mingw32 rdoc-sources/FXScrollWindow.rb
fxrubi-1.6.22.pre1 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.20-x86-mingw32 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.20-x86-linux rdoc-sources/FXScrollWindow.rb
fxruby-1.6.20 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.20-universal-darwin-10 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.19-x86-mingw32 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.14-mswin32 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.13-mswin32 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.10 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.11 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.12 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.13 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.14-universal-darwin-9 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.14 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.15-universal-darwin-9 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.15-x86-mswin32-60 rdoc-sources/FXScrollWindow.rb
fxruby-1.6.15 rdoc-sources/FXScrollWindow.rb