in reply to Re^3: A Perl Tk::NoteBook question
in thread A Perl Tk::NoteBook question
Hi Zentara,
Thank you for those two possible solutions. It took me sometime to go through your code as I'm new to Perl Tk. Although I haven't understood fully the Pixmap things in great detail, I'll try to check if there is any docs on it (the Tk docs on this is not detailed enough for newbie like me)
I think, it would have been much better if there was a way to add image (say a tick-mark) before the text string on the tab only when that page is raised and remove the image. But I realize that the 'add' and 'pageconfigure' methods in docs says that -image option is used only when -label is not specified.
Therefore I'll have to stick to the -background and -inactivebackground options (which you specified in this response)to aesthetically distinguish between the active page and the inactive ones.
Thanks again!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: A Perl Tk::NoteBook question
by zentara (Cardinal) on Jul 10, 2014 at 09:48 UTC | |
by Anonymous Monk on Jul 10, 2014 at 12:09 UTC |