Re: testing for GType == 0
- From: jcupitt gmail com
- Cc: "python-hackers-list gnome org" <python-hackers-list gnome org>
- Subject: Re: testing for GType == 0
- Date: Sat, 18 Jun 2016 19:42:17 +0100
On 18 June 2016 at 17:53, Christoph Reiter <reiter christoph gmail com> wrote:
On Sat, Jun 18, 2016 at 6:23 PM, <jcupitt gmail com> wrote:
What would be the best way to test the return value of image.get_type()
for invalid?
image.get_type() == GObject.TYPE_INVALID
Ah of course. I looked under GType and didn't see it. Thanks!
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]