Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Tk Menu Menubutton directionby Anonymous Monk |
on Jan 28, 2019 at 17:19 UTC ( [id://1229078]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: Hello I have the following quite complex pop-up menu that - for certain geometry-related circumstances - I want to open always "above". The popup menu is attached to an icon.
I could not find any option allowing me this. Have I overlooked something? As an alternative, I looked into Menubutton. Not quite sure as it relates to Menu. Menubutton has a -direction => 'above' option. It seems it cannot be attached to an icon, but I could live with it. I came out with this simple code (partly derived from the widget examples):
However, no matter how hard I try, I cannot put my buttons structure in the script snippet. Any help would be very much appreciated. I know everything is there, but...
Back to
Seekers of Perl Wisdom
|
|