Sha256: d59d6a9a52a930b91bf511b9f57fd51c7e2609683491655048f42f2cbba390d8

Contents?: true

Size: 1.3 KB

Versions: 30

Compression:

Stored size: 1.3 KB

Contents

module Fox
  #
  # An FXImageFrame is a simple frame widget that displays an FXImage image.
  #
  class FXImageFrame < FXFrame
  
    # The current image being displayed [FXImage]
    attr_accessor :image
    
    #
    # The current justification mode, some combination of the flags
    # +JUSTIFY_LEFT+, +JUSTIFY_RIGHT+, +JUSTIFY_TOP+ and +JUSTIFY_BOTTOM+ [Integer]
    #
    attr_accessor :justify
    
    #
    # Return an initialized FXImageFrame instance.
    #
    # ==== Parameters:
    #
    # +p+::         the parent window for this image frame [FXComposite]
    # +img+::       the image to display [FXImage]
    # +opts+::	    frame options [Integer]
    # +x+::	        initial x-position [Integer]
    # +y+::	        initial y-position [Integer]
    # +width+::	    initial width [Integer]
    # +height+::	  initial height [Integer]
    # +padLeft+::	  internal padding on the left side, in pixels [Integer]
    # +padRight+::	internal padding on the right side, in pixels [Integer]
    # +padTop+::	  internal padding on the top side, in pixels [Integer]
    # +padBottom+::	internal padding on the bottom side, in pixels [Integer]
    #
    def initialize(p, img, opts=FRAME_SUNKEN|FRAME_THICK, x=0, y=0, width=0, height=0, padLeft=0, padRight=0, padTop=0, padBottom=0) # :yields: theImageFrame
    end
  end
end

Version data entries

30 entries across 30 versions & 2 rubygems

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