find out if object is an external => prints EFL error, but seems to work until my application finds a better way to find out
This commit is contained in:
parent
36d22d50fc
commit
3d0cb4e535
|
@ -43,6 +43,8 @@ public:
|
||||||
*/
|
*/
|
||||||
Evasxx::Object &getSwallow ();
|
Evasxx::Object &getSwallow ();
|
||||||
|
|
||||||
|
bool isExternalObject ();
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @throw ExternalNotExistingException
|
* @throw ExternalNotExistingException
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -78,6 +78,11 @@ Evasxx::Object &Part::getSwallow()
|
||||||
return *mSwallowObject;
|
return *mSwallowObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Part::isExternalObject ()
|
||||||
|
{
|
||||||
|
return edje_object_part_external_object_get (mParent->obj(), mPartname.c_str ());
|
||||||
|
}
|
||||||
|
|
||||||
Evasxx::Object &Part::getExternalObject ()
|
Evasxx::Object &Part::getExternalObject ()
|
||||||
{
|
{
|
||||||
Evas_Object *eo = edje_object_part_external_object_get (mParent->obj(), mPartname.c_str ());
|
Evas_Object *eo = edje_object_part_external_object_get (mParent->obj(), mPartname.c_str ());
|
||||||
|
|
Loading…
Reference in New Issue