Eric Veum wrote:
> 
> Hi,
> 
> Someone please advise as to this simple
> questions/problem:
> 
> I went though the short tutorial on
> on glade.pn.org. I built a binary via
> 
> 1. Created a project, saved it, ran
> the autogenerator for source code
> 2. Build the source, via
>    autogen.sh ; configure ; make
> 3. Ran the program directly from
>    Project/<my_test_project>/src/<test_binary>
> 
> (I am using RH version of the
> code: GTK+ w/o Gnome glade-0.5.7-2.src.rpm &
>                      libglade-0.11-1.src.rpm)
> 
> PROBLEM: The program runs but nothing is displayed
> in an X-window! How do you fix?
> What have I done wrong?

What did Glade output in main.c?
It should output code to create one of each window and show them.

Try adding this code yourself. Look in interface.h to see the functions
to create each window, then add somwthing like this to main():

   GtkWidget *window;

   window = create_window1();
   gtk_widget_show (window);

Change the 'create_window1' to one of the functions from interface.h

Damon



+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to