| Description: |
Logged from the Tcler's Chat:
[21:28]
<r4>
hi, can anybody tell me if it is possible to create own
cursor in tclet?
[21:28]
<r4>
is it possible ?
[21:28]
dkf
Don't think so. Cursors are messy.
[21:28]
dkf
[21:28]
snichols
cursor? That sounds like a DBMS thing.
[21:29]
dkf
snichols: This is a Tk widget thing The -cursor option.
[21:29]
<r4>
no no mouse cursor i meant
[21:30]
snichols
ok. thanks. I was thinking of the cursor used to
navigate a result set in a SQL stored procedure.
[21:30]
dkf
Someone sometime needs to sit down and clean that mess
out so you can define them without external files. But
that's not been done yet.
[21:30]
dkf
Sorry.
[21:32]
<r4>
[21:32]
<r4>
is any hack possible ?
[21:32]
dkf
Tricky in a tclet
[21:33]
<r4>
am working on some case tool and want to enable it as tclet
[21:33]
<r4>
and mouse cursor is one of important things for this
[21:33]
dgp possibly hasn't really left.
[21:33]
dkf
The most common hack is to hide the cursor and use a
shaped tiny window
[21:33]
<r4>
and what about replacing data ? in a loaded cursor ?
could it be done ?
[21:33]
dkf
But you need an extension to do that and it definitely
won't work in a tclet.
[21:33]
<r4>
yop
[21:33]
<r4>
but how to hide cursor ?
[21:34]
dkf
Try setting it to 'none' first
[21:34]
bschwarz
-cursor no
[21:34]
<r4>
in unix? (no 'no' cursor defined )
[21:35]
dgp saunters in.
[21:35]
dkf
IMO that's a bug (even though it's been that way for a
long time)
[21:35]
bschwarz
windows
[21:35]
<r4>
none doesnt work too ..
[21:35]
<r4>
m$ sukz
[21:36]
bschwarz
maybe -cursor {} ?
[21:36]
dkf
Actually MS is worse than that.
[21:36]
<r4>
i found a trick how to do none cursor in nix, but it
was through loading empty image .. so nothing for tclet
[21:36]
<r4>
hehe
[21:36]
<r4>
no way -cursor {} is the default one
[21:37]
jenglish
There's a bug in the manpage:
[21:37]
dkf
Tclet's are a good reason why the current behaviour is
wrong and insufficient.
[21:37]
jenglish
Under PORTABILITY ISSUES - Windows - "The *no* cursor
can be specified to eliminate the cursor."
[21:37]
<r4>
??
[21:37]
jenglish
Which is just plain wrong. The "no" cursor is a
slashed circle (meaning "No!")
[21:37]
dkf
Filing a bug...
[21:38]
bschwarz
yeah, it doesn't get rid of it
[21:38]
<r4>
sorry am a quite new in tcl , am c++ native speaker
[21:38]
dkf
That's OK.
[21:38]
dkf
You've come across a grotty spot where things aren't
good enough.
[21:38]
bschwarz
couldn't he somehow override the cursor image within
his Tcl script thought?
[21:39]
jenglish
-cursor {},which is the default, means "inherit the
cursor from the parent window".
|