Class: Tk::Iwidgets::Datefield (Ruby 2.3.4)

In Files

  • tk/lib/tkextlib/iwidgets/datefield.rb

Class/Module Index [+]

Quicksearch

Tk::Iwidgets::Datefield

Public Instance Methods

get()
Alias for: get_string
get_clicks()
 
               # File tk/lib/tkextlib/iwidgets/datefield.rb, line 42
def get_clicks
  number(tk_call(@path, 'get', '-clicks'))
end
            
get_string()
 
               # File tk/lib/tkextlib/iwidgets/datefield.rb, line 37
def get_string
  tk_call(@path, 'get', '-string')
end
            
Also aliased as: get
isvalid?()
Alias for: valid?
show(date=None)
 
               # File tk/lib/tkextlib/iwidgets/datefield.rb, line 51
def show(date=None)
  tk_call(@path, 'show', date)
  self
end
            
show_now()
 
               # File tk/lib/tkextlib/iwidgets/datefield.rb, line 55
def show_now
  tk_call(@path, 'show', 'now')
  self
end
            
valid?()
 
               # File tk/lib/tkextlib/iwidgets/datefield.rb, line 46
def valid?
  bool(tk_call(@path, 'isvalid'))
end
            
Also aliased as: isvalid?