Re: acces to a member of the principal widget

2006-03-31 Thread Olexiy Avramchenko
Ok I understand I can give more than one argument to a callback function. But my question remains, how can I access to my list. The most used ways: 1. Allocate the structure and pass it to signal's callback, in your case: typedef struct _MyCallbackArgs { GtkWidget *window; GtkWidget

Re: acces to a member of the principal widget

2006-03-28 Thread Jerome Le Saux
2006/3/28, Olexiy Avramchenko [EMAIL PROTECTED]: On 3/27/06, Jerome Le Saux [EMAIL PROTECTED] wrote: Hi, I looked for days my error, and I found it ;). in a menu bar I add item. This item open an gtk_file_chooser_dialog. In the callback of my main I give as argument the pointer of my

Re: acces to a member of the principal widget

2006-03-28 Thread Carlo Agrusti
Jerome Le Saux ha scritto lo scorso 27/03/2006 18:02: Hi, I looked for days my error, and I found it ;). in a menu bar I add item. This item open an gtk_file_chooser_dialog. In the callback of my main I give as argument the pointer of my mani widget pWindow. But how can I access to my

acces to a member of the principal widget

2006-03-27 Thread Jerome Le Saux
Hi, I looked for days my error, and I found it ;). in a menu bar I add item. This item open an gtk_file_chooser_dialog. In the callback of my main I give as argument the pointer of my mani widget pWindow. But how can I access to my list, which is add by a gtk_add_container to my pWindow widget

Re: acces to a member of the principal widget

2006-03-27 Thread Olexiy Avramchenko
On 3/27/06, Jerome Le Saux [EMAIL PROTECTED] wrote: Hi, I looked for days my error, and I found it ;). in a menu bar I add item. This item open an gtk_file_chooser_dialog. In the callback of my main I give as argument the pointer of my mani widget pWindow. But how can I access to my list,