mirror of
https://github.com/Taiko2k/GTK4PythonTutorial.git
synced 2026-01-04 18:30:15 +01:00
Fix Graphene import comment
This commit is contained in:
@@ -734,7 +734,7 @@ Here we use:
|
||||
colour = Gdk.RGBA()
|
||||
colour.parse("#e80e0e")
|
||||
|
||||
rect = Graphene.Rect().__init__(10, 10, 40, 60) # Add Graphene to your imports. i.e. from gi 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)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user