#include <targetlist.h>
Definition at line 36 of file targetlist.h.
◆ TargetList() [1/2]
Gtk::TargetList::TargetList |
( |
| ) |
|
|
protected |
◆ TargetList() [2/2]
Gtk::TargetList::TargetList |
( |
const TargetList & |
| ) |
|
|
private |
◆ add() [1/2]
◆ add() [2/2]
void Gtk::TargetList::add |
( |
const Glib::ustring & |
target, |
|
|
TargetFlags |
flags = TargetFlags(0) , |
|
|
guint |
info = 0 |
|
) |
| |
Appends another target to a Gtk::TargetList.
- Parameters
-
target | The interned atom representing the target. |
flags | The flags for this target. |
info | An ID that will be passed back to the application. |
◆ create()
◆ find()
bool Gtk::TargetList::find |
( |
const Glib::ustring & |
target, |
|
|
guint * |
info |
|
) |
| const |
Looks up a given target in a Gtk::TargetList.
- Parameters
-
target | An interned atom representing the target to search for. |
info | A pointer to the location to store application info for target, or 0 . |
- Returns
true
if the target was found, otherwise false
.
◆ gobj() [1/2]
Provides access to the underlying C instance.
◆ gobj() [2/2]
Provides access to the underlying C instance.
◆ gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
◆ operator delete()
void Gtk::TargetList::operator delete |
( |
void * |
, |
|
|
std::size_t |
|
|
) |
| |
|
protected |
◆ operator=()
◆ reference()
void Gtk::TargetList::reference |
( |
| ) |
const |
Increment the reference count for this object. You should never need to do this manually - use the object via a RefPtr instead.
◆ remove()
void Gtk::TargetList::remove |
( |
const Glib::ustring & |
target | ) |
|
Removes a target from a target list.
- Parameters
-
target | The interned atom representing the target. |
◆ unreference()
void Gtk::TargetList::unreference |
( |
| ) |
const |
Decrement the reference count for this object. You should never need to do this manually - use the object via a RefPtr instead.
◆ wrap()
A Glib::wrap() method for this object.
- Parameters
-
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns
- A C++ instance that wraps this C instance.
The documentation for this class was generated from the following file: