summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tkextlib/tcllib/ip_entry.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tkextlib/tcllib/ip_entry.rb')
-rw-r--r--ext/tk/lib/tkextlib/tcllib/ip_entry.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/tcllib/ip_entry.rb b/ext/tk/lib/tkextlib/tcllib/ip_entry.rb
index e24d1ba147..8c9e0bd683 100644
--- a/ext/tk/lib/tkextlib/tcllib/ip_entry.rb
+++ b/ext/tk/lib/tkextlib/tcllib/ip_entry.rb
@@ -51,6 +51,11 @@ class Tk::Tcllib::IP_Entry
end
private :create_self
+ def __strval_optkeys
+ super() << 'fg' << 'bg' << 'insertbackground'
+ end
+ private :__strval_optkeys
+
def complete?
bool(tk_send_without_enc('complete'))
end