Re: Group leader [message #13175 is a reply to message #13083] |
Wed, 14 October 1998 00:00   |
David Foster
Messages: 341 Registered: January 1996
|
Senior Member |
|
|
Imanol Echave wrote:
>
> Hi people:
>
> I have a little question: What is the difference between the GROUP_LEADER
> keyword on XMANAGER and the same keyword used on a top-level base? Do they work
> on the same way?
Imanol -
As far as I know, they serve the same purpose. the GROUP_LEADER
keyword to WIDGET_BASE() is more recent, and it's my impression
that it is "preferable" to use the keyword here rather than in
the XMANAGER call.
I have a modal popup information widget that just comes up and
says "Please wait...busy doing < >...", and then after some processing
the widget is killed by the calling module. In this case, since this
widget doesn't generate any events, you don't register it with
XMANAGER. But I *do* want it to have a GROUP_LEADER, so I declare
it in the call to WIDGET_BASE() for the popup widget.
Dave
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
|
|
|