Re: gtk_widget_draw()



Hi,

On Sun, Aug 8, 2010 at 8:07 PM, Benjamin Otte <otte gnome org> wrote:
> I'll start with the end goal: gtk_widget_draw(GtkWidget *widget, cairo_t *cr);
> That function will draw the given widget to the given cairo_t, no
> matter what kind of cairo_t you hand it, no matter wether it's an
> actual X window and the drawing is due to an expose event or if it's
> an image surface for a screenshot or even if it's a PDF for printing.

How would we handle widgets that currently have multiple windows and
draw different things to each one (i.e. the expose handler is looking
at the window in the expose event).
For example GtkTextView

Havoc


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