| View previous topic :: View next topic |
| Author |
Message |
q2dg
Joined: 18 Nov 2006 Posts: 4
|
Posted: Mon Nov 20, 2006 2:23 am Post subject: Each window code written in a different script |
|
|
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
|
Posted: Mon Nov 20, 2006 2:45 am Post subject: |
|
|
| require() and include() |
|
| Back to top |
|
 |
q2dg
Joined: 18 Nov 2006 Posts: 4
|
Posted: Mon Nov 20, 2006 11:20 am Post subject: |
|
|
OK.
Understood.
Thanks!!! |
|
| Back to top |
|
 |
|