Logo Search packages:      
Sourcecode: agave version File versions  Download package

void gcs::Widgets::TextSwatch::on_clipboard_get ( Gtk::SelectionData &  data,
guint  info 
) [private]

Called when the clipboard requests the contents that were copied

Definition at line 250 of file gcs-textswatch.cc.

References m_clipboardBuffer.

Referenced by on_action_copy().

        {
            if (data.get_target() == "UTF8_STRING")
            {
                data.set_text(m_clipboardBuffer);
            }
        }


Generated by  Doxygen 1.6.0   Back to index