gnope php gtk gui gnope.org  

Deploy GTK Apps

 
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners
View previous topic :: View next topic  
Author Message
onlyican



Joined: 19 Sep 2006
Posts: 3
Location: UK

PostPosted: Tue Sep 19, 2006 1:00 am    Post subject: Deploy GTK Apps Reply with quote

Hey

I am sure this has been asked many many many times before
(if not, them I am thick or missing something)

I have just installed gnope
and
Crimson Editor

I created a basic file, following a tutorial

Code:

<?php

if(!class_exists('gtk'))
{
die("Please load the php-gtk2 module in your php.ini\r\n");
}

$window = new GtkWindow();

$window->connect_simple("destroy", array("gtk", "main_quit"));
$window->show_all();
gtk::main();
?>


saved the file as main.php

How the hell do I make that a .exe
I know its nothing on there,
Just a form that will open

But I am just learning, (or trying to, say 20 mins a day, while I am eating lunch)

I tried watching that Flash tutorial, I understand everything up to deploying the app itself, then I just got lost

Many thanx n advanced
Back to top
cweiske



Joined: 08 Dec 2005
Posts: 454
Location: Leipzig/Germany

PostPosted: Tue Sep 19, 2006 7:01 am    Post subject: Reply with quote

Please search the forum on how to compile php-gtk applications, and look at the "creating gnope pear packages" tutorial linked on the gnope publish page.
Back to top
onlyican



Joined: 19 Sep 2006
Posts: 3
Location: UK

PostPosted: Tue Sep 19, 2006 10:36 pm    Post subject: Reply with quote

Now why did nobody tell me, all I have to do is double click on the phpw file
I just went to delete it, and I thought I would try clicking it and it worked

If anyone wants to run the GTK apps,
All you have to do is double click on the PHPW file

BUT
I would like to compile the project to an EXE, which would also install GTK on the users machine, if its not there already

Any suggestions on this?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    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.