Re: Programing X11 with Carbon
Re: Programing X11 with Carbon
- Subject: Re: Programing X11 with Carbon
- From: Scott Buchanan <email@hidden>
- Date: Mon, 24 Apr 2006 19:23:05 -0700
While I don't know your specific situation the problem seems similar
to pinable windows in Xview. The solutions is to change how Xquartz
deals with control of mouse clicks using the clickthru default. Type
the following in the a terminal and see if it helps.
defaults write com.apple.x11 wm_click_through -bool true
if it does this should be permanent as it modifies the
com.apple.x11.plist preferences file.
Scott Buchanan
________________________________________________________
Scott Buchanan WEB: http://www.4dneuroimaging.com
President & CEO e-mail: email@hidden
4-D Neuroimaging Tel: (858) 458-5657
9727 Pacific Heights Blvd . Fax: (858) 458-5698
San Diego, CA 92091
USA
________________________________________________________
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email
in error please notify the system manager.
On Apr 24, 2006, at 6:48 PM, Mamoru Yamanishi wrote:
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)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/
mailman/options/x11-users/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden