Sha256: 95c593585df9a99b0dca0d91f6d1366b6a887b07736b5f2c8fc771d393253138

Contents?: true

Size: 1010 Bytes

Versions: 18

Compression:

Stored size: 1010 Bytes

Contents

module Fox
  #
  # The FXImageView widget displays a scrollable view of an image.
  #
  # === Image alignment styles
  #
  # +IMAGEVIEW_NORMAL+::	Normal mode is centered
  # +IMAGEVIEW_CENTER_X+::	Centered horizontally
  # +IMAGEVIEW_LEFT+::		Left-aligned
  # +IMAGEVIEW_RIGHT+::		Right-aligned
  # +IMAGEVIEW_CENTER_Y+::	Centered vertically
  # +IMAGEVIEW_TOP+::		Top-aligned
  # +IMAGEVIEW_BOTTOM+::	Bottom-aligned
  #
  # === Events
  #
  # +SEL_RIGHTBUTTONPRESS+::	sent when the right mouse button goes down; the message data is an FXEvent instance.
  # +SEL_RIGHTBUTTONRELEASE+::	sent when the right mouse button goes up; the message data is an FXEvent instance.
  #
  class FXImageView < FXScrollArea
  
    # The image [FXImage]
    attr_accessor :image
    
    # Current alignment [Integer]
    attr_accessor :alignment

    #
    # Return an initialized FXImageView instance.
    #
    def initialize(p, img=nil, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theImageView
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
fxruby-1.2.3 rdoc-sources/FXImageView.rb
fxruby-1.2.2 rdoc-sources/FXImageView.rb
fxruby-1.2.4 rdoc-sources/FXImageView.rb
fxruby-1.2.5 rdoc-sources/FXImageView.rb
fxruby-1.2.6 rdoc-sources/FXImageView.rb
fxruby-1.4.0 rdoc-sources/FXImageView.rb
fxruby-1.4.2 rdoc-sources/FXImageView.rb
fxruby-1.4.1 rdoc-sources/FXImageView.rb
fxruby-1.4.3 rdoc-sources/FXImageView.rb
fxruby-1.4.4 rdoc-sources/FXImageView.rb
fxruby-1.4.5 rdoc-sources/FXImageView.rb
fxruby-1.4.6 rdoc-sources/FXImageView.rb
fxruby-1.4.7 rdoc-sources/FXImageView.rb
fxruby-1.6.0 rdoc-sources/FXImageView.rb
fxruby-1.6.1 rdoc-sources/FXImageView.rb
fxruby-1.6.2 rdoc-sources/FXImageView.rb
fxruby-1.6.3 rdoc-sources/FXImageView.rb
fxruby-1.6.4 rdoc-sources/FXImageView.rb