Re: cannot launch project with glad file
- From: craigbakalian <craigbakalian verizon net>
- To: Tristan Van Berkom <tvb gnome org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: cannot launch project with glad file
- Date: Fri, 14 Jan 2011 04:36:59 -0500
Hi Tristan,
The .glad file is in the same directory as the gtk application. There
are not any problems with my path because I can double-click the gtk
application and it will run. The fact that I can double-click the app
and it runs is key to understanding this problem. What I cannot do is
launch the application from my terminal, which is beyond my
understanding. Could it be some kind of security issue?
Also, I am using the following to open up the .glad file
gtk_init (&argc, &argv);
xml = glade_xml_new ("mLilyEditor.glade", NULL, NULL);
window = glade_xml_get_widget (xml, "window");
scrollview = glade_xml_get_widget (xml, "scrollview");
To answer your question-
\home\craig\MusicEditor\mLilyEditor.c
\home\craig\MusicEditor\mLilyEditor
\home\craig\MusicEditor\mLilyEditor.glade
\home\craig\MusicEditor\Makefile
And I am running ubuntu 10.10(maverick) and GNOME 2.32.0
Kernal Linux 2.6.35-24-generic
Craig Bakalian
On Fri, 2011-01-14 at 14:00 +0900, Tristan Van Berkom wrote:
a.) where did you install the .glade file
b.) what path are you giving to the gtk_builder_add_from_file() api ?
If you've answered those 2 questions, you've surely already solved the problem.
Cheers,
-Tristan
On Fri, Jan 14, 2011 at 5:11 AM, craigbakalian
<craigbakalian verizon net> wrote:
Hi,
I am unable to launch my built gtk+ application from the terminal
because it cannot find the glad file, even if the glad file is right
where it should be. Do I need to add something to the terminal
statement when launching my application?
Craig Bakalian
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]