Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • tk/lib/tkextlib/tcllib/ip_entry.rb

Class/Module Index [+]

Quicksearch

Tk::Tcllib::IP_Entry

Public Class Methods

package_name() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/ip_entry.rb, line 23
def self.package_name
  PACKAGE_NAME
end
            
package_version() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/ip_entry.rb, line 27
def self.package_version
  begin
    TkPackage.require('ipentry')
  rescue
    ''
  end
end
            

Public Instance Methods

complete?() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/ip_entry.rb, line 64
def complete?
  bool(tk_send_without_enc('complete'))
end
            
insert(*ip) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/ip_entry.rb, line 68
def insert(*ip)
  tk_send_without_enc('insert', array2tk_list(ip.flatten))
end