2011-12-29 23:20:48 -08:00
|
|
|
/**
|
2016-03-16 13:52:09 -07:00
|
|
|
* @defgroup Elm_Panes Panes
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Elementary
|
|
|
|
*
|
2012-06-05 15:41:21 -07:00
|
|
|
* @image html panes_inheritance_tree.png
|
|
|
|
* @image latex panes_inheritance_tree.eps
|
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* @image html img/widget/panes/preview-00.png
|
|
|
|
* @image latex img/widget/panes/preview-00.eps width=\textwidth
|
|
|
|
*
|
|
|
|
* @image html img/panes.png
|
|
|
|
* @image latex img/panes.eps width=\textwidth
|
|
|
|
*
|
2012-02-14 20:48:31 -08:00
|
|
|
* The panes widget adds a draggable bar between two contents. When dragged
|
|
|
|
* this bar will resize contents' size.
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2013-02-16 00:43:48 -08:00
|
|
|
* Panes can be split vertically or horizontally, and contents
|
2011-12-29 23:20:48 -08:00
|
|
|
* size proportion can be customized (homogeneous by default).
|
|
|
|
*
|
2012-05-03 15:43:05 -07:00
|
|
|
* This widget inherits from the @ref Layout one, so that all the
|
|
|
|
* functions acting on it also work for panes objects.
|
|
|
|
*
|
|
|
|
* This widget emits the following signals, besides the ones sent from
|
|
|
|
* @ref Layout:
|
|
|
|
* - @c "press" - The panes has been pressed (button wasn't released yet).
|
2013-07-17 09:27:43 -07:00
|
|
|
* - @c "unpress" - The panes was released after being pressed.
|
2012-05-03 15:43:05 -07:00
|
|
|
* - @c "clicked" - The panes has been clicked>
|
|
|
|
* - @c "clicked,double" - The panes has been double clicked
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* Available styles for it:
|
|
|
|
* - @c "default"
|
|
|
|
*
|
2012-02-27 18:39:31 -08:00
|
|
|
* Default content parts of the panes widget that you can use are:
|
2011-12-29 23:20:48 -08:00
|
|
|
* @li "left" - A leftside content of the panes
|
|
|
|
* @li "right" - A rightside content of the panes
|
2012-11-29 10:43:39 -08:00
|
|
|
* @li "top" - A top content of the vertical panes
|
|
|
|
* @li "bottom" - A bottom content of the vertical panes
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-02-14 20:48:31 -08:00
|
|
|
* If panes are displayed vertically, left content will be displayed on
|
2011-12-29 23:20:48 -08:00
|
|
|
* top.
|
|
|
|
*
|
2012-02-20 16:33:36 -08:00
|
|
|
* Supported elm_object common APIs.
|
2012-04-17 13:33:59 -07:00
|
|
|
* @li @ref elm_object_part_content_set
|
|
|
|
* @li @ref elm_object_part_content_get
|
|
|
|
* @li @ref elm_object_part_content_unset
|
2012-02-20 16:33:36 -08:00
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* Here is an example on its usage:
|
|
|
|
* @li @ref panes_example
|
|
|
|
*/
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2012-11-25 22:32:53 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
2016-03-16 13:52:09 -07:00
|
|
|
* @addtogroup Elm_Panes
|
2011-12-29 23:20:48 -08:00
|
|
|
* @{
|
|
|
|
*/
|
2011-12-29 22:49:28 -08:00
|
|
|
|
Elementary: Split headers for Map, Menu, Panel, Panes, Photocam, Plug,
Prefs, ProgressBar, Radio. Route, Segment Control, Separator, Slider,
Slideshow, Spinner, Systray, Table, Thumb, Video, Web.
2013-04-28 02:58:28 -07:00
|
|
|
#ifdef EFL_EO_API_SUPPORT
|
2017-08-01 18:32:30 -07:00
|
|
|
#include "efl_ui_panes_eo.h"
|
edje/elm: Rename _internal_ to _part_ (EO)
In Edje and Elementary, we have part objects, which are what is returned
by the interface efl_part(). Those objects can't be of an opaque type as
this doesn't work nicely with strongly typed languages such as C++ or
C#. In JS, Lua, C the types are weak and mostly runtime-based so it
doesn't matter much.
As a consequence, the documentation and the types need to look nice in
this EO API. Thus, we remove the abusive term "internal" and explicitly
call all those classes "part" something.
Eventually we want the types to be declared in the EO file so bindings
(C#, C++, ...) can generate the proper access methods, returning the
best possible types.
Note that right now a few of those part types are used in the legacy API
but don't actually need to be exposed externally.
This is kind of a mega commit that does all the renaming at once, but
it's really just a big sed operation. The power of good IDEs :)
Ref T5315
Ref T5306
2017-09-12 21:29:25 -07:00
|
|
|
#include "efl_ui_panes_part.eo.h"
|
Elementary: Split headers for Map, Menu, Panel, Panes, Photocam, Plug,
Prefs, ProgressBar, Radio. Route, Segment Control, Separator, Slider,
Slideshow, Spinner, Systray, Table, Thumb, Video, Web.
2013-04-28 02:58:28 -07:00
|
|
|
#endif
|
|
|
|
#ifndef EFL_NOLEGACY_API_SUPPORT
|
|
|
|
#include "elm_panes_legacy.h"
|
|
|
|
#endif
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|