[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tk listbox insert problem?
- To: inferno@inter2.interstice.com
- Subject: tk listbox insert problem?
- From: tm@netcom.com (Toshiyasu Morita)
I've been hacking on the hello sample, and I'm trying to construct a listbox with some text in it. Here's a code fragment: tk->cmd(t, "listbox .l -height 60 -width 200"); tk->cmd(t, ".l insert end \"Mary had a little lamb\""); tk->cmd(t, "pack .l"); tk->cmd(t, "update"); Unfortunately, I wind up with a listbox which contains: "Mary had a little lamb" which is not what I wanted. I'm trying to achieve: Mary had a little lamb within a textbox. What am I doing wrong? Toshi
- Prev by Date: Re: a bit more on Native Inferno for the PC?
- Next by Date: Re: a bit more on Native Inferno for the PC?
- Prev by thread: Re: a bit more on Native Inferno for the PC?
- Next by thread: Re: tk listbox insert problem?
- Index(es):