gnope php gtk gui gnope.org  

Problem with PHP-GTK application and Glade

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    gnope.org Forum Index -> PHP GTK2 Beginners
View previous topic :: View next topic  
Author Message
codestorm



Joined: 08 Jul 2006
Posts: 4
Location: Australia

PostPosted: Thu May 31, 2007 7:03 pm    Post subject: Problem with PHP-GTK application and Glade Reply with quote

I was curious if anyone has had any experience developing PHP-GTK applications for Gnome with Glade.

I'm currently in the early the stages of putting together a PHP-GTK frontend for a command-line application, and I'm having the following problem.

When I attempt to execute my script, I get this error:

Code:
$ php guamachi.php

GnomeUI-ERROR **: You must call gnome_program_init() before creating a GnomeApp
aborting...
Aborted (core dumped)


From what I can tell, this is because I've created my Glade project as a Gnome Application. I've done this so that it follows the Gnome HIG and uses it's cool menus (bonobo) and about-dialog.

I tried calling the gnome_program_init() method, but it's not a part of PHP-GTK. Is there anything I can add to the script, or to the Glade file to get it to work?
Back to top
marc



Joined: 11 May 2006
Posts: 12
Location: Toulouse - France

PostPosted: Wed Jun 06, 2007 12:45 pm    Post subject: Reply with quote

hello,

I use glade, but never used Gnome projets from Glade. Sorry.
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    gnope.org Forum Index -> PHP GTK2 Beginners All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.