Codebase list ruby-fxruby / 8a909198-7fff-4596-a78d-571f487fdb51/upstream/1.6.45+git20221125.1.7d76b2a rdoc-sources / FXDockTitle.rb
8a909198-7fff-4596-a78d-571f487fdb51/upstream/1.6.45+git20221125.1.7d76b2a

Tree @8a909198-7fff-4596-a78d-571f487fdb51/upstream/1.6.45+git20221125.1.7d76b2a (Download .tar.gz)

FXDockTitle.rb @8a909198-7fff-4596-a78d-571f487fdb51/upstream/1.6.45+git20221125.1.7d76b2araw · history · blame

module Fox
  #
  # A dock title is used to move its container, a dock bar.
  # The dock title is also used simultaneously to provide a
  # caption above the dock bar.
  #
  class FXDockTitle < FXDockHandler
    # Caption text for the grip [String]
    attr_accessor :caption

    # Caption font {FXFont}
    attr_accessor :font

    # Caption color {FXColor}
    attr_accessor :captionColor

    # Current justification mode [Integer]
    attr_accessor :justify

    #
    # Construct dock bar title widget
    #
    def initialize(p, text, target=nil, selector=0, opts=FRAME_NORMAL|JUSTIFY_CENTER_X|JUSTIFY_CENTER_Y, x=0, y=0, width=0, height=0, padLeft=0, padRight=0, padTop=0, padBottom=0)
    end
  end
end