Re: [gnome-love] libglade
- From: Juan Francisco Giménez Silva <juanfgs gmail com>
- To: gnome-love gnome org
- Subject: Re: [gnome-love] libglade
- Date: Wed, 23 Jul 2008 08:29:54 -0300
El Wed, 23 Jul 2008 09:27:31 +0100
John Whitmore <captain deadly gmail com> escribió:
Hello All,
Sorry for very basic question. I'm starting out and was putting
GUIs together from scratch just to get the idea of things. I then
decided that I'd give glade a swing and let it do some of the work.
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. Maybe I should have installed more then I did?
Any help gratefully received.
John
Try with:
gtk_widget_show_all (toplevelwidget)
Also you might want to check out the Gtk::Builder API
(http://library.gnome.org/devel/gtk/2.12/GtkBuilder.html), I think the
development is moving towards using it instead glade (but I've read
that it has some problems).
Good Luck!
--
Juan F. Giménez Silva
GTalk : juanfgs gmail com
http://juanfgs.wordpress.com
No a la matriculación obligatoria:
http://noalamatricula.wordpress.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]