find out if object is an external => prints EFL error, but seems to work until my application finds a better way to find out

master
Andreas Volz 7 years ago
parent 36d22d50fc
commit 3d0cb4e535
  1. 2
      edjexx/include/edjexx/Part.h
  2. 5
      edjexx/src/Part.cpp

@ -43,6 +43,8 @@ public:
*/
Evasxx::Object &getSwallow ();
bool isExternalObject ();
/*!
* @throw ExternalNotExistingException
*/

@ -78,6 +78,11 @@ Evasxx::Object &Part::getSwallow()
return *mSwallowObject;
}
bool Part::isExternalObject ()
{
return edje_object_part_external_object_get (mParent->obj(), mPartname.c_str ());
}
Evasxx::Object &Part::getExternalObject ()
{
Evas_Object *eo = edje_object_part_external_object_get (mParent->obj(), mPartname.c_str ());

Loading…
Cancel
Save