DmabufTextureBuilder.getWidth

uint getWidth()

Gets the width previously set via [gdk.dmabuf_texture_builder.DmabufTextureBuilder.setWidth] or 0 if the width wasn't set.

Returns

The width