PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
EventBox modify_bg in GtkNotebook (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: EventBox modify_bg in GtkNotebook

lamaresh (User)
Fresh Boarder
Posts: 1
User Offline Click here to see the profile of this user
EventBox modify_bg in GtkNotebook 1 Year, 7 Months ago Karma: 0  
I'm really new to php-gtk and I'm having trouble with styles.
I'm trying to get a table with any cell of different color using EventBox, but I get always grey boxes. I think the problem is that boxes are in a gtknotebook. This is my code with only one cell, could anyone helpme? Ty :)

$ntbk = new GtkNotebook();
$tab_option= new gtktable(2,2,true);
$ntbk->append_page(	$tab_option, new GtkLabel('Option'));
$box = new GtkEventBox;
$wnd = new GtkWindow();
$wnd->set_default_size(800, 600);
$wnd->connect_simple('destroy', array('Gtk', 'main_quit'));

  The administrator has disabled public write access.

Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2012. All Rights Reserved