| View previous topic :: View next topic |
| Author |
Message |
jd
Joined: 18 Oct 2007 Posts: 1
|
Posted: Thu Oct 18, 2007 3:17 pm Post subject: Glade Iterface Designer |
|
|
Hello, i've created a window with Glade Interface Designer, but it doesn't work... The apllication does not start. I cannot see any errors.
The *.glade file was created by the Galde Interface Designer
| Code: |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<!--Generated with glade3 3.2.2 on Thu Oct 18 14:51:27 2007 by osadmin@mcube-->
<glade-interface>
<widget class="GtkWindow" id="window1">
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="title" translatable="yes">TEST</property>
<child>
<placeholder/>
</child>
</widget>
</glade-interface>
|
Now the PHP-Code to implemt the glade file.
| Code: |
<?php
$glade = new GladeXML('test2.glade');
//Start the main loop
Gtk::main();
?>
|
What is wrong in my *.glade file?
Thanks for help
so long jd |
|
| Back to top |
|
 |
rgljr
Joined: 10 Apr 2006 Posts: 15 Location: Minnesota, USA
|
|
| Back to top |
|
 |
|