Programing X11 with Carbon
Programing X11 with Carbon
- Subject: Programing X11 with Carbon
- From: Mamoru Yamanishi <email@hidden>
- Date: Mon, 24 Apr 2006 20:48:03 -0500
Hello,
I'm trying to add Carbon dialogs to RasMol (http://www.openrasmol.org),
which is X11 application. RasMol itself works fine with Apple's X11.
At the beginning, I made open/save file dialogs with XForms Library.
It worked well, but there was a problem to deal with UTF-8 file name
and "alias". Therefore, if possible, I want to add dialogs with Carbon.
I designed dialogs which works well within test application. For
example,
I tested with "X11CallCarbonAndCocoa" which I can find in Sample
Application.
However, my dialogs did not work with RasMol.
My dialog was shown behind of X11 application and both Rasmol (main
window)
and dialog did not accept any mouse click. I modified Rasmol to call
"DisplayDialogFromCarbon()" which is provided in X11CallCarbonAndCocoa
sample, the behavior was the same. Probably, it might be event relating
problem.
The main difference between RasMol and X11CallCarbonAndCocoa might
be Xlib only application and X toolkit application, I guess.
I am not professional programmer of X11 nor recent MacOS programmer.
I do not know how to figure out the problem.
I want to know when X11 (on which X11 event) gives a control to Carbon.
Or I want to have any suggestion.
--
Mamoru Yamanishi, Ph.D. <email@hidden>
Research Assistant Professor
Dr. Banerjee's Laboratory, Biochemistry Department
University of Nebraska-Lincoln
--
N131 Beadle Center, UNL 0664
Lincoln, NE 68588-0664
(402) 472-9507/4961(fax)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden