I've further experiemnted with this. I am now overriding the expose event of the widget (treeview) with my own method. This gets correctly invoked and I just call the expose_event of parent and afterward do a few gdk_draw_line calls. No crash no warnings, but no lines neither.
It would be really nice if someone could help me or point me into the right direction. Stefan Stefan Kost wrote: > hi hi, > > for my app I need a horizontal line scrolling over a treeview (indicates > playposition). > The first way I've tried to do it was using a gnomecanvas. I've put the > treeview > as a canvas item on it and sent it to back. Then I've created a line and put > it > over the tree-view. The problem is that gnome-canvas always shows the > widget-item on top. So I've dropped that idea. > > Now I've trying to inherit from treeview and just override some of its > methods, > chain up and the draw my own graphics over it. I am now looking at the > gtk-tutorial and trying to figure which method I should override. > Can anyone point me to some example? > > Stefan > > > ------------------------------------------------------------------------ > > _______________________________________________ > gtk-devel-list mailing list > gtk-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-devel-list -- \|/ Stefan Kost <@ @> private business +-oOO-(_)-OOo------------------------------------------------------ - - - - - | __ Address Simildenstr. 5 HTWK Leipzig, Fb IMN, Postfach 301166 | /// 04277 Leipzig 04251 Leipzig | __ /// Germany Germany | \\\/// Phone +49341 2253538 +49341 30766101 | \__/ EMail st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de | WWW www.sonicpulse.de www.imn.htwk-leipzig.de/~kost/about.html ===-=-=--=---=---------------------------------- - - - - -
begin:vcard fn:Stefan Kost n:Kost;Stefan org:HTWK Leipzig;FB. IMN adr:;;Postfach 301166;Leipzig;;04251;Germany email;internet:[EMAIL PROTECTED] title:Dipl. Informatiker tel;work:+49341 30766440 tel;home:+49341 2253538 tel;cell:+49178 3183742 x-mozilla-html:FALSE url:http://www.imn.htwk-leipzig.de/~kost/about.html version:2.1 end:vcard
_______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list