Re: [gtkmm] Gtkmm or Qt?



Dr Mark H Phillips wrote:

Am I right in thinking that libglademm allows interfaces to be generated
from an xml file rather than through specific gtkmm function calls?


Yes.

Does this xml file have to be generated by glade, or are there library functions for building the xml code which would allow the fine-tuning
of your gui at runtime?


Obviously, it doesn't _have_ to be generated by Glade, but there's no API to generate it. Your program will use libglade to "import" the xml file, which builds the GTK widget hiearchy in memory. You are then free to do any runtime "fine-tuning" you want using the standard GTK API. This is actually the normal procedure as there is usually some aspects of the user interface that are dynamic.

libglade provides a helper function to look up widgets in the generated widget hiearchy using the widget name provided in the xml.

How well does libglademm link in with libsig++?  Does the fact that the
latter is implemented using templates hinder runtime signals and slots
that you might wish to create?


There are no limitations like that as you write the code to connect the signals yourself.

--
Christer Palm




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