diff options
Diffstat (limited to 'ext/tk/lib/tkcanvas.rb')
-rw-r--r-- | ext/tk/lib/tkcanvas.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/tk/lib/tkcanvas.rb b/ext/tk/lib/tkcanvas.rb index 5f4bdadaee..88a91ae5d2 100644 --- a/ext/tk/lib/tkcanvas.rb +++ b/ext/tk/lib/tkcanvas.rb @@ -781,6 +781,9 @@ class TkImage<TkObject def height number(tk_call('image', 'height', @path)) end + def inuse + bool(tk_call('image', 'inuse', @path)) + end def itemtype tk_call('image', 'type', @path) end |