gdk.texture.Texture is the basic element used to refer to pixel data.
It is primarily meant for pixel data that will not change over multiple frames, and will be used for a long time.
There are various ways to create gdk.texture.Texture objects from a gdkpixbuf.pixbuf.Pixbuf, or from bytes stored in memory, a file, or a gio.resource.Resource.
The ownership of the pixel data is transferred to the gdk.texture.Texture instance; you can only make a copy of it, via gdk.texture.Texture.download.
gdk.texture.Texture is an immutable object: That means you cannot change anything about it other than increasing the reference count via gobject.object.ObjectG.ref_, and consequently, it is a thread-safe object.
gdk.texture.Texture is the basic element used to refer to pixel data.
It is primarily meant for pixel data that will not change over multiple frames, and will be used for a long time.
There are various ways to create gdk.texture.Texture objects from a gdkpixbuf.pixbuf.Pixbuf, or from bytes stored in memory, a file, or a gio.resource.Resource.
The ownership of the pixel data is transferred to the gdk.texture.Texture instance; you can only make a copy of it, via gdk.texture.Texture.download.
gdk.texture.Texture is an immutable object: That means you cannot change anything about it other than increasing the reference count via gobject.object.ObjectG.ref_, and consequently, it is a thread-safe object.