Tk text widget and tk_textCut

N

Nigel Wilkinson

Hi folks

In Tk there is a tk_textCut command that can be used with the text widget.
Can anyone help me in how to use this with Ruby/Tk

Cheers
Nigel
 
H

Hidetoshi NAGAI

From: Nigel Wilkinson <[email protected]>
Subject: Tk text widget and tk_textCut
Date: Thu, 30 Jun 2005 05:19:25 +0900
Message-ID: said:
In Tk there is a tk_textCut command that can be used with the text widget.
Can anyone help me in how to use this with Ruby/Tk

Which version of Ruby/Tk do you use?
On 1.8.1 or later, the command is supported.
-----------------------------------------------------------
$ grep -A 3 -B 3 textCut /usr/local/lib/ruby/1.8/tk/*.rb
/usr/local/lib/ruby/1.8/tk/text.rb-
/usr/local/lib/ruby/1.8/tk/text.rb- def text_cut
/usr/local/lib/ruby/1.8/tk/text.rb- # Tk8.4 feature
/usr/local/lib/ruby/1.8/tk/text.rb: tk_call_without_enc('tk_textCut', @path)
/usr/local/lib/ruby/1.8/tk/text.rb- self
/usr/local/lib/ruby/1.8/tk/text.rb- end
/usr/local/lib/ruby/1.8/tk/text.rb-
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,738
Latest member
JinaMacvit

Latest Threads

Top