Hi,

geo wrote:
> How is possible to add a popup menu in a gallery widget ?
Quite easy one :)

You can listen to the "contextmenu" event to get to know when the 
contextmenu should be showed. The contextmenu itself is an instance of 
"qx.ui.menu.Menu" which can be set with the "setContextMenu" method.

Just take a look at the API Viewer to get familiar with the existing 
methods and properties of the Gallery widget.
-> http://demo.qooxdoo.org/current/apiviewer/#qx.ui.embed.Gallery
Hint: the API Viewer is also capable to display the inherited 
properties/events/methods. Just click at the "Inherted" button at the 
upper right side of the application.

There is also a little wiki page available which introduces the usage of 
a contextmenu.
-> http://qooxdoo.org/documentation/0.7/snippets/implementing_a_contextmenu

I any questions are open left, don't hesitate to ask them :)

cheers,
   Alex

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to