GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Adding signal to main loop

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
alen121
Familiar Face


Joined: 28 Sep 2007
Posts: 35

PostPosted: Sat Aug 30, 2008 6:09 pm    Post subject: Adding signal to main loop Reply with quote

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: 643
Location: Falun, WI USA

PostPosted: Sat Aug 30, 2008 6:56 pm    Post subject: Reply with quote

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: 35

PostPosted: Sun Aug 31, 2008 2:55 am    Post subject: Reply with quote

My problem is solved .
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP