|
|
| Author |
Message |
|
|
alen121 Familiar Face
Joined: 28 Sep 2007 Posts: 34
|
Posted: Sat Aug 30, 2008 6:09 pm Post subject: Adding signal to main loop |
|
|
| I have a plugin manager system in my program . when a plugin is installed , I receive a gobject and callback func name from dinamic library of plugin . for example , having installed a plugin , one menu item is added to my menus list. I want to know how I can add activate event of this new menu item to main loop . I have gobject nad callback func name . but I dont know how to add a function like g_signal_connect to my main loop while runing program . can anyone help me in this case ? |
|
| Back to top |
|
 |
dreblen Never Seen the Sunlight
Joined: 14 Jun 2007 Posts: 568 Location: Falun, WI USA
|
Posted: Sat Aug 30, 2008 6:56 pm Post subject: |
|
|
| maybe I don't understand your setup, but if you're using gobject why can't you use g_signal_connect? |
|
| Back to top |
|
 |
alen121 Familiar Face
Joined: 28 Sep 2007 Posts: 34
|
Posted: Sun Aug 31, 2008 2:55 am Post subject: |
|
|
| My problem is solved . |
|
| Back to top |
|
 |
|