Merge pull request #29 from Lunarmagpie/patch-1

This commit is contained in:
James
2024-05-10 18:03:31 +12:00
committed by GitHub

View File

@@ -881,7 +881,7 @@ Here we use:
colour = Gdk.RGBA() colour = Gdk.RGBA()
colour.parse("#e80e0e") colour.parse("#e80e0e")
rect = Graphene.Rect().__init__(10, 10, 40, 60) # Add Graphene to your imports. i.e. from gi.repository import Graphene rect = Graphene.Rect().init(10, 10, 40, 60) # Add Graphene to your imports. i.e. from gi.repository import Graphene
s.append_color(colour, rect) s.append_color(colour, rect)
``` ```