Re: [Glade-devel] Re: [glade--]Re: glade-- and gtkmm-1.3



On Thu, 2002-04-18 at 02:26, Christof Petig wrote:
> Damon Chaplin wrote:
> 
> > The new DTD doesn't support setting any data parameters for signals, I'm
> > afraid.
> 
> That's a K.O. criterium for me. Why did you delete it? I admit that 
> parameter passing is hackish in C.

James Henstridge (libglade author) wrote the new DTD.

Though I've always disliked using the data parameter in Glade.

But if you can convince us that it is essential in C++ I think we'd add
it back.


 
> Well, I'd implement it but how to put it into the XML file. Do you have 
> any proposals?
> 
> <signal ... glademm-data="1,2" glademm-type="int,int">

It would be impossible without support in Glade and the DTD, really.

 
> By the way, how to convert glade-1 files to glade-2?

libglade has a libglade-convert program to do the conversion. But you
need Python > 2, with XML support.

Damon





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