Skip to content
Snippets Groups Projects
FXImageFrame.rb 645 B
Newer Older
  • Learn to ignore specific revisions
  • 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.
        #
        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