views:

16

answers:

1

With a windows error dialog I can use CTRL-C to copy the window text.

I would like to allow users to do the same thing with the message dialogs I am using in my GTK app.

Is there a way to allow a GTK MessageDialog class to handle the copy command?

A: 

What I ended up doing was to add a message handler to the dialog to trap the Keyboard up command.

When that was triggered I checked for the CTRL-C combo and put the text onto the clipboard there.

chollida