gnope php gtk gui gnope.org  

Each window code written in a different script

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



Joined: 18 Nov 2006
Posts: 4

PostPosted: Mon Nov 20, 2006 2:23 am    Post subject: Each window code written in a different script Reply with quote

Hello friends!

Sorry for my insistence in asking silly things...

Iīve readed enough code examples of php-gtk applications (http://www.kksou.com is really great!!) , but I haven īt seen any of them which have more than two windows.

My question is: is it possible to separate de code (lines of generation and placement of widgets plus the body of their corresponding funcions triggered by signals) belonging to each window in a different php script? More less like VB does: a *.frm file for each form.

I ask this because Iīm sure there must be a way: if not, an application with ten windows would have hundreds of lines at the same php file, so the code would be impassable. It canīt be possible.

Thank you very much for your time!
Back to top
cohort



Joined: 07 Feb 2006
Posts: 47

PostPosted: Mon Nov 20, 2006 2:45 am    Post subject: Reply with quote

require() and include()
Back to top
q2dg



Joined: 18 Nov 2006
Posts: 4

PostPosted: Mon Nov 20, 2006 11:20 am    Post subject: Reply with quote

OK.
Understood.
Thanks!!!
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.