Sha256: de27eb61b0c9f83eb1bef4007ee62ed4a8f4227b6ce34b6bc05278df5d139889

Contents?: true

Size: 1.07 KB

Versions: 5

Compression:

Stored size: 1.07 KB

Contents

module Fox
  #
  # Base frame
  #
  # === Constants
  #
  # +DEFAULT_PAD+::   Default padding
  #
  class FXFrame < FXWindow
  
    # Frame style [Integer]
    attr_accessor :frameStyle
    
    # Border width, in pixels [Integer]
    attr_reader	:borderWidth
    
    # Top interior padding, in pixels [Integer]
    attr_accessor :padTop
    
    # Bottom interior padding, in pixels [Integer]
    attr_accessor :padBottom
    
    # Left interior padding, in pixels [Integer]
    attr_accessor :padLeft
    
    # Right interior padding, in pixels [Integer]
    attr_accessor :padRight
    
    # Highlight color [FXColor]
    attr_accessor :hiliteColor
    
    # Shadow color [FXColor]
    attr_accessor :shadowColor
    
    # Border color [FXColor]
    attr_accessor :borderColor
    
    # Base GUI color [FXColor]
    attr_accessor :baseColor

    #
    # Construct frame window.
    #
    def initialize(parent, opts=FRAME_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theFrame
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fxruby-1.2.2 rdoc-sources/FXFrame.rb
fxruby-1.2.3 rdoc-sources/FXFrame.rb
fxruby-1.2.4 rdoc-sources/FXFrame.rb
fxruby-1.2.5 rdoc-sources/FXFrame.rb
fxruby-1.2.6 rdoc-sources/FXFrame.rb