In Files

  • tk/lib/tkextlib/bwidget/labelentry.rb

Parent

Included Modules

Class/Module Index [+]

Quicksearch

Tk::BWidget::LabelEntry

Public Instance Methods

entrybind(context, *args) click to toggle source

def entrybind(*args)

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

end

 
               # 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
            
entrybind_append(context, *args) click to toggle source

def #entrybind_append(*args)

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

end

 
               # 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
            
entrybind_remove(*args) click to toggle source
 
               # File tk/lib/tkextlib/bwidget/labelentry.rb, line 71
def entrybind_remove(*args)
  _bind_remove([path, 'bind'], *args)
  self
end
            
entrybindinfo(*args) click to toggle source
 
               # File tk/lib/tkextlib/bwidget/labelentry.rb, line 76
def entrybindinfo(*args)
  _bindinfo([path, 'bind'], *args)
  self
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus