View previous topic :: View next topic |
Author |
Message |
danielking
Joined: 06 Dec 2008 Posts: 6
|
Posted: Fri Dec 12, 2008 4:48 am Post subject: Where is glade.autoconnect? |
|
|
I have to write lots of code without autoconnect.
Will you add it to gtkd in future? |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Sun Dec 14, 2008 11:44 am Post subject: |
|
|
It looks like the connect functions are not added because of the way GtkD currently handles the Signals.
I don't have the time to look at this more closely though. |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Mon Dec 15, 2008 3:03 pm Post subject: |
|
|
GtkD also needs to be able to be compiled with -export-dynamic for autoconnect to work, and it curently does not. |
|
Back to top |
|
|
danielking
Joined: 06 Dec 2008 Posts: 6
|
Posted: Fri Dec 26, 2008 2:07 am Post subject: |
|
|
It seems that libglademm has the same problem. But gtk wrappers of C# and some dynamic languages such as python, ruby did it. Can it be done in some other ways? |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Sun Dec 28, 2008 12:51 pm Post subject: |
|
|
I guess C# and Ruby use reflection, i might look into how python and the others are doing it. |
|
Back to top |
|
|
|