Sha256: 257cb8c891f112b7a2d3a1a149365ed80dbf3005d70922c26b0b74ba4e1a91b4

Contents?: true

Size: 1.65 KB

Versions: 13

Compression:

Stored size: 1.65 KB

Contents

module Fox
  #
  # The tab book layout manager arranges pairs of children;
  # the even numbered children (0,2,4,...) are usually tab items,
  # and are placed on the top.  The odd numbered children are
  # usually layout managers, and are placed below; all the odd
  # numbered children are placed on top of each other, similar
  # to the switcher widget.  When the user presses one of the
  # tab items, the tab item is raised above the neighboring tabs,
  # and the corresponding panel is raised to the top.
  # Thus, a tab book can be used to present many GUI controls
  # in a small space by placing several panels on top of each
  # other and using tab items to select the desired panel.
  #
  class FXTabBook < FXTabBar
    #
    # Return an initialized FXTabBook instance.
    #
    # ==== Parameters:
    #
    # +p+::	the parent window for this tar book [FXComposite]
    # +tgt+::	the message target, if any, for this tar book [FXObject]
    # +sel+::	the message identifier for this tab book [Integer]
    # +opts+::	tar book options [Integer]
    # +x+::	initial x-position [Integer]
    # +y+::	initial y-position [Integer]
    # +w+::	initial width [Integer]
    # +h+::	initial height [Integer]
    # +pl+::	internal padding on the left side, in pixels [Integer]
    # +pr+::	internal padding on the right side, in pixels [Integer]
    # +pt+::	internal padding on the top side, in pixels [Integer]
    # +pb+::	internal padding on the bottom side, in pixels [Integer]
    #
    def initialize(p, tgt=nil, sel=0, opts=TABBOOK_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_SPACING, pr=DEFAULT_SPACING, pt=DEFAULT_SPACING, pb=DEFAULT_SPACING) # :yields: theTabBook
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fxruby-1.2.3 rdoc-sources/FXTabBook.rb
fxruby-1.2.2 rdoc-sources/FXTabBook.rb
fxruby-1.2.4 rdoc-sources/FXTabBook.rb
fxruby-1.2.5 rdoc-sources/FXTabBook.rb
fxruby-1.2.6 rdoc-sources/FXTabBook.rb
fxruby-1.4.0 rdoc-sources/FXTabBook.rb
fxruby-1.4.2 rdoc-sources/FXTabBook.rb
fxruby-1.4.1 rdoc-sources/FXTabBook.rb
fxruby-1.4.3 rdoc-sources/FXTabBook.rb
fxruby-1.4.4 rdoc-sources/FXTabBook.rb
fxruby-1.4.5 rdoc-sources/FXTabBook.rb
fxruby-1.4.6 rdoc-sources/FXTabBook.rb
fxruby-1.4.7 rdoc-sources/FXTabBook.rb