Sha256: 2a9ab6dceecd9ea181c845abaf9f5434a156cd87d28f94003b9dd0263b3e6dd5

Contents?: true

Size: 1021 Bytes

Versions: 94

Compression:

Stored size: 1021 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, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theImageView
    end
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

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