krakjoe / ui

Cross platform UI development in PHP
Other
518 stars 39 forks source link

How to building GUI with 'glade' ? #32

Open whirlwind110 opened 7 years ago

whirlwind110 commented 7 years ago

php-gtk:http://gtk.php.net/manual/en/tutorials.helloglade.loading.php

Loading the .glade file

<?php
//Create a new glade instance, load the 
// widgets from the file passed as parameter
$glade = new GladeXML('helloglade.glade');

//Start the main loop
Gtk::main();
?>

Does there some similar functions like GladeXML? or how to quickly design GUI? Thx!