Search found 2 matches

by kula
Mon Jun 02, 2008 8:20 pm
Forum: Developer's Forum for UNIX and Linux
Topic: How do I use in an Xt app?
Replies: 1
Views: 27815

It Works Now!

I waited around and worked on another project, but after reading the Xt source code!! the path was clear (I guess nobody is writing an Xt based Linux app?) The trick is to use XtSetEventDispatcher(dpy, ClientMessage, myDispatcher) instead of XtAddEventHandler. myDispatcher is only called when the XE...
by kula
Wed May 28, 2008 8:01 am
Forum: Developer's Forum for UNIX and Linux
Topic: How do I use in an Xt app?
Replies: 1
Views: 27815

How do I use in an Xt app?

Howdy, I tried this: (I tried the XtAddEventHandler before and after MagellanInit) XtAddEventHandler(glWidget,NoEventMask,True,myEventHandler,0); if ( !MagellanInit( dpy, glWidget ) ) { fprintf( stderr, "No driver is running. \n" ); } XtAppMainLoop(app); return 1; . . . MagellanInit succeeds, but my...