Dali::DragAndDropDetector GetDragAndDropDetector() const;
/**
+ * @copydoc Dali::Window::GetNativeHandle() const
+ */
+ Dali::Any GetNativeHandle() const;
+
+ /**
* Called from Orientation after the Change signal has been sent
*/
void RotationDone( int orientation, int width, int height );
return GetImplementation(*this).GetDragAndDropDetector();
}
+Any Window::GetNativeHandle() const
+{
+ return GetImplementation(*this).GetNativeHandle();
+}
+
Window::Window( Internal::Adaptor::Window* window )
: BaseHandle( window )
{
#include <dali/public-api/math/rect.h>
#include <dali/public-api/math/vector2.h>
#include <dali/public-api/object/base-handle.h>
+#include <dali/public-api/object/any.h>
namespace Dali
{
*/
DragAndDropDetector GetDragAndDropDetector() const;
+ /**
+ * @brief Get the native handle of the window.
+ * @return The native handle of the window or an empty handle.
+ */
+
+ Any GetNativeHandle() const;
+
public: // Not intended for application developers
/**
* @brief This constructor is used by Dali::Application::GetWindow().
return mDragAndDropDetector;
}
+Dali::Any Window::GetNativeHandle() const
+{
+ if(mEventHandler)
+ {
+ return mEventHandler->mEcoreWindow;
+ }
+ else
+ {
+ return Dali::Any();
+ }
+}
+
void Window::OnStart()
{
DoShowIndicator( mIndicatorOrientation );
return mDragAndDropDetector;
}
+Dali::Any Window::GetNativeHandle() const
+{
+ if(mEventHandler)
+ {
+ return mEventHandler->mEcoreWindow;
+ }
+ else
+ {
+ return Dali::Any();
+ }
+}
+
void Window::OnStart()
{
DoShowIndicator( mIndicatorOrientation );