Friday, 9 March 2007
Learn How to Empty GtkContainer/GtkWindow |
| |
|
| |
Jonathan Gotti in a post over the PHP-GTK Community talks about a function, which provides a way to empty a GtkWindow/GtkContainer. He uses this function to refresh a part of his applications by replacing some widgets with others. He says, it can destroy or preserve child widgets depending on your needs.
He explains the function with a sample usage code. However this code is a rewrite for PHP 5 /PHP-GTK2 of the same function he has already posted for PHP4/PHP-GTK1.
He also gives a code for function empty_widget to facilitate better understanding.
|
| |
|
Read the Post
|
| |
|
|
| |
|
|
| |
|