home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!lsl!snail
- From: snail@lsl.co.uk
- Newsgroups: comp.windows.x.motif
- Subject: Re: MrmNcreateCallback documentation?
- Message-ID: <1993Jan11.175141.2917@lsl.co.uk>
- Date: 11 Jan 93 17:51:41 GMT
- References: <1993Jan9.171824.3426@wam.umd.edu>
- Organization: Laser-Scan Ltd., Cambridge
- Lines: 25
-
- In article <1993Jan9.171824.3426@wam.umd.edu>, liuxia@wam.umd.edu (New VaxHacker) writes:
- >
- > I am trying to find the functionality of MrmNcreateCallback.
- > I looked at the UIL programming guide but couldn't find any explanation
- > for it. Any help would be greatly appreciated.
- >
- > liuxia@wam.umd.edu
-
- It gets called when the widget is created as a result of a call to
- MrmFetchWidget(TAG) or MrmFetchWidgetOverride(TAG). The callback passes the
- widget id, the client data TAG, and a callback structure to the callback.
- Your callback should then remember the widget id for use later.
-
- Hint, set the tag value up to be a pointer to an object, in the callback cast
- the tag to be the pointer and then store your widget id in this object. Bingo!
- no global variables. Easy.
-
- byeeee
- --
- snail@lsl.co.uk
-
- "Washing one's hands of the conflict between the powerful and the powerless
- means to side with the powerful, not to be Neutral."
- Quote by Freire.
- Poster by OXFAM.
-