Notebook question

From: Date: Sat, 24 Jun 2006 20:45:12 +0000
Subject: Notebook question
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7027@lists.php.net to get a copy of this message
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

« previous php.gtk.general (#7027) next »