Suggestion and Add-on Request

From: Date: Wed, 14 Jun 2006 19:17:53 +0000
Subject: Suggestion and Add-on Request
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3029@lists.php.net to get a copy of this message
Greetings everyone I know that you have better things to do besides doing cosmetic work on PHP-GTK and maybe this post should be at GTK own mailing list but this I would like to solve a issue that a Tab in GtkNotebook is giving to many programmers outhere an headache ( including me ). After some googling just to get a [ X ] on a far side of a tab I came up with some way of customizing of a tab but for Python. Here is my workaround $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(); This looks kinda weird since I don't how to place a 'flat' button I would like to know if anyone has already achieved similar workarounds ou hacked their way to the GtkNotebook class to provide this getting to work properly without many hassle. If can provide some source code to compare to mine it would be great. Thank you very much :-D Pedro

« previous php.gtk.dev (#3029) next »