LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-14-2005, 07:25 AM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
Delete widget in tcl/tk


I have a widget called .top.text that contains some children (pixmaps).

I want to redraw the pixmaps so I thought I should just delete it and then recreate it with new pixmaps.

But how do I delete a widget?

"pack forget <widget>" don't do it. The widget still exists although it is not packed.
 
Old 02-14-2005, 07:31 AM   #2
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 50
Found it! It was "destroy" I was looking for I think.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get widget jrafalek Programming 1 03-06-2006 08:33 PM
Tcl/Tk: Set Value of Text Widget Kenji Miyamoto Programming 1 06-26-2005 08:53 PM
The name of this widget NightKids Linux - Newbie 2 06-06-2005 10:57 AM
Standard output - Tcl/Tk widget liguorir Linux - Software 0 06-03-2004 01:15 PM
Tried to delete file as root but it says I don't have permission to delete it! beejayzed Mandriva 23 03-12-2004 02:46 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration