mirror of
https://github.com/Taiko2k/GTK4PythonTutorial.git
synced 2026-11-10 06:40:09 +01:00
Update README.md
This commit is contained in:
1 parent
757eca61cb
commit
be2e43fe24
1 file changed
+1
-2
@@ -657,8 +657,7 @@ Fairly straightforward, see [append_border](https://docs.gtk.org/gtk4/method.Sna
|
|||||||
|
|
||||||
# Tip: There are other functions to load image data from in memory pixel data
|
# Tip: There are other functions to load image data from in memory pixel data
|
||||||
|
|
||||||
rect = Graphene.Rect()
|
rect = Graphene.Rect().__init__(50, 50, texture.get_width(), texture.get_height()) # See warning below
|
||||||
rect.__init__(50, 50, texture.get_width(), texture.get_height()) # See warning below
|
|
||||||
s.append_texture(texture, rect)
|
s.append_texture(texture, rect)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in new issue
Block a user