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 ?.
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 m
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
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
> 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 *d