Copy widget preset (like clone_from) #1932
-
I want to copy all TextTag settings to new one, something like clone, but for new object in memory. For example I have some link, with foreground, underline and other options preset and want to grab these defaults. Is it possible with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Objects might have internals that cannot be cloned externally. So such methods cannot be automatically provided. You will have to either write such code for your specific use case in the application side or edit glib to add such Clone interface for GObjects so that Rust can use. |
Beta Was this translation helpful? Give feedback.
Objects might have internals that cannot be cloned externally. So such methods cannot be automatically provided.
You will have to either write such code for your specific use case in the application side or edit glib to add such Clone interface for GObjects so that Rust can use.