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