How to use gs:menu() as a pop-up inside a frame/canvas?
Ed Landa
elanda@REDACTED
Sun Jan 27 00:11:58 CET 2002
I've been trying to come up with the solution to this problem all day.
Unfortunately, the docs only seem to hint at this feature being available and I
can't find any similar contributed code anywhere.
How can I create a pop-up menu inside of a frame? I have a canvas with several
items on it, and I would like to bring up a menu when a user right-clicks on an
item. I can build the menu just fine, but it never displays. I've tried
config'ing the object with {map, true}, {active,true} and {post_at,{X,Y}} in
all different combinations, but nothing happens.
While looking thru the gs source, I noticed some comments about comments about
some config options being "not implemented". Could it be that the pop-up stuff
was never quite completed?
Any assistance would be greatly appreciated. I can provide my test code if
needed.
Thanks,
Ed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20020126/e6590dee/attachment.bin>
More information about the erlang-questions
mailing list