|
| MemoryTextureBuilder (MemoryTextureBuilder &&src) noexcept |
|
MemoryTextureBuilder & | operator= (MemoryTextureBuilder &&src) noexcept |
|
| ~MemoryTextureBuilder () noexcept override |
|
GdkMemoryTextureBuilder * | gobj () |
| Provides access to the underlying C GObject.
|
|
const GdkMemoryTextureBuilder * | gobj () const |
| Provides access to the underlying C GObject.
|
|
GdkMemoryTextureBuilder * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
Glib::RefPtr< Glib::Bytes > | get_bytes () const |
| Gets the bytes previously set via set_bytes() or nullptr if none was set.
|
|
void | set_bytes (const Glib::RefPtr< const Glib::Bytes > &context) |
| Sets the data to be shown but the texture.
|
|
gsize | get_stride () const |
| Gets the stride previously set via set_stride().
|
|
void | set_stride (gsize stride) |
| Sets the rowstride of the bytes used.
|
|
int | get_width () const |
| Gets the width previously set via set_width() or 0 if the width wasn't set.
|
|
void | set_width (int width) |
| Sets the width of the texture.
|
|
int | get_height () const |
| Gets the height previously set via set_height() or 0 if the height wasn't set.
|
|
void | set_height (int height) |
| Sets the height of the texture.
|
|
MemoryFormat | get_format () const |
| Gets the format previously set via set_format().
|
|
void | set_format (MemoryFormat format) |
| Sets the format of the bytes.
|
|
Glib::RefPtr< ColorState > | get_color_state () const |
| Gets the colorstate previously set via set_color_state().
|
|
void | set_color_state (const Glib::RefPtr< const ColorState > &color_state) |
| Sets the colorstate describing the data.
|
|
Glib::RefPtr< Texture > | get_update_texture () |
| Gets the texture previously set via set_update_texture() or nullptr if none was set.
|
|
Glib::RefPtr< const Texture > | get_update_texture () const |
| Gets the texture previously set via set_update_texture() or nullptr if none was set.
|
|
void | set_update_texture (const Glib::RefPtr< Texture > &texture) |
| Sets the texture to be updated by this texture.
|
|
::Cairo::RefPtr< ::Cairo::Region > | get_update_region () |
| Gets the region previously set via set_update_region() or nullptr if none was set.
|
|
::Cairo::RefPtr< const ::Cairo::Region > | get_update_region () const |
| Gets the region previously set via set_update_region() or nullptr if none was set.
|
|
void | set_update_region (const ::Cairo::RefPtr< ::Cairo::Region > ®ion) |
| Sets the region to be updated by this texture.
|
|
Glib::RefPtr< Texture > | build () |
| Builds a new Gdk::Texture with the values set up in the builder.
|
|
Glib::PropertyProxy< Glib::RefPtr< Glib::Bytes > > | property_bytes () |
| The bytes holding the data.
|
|
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Glib::Bytes > > | property_bytes () const |
| The bytes holding the data.
|
|
Glib::PropertyProxy< Glib::RefPtr< ColorState > > | property_color_state () |
| The colorstate describing the data.
|
|
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< ColorState > > | property_color_state () const |
| The colorstate describing the data.
|
|
Glib::PropertyProxy< MemoryFormat > | property_format () |
| The format of the data.
|
|
Glib::PropertyProxy_ReadOnly< MemoryFormat > | property_format () const |
| The format of the data.
|
|
Glib::PropertyProxy< int > | property_height () |
| The height of the texture.
|
|
Glib::PropertyProxy_ReadOnly< int > | property_height () const |
| The height of the texture.
|
|
Glib::PropertyProxy< gsize > | property_stride () |
| The rowstride of the texture.
|
|
Glib::PropertyProxy_ReadOnly< gsize > | property_stride () const |
| The rowstride of the texture.
|
|
Glib::PropertyProxy< ::Cairo::RefPtr< ::Cairo::Region > > | property_update_region () |
| The update region for property_update_texture().
|
|
Glib::PropertyProxy_ReadOnly< ::Cairo::RefPtr< ::Cairo::Region > > | property_update_region () const |
| The update region for property_update_texture().
|
|
Glib::PropertyProxy< Glib::RefPtr< Texture > > | property_update_texture () |
| The texture property_update_region() is an update for.
|
|
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Texture > > | property_update_texture () const |
| The texture property_update_region() is an update for.
|
|
Glib::PropertyProxy< int > | property_width () |
| The width of the texture.
|
|
Glib::PropertyProxy_ReadOnly< int > | property_width () const |
| The width of the texture.
|
|
| Object (const Object &)=delete |
|
Object & | operator= (const Object &)=delete |
|
| Object (Object &&src) noexcept |
|
Object & | operator= (Object &&src) noexcept |
|
void * | get_data (const QueryQuark &key) |
|
void | set_data (const Quark &key, void *data) |
|
void | set_data_with_c_callback (const Quark &key, void *data, GDestroyNotify notify) |
|
void | set_data (const Quark &key, void *data, DestroyNotify notify) |
|
void | remove_data (const QueryQuark &quark) |
|
void * | steal_data (const QueryQuark &quark) |
|
Glib::RefPtr< Glib::Object > | wrap (GObject *object, bool take_copy=false) |
|
| ObjectBase (const ObjectBase &)=delete |
|
ObjectBase & | operator= (const ObjectBase &)=delete |
|
void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) |
|
void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const |
|
void | set_property (const Glib::ustring &property_name, const PropertyType &value) |
|
void | get_property (const Glib::ustring &property_name, PropertyType &value) const |
|
PropertyType | get_property (const Glib::ustring &property_name) const |
|
sigc::connection | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void()> &slot) |
|
sigc::connection | connect_property_changed (const Glib::ustring &property_name, sigc::slot< void()> &&slot) |
|
void | freeze_notify () |
|
void | thaw_notify () |
|
virtual void | reference () const |
|
virtual void | unreference () const |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
GObject * | gobj_copy () const |
|
| trackable () noexcept |
|
| trackable (const trackable &src) noexcept |
|
| trackable (trackable &&src) noexcept |
|
| ~trackable () |
|
void | add_destroy_notify_callback (notifiable *data, func_destroy_notify func) const |
|
void | notify_callbacks () |
|
trackable & | operator= (const trackable &src) |
|
trackable & | operator= (trackable &&src) noexcept |
|
void | remove_destroy_notify_callback (notifiable *data) const |
|
Gdk::MemoryTextureBuilder is a builder used to construct Gdk::Texture objects from system memory provided via Glib::Bytes.
The operation is quite simple: Create a texture builder, set all the necessary properties - keep in mind that property_bytes(), property_stride(), property_width(), and property_height() are mandatory - and then call build() to create the new texture.
Gdk::MemoryTextureBuilder can be used for quick one-shot construction of textures as well as kept around and reused to construct multiple textures.
- Since gtkmm 4.16: