Re: [gtkmm] Glade-2, libgtkmm, Xml::create, callbacks



On Wed, 2003-09-03 at 20:55, Douglas Roberts wrote:
> >[...] libglademm will never pay attention to
> >the callbacks, because the only thing it considers is the XML file
> >describing the UI, which, as far as I'm aware, has no information about
> >interactions between the components at all - that's left to the
> >programmer.
> >
> I don't believe this is true:  it sure looks like the callback handler 
> is is defined in the xml file.  It is from this data that glademm knows 
> how to create a stub callback function on the "clicked" signal.

<snip>

>           <signal name="clicked" handler="on_LoadButton_clicked" 
> last_modification_time="Thu, 14 Aug 2003 17:39:20 GMT"/>

Yes, but where's the code for it? libglademm considers only the contents
of the XML when it loads, so presumably it actually ignores this. Glade
the UI designer would use this for saving information for use when
generating code with glademm, or for the GTK+ C API.

-- 
Matthew Walton <matthew alledora co uk>




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