Re: A widget for the user's editor of choice
- From: Schelte Bron <nospam@xxxxxxxxxx>
- Date: Fri, 29 Jun 2007 15:13:30 +0200
Jan Kandziora wrote:
package require TkThe problem seems to be that [winfo id .f] returns a hex number
frame .f -container yes
pack .f -fill both -expand yes
exec xterm -into [ winfo id .f ] -e $env(EDITOR) &
However, the xterm is not reparented into the frame on my machine.
Does anyone know what I left out?
(something like 0x3e00005). The xterm man page indicates that it
wants a decimal number.
This works:
exec xterm -into [expr {[winfo id .f]}] -e $env(EDITOR) &
Schelte.
--
set Reply-To [string map {nospam schelte} $header(From)]
.
- Follow-Ups:
- Re: A widget for the user's editor of choice
- From: Jan Kandziora
- Re: A widget for the user's editor of choice
- References:
- A widget for the user's editor of choice
- From: Lan
- Re: A widget for the user's editor of choice
- From: Jan Kandziora
- A widget for the user's editor of choice
- Prev by Date: Re: A widget for the user's editor of choice
- Next by Date: What's the magic to using Incr Tcl
- Previous by thread: Re: A widget for the user's editor of choice
- Next by thread: Re: A widget for the user's editor of choice
- Index(es):
Relevant Pages
|