3 #ifndef _GTKMM_SELECTIONDATA_H
4 #define _GTKMM_SELECTIONDATA_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 #ifndef DOXYGEN_SHOULD_SKIP_THIS
47 #ifndef DOXYGEN_SHOULD_SKIP_THIS
86 void set(
int format,
const guint8* data,
int length);
96 void set(
const std::string& type,
int format,
const guint8* data,
int length);
104 void set(
const std::string& type,
const std::string& data);
164 bool set_uris(
const Glib::StringArrayHandle& uris);
301 #ifndef DOXYGEN_SHOULD_SKIP_THIS
const guchar * get_data() const
bool targets_include_text() const
void set(const std::string &type, const std::string &data)
std::string get_target() const
std::string get_data_as_string() const
bool targets_include_uri() const
bool targets_include_rich_text(const Glib::RefPtr< TextBuffer > &buffer) const
Glib::RefPtr< const Gdk::Pixbuf > get_pixbuf() const
Glib::StringArrayHandle get_uris() const
void set(const std::string &type, int format, const guint8 *data, int length)
const GtkSelectionData * gobj() const
Provides access to the underlying C instance.
void swap(SelectionData &other)
bool targets_include_image(bool writable=true) const
GtkSelectionData * gobj()
Provides access to the underlying C instance.
Gdk::ArrayHandle_AtomString get_targets() const
See also Gtk::Clipboard::request_targets()
Gtk::SelectionData wrap(GtkSelectionData *object, bool take_copy=false)
GdkAtom get_selection() const
Glib::RefPtr< const Gdk::Display > get_display() const
bool set_text(const Glib::ustring &data)
std::string get_data_type() const
Glib::RefPtr< Gdk::Pixbuf > get_pixbuf()
Glib::ustring get_text() const
void set(int format, const guint8 *data, int length)
static GType get_type() G_GNUC_CONST
GtkSelectionData * gobj_copy() const
Provides access to the underlying C instance. The caller is responsible for freeing it....
bool set_uris(const Glib::StringArrayHandle &uris)
bool set_pixbuf(const Glib::RefPtr< Gdk::Pixbuf > &pixbuf)
Glib::RefPtr< Gdk::Display > get_display()
void swap(SelectionData &lhs, SelectionData &rhs)
GtkSelectionData * gobject_
struct _GdkAtom * GdkAtom
GtkImagePixbufData pixbuf
PBD::PropertyDescriptor< timecnt_t > length
Glib::ArrayHandle< std::string, AtomStringTraits > ArrayHandle_AtomString