Re: How read glade file to gtk2?


Interface you posted in previous mail is in GtkBuilder format and you
don't need libglade in your application.

I tested your UI and perl code on my machine and it works as expected
(I changed the gtk_main() line as explained before, another minor
change was needed in get_object() method, since your toplevel window
is named 'window' and not 'window1'). What error exactly are you
getting? And which line is line 6 in your code?


Tadej BorovÅak
tadeboro gmail com
tadej borovsak gmail com

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