2017-12-10 21:50:22 -08:00
|
|
|
interface Efl.Duplicate
|
2017-11-29 03:03:16 -08:00
|
|
|
{
|
|
|
|
[[An interface for duplication of objects.
|
|
|
|
|
2017-12-10 21:50:22 -08:00
|
|
|
Objects implementing this interface can be duplicated with @.duplicate.
|
2017-11-29 03:03:16 -08:00
|
|
|
]]
|
|
|
|
methods {
|
2017-12-10 21:50:22 -08:00
|
|
|
duplicate @const {
|
2017-11-29 03:03:16 -08:00
|
|
|
[[Creates a carbon copy of this object and returns it.
|
|
|
|
|
|
|
|
The newly created object will have no event handlers or anything of
|
|
|
|
the sort.
|
|
|
|
]]
|
2017-12-10 21:50:22 -08:00
|
|
|
return: Efl.Duplicate @owned; [[Returned carbon copy]]
|
2017-11-29 03:03:16 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|