Help needed with offscreen window



Hi all!

I want to create a GtkCellRenderer which renders a GtkWidget (each row
of the data model sets a property of the widget and it should render
differently). I face the problem that I can't force GTK+ to redraw the
widget before I get the pixmap from a GtkOffscreenWidget (that pixmap
is used "copied" into the cell area).

Attached is a small example which tries to render a GtkButton with
different labels for each row of a small data model.

Thanks for any help,

Vivien


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]