Help with GraphWidget

Hello Tiago,

I am trying to set a background image in GraphWidget. I already tried to
use the Gtk.Image overlaied by GraphWidget with bg_color = [1, 1, 1, 0],
but it not worked.

Is possible to set the background without modifing the gtk_draw.py source
file?

Best,
Paulo Nascimento

attachment.html (354 Bytes)

No, it's not possible to put a background image in GraphWidget without
modifying the source.

Best,
Tiago

Thank you, Tiago.

I'll create a new class based on gtk_draw.py and upgrade to receive the
background image.

Best,
Paulo Nascimento

I am trying to set a background image in GraphWidget. I already tried to

use

the Gtk.Image overlaied by GraphWidget with bg_color = [1, 1, 1, 0], but

it

not worked.

Is possible to set the background without modifing the gtk_draw.py source

file?

No, it's not possible to put a background image in GraphWidget without
modifying the source.

Best,
Tiago

attachment.html (1.56 KB)