PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
using gtk (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: using gtk
#935
alin19 (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
using gtk 1 Month, 2 Weeks ago Karma: 0  
can mysql be used in php gtk?
 
  The administrator has disabled public write access.
#936
kksou (Admin)
Admin
Posts: 391
graph
User Online Now Click here to see the profile of this user
Re:using gtk 1 Month, 2 Weeks ago Karma: 8  
Of course!

PHP-GTK is built on top of PHP. Most of the stuff in PHP can be used right inside PHP-GTK, including mysql.

Regards,
/kksou
 
  The administrator has disabled public write access.
#937
alin19 (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:using gtk 1 Month, 2 Weeks ago Karma: 0  
can i ask you 2 more questions?

how can i make that cmd window disappear and have only the program itself runing?

and how it is php gtk runing comparing to c++?
 
  The administrator has disabled public write access.
#938
kksou (Admin)
Admin
Posts: 391
graph
User Online Now Click here to see the profile of this user
Re:using gtk 1 Month, 2 Weeks ago Karma: 8  
alin19 wrote:
how can i make that cmd window disappear and have only the program itself runing?

I suppose you're running on windows.

Instead of using
php.exe app.php

Use
php-win.exe app.php

and how it is php gtk runing comparing to c++?

It's like comparing mac to windows, or Lexus to BMW. Different target audience. Different purpose. Or maybe different personal taste.

If you really need to go for speed, then use c++.

If you're already using PHP, then you'll like PHP-GTK.

Regards,
/kksou
 
  The administrator has disabled public write access.
#939
alin19 (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:using gtk 1 Month, 2 Weeks ago Karma: 0  
10x
 
  The administrator has disabled public write access.
#940
alin19 (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:using gtk 1 Month, 2 Weeks ago Karma: 0  
i don't see any diference between pack_start and add until now, can you tell me if there is any diference?
 
  The administrator has disabled public write access.
#941
kksou (Admin)
Admin
Posts: 391
graph
User Online Now Click here to see the profile of this user
Re:using gtk 1 Month, 2 Weeks ago Karma: 8  
add() is used for GtkBin such as GtkWindow or GtkFrame.

pack_start() is used with Gtk containers such as GtkHBox or GtkVBox.

You might also want to take a look at the following:

1.4 Adding two or more widgets

Regards,
/kksou
 
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2008. kksou.com. All Rights Reserved