Sha256: ae93691487f904b7610e444ba557345e896a386a9d5a0261a4a6899ab32c7c8e
Contents?: true
Size: 1 KB
Versions: 37
Compression:
Stored size: 1 KB
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
37 entries across 37 versions & 2 rubygems