blob: 5eb944d081453604112e06bedc5d87735df929c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#
# tkextlib/iwidgets/spinint.rb
# by Hidetoshi NAGAI ([email protected])
#
require 'tk'
require 'tkextlib/iwidgets.rb'
module Tk
module Iwidgets
class Spinint < Tk::Iwidgets::Spinner
end
end
end
class Tk::Iwidgets::Spinint
TkCommandNames = ['::iwidgets::spinint'.freeze].freeze
WidgetClassName = 'Spinint'.freeze
WidgetClassNames[WidgetClassName] = self
def __boolval_optkeys
super() << 'wrap'
end
private :__boolval_optkeys
def __numlistval_optkeys
super() << 'range'
end
private :__numlistval_optkeys
end
|