Hi Usman,Yes, you can. In Roassal2, there is no more PopupView. We have introduced the notion of group, and you can set group in the popup. Consider the following example:-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=| v els |
v := RTView new.
v @ RTDraggableView.
els := (RTBox new size: 20) elementsOn: (1 to: 100).
els + RTLabel.
els @ (RTPopup new group: [ :group :el |
el model timesRepeat: [
group add: (RTBox new size: 10; color: (Color purple alpha: 0.5)) element ].
RTGridLayout on: group. ]).
els @ RTDraggable.
v addAll: els.
RTGridLayout on: els.
v open.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=Here is the result with having the mouse above “6”.The key is the following:RTPopup new group: [ :group :el | … ]group is an empty group. You need to add what you want to be displayed in the popup. el is the element on which the mouse is above.Does this help?Cheers,Alexandre_______________________________________________Hello,
Is it possible to do popup views in Roassal 2 as we could do with ROPopupView?
I didn't find any example related to this in Roassal 2.
tx,
Usman
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev