Hi,
suppose something like the centralized menus from mac: a bunch of browsers and just one
menu, enabling/disabling it's options depending the opened browsers.
Cheers,
Esteban
pd: nevertheless, first thing I have to do is to review my design, to see if I can
overcome this problem :)
El 26/10/2010, a las 8:18a.m., Tudor Girba escribió:
Hi Esteban,
On 25 Oct 2010, at 23:50, Esteban Lorenzano wrote:
Ok... I'll try to explain my scenario, I
think I must be something wrong:
1) I'm embedding a browser in my own window (I'm not opening them using
#openOn:). btw, this leads to an override in GLMMorphicPaneRenderer>>#render: to
check if window is nil)
2) Outside the glamour browser, in another place of the window, I have a bunch of
buttons.
3) that buttons should be enabled/disabled depending some of the selections of the
browser
I hope this made my needs clearer... and of course, if I'm using glamour in a wrong
way, please let me know.
As I understand, you need announcements from inside Glamour. In this case you should try
to not depend on the announcements specific to Morphic, because those can change all the
time (they are supposed to be internal). Instead, if you must react to something inside,
you should always go through the model of Glamour. Unfortunately, at the moment, there is
no aggregator of all announcements inside a browser, but you can try to hook to the
existing announcements. In particular, you are interested in getting GLMContextChanged
from the presentations inside the panes of the browser (look at references, in tests).
Still, I would like to ask about the use case. Why would you need to embed this browser
in an external context. Is it because that context is not handleable by Glamour?
Cheers,
Doru
Cheers,
Esteban
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Value is always contextual."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev