Hi,

With Gtk2 and the old static bindings I made use of the text view right
margin by painting a pango layout there. Now I'm trying to port my code
to Gtk3 and the introspection bindings. Documentation [1] tells me that
I should be using the "draw" signal instead of "expose-event", but my
callback for the "draw" signal doesn't even seem to get called. Is there
some significant difference between these two signals? Anyone yet ported
similar code? Below is my non-working half-ported minimal example.

    https://gist.github.com/1912166

[1] http://developer.gnome.org/gtk3/3.3/ch25s02.html

-- 
Osmo Salomaa <[email protected]>
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to