[Glade-users] Signals with user_data in glade-2



On Mon, 2003-05-12 at 08:33, Joachim Backes wrote:
HI,

I have 2 questions:

1.

How to add signals with

        user_data

in glade-2?

In glade1,this was a standard feature when adding callbacks to
a widget.

You can't do it in glade-2, as it isn't in the new XML DTD.

You'll need to find other ways to pass data, like g_object_set_data(),
or use lookup_widget() to compare widgets.


2.

How to port old glade files to the glade-2 standard? I used libglade-convert,
but this did not produce any glade2 file which can be used for development.

libglade-convert should handle most widgets, but you may need to tweak it a bit.

Damon






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