[g-a-devel] [bonobo_main] What to do when gtk_main is already called
- From: Aditya Pandey <aditya kumar pandey gmail com>
- To: gnome-accessibility-devel gnome org
- Subject: [g-a-devel] [bonobo_main] What to do when gtk_main is already called
- Date: Mon, 4 Apr 2005 20:09:52 +0530
I have written a plugin to a gtk+ application [so it has already
started gtk_main]. My plugin integrates with gnome-speech which requires bonobo.
For some speech drivers which support callbacks, I think I need to do
bonobo_main. But since gtk_main is already running, it somehow
interferes with that (I understand that gtk_main_quit is called by
bonobo_main). By interference I mean that dialogs
fail to respond to ok event to close themselves when bonobo_main is called etc.
Is there some alternative to bonobo_main ? I cant replace gtk_main
code and neither can I make sure that gtk_main [part of main app] is
called after bonobo_main [part of plugin].
I checked up gnopernicus code, and it apparently is not using
bonobo_main while registering speech driver callbacks. Would some one
please let me how we are doing it there?
--
Aditya Kumar Pandey
----------------------------------------
Contact: +91-9868263500; +91-11-25165432
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]