Re: glade signals with user data

2010-09-11 Thread Martin Bähr
On Sat, Sep 11, 2010 at 10:53:26AM +0200, Marc Dirix wrote: > Maybe I'm doing something very uncommon in interface design? > I have i.e. two buttons, which have the same signal handler, and in the > signal handler I want to do two different things based on which of the > two buttons is pressed. >

Re: glade signals with user data

2010-09-11 Thread Lance Dillon
> > Isn't the pike module all about generating the code. And as such > shouldn't it try to implement the same? > > I have no idea how hard it is, but isn't it just adding this data to the > "mixed data" which is called together with signal_auttoconnect for each > handler? > > The differen

Re: GTK2, container->get_children, bug?

2010-09-11 Thread Magnus Holmgren, Millnet/Lysator/Debian/Mensa @ Pike developers forum
>What version of pike are you using? I think there may have been a bug in >function where I didn't increment some list pointer in the get_children() >function. You may have the buggy one still. You might have to get the >latest >cvs version. My code is latest cvs as of a few days ago. P

Re: glade signals with user data

2010-09-11 Thread Marc Dirix
On 10-09-10 23:51, Lance Dillon wrote: > I see what you are talking about here. That is something different. That is > for when you build a c, c++, or ada project by going to Project->Build. It > outputs a bunch of files. In the src directory there is a file called > interface.c that has th

Re: GTK2, container->get_children, bug?

2010-09-11 Thread Marc Dirix
> > What version of pike are you using? I think there may have been a bug in > function where I didn't increment some list pointer in the get_children() > function. You may have the buggy one still. You might have to get the > latest > cvs version. My code is latest cvs as of a few days