Features/GTK3/Porting/Typing Turtle: Difference between revisions
| Line 191: | Line 191: | ||
= Missing / problematic things = | = Missing / problematic things = | ||
* This method, ''set_source_pixbuf'', is not available. | * [<span style="color: green;">SOLVED</span>] <del>This method, ''set_source_pixbuf'', is not available.</del> | ||
cr = self.get_window().cairo_create() | cr = self.get_window().cairo_create() | ||
| Line 197: | Line 197: | ||
# Although this methos is not available in Python | # Although this methos is not available in Python | ||
cr.set_source_pixbuf(self.backgroundpixbuf, 0, 0) | cr.set_source_pixbuf(self.backgroundpixbuf, 0, 0) | ||
Gdk.cairo_set_source_pixbuf(cr, self.backgroundpixbuf, 0, 0) | |||
* We should find the correct way to scale Left and Right hands that are drawn over the keyboard, because I just put values that I thought they were correct. We should calculate them according to the screen | * We should find the correct way to scale Left and Right hands that are drawn over the keyboard, because I just put values that I thought they were correct. We should calculate them according to the screen | ||