Sha256: 762e55d87743f82595553c4f0d376c39b30a78d170b3ca010daec4a757047db0

Contents?: true

Size: 559 Bytes

Versions: 9

Compression:

Stored size: 559 Bytes

Contents

module Tk
  module Tile
    # Separator widget displays a horizontal or vertical separator bar.
    class Separator < Widget
      def self.tk_command; 'ttk::separator'; end
      include TileWidget, Cget, Configure

      # Specifies the orientation of the separator.
      # horizontal or vertical
      def orient(orientation = None)
        if None == orientation
          cget(:orient)
        else
          configure orient: orientation
        end
      end

      def identify(x, y)
        execute_only(:identify, x, y)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ffi-tk-2010.08.23 lib/ffi-tk/widget/tile/separator.rb
ffi-tk-2010.08 lib/ffi-tk/widget/tile/separator.rb
ffi-tk-2010.06 lib/ffi-tk/widget/tile/separator.rb
ffi-tk-2010.03 lib/ffi-tk/widget/tile/separator.rb
ffi-tk-2010.02 lib/ffi-tk/widget/tile/separator.rb
ffi-tk-2010.01 lib/ffi-tk/widget/tile/separator.rb
ffi-tk-2010.01.02 lib/ffi-tk/widget/tile/separator.rb
ffi-tk-2009.12.14 lib/ffi-tk/widget/tile/separator.rb
ffi-tk-2009.11.29 lib/ffi-tk/widget/tile/separator.rb