develooper Front page | perl.tcltk | Postings from January 2012

Re: PERL Tkx Notebook tabs

Thread Previous
From:
Jeff Hobbs
Date:
January 16, 2012 15:11
Subject:
Re: PERL Tkx Notebook tabs
Message ID:
DF0E514A-A779-43C4-98F1-5691F4C5AD0E@activestate.com
On 2012-01-16, at 2:59 PM, gary sachs wrote:
> Using Tkx and Perl is there a way to put a close button in the tab next to the text?
> I can put an image next to the text, but I have yet to find a way to put a button.

I've seen it done, though a sample online appears to be older.  2 references I can find:

Adding close/detach buttons to ttk::notebook tabs
http://paste.tclers.tk/895?v=raw

Very interesting code sample: A Ttk Notebook with close buttons
http://mail.python.org/pipermail/tkinter-discuss/2010-December/002630.html

Jeff
Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About