write GTK+ shared library

Hi all,
I'm new to GTK+. I just followed the Hello World example, and I could compile and run the application.
Now, I want to change it from a application to a shared library and then called by another C program, so that similarly a dialog box with a button will be come up.
Any ideas and comments on
1. how to change it to shared library?
2. how to change the C program to call it?
Thanks a lot!
Best regards,

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]