Rui Tiago Cação Matos wrote:
On 23/07/2008, John Whitmore <[EMAIL PROTECTED]> wrote:
My question is how do you pop that interface you create up on screen. I
know that's very basic but all I can find is a lump of minimal code which
should work. I followed the libglade link on the glade page
(http://glade.gnome.org/) to:
http://www.jamesh.id.au/software/libglade/
and used the lump of code there which does compile and execute but it does
not pop any interface at all. I can't seem to find anything else about the
actual displaying of the user interface in libglade documentation. It seems
like it should be as easy as that piece of code on the web page.
You need to have a toplevel window and show it. So, if you have a
GtkWindow on the glade file called ToplevelWindow you could do:
...
widget = glade_xml_get_widget (xml, "ToplevelWindow");
widget.show_all ();
...
gtk_main ();
...
GL,
Rui
Thanks to everybody for your help. As Arun said there's a few
idiosyncrasies that I have to get across but Im getting there ;-)
Next one is connecting up functions.
Thanks again
_______________________________________________
gnome-love mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-love