Update README.md

This commit is contained in:
Taiko2k
2022-02-04 21:26:09 +13:00
committed by GitHub
parent 757eca61cb
commit be2e43fe24

View File

@@ -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)
``` ```