class Tk::Tile::Separator

Separator widget displays a horizontal or vertical separator bar.

Public Class Methods

tk_command() click to toggle source
# File lib/ffi-tk/widget/tile/separator.rb, line 6
def self.tk_command
  'ttk::separator'
end

Public Instance Methods

identify(x, y) click to toggle source
# File lib/ffi-tk/widget/tile/separator.rb, line 21
def identify(x, y)
  execute_only(:identify, x, y)
end
orient(orientation = None) click to toggle source

Specifies the orientation of the separator. horizontal or vertical

# File lib/ffi-tk/widget/tile/separator.rb, line 13
def orient(orientation = None)
  if None == orientation
    cget(:orient)
  else
    configure orient: orientation
  end
end