Changing bg color of an widget (Expander)

2006-11-07 Thread Morten O. Hansen
Hi, I'm trying to change the bg color of a widget (gtk.Expander) to gray, but I'm having trouble finding out where to do this. I see that gtk.Widget.modify_bg is an option, but it doesn't work on widgets that are inherited from gtk.Bin (there seems to be a workaround involving gtk.EventBox, but I

Re: Use GtkWidgets inside of a custom cell renderer

2006-11-07 Thread Tristan Van Berkom
Gabriele Greco wrote: > As subject says it's possibile? > > I've set up a custom cell renderer following the example in the treeview > tutorial, now I'd like to use some GTK objects inside it instead of > reinvent the wheel to draw lines and texts with GDK. > > The problem is that what I get in

add a cursor...

2006-11-07 Thread ferri_marllo
Hi!! i've an x-y plot created with GTk! I'd like that after clicking in one of the plotted points, appear a cursor and then i can move it throught all the plotted points!! Is it possible?? I've readen information about how to set a curso to a widgetbut the selected point is not a widget...so n

Use GtkWidgets inside of a custom cell renderer

2006-11-07 Thread Gabriele Greco
As subject says it's possibile? I've set up a custom cell renderer following the example in the treeview tutorial, now I'd like to use some GTK objects inside it instead of reinvent the wheel to draw lines and texts with GDK. The problem is that what I get in the render method of my subclass is