more useful options | |
PerlMonks |
Re^3: Tk::Thumbnail --> callback helpby zzspectrez (Hermit) |
callback help NODE.owner = 36692 N.title = monktitlebar sitedoclet N.owner = 17342 --> |
on Apr 14, 2005 at 14:32 UTC ( [id://447812]=note: print w/replies, xml ) | Need Help?? |
>> I guess TK isn't that popular > Now, now, don't start yelling things that are not true... Oh... Just ignore that.. I sometimes forget sarcasm does not translate the same when written as opposed to spoken... It was ment more to be humourous... Usually responses on perlmonks seem to appear before I even submit the question.. :) > In your second example, you seem to have found a way, ( although there is no TK::JPEG)... TK::JPEG must be a windows Activestate thing. If I remove that use, the code will die with an error stating: couldn't recognize data in image file "???@@@" at c:/Perl/site/lib/Tk/Image.pm line 21."So logicly you think I just need to send the -format option... You add the -format option then get an error: image file format "JPEG" is not supported at C:/Perl/site/lib/Tk/Image.pm line 21.Why this is the case I do not know... But add the use TK::JPEG and everything works fine not -format required. I'm really new to Tk so am just figuring things out. > so what do you want to know? EVERYTHING!! :) I'm just looking for ideas on how others would deal with the situation. It's not hard to So Im trying to see if there is a way to reuse Tk::Thumbnail but add the features I need to it. Seems like I should be able to make use of the label -command to just visually make it apparent which image was selected. Or even better, would be to make it do something like my second example and add checkboxes. I would think you would have to make a subclass of the initial module. I have not been able to figure out how to go about either of these ways. Maybee, I am going about it wrong, and just need to reinvent the whole thing like Im doing in my second example. Thank you for your response and your suggestions! I wil have to look at your code ztkdb... zzSPECTREz
In Section
Seekers of Perl Wisdom
|
|