 |
| View previous topic :: View next topic |
| Author |
Message |
onlyican
Joined: 19 Sep 2006 Posts: 3 Location: UK
|
Posted: Tue Sep 19, 2006 1:00 am Post subject: Deploy GTK Apps |
|
|
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
|
Posted: Tue Sep 19, 2006 7:01 am Post subject: |
|
|
| 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
|
Posted: Tue Sep 19, 2006 10:36 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|
 |