Class Tk::BWidget::LabelEntry
In: tk/lib/tkextlib/bwidget/labelentry.rb
Parent: TkEntry

Methods

Included Modules

Scrollable

Constants

TkCommandNames = ['LabelEntry'.freeze].freeze
WidgetClassName = 'LabelEntry'.freeze

Public Instance methods

def entrybind(*args)

  _bind([path, 'bind'], *args)
  self

end

[Source]

# File tk/lib/tkextlib/bwidget/labelentry.rb, line 45
  def entrybind(context, *args)
    # if args[0].kind_of?(Proc) || args[0].kind_of?(Method)
    if TkComm._callback_entry?(args[0]) || !block_given?
      cmd = args.shift
    else
      cmd = Proc.new
    end
    _bind([path, 'bind'], context, cmd, *args)
    self
  end

def entrybind_append(*args)

  _bind_append([path, 'bind'], *args)
  self

end

[Source]

# File tk/lib/tkextlib/bwidget/labelentry.rb, line 60
  def entrybind_append(context, *args)
    #if args[0].kind_of?(Proc) || args[0].kind_of?(Method)
    if TkComm._callback_entry?(args[0]) || !block_given?
      cmd = args.shift
    else
      cmd = Proc.new
    end
    _bind_append([path, 'bind'], context, cmd, *args)
    self
  end

[Source]

# File tk/lib/tkextlib/bwidget/labelentry.rb, line 71
  def entrybind_remove(*args)
    _bind_remove([path, 'bind'], *args)
    self
  end

[Source]

# File tk/lib/tkextlib/bwidget/labelentry.rb, line 76
  def entrybindinfo(*args)
    _bindinfo([path, 'bind'], *args)
    self
  end

[Validate]

ruby-doc.org is hosted and maintained by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. The site was created in 2002 as part of the Ruby Documentation Project to promote the Ruby language and to help other Ruby hackers.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.