Add GtkFileFilter properties

This commit is contained in:
James Westman 2021-11-12 09:23:25 -06:00
parent b776163cd7
commit ebfa72d94f
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
13 changed files with 141 additions and 39 deletions

View file

@ -60,12 +60,17 @@ class GirType:
def doc(self):
return None
class BasicType(GirType):
name: str = "unknown type"
def assignable_to(self, other) -> bool:
raise NotImplementedError()
@property
def full_name(self) -> str:
raise NotImplementedError()
class BasicType(GirType):
name: str = "unknown type"
@property
def full_name(self) -> str:
return self.name