[PHP-GTK] Notebook question
by Webmaster Phelios.org other posts by this author
Jun 24 2006 12:45PM messages near this date
[PHP-GTK] สินเชื่อดอกเบี้ยต่ำ-สำหรับผู้ทำงานประจำหรือเจ้าของกิจการหรือผู้ที่อยากเครียหนี้บัตรเครดิตหรือสินเชื่อเก่าดอกแพงๆ
|
[PHP-GTK] Celebration! PHP-GTK 1.x App released for OSX!
Hello everyone.
I would like to provide a close button for my GTKNotebook tab.
I've found a way in python but I seem I get some drawbacks when porting
to php-gtk.
I can work with this:
$lb = new GtkLabel("Current Files");
$button = new GtkButton("");
$button-> set_image(GtkImage::new_from_stock(Gtk::STOCK_CLOSE,
Gtk::ICON_SIZE_MENU));
$btbox = new GtkHBox(false,1);
$btbox-> set_size_request(150,20);
$btbox-> set_spacing(5);
$btbox-> pack_start($lb,true,false,0);
$btbox-> pack_start($button,true,false,0);
$btbox-> show_all();
Is there a way ( besides de above ) of placing a flat button to close a tab?
Thank you very much :-D
Pedro
--
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|