Re: strangeness of g_signal_connect

2005-07-25 Thread Annamalai Gurusami
Colossus [EMAIL PROTECTED] writes: In my app I have the following: g_signal_connect ((gpointer) AddFile_button, clicked, G_CALLBACK (on_add_files_activate), dummy); I normally write the above call like this: g_signal_connect(

Re: strangeness of g_signal_connect

2005-07-25 Thread Annamalai Gurusami
Colossus [EMAIL PROTECTED] writes: Annamalai Gurusami wrote: g_signal_connect( G_OBJECT(AddFile_button), clicked, G_CALLBACK(on_add_files_activate), dummy); The actual parameters of the callback function is determined by the event and the widget handling the event. Here

Re: How to control one GTK application by another

2005-07-22 Thread Annamalai Gurusami
sripurna mutalik [EMAIL PROTECTED] writes: By control i mean i want to access all the facilities in B from A. Facilities such as pushing buttons, filling text area by some text and even starting and closing of that application. Is there any way of doing this. You must be looking for

Re: Unknown number of columns in a GtkListStore

2005-07-22 Thread Annamalai Gurusami
Razvan Gavril [EMAIL PROTECTED] writes: I want to display the results of a user entered sql query in a GtkTreeView (List). The only problem that i have is the the number of columns in the list is only known at runtime (no of cols returned by sql query). How can i create a GtkListStore with

Re: Removing One Page from GtkNotebook

2005-07-20 Thread Annamalai Gurusami
Tristan Van Berkom [EMAIL PROTECTED] writes: Annamalai Gurusami wrote: Hello All, In my GTK+ application, I am having a GtkNotebook. I am adding one page, with a GtkScrolledWindow as a child, and a GtkHBox as a label. I remove this page from GtkNotebook. My question is when I remove