blob: 30c72a1351e170a1132069388db9929ef1b8caf7 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/env ruby
# frozen_string_literal: false
require 'tk'
require 'tkextlib/iwidgets'
df = Tk::Iwidgets::Datefield.new(:command=>proc{puts(df.get)})
df.pack(:fill=>:x, :expand=>true, :padx=>10, :pady=>10)
Tk.mainloop
|