Searched defs:lifetime (Results 1 - 4 of 4) sorted by relevance

/inkscape/src/display/
H A Dcanvas-temporary-item-list.cpp37 TemporaryItemList::add_item(SPCanvasItem *item, unsigned int lifetime) argument
40 TemporaryItem * tempitem = new TemporaryItem(item, lifetime);
H A Dcanvas-temporary-item.cpp5 * After its lifetime, it fires the timeout signal, afterwards *it deletes itself*.
25 /** lifetime is measured in milliseconds
27 TemporaryItem::TemporaryItem(SPCanvasItem *item, guint lifetime, bool deselect_destroy) argument
32 if (lifetime > 0 && destroy_on_deselect) {
33 g_print ("Warning: lifetime should be 0 when destroy_on_deselect is true\n");
34 lifetime = 0;
36 // zero lifetime means stay forever, so do not add timeout event.
37 if (lifetime > 0) {
38 timeout_id = g_timeout_add(lifetime, &TemporaryItem::_timeout, this);
/inkscape/src/
H A Dmessage-stack.cpp108 MessageId MessageStack::_push(MessageType type, guint lifetime, gchar const *message) argument
118 if (lifetime) {
119 m->timeout_id = g_timeout_add(lifetime, &MessageStack::_timeout, m);
H A Ddesktop.cpp464 /** Note that lifetime is measured in milliseconds
473 SPDesktop::add_temporary_canvasitem (SPCanvasItem *item, guint lifetime, bool move_to_bottom) argument
479 return temporary_item_list->add_item(item, lifetime);

Completed in 116 milliseconds