[Tizen] Add InsetsChangedSignal to WindowBaseEcoreWl2
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / window-devel.h
1 #ifndef DALI_WINDOW_DEVEL_H
2 #define DALI_WINDOW_DEVEL_H
3
4 /*
5  * Copyright (c) 2023 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 // EXTERNAL INCLUDES
22 #include <memory>
23
24 // INTERNAL INCLUDES
25 #include <dali/devel-api/adaptor-framework/mouse-in-out-event.h>
26 #include <dali/public-api/adaptor-framework/window-enumerations.h>
27 #include <dali/public-api/adaptor-framework/window.h>
28 #include <dali/public-api/common/vector-wrapper.h>
29
30 namespace Dali
31 {
32 class KeyEvent;
33 class TouchEvent;
34 class WheelEvent;
35 class RenderTaskList;
36 struct TouchPoint;
37
38 namespace DevelWindow
39 {
40 typedef Signal<void()>                                                               EventProcessingFinishedSignalType;       ///< Event Processing finished signal type
41 typedef Signal<void(const KeyEvent&)>                                                KeyEventSignalType;                      ///< Key event signal type
42 typedef Signal<void(const TouchEvent&)>                                              TouchEventSignalType;                    ///< Touch signal type
43 typedef Signal<void(const WheelEvent&)>                                              WheelEventSignalType;                    ///< Wheel signal type
44 typedef Signal<void(Window, bool)>                                                   VisibilityChangedSignalType;             ///< Visibility changed signal type
45 typedef Signal<void(Window, WindowEffectState, WindowEffectType)>                    TransitionEffectEventSignalType;         ///< Effect signal type and state
46 typedef Signal<void()>                                                               KeyboardRepeatSettingsChangedSignalType; ///< Keyboard repeat settings changed signal type
47 typedef Signal<void(const std::string&, const std::string&, const Property::Array&)> AuxiliaryMessageSignalType;              ///< Auxiliary message signal type
48 typedef Signal<void(Window, bool)>                                                   AccessibilityHighlightSignalType;        ///< Accessibility Highlight signal type
49 typedef Signal<bool(const KeyEvent&)>                                                InterceptKeyEventSignalType;             ///< Intercept Key event signal type
50 typedef Signal<void(Window, Dali::Window::WindowPosition)>                           MovedSignalType;                         ///< Window Moved signal type
51 typedef Signal<void(Window, Dali::WindowOrientation)>                                OrientationChangedSignalType;            ///< Window orientation changed signal type
52 typedef Signal<void(Window, const Dali::DevelWindow::MouseInOutEvent&)>              MouseInOutEventSignalType;               ///< MouseInOutEvent signal type
53 typedef Signal<void(Window, Dali::Window::WindowPosition)>                           MoveCompletedSignalType;                 ///< Window Moved by Server signal type
54 typedef Signal<void(Window, Dali::Window::WindowSize)>                               ResizeCompletedSignalType;               ///< Window Resized by Server signal type
55 typedef Signal<void(WindowInsetsPartType, WindowInsetsPartState, const Extents&)>    InsetsChangedSignalType;                 ///< InsetsChanged signal type
56
57 /**
58  * @brief Creates an initialized handle to a new Window.
59  *
60  * @param[in] surface Can be a window or pixmap.
61  * @param[in] windowPosition The position and size of the Window
62  * @param[in] name The Window title
63  * @param[in] isTransparent Whether Window is transparent
64  * @return A new window
65  * @note This creates an extra window in addition to the default main window
66  */
67 DALI_ADAPTOR_API Window New(Any surface, PositionSize windowPosition, const std::string& name, bool isTransparent = false);
68
69 /**
70  * @brief Creates an initialized handle to a new Window.
71  *
72  * @param[in] surface Can be a window or pixmap.
73  * @param[in] windowPosition The position and size of the Window
74  * @param[in] name The Window title
75  * @param[in] className The Window class name
76  * @param[in] isTransparent Whether Window is transparent
77  * @note This creates an extra window in addition to the default main window
78  * @return A new Window
79  */
80 DALI_ADAPTOR_API Window New(Any surface, PositionSize windowPosition, const std::string& name, const std::string& className, bool isTransparent = false);
81
82 /**
83  * @brief Sets position and size of the window. This API guarantees that both moving and resizing of window will appear on the screen at once.
84  *
85  * @param[in] window The window instance
86  * @param[in] positionSize The new window position and size
87  */
88 DALI_ADAPTOR_API void SetPositionSize(Window window, PositionSize positionSize);
89
90 /**
91  * @brief Retrieve the window that the given actor is added to.
92  *
93  * @param[in] actor The actor
94  * @return The window the actor is added to or an empty handle if the actor is not added to any window.
95  */
96 DALI_ADAPTOR_API Window Get(Actor actor);
97
98 /**
99  * @brief This signal is emitted just after the event processing is finished.
100  *
101  * @param[in] window The window instance
102  * @return The signal to connect to
103  */
104 DALI_ADAPTOR_API EventProcessingFinishedSignalType& EventProcessingFinishedSignal(Window window);
105
106 /**
107  * @brief This signal is emitted when wheel event is received.
108  *
109  * A callback of the following type may be connected:
110  * @code
111  *   void YourCallbackName(const WheelEvent& event);
112  * @endcode
113  * @param[in] window The window instance
114  * @return The signal to connect to
115  */
116 DALI_ADAPTOR_API WheelEventSignalType& WheelEventSignal(Window window);
117
118 /**
119  * @brief This signal is emitted when the window is shown or hidden.
120  *
121  * A callback of the following type may be connected:
122  * @code
123  *   void YourCallbackName( Window window, bool visible );
124  * @endcode
125  * @param[in] window The window instance
126  * @return The signal to connect to
127  */
128 DALI_ADAPTOR_API VisibilityChangedSignalType& VisibilityChangedSignal(Window window);
129
130 /**
131  * @brief This signal is emitted for transition effect.
132  *
133  * The transition animation is appeared when the window is shown/hidden.
134  * When the animation is started, START signal is emitted.
135  * Then the animation is ended, END signal is emitted, too.
136  * A callback of the following type may be connected:
137  * @code
138  *   void YourCallbackName( Window window, EffectState state, EffectType type );
139  * @endcode
140  * @param[in] window The window instance
141  * @return The signal to connect to
142  */
143 DALI_ADAPTOR_API TransitionEffectEventSignalType& TransitionEffectEventSignal(Window window);
144
145 /**
146  * @brief This signal is emitted just after the keyboard repeat setting is changed globally.
147  *
148  * @param[in] window The window instance
149  * @return The signal to connect to
150  */
151 DALI_ADAPTOR_API KeyboardRepeatSettingsChangedSignalType& KeyboardRepeatSettingsChangedSignal(Window window);
152
153 /**
154  * @brief This signal is emitted when window's auxiliary was changed then display server sent the message.
155  *
156  * Auxiliary message is sent by display server.
157  * When client application added the window's auxiliary hint and if the auxiliary is changed,
158  * display server send the auxiliary message.
159  * Auxiliary message has the key, value and options.
160  *
161  * @param[in] window The window instance
162  * @return The signal to connect to
163  */
164 DALI_ADAPTOR_API AuxiliaryMessageSignalType& AuxiliaryMessageSignal(Window window);
165
166 /**
167  * @brief This signal is emitted when the window needs to grab or clear accessibility highlight.
168  * The highlight indicates that it is an object to interact with the user regardless of focus.
169  * After setting the highlight on the object, you can do things that the object can do, such as
170  * giving or losing focus.
171  *
172  * This signal is emitted by Dali::Accessibility::Component::GrabHighlight
173  * and Dali::Accessibility::Component::ClearHighlight
174  *
175  * A callback of the following type may be connected:
176  * @code
177  *   void YourCallbackName( Window window, bool highlight );
178  * @endcode
179  *
180  * @param[in] window The window instance
181  * @return The signal to connect to
182  */
183 DALI_ADAPTOR_API AccessibilityHighlightSignalType& AccessibilityHighlightSignal(Window window);
184
185 /**
186  * @brief Sets parent window of the window.
187  *
188  * After setting that, these windows do together when raise-up, lower and iconified/deiconified.
189  * Initially, the window is located on top of the parent. The window can go below parent by calling Lower().
190  * If parent's window stack is changed by calling Raise() or Lower(), child windows are located on top of the parent again.
191  *
192  * @param[in] window The window instance
193  * @param[in] parent The parent window instance
194  */
195 DALI_ADAPTOR_API void SetParent(Window window, Window parent);
196
197 /**
198  * @brief Sets parent window of the window.
199  *
200  * After setting that, these windows do together when raise-up, lower and iconified/deiconified.
201  * This function has the additional flag whether the child is located above or below of the parent.
202  *
203  * @param[in] window The window instance
204  * @param[in] parent The parent window instance
205  * @param[in] belowParent The flag is whether the child is located above or below of the parent.
206  */
207 DALI_ADAPTOR_API void SetParent(Window window, Window parent, bool belowParent);
208
209 /**
210  * @brief Unsets parent window of the window.
211  *
212  * After unsetting, the window is disconnected his parent window.
213  *
214  * @param[in] window The window instance
215  */
216 DALI_ADAPTOR_API void Unparent(Window window);
217
218 /**
219  * @brief Gets parent window of the window.
220  *
221  * @param[in] window The window instance
222  * @return The parent window of the window
223  */
224 DALI_ADAPTOR_API Window GetParent(Window window);
225
226 /**
227  * @brief Gets current orientation of the window.
228  *
229  * @param[in] window The window instance
230  * @return The current window orientation if previously set, or none
231  */
232 DALI_ADAPTOR_API WindowOrientation GetCurrentOrientation(Window window);
233
234 /**
235  * @brief Gets current physical orientation of the window.
236  *
237  * It means current physical rotation angle of the window.
238  * If the height of the display device's area is greater than the width,
239  * default current orientation is PORTRAIT and current physical orientation angle is 0.
240  * If the width of the display device's area is greater than the height,
241  * default current orientation is LANDSCAPE and current physical orientation angle is 0.
242  *
243  * @param[in] window The window instance
244  * @return The current physical orientation degree of the window. It is one of them as 0, 90, 180 and 270.
245  */
246 DALI_ADAPTOR_API int GetPhysicalOrientation(Window window);
247
248 /**
249  * @brief Sets available orientations of the window.
250  *
251  * This API is for setting several orientations one time.
252  *
253  * @param[in] window The window instance
254  * @param[in] orientations The available orientation list to add
255  */
256 DALI_ADAPTOR_API void SetAvailableOrientations(Window window, const Dali::Vector<WindowOrientation>& orientations);
257
258 /**
259  * @brief Gets current window ID.
260  *
261  * @param[in] window The window instance
262  */
263 DALI_ADAPTOR_API int32_t GetNativeId(Window window);
264
265 /**
266  * @brief Adds a callback that is called when the frame rendering is done by the graphics driver.
267  *
268  * @param[in] window The window instance
269  * @param[in] callback The function to call
270  * @param[in] frameId The Id to specify the frame. It will be passed when the callback is called.
271  *
272  * @note A callback of the following type may be used:
273  * @code
274  *   void MyFunction( int frameId );
275  * @endcode
276  * This callback will be deleted once it is called.
277  *
278  * @note Ownership of the callback is passed onto this class.
279  */
280 DALI_ADAPTOR_API void AddFrameRenderedCallback(Window window, std::unique_ptr<CallbackBase> callback, int32_t frameId);
281
282 /**
283  * @brief Adds a callback that is called when the frame is displayed on the display.
284  *
285  * @param[in] window The window instance
286  * @param[in] callback The function to call
287  * @param[in] frameId The Id to specify the frame. It will be passed when the callback is called.
288  *
289  * @note A callback of the following type may be used:
290  * @code
291  *   void MyFunction( int frameId );
292  * @endcode
293  * This callback will be deleted once it is called.
294  *
295  * @note Ownership of the callback is passed onto this class.
296  */
297 DALI_ADAPTOR_API void AddFramePresentedCallback(Window window, std::unique_ptr<CallbackBase> callback, int32_t frameId);
298
299 /**
300  * @brief Sets window position and size for specific orientation.
301  * This api reserves the position and size per orientation to display server.
302  * When the device is rotated, the window is moved/resized with the reserved position/size by display server.
303  *
304  * @param[in] window The window instance
305  * @param[in] positionSize The reserved position and size for the orientation
306  * @param[in] orientation The orientation
307  *
308  * @note Currently, it only works when the window's type is WindowType::IME.
309  * @note To set WindowType::IME, use Application New(... WindowType type), not Window::SetType().
310  * @note This function is only useful in Tizen world.
311  */
312 DALI_ADAPTOR_API void SetPositionSizeWithOrientation(Window window, PositionSize positionSize, WindowOrientation orientation);
313
314 /**
315  * @brief Requests to display server for the window is moved by display server.
316  *
317  * This function should be called in mouse down event callback function.
318  * After this function is called in mouse down event callback function, the window is moved with mouse move event.
319  * When mouse up event happens, the window moved work is finished.
320  *
321  * @param[in] window The window instance
322  */
323 DALI_ADAPTOR_API void RequestMoveToServer(Window window);
324
325 /**
326  * @brief Requests to display server for the window is resized by display server.
327  *
328  * This function should be called in mouse down event callback function.
329  * After this function is called in mouse down event callback function, the window is resized with mouse move event.
330  * The direction is selected one of eight ways.
331  * When mouse up event happens, the window resized work is finished.
332  *
333  * @param[in] window The window instance
334  * @param[in] direction it is indicated the window's side or edge for starting point.
335  */
336 DALI_ADAPTOR_API void RequestResizeToServer(Window window, WindowResizeDirection direction);
337
338 /**
339  * @brief Enables the floating mode of window.
340  *
341  * The floating mode is to support making partial size window easliy.
342  * It is useful to make popup style window and this window is always upper than the other normal window.
343  * In addition, it is easy to change between popup style and normal style window.
344  *
345  * A special display server(as a Tizen display server) supports this mode.
346  *
347  * @param[in] window The window instance.
348  * @param[in] enable Enable floating mode or not.
349  */
350 DALI_ADAPTOR_API void EnableFloatingMode(Window window, bool enable);
351
352 /**
353  * @brief Returns whether the window is floating mode or not.
354  *
355  * @param[in] window The window instance.
356  * @return True if the window is enabled floating mode, false otherwise.
357  */
358 DALI_ADAPTOR_API bool IsFloatingModeEnabled(Window window);
359
360 /**
361  * @brief Includes input region.
362  *
363  * This function inlcudes input regions.
364  * It can be used multiple times and supports multiple regions.
365  * It means input region will be extended.
366  *
367  * This input is related to mouse and touch event.
368  * If device has touch screen, this function is useful.
369  * Otherwise device does not have that, we can use it after connecting mouse to the device.
370  *
371  * @param[in] window The window instance.
372  * @param[in] inputRegion The added region to accept input events.
373  */
374 DALI_ADAPTOR_API void IncludeInputRegion(Window window, const Rect<int>& inputRegion);
375
376 /**
377  * @brief Excludes input region.
378  *
379  * This function excludes input regions.
380  * It can be used multiple times and supports multiple regions.
381  * It means input region will be reduced.
382  * Nofice, should be set input area by IncludeInputRegion() before this function is used.
383  *
384  * This input is related to mouse and touch event.
385  * If device has touch screen, this function is useful.
386  * Otherwise device does not have that, we can use it after connecting mouse to the device.
387  *
388  * @param[in] window The window instance.
389  * @param[in] inputRegion The subtracted region to except input events.
390  */
391 DALI_ADAPTOR_API void ExcludeInputRegion(Window window, const Rect<int>& inputRegion);
392
393 /**
394  * @brief Sets the necessary for window rotation Acknowledgement.
395  * After this function called, SendRotationCompletedAcknowledgement() should be called to complete window rotation.
396  *
397  * This function is supprot that application has the window rotation acknowledgement's control.
398  * It means display server waits when application's rotation work is finished.
399  * It is useful application has the other rendering engine which works asynchronous.
400  * For instance, GlView.
401  * It only works on Tizen device.
402  *
403  * @param[in] window The window instance.
404  * @param[in] needAcknowledgement the flag is true if window rotation acknowledge is sent.
405  */
406 DALI_ADAPTOR_API void SetNeedsRotationCompletedAcknowledgement(Window window, bool needAcknowledgement);
407
408 /**
409  * @brief send the Acknowledgement to complete window rotation.
410  * For this function, SetNeedsRotationCompletedAcknowledgement should be already called with true.
411  *
412  * @param[in] window The window instance.
413  */
414 DALI_ADAPTOR_API void SendRotationCompletedAcknowledgement(Window window);
415
416 /**
417  * @brief Feed (Send) touch event to window
418  * @param[in] window The window instance
419  * @param[in] point The touch point
420  * @param[in] timeStamp The time stamp
421  */
422 DALI_ADAPTOR_API void FeedTouchPoint(Window window, const Dali::TouchPoint& point, int32_t timeStamp);
423
424 /**
425  * @brief Feed (Send) wheel event to window
426  * @param[in] window The window instance
427  * @param[in] wheelEvent The wheel event
428  */
429 DALI_ADAPTOR_API void FeedWheelEvent(Window window, const Dali::WheelEvent& wheelEvent);
430
431 /**
432  * @brief Feed (Send) key event to window
433  * @param[in] window The window instance
434  * @param[in] keyEvent The key event holding the key information.
435  */
436 DALI_ADAPTOR_API void FeedKeyEvent(Window window, const Dali::KeyEvent& keyEvent);
437
438 /**
439  * @brief Maximizes window's size.
440  * If this function is called with true, window will be resized with screen size.
441  * Otherwise window will be resized with previous size.
442  * It is for the window's MAX button in window's border.
443  *
444  * It is for client application.
445  * If window border is supported by display server, it is not necessary.
446  *
447  * @param[in] window The window instance.
448  * @param[in] maximize If window is maximized or unmaximized.
449  */
450 DALI_ADAPTOR_API void Maximize(Window window, bool maximize);
451
452 /**
453  * @brief Returns whether the window is maximized or not.
454  *
455  * @param[in] window The window instance.
456  * @return True if the window is maximized, false otherwise.
457  */
458 DALI_ADAPTOR_API bool IsMaximized(Window window);
459
460 /**
461  * @brief Sets window's maximum size.
462  *
463  * It is to set the maximized size when window is maximized or the window's size is increased by RequestResizeToServer().
464  * Although the size is set by this function, window's size can be increased over the limitation by SetPositionSize() or SetSize().
465  *
466  * After setting, if Maximize() is called, window is resized with the setting size and move the center.
467  *
468  * @param[in] window The window instance.
469  * @param[in] size the maximum size
470  */
471 DALI_ADAPTOR_API void SetMaximumSize(Window window, Dali::Window::WindowSize size);
472
473 /**
474  * @brief Minimizes window's size.
475  * If this function is called with true, window will be iconified.
476  * Otherwise window will be activated.
477  * It is for the window's MIN button in window border.
478  *
479  * It is for client application.
480  * If window border is supported by display server, it is not necessary.
481  *
482  * @param[in] window The window instance.
483  * @param[in] minimize If window is minimized or unminimized(activated).
484  */
485 DALI_ADAPTOR_API void Minimize(Window window, bool minimize);
486
487 /**
488  * @brief Returns whether the window is minimized or not.
489  *
490  * @param[in] window The window instance.
491  * @return True if the window is minimized, false otherwise.
492  */
493 DALI_ADAPTOR_API bool IsMinimized(Window window);
494
495 /**
496  * @brief Sets window's minimum size.
497  *
498  * It is to set the minimum size when window's size is decreased by RequestResizeToServer().
499  * Although the size is set by this function, window's size can be decreased over the limitation by SetPositionSize() or SetSize().
500  *
501  * @param[in] window The window instance.
502  * @param[in] size the minimum size
503  */
504 DALI_ADAPTOR_API void SetMimimumSize(Window window, Dali::Window::WindowSize size);
505
506 /**
507  * @brief Query whether window is rotating or not.
508  *
509  * @param[in] window The window instance.
510  * @return true if window is rotating, false otherwise.
511  */
512 DALI_ADAPTOR_API bool IsWindowRotating(Window window);
513
514 /**
515  * @brief Gets the last key event the window gets.
516  *
517  * @param[in] window The window instance.
518  * @return The last key event the window gets.
519  */
520 DALI_ADAPTOR_API const KeyEvent& GetLastKeyEvent(Window window);
521
522 /**
523  * @brief Gets the last touch event the window gets.
524  *
525  * @param[in] window The window instance.
526  * @return The last touch event the window gets.
527  * @note It returns the raw event the window gets. There is no hit-actor and local position information.
528  */
529 DALI_ADAPTOR_API const TouchEvent& GetLastTouchEvent(Window window);
530
531 /**
532  * @brief The user would connect to this signal to intercept a KeyEvent at window.
533  *
534  * Intercepts KeyEvents in the window before dispatching KeyEvents to the control.
535  * If a KeyEvent is consumed, no KeyEvent is delivered to the control.
536  *
537  * @param[in] window The window instance.
538  * @return The signal to connect to
539  */
540 DALI_ADAPTOR_API InterceptKeyEventSignalType& InterceptKeyEventSignal(Window window);
541
542 /**
543  * @brief This signal is emitted when the window is moved.
544  *
545  * A callback of the following type may be connected:
546  * @code
547  *   void YourCallbackName( Window window, Dali::Window::WindowPosition position );
548  * @endcode
549  * The parameters are the moved x and y coordinates.
550  * and window means this signal was called from what window
551  *
552  * @param[in] window The window instance.
553  * @return The signal to connect to
554  */
555 DALI_ADAPTOR_API MovedSignalType& MovedSignal(Window window);
556
557 /**
558  * @brief This signal is emitted when the window orientation is changed.
559  *
560  * To emit Window Orientation signal, AddAvailableOrientation() or SetPreferredOrientation() should be called before device is rotated.
561  * Most of cases, AddAvailableOrientation() or SetPreferredOrientation() is callled in onCreate().
562  *
563  * A callback of the following type may be connected:
564  * @code
565  *   void YourCallbackName( Window window, Dali::WindowOrientation orientation );
566  * @endcode
567  * The parameter is the changed window orientation.
568  * and window means this signal was called from what window
569  *
570  * @param[in] window The window instance.
571  * @return The signal to connect to
572  */
573 DALI_ADAPTOR_API OrientationChangedSignalType& OrientationChangedSignal(Window window);
574
575 /**
576  * @brief This signal is emitted when the mouse in or out event is received.
577  *
578  * A callback of the following type may be connected:
579  * @code
580  *   void YourCallbackName( Window window, Dali::MouseInOutEvent event );
581  * @endcode
582  *
583  * @param[in] window The window instance.
584  * @return The signal to connect to
585  */
586 DALI_ADAPTOR_API MouseInOutEventSignalType& MouseInOutEventSignal(Window window);
587
588 /**
589  * @brief This signal is emitted when window has been moved by the display server.
590  * To make the window move by display server, RequestMoveToServer() should be called.
591  * After the moving job is completed, this function will be called.
592  *
593  * A callback of the following type may be connected:
594  * @code
595  *   void YourCallbackName( Window window, Dali::Window::WindowPosition position );
596  * @endcode
597  * The parameters are the moved x and y coordinates.
598  * and window means this signal was called from what window
599  *
600  * @param[in] window The window instance.
601  * @return The signal to connect to
602  */
603 DALI_ADAPTOR_API MoveCompletedSignalType& MoveCompletedSignal(Window window);
604
605 /**
606  * @brief This signal is emitted when window has been resized by the display server.
607  * To make the window move by display server, RequestResizeToServer() should be called.
608  * After the resizing job is completed, this function will be called.
609  *
610  * A callback of the following type may be connected:
611  * @code
612  *   void YourCallbackName( Window window, Dali::Window::WindowPosition position );
613  * @endcode
614  * The parameters are the resized width and height coordinates.
615  * and window means this signal was called from what window
616  *
617  * @param[in] window The window instance.
618  * @return The signal to connect to
619  */
620 DALI_ADAPTOR_API ResizeCompletedSignalType& ResizeCompletedSignal(Window window);
621
622 /**
623  * @brief This signal is emitted when window insets are changed by appearing or disappearing indicator, virtual keyboard, or clipboard.
624  *
625  * @param[in] window The window instance
626  * @return The signal to connect to
627  */
628 DALI_ADAPTOR_API InsetsChangedSignalType& InsetsChangedSignal(Window window);
629
630 } // namespace DevelWindow
631
632 } // namespace Dali
633
634 #endif // DALI_WINDOW_DEVEL_H