Selectable text for gtk_message_dialog_new

Is there an easy way to make the text selectable (and copyable) inside the dialog created by gtk_message_dialog_new?
Or do I have to create a message dialog window manually to achieve that?

You can retrieve the message area widget using gtk_message_dialog_get_message_area() and set the labels inside it as selectable.

1 Like

I would appreciate it if someone knowledgeable with GTK (and maybe Rust) reviewed this Rust code:

Iā€™m very inexperienced with GTK.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.