From 660c0a7e5131d3b68f1ff1adbf317b5983cd3046 Mon Sep 17 00:00:00 2001 From: Dave Andreoli Date: Sun, 18 Jan 2015 19:07:06 +0100 Subject: [PATCH] Huge documentation work Improved structure, contents and style for better readability --- doc/edje/edje.rst | 80 +-------------------- doc/edje/edje_module.rst | 5 -- doc/edje/edje_object.rst | 7 -- doc/elementary/actionslider.rst | 6 -- doc/elementary/background.rst | 6 -- doc/elementary/box.rst | 6 -- doc/elementary/bubble.rst | 6 -- doc/elementary/button.rst | 5 -- doc/elementary/calendar.rst | 6 -- doc/elementary/check.rst | 6 -- doc/elementary/clock.rst | 6 -- doc/elementary/colorselector.rst | 6 -- doc/elementary/configuration.rst | 2 - doc/elementary/conformant.rst | 6 -- doc/elementary/ctxpopup.rst | 6 -- doc/elementary/datetime.rst | 6 -- doc/elementary/dayselector.rst | 6 -- doc/elementary/diskselector.rst | 6 -- doc/elementary/elementary.rst | 93 ++++-------------------- doc/elementary/elementary_module.rst | 5 -- doc/elementary/entry.rst | 6 -- doc/elementary/fileselector.rst | 6 -- doc/elementary/fileselector_button.rst | 6 -- doc/elementary/fileselector_entry.rst | 6 -- doc/elementary/flip.rst | 6 -- doc/elementary/flipselector.rst | 6 -- doc/elementary/frame.rst | 6 -- doc/elementary/general.rst | 2 - doc/elementary/gengrid.rst | 6 -- doc/elementary/genlist.rst | 9 --- doc/elementary/gesture_layer.rst | 6 -- doc/elementary/grid.rst | 6 -- doc/elementary/hover.rst | 6 -- doc/elementary/hoversel.rst | 6 -- doc/elementary/icon.rst | 6 -- doc/elementary/image.rst | 6 -- doc/elementary/index.rst | 6 -- doc/elementary/innerwindow.rst | 6 -- doc/elementary/label.rst | 6 -- doc/elementary/layout.rst | 6 -- doc/elementary/layout_class.rst | 6 -- doc/elementary/list.rst | 6 -- doc/elementary/map.rst | 6 -- doc/elementary/mapbuf.rst | 6 -- doc/elementary/menu.rst | 6 -- doc/elementary/multibuttonentry.rst | 6 -- doc/elementary/naviframe.rst | 6 -- doc/elementary/need.rst | 2 - doc/elementary/notify.rst | 6 -- doc/elementary/object.rst | 6 -- doc/elementary/object_item.rst | 6 -- doc/elementary/panel.rst | 6 -- doc/elementary/panes.rst | 6 -- doc/elementary/photo.rst | 6 -- doc/elementary/photocam.rst | 6 -- doc/elementary/plug.rst | 6 -- doc/elementary/popup.rst | 6 -- doc/elementary/progressbar.rst | 6 -- doc/elementary/radio.rst | 6 -- doc/elementary/scroller.rst | 6 -- doc/elementary/segment_control.rst | 6 -- doc/elementary/separator.rst | 6 -- doc/elementary/slider.rst | 6 -- doc/elementary/slideshow.rst | 6 -- doc/elementary/spinner.rst | 6 -- doc/elementary/table.rst | 6 -- doc/elementary/theme.rst | 6 -- doc/elementary/thumb.rst | 6 -- doc/elementary/toolbar.rst | 6 -- doc/elementary/transit.rst | 6 -- doc/elementary/video.rst | 6 -- doc/elementary/web.rst | 6 -- doc/elementary/window.rst | 6 -- doc/emotion/emotion.rst | 96 +------------------------ doc/emotion/emotion_module.rst | 5 -- doc/emotion/emotion_object.rst | 6 -- doc/evas/evas.rst | 48 ++++++------- doc/index.rst | 34 ++++----- doc/themes/efldoc/layout.html | 1 + doc/themes/efldoc/static/efl.css | 43 +++++++++++- efl/ecore/efl.ecore.pyx | 20 ++++-- efl/edje/efl.edje.pyx | 97 ++++++++++++++++++++++++++ efl/edje/efl.edje_object.pxi | 43 ++---------- efl/elementary/actionslider.pyx | 26 +++++-- efl/elementary/background.pyx | 20 ++++-- efl/elementary/box.pyx | 20 ++++-- efl/elementary/bubble.pyx | 38 +++++++--- efl/elementary/button.pyx | 70 ++++++++++++------- efl/elementary/calendar_elm.pyx | 31 +++++--- efl/elementary/check.pyx | 29 ++++++-- efl/elementary/clock.pyx | 25 +++++-- efl/elementary/colorselector.pyx | 25 +++++-- efl/elementary/configuration.pyx | 22 ++++-- efl/elementary/conformant.pyx | 26 ++++--- efl/elementary/ctxpopup.pyx | 41 +++++++---- efl/elementary/datetime_elm.pyx | 22 ++++-- efl/elementary/dayselector.pyx | 26 ++++--- efl/elementary/diskselector.pyx | 31 +++++--- efl/elementary/entry.pyx | 64 +++++++++++------ efl/elementary/fileselector.pyx | 42 +++++++---- efl/elementary/fileselector_button.pyx | 34 ++++++--- efl/elementary/fileselector_entry.pyx | 28 ++++++-- efl/elementary/flip.pyx | 38 ++++++---- efl/elementary/flipselector.pyx | 27 ++++--- efl/elementary/frame.pyx | 31 ++++++-- efl/elementary/general.pyx | 11 ++- efl/elementary/gengrid.pyx | 32 ++++++--- efl/elementary/genlist.pyx | 40 ++++++++--- efl/elementary/gesture_layer.pyx | 19 +++-- efl/elementary/glview.pyx | 8 +-- efl/elementary/grid.pyx | 13 +++- efl/elementary/hover.pyx | 33 ++++++--- efl/elementary/hoversel.pyx | 33 ++++++--- efl/elementary/icon.pyx | 24 +++++-- efl/elementary/image.pyx | 23 ++++-- efl/elementary/index.pyx | 18 ++++- efl/elementary/innerwindow.pyx | 26 +++++-- efl/elementary/label.pyx | 30 ++++++-- efl/elementary/layout.pyx | 21 +++++- efl/elementary/layout_class.pyx | 67 +++++++++++------- efl/elementary/list.pyx | 42 ++++++++--- efl/elementary/map.pyx | 31 +++++--- efl/elementary/mapbuf.pyx | 20 ++++-- efl/elementary/menu.pyx | 25 +++++-- efl/elementary/multibuttonentry.pyx | 24 +++++-- efl/elementary/naviframe.pyx | 32 ++++++--- efl/elementary/need.pyx | 14 ++++ efl/elementary/notify.pyx | 25 +++++-- efl/elementary/object.pyx | 32 ++++++--- efl/elementary/object_item.pyx | 17 ++++- efl/elementary/panel.pyx | 31 ++++---- efl/elementary/panes.pyx | 27 ++++--- efl/elementary/photo.pyx | 17 ++++- efl/elementary/photocam.pyx | 23 ++++-- efl/elementary/plug.pyx | 19 ++++- efl/elementary/popup.pyx | 43 +++++++----- efl/elementary/progressbar.pyx | 16 ++++- efl/elementary/radio.pyx | 29 ++++++-- efl/elementary/scroller.pyx | 44 +++++++----- efl/elementary/segment_control.pyx | 28 +++++--- efl/elementary/separator.pyx | 17 +++-- efl/elementary/slider.pyx | 28 +++++--- efl/elementary/slideshow.pyx | 18 ++++- efl/elementary/spinner.pyx | 25 +++++-- efl/elementary/table.pyx | 20 ++++-- efl/elementary/theme.pyx | 15 +++- efl/elementary/thumb.pyx | 32 ++++++--- efl/elementary/toolbar.pyx | 37 +++++++--- efl/elementary/transit.pyx | 24 +++++-- efl/elementary/video.pyx | 14 +++- efl/elementary/web.pyx | 28 +++++--- efl/elementary/window.pyx | 29 +++++--- efl/emotion/efl.emotion.pyx | 94 ++++++++++++++++++++++++- 153 files changed, 1721 insertions(+), 1294 deletions(-) delete mode 100644 doc/edje/edje_module.rst delete mode 100644 doc/edje/edje_object.rst delete mode 100644 doc/elementary/elementary_module.rst delete mode 100644 doc/emotion/emotion_module.rst delete mode 100644 doc/emotion/emotion_object.rst diff --git a/doc/edje/edje.rst b/doc/edje/edje.rst index 6ff3bc1..e21c1cc 100644 --- a/doc/edje/edje.rst +++ b/doc/edje/edje.rst @@ -1,80 +1,2 @@ -What is Edje? --------------- - -Edje is a complex graphical design & layout library. - -It doesn't intend to do containing and regular layout like a widget -set, but it is the base for such components. Based on the requirements -of Enlightenment 0.17, Edje should serve all the purposes of creating -visual elements (borders of windows, buttons, scrollbars, etc.) and -allow the designer the ability to animate, layout and control the look -and feel of any program using Edje as its basic GUI constructor. This -library allows for multiple collections of Layouts in one file, -sharing the same image and font database and thus allowing a whole -theme to be conveniently packaged into 1 file and shipped around. - -Edje separates the layout and behavior logic. Edje files ship with an -image and font database, used by all the parts in all the collections -to source graphical data. It has a directory of logical part names -pointing to the part collection entry ID in the file (thus allowing -for multiple logical names to point to the same part collection, -allowing for the sharing of data between display elements). Each part -collection consists of a list of visual parts, as well as a list of -programs. A program is a conditionally run program that if a -particular event occurs (a button is pressed, a mouse enters or leaves -a part) will trigger an action that may affect other parts. In this -way a part collection can be "programmed" via its file as to hilight -buttons when the mouse passes over them or show hidden parts when a -button is clicked somewhere etc. The actions performed in changing -from one state to another are also allowed to transition over a period -of time, allowing animation. Programs and animations can be run in -"parallel". - -This separation and simplistic event driven style of programming can produce -almost any look and feel one could want for basic visual elements. Anything -more complex is likely the domain of an application or widget set that may -use Edje as a convenient way of being able to configure parts of the display. - - -So how does this all work? --------------------------- - -Edje internally holds a geometry state machine and state graph of what is -visible, not, where, at what size, with what colors etc. This is described -to Edje from an Edje .edj file containing this information. These files can -be produced by using edje_cc to take a text file (a .edc file) and "compile" -an output .edj file that contains this information, images and any other -data needed. - -The application using Edje will then create an object in its Evas -canvas and set the bundle file to use, specifying the **group** name to -use. Edje will load such information and create all the required -children objects with the specified properties as defined in each -**part** of the given **group**. - -Although simple, this example illustrates that animations and state -changes can be done from the Edje file itself without any requirement -in the Python application. - -Before digging into changing or creating your own Edje source (edc) -files, read the @ref edcref. - - -API Reference -------------- - -.. toctree:: - :maxdepth: 4 - - edje_module - edje_object - - -Inheritance diagram -------------------- - -.. inheritance-diagram:: - efl.edje - :parts: 2 - +.. automodule:: efl.edje diff --git a/doc/edje/edje_module.rst b/doc/edje/edje_module.rst deleted file mode 100644 index e47bdad..0000000 --- a/doc/edje/edje_module.rst +++ /dev/null @@ -1,5 +0,0 @@ -:mod:`efl.edje` Module -======================= - -.. automodule:: efl.edje - :exclude-members: Edje diff --git a/doc/edje/edje_object.rst b/doc/edje/edje_object.rst deleted file mode 100644 index 2bca040..0000000 --- a/doc/edje/edje_object.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. currentmodule:: efl.edje - -:class:`efl.edje.Edje` Class -============================== - -.. autoclass:: efl.edje.Edje - diff --git a/doc/elementary/actionslider.rst b/doc/elementary/actionslider.rst index e993816..df745d4 100644 --- a/doc/elementary/actionslider.rst +++ b/doc/elementary/actionslider.rst @@ -1,8 +1,2 @@ -:mod:`actionslider` Module --------------------------- .. automodule:: efl.elementary.actionslider - -.. inheritance-diagram:: - efl.elementary.actionslider - :parts: 2 diff --git a/doc/elementary/background.rst b/doc/elementary/background.rst index 9c9e1c7..ddac36a 100644 --- a/doc/elementary/background.rst +++ b/doc/elementary/background.rst @@ -1,8 +1,2 @@ -:mod:`background` Module ------------------------- .. automodule:: efl.elementary.background - -.. inheritance-diagram:: - efl.elementary.background - :parts: 2 diff --git a/doc/elementary/box.rst b/doc/elementary/box.rst index e40667d..0661cf1 100644 --- a/doc/elementary/box.rst +++ b/doc/elementary/box.rst @@ -1,8 +1,2 @@ -:mod:`box` Module ------------------ .. automodule:: efl.elementary.box - -.. inheritance-diagram:: - efl.elementary.box - :parts: 2 diff --git a/doc/elementary/bubble.rst b/doc/elementary/bubble.rst index 9d2c1bb..3f0c1a9 100644 --- a/doc/elementary/bubble.rst +++ b/doc/elementary/bubble.rst @@ -1,8 +1,2 @@ -:mod:`bubble` Module ------------------------- .. automodule:: efl.elementary.bubble - -.. inheritance-diagram:: - efl.elementary.bubble - :parts: 2 diff --git a/doc/elementary/button.rst b/doc/elementary/button.rst index 2b44a72..d138ba2 100644 --- a/doc/elementary/button.rst +++ b/doc/elementary/button.rst @@ -1,8 +1,3 @@ -:mod:`button` Module --------------------- .. automodule:: efl.elementary.button -.. inheritance-diagram:: - efl.elementary.button - :parts: 2 diff --git a/doc/elementary/calendar.rst b/doc/elementary/calendar.rst index f735b62..c3fd57a 100644 --- a/doc/elementary/calendar.rst +++ b/doc/elementary/calendar.rst @@ -1,8 +1,2 @@ -:mod:`calendar_elm` Module --------------------------- .. automodule:: efl.elementary.calendar_elm - -.. inheritance-diagram:: - efl.elementary.calendar_elm - :parts: 2 diff --git a/doc/elementary/check.rst b/doc/elementary/check.rst index a83975f..7da1ef8 100644 --- a/doc/elementary/check.rst +++ b/doc/elementary/check.rst @@ -1,8 +1,2 @@ -:mod:`check` Module -------------------- .. automodule:: efl.elementary.check - -.. inheritance-diagram:: - efl.elementary.check - :parts: 2 diff --git a/doc/elementary/clock.rst b/doc/elementary/clock.rst index 56cc8de..519a6e2 100644 --- a/doc/elementary/clock.rst +++ b/doc/elementary/clock.rst @@ -1,8 +1,2 @@ -:mod:`clock` Module ------------------------- .. automodule:: efl.elementary.clock - -.. inheritance-diagram:: - efl.elementary.clock - :parts: 2 diff --git a/doc/elementary/colorselector.rst b/doc/elementary/colorselector.rst index 53ba62f..21b8103 100644 --- a/doc/elementary/colorselector.rst +++ b/doc/elementary/colorselector.rst @@ -1,8 +1,2 @@ -:mod:`colorselector` Module ---------------------------- .. automodule:: efl.elementary.colorselector - -.. inheritance-diagram:: - efl.elementary.colorselector - :parts: 2 diff --git a/doc/elementary/configuration.rst b/doc/elementary/configuration.rst index 1e647cf..3c992da 100644 --- a/doc/elementary/configuration.rst +++ b/doc/elementary/configuration.rst @@ -1,4 +1,2 @@ -:mod:`configuration` Module ---------------------------- .. automodule:: efl.elementary.configuration diff --git a/doc/elementary/conformant.rst b/doc/elementary/conformant.rst index 1907f01..b13449c 100644 --- a/doc/elementary/conformant.rst +++ b/doc/elementary/conformant.rst @@ -1,8 +1,2 @@ -:mod:`conformant` Module ------------------------- .. automodule:: efl.elementary.conformant - -.. inheritance-diagram:: - efl.elementary.conformant - :parts: 2 diff --git a/doc/elementary/ctxpopup.rst b/doc/elementary/ctxpopup.rst index b54548e..95151ac 100644 --- a/doc/elementary/ctxpopup.rst +++ b/doc/elementary/ctxpopup.rst @@ -1,8 +1,2 @@ -:mod:`ctxpopup` Module ------------------------- .. automodule:: efl.elementary.ctxpopup - -.. inheritance-diagram:: - efl.elementary.ctxpopup - :parts: 2 diff --git a/doc/elementary/datetime.rst b/doc/elementary/datetime.rst index f15fc9f..cf98d10 100644 --- a/doc/elementary/datetime.rst +++ b/doc/elementary/datetime.rst @@ -1,8 +1,2 @@ -:mod:`datetime_elm` Module --------------------------- .. automodule:: efl.elementary.datetime_elm - -.. inheritance-diagram:: - efl.elementary.datetime_elm - :parts: 2 diff --git a/doc/elementary/dayselector.rst b/doc/elementary/dayselector.rst index e184ae5..4540b10 100644 --- a/doc/elementary/dayselector.rst +++ b/doc/elementary/dayselector.rst @@ -1,8 +1,2 @@ -:mod:`dayselector` Module -------------------------- .. automodule:: efl.elementary.dayselector - -.. inheritance-diagram:: - efl.elementary.dayselector - :parts: 2 diff --git a/doc/elementary/diskselector.rst b/doc/elementary/diskselector.rst index d9739d6..10879bd 100644 --- a/doc/elementary/diskselector.rst +++ b/doc/elementary/diskselector.rst @@ -1,8 +1,2 @@ -:mod:`diskselector` Module --------------------------- .. automodule:: efl.elementary.diskselector - -.. inheritance-diagram:: - efl.elementary.diskselector - :parts: 2 diff --git a/doc/elementary/elementary.rst b/doc/elementary/elementary.rst index a874d8c..be0ac5c 100644 --- a/doc/elementary/elementary.rst +++ b/doc/elementary/elementary.rst @@ -1,7 +1,10 @@ +Elementary +########## + -What is Elementary? -------------------- +What is elementary? +=================== Elementary is a the high level toolkit based on the underlying efl technologies (:doc:`Evas `, :doc:`Edje `, @@ -13,10 +16,10 @@ of flexibility. Callbacks ---------- +========= Widget callbacks -^^^^^^^^^^^^^^^^ +---------------- Widget callbacks are set with callback_*_add methods which take a callable, and optional args, kwargs as data. @@ -31,7 +34,7 @@ or:: Event callbacks -^^^^^^^^^^^^^^^ +--------------- Event callbacks have signature of:: @@ -39,92 +42,22 @@ Event callbacks have signature of:: A sample Python Elementary program ----------------------------------- +================================== .. literalinclude:: ../../examples/elementary/test_win_dialog.py :language: python - API Reference -------------- +============= -.. toctree:: +.. toctree:: * + :glob: :maxdepth: 1 - elementary_module - actionslider - background - box - bubble - button - calendar - check - clock - colorselector - configuration - conformant - ctxpopup - datetime - dayselector - diskselector - entry - fileselector - fileselector_button - fileselector_entry - flip - flipselector - frame - general - gengrid - genlist - gesture_layer - grid - hover - hoversel - icon - image - index - innerwindow - label - layout - layout_class - list - map - mapbuf - menu - multibuttonentry - naviframe - need - notify - object - object_item - panel - panes - photo - photocam - plug - popup - progressbar - radio - scroller - segment_control - separator - slider - slideshow - spinner - table - theme - thumb - toolbar - transit - video - web - window - Inheritance diagram -------------------- +=================== .. inheritance-diagram:: efl.elementary.actionslider diff --git a/doc/elementary/elementary_module.rst b/doc/elementary/elementary_module.rst deleted file mode 100644 index 10d89de..0000000 --- a/doc/elementary/elementary_module.rst +++ /dev/null @@ -1,5 +0,0 @@ -:mod:`efl.elementary` Package -============================= - -.. automodule:: efl.elementary - :exclude-members: ActionSlider diff --git a/doc/elementary/entry.rst b/doc/elementary/entry.rst index 765bc6d..bd5ba13 100644 --- a/doc/elementary/entry.rst +++ b/doc/elementary/entry.rst @@ -1,8 +1,2 @@ -:mod:`entry` Module -------------------- .. automodule:: efl.elementary.entry - -.. inheritance-diagram:: - efl.elementary.entry - :parts: 2 diff --git a/doc/elementary/fileselector.rst b/doc/elementary/fileselector.rst index 0a271cd..00ddcf4 100644 --- a/doc/elementary/fileselector.rst +++ b/doc/elementary/fileselector.rst @@ -1,8 +1,2 @@ -:mod:`fileselector` Module --------------------------- .. automodule:: efl.elementary.fileselector - -.. inheritance-diagram:: - efl.elementary.fileselector - :parts: 2 diff --git a/doc/elementary/fileselector_button.rst b/doc/elementary/fileselector_button.rst index 4ac580d..b2566b7 100644 --- a/doc/elementary/fileselector_button.rst +++ b/doc/elementary/fileselector_button.rst @@ -1,8 +1,2 @@ -:mod:`fileselector_button` Module ---------------------------------- .. automodule:: efl.elementary.fileselector_button - -.. inheritance-diagram:: - efl.elementary.fileselector_button - :parts: 2 diff --git a/doc/elementary/fileselector_entry.rst b/doc/elementary/fileselector_entry.rst index 60f9e85..8479474 100644 --- a/doc/elementary/fileselector_entry.rst +++ b/doc/elementary/fileselector_entry.rst @@ -1,8 +1,2 @@ -:mod:`fileselector_entry` Module --------------------------------- .. automodule:: efl.elementary.fileselector_entry - -.. inheritance-diagram:: - efl.elementary.fileselector_entry - :parts: 2 diff --git a/doc/elementary/flip.rst b/doc/elementary/flip.rst index 4c7d99b..0644602 100644 --- a/doc/elementary/flip.rst +++ b/doc/elementary/flip.rst @@ -1,8 +1,2 @@ -:mod:`flip` Module ------------------------- .. automodule:: efl.elementary.flip - -.. inheritance-diagram:: - efl.elementary.flip - :parts: 2 diff --git a/doc/elementary/flipselector.rst b/doc/elementary/flipselector.rst index 83610aa..0bf5cf1 100644 --- a/doc/elementary/flipselector.rst +++ b/doc/elementary/flipselector.rst @@ -1,8 +1,2 @@ -:mod:`flipselector` Module --------------------------- .. automodule:: efl.elementary.flipselector - -.. inheritance-diagram:: - efl.elementary.flipselector - :parts: 2 diff --git a/doc/elementary/frame.rst b/doc/elementary/frame.rst index 8b90f74..c87a2d2 100644 --- a/doc/elementary/frame.rst +++ b/doc/elementary/frame.rst @@ -1,8 +1,2 @@ -:mod:`frame` Module ------------------------- .. automodule:: efl.elementary.frame - -.. inheritance-diagram:: - efl.elementary.frame - :parts: 2 diff --git a/doc/elementary/general.rst b/doc/elementary/general.rst index 0eb8483..949970f 100644 --- a/doc/elementary/general.rst +++ b/doc/elementary/general.rst @@ -1,4 +1,2 @@ -:mod:`general` Module ---------------------- .. automodule:: efl.elementary.general diff --git a/doc/elementary/gengrid.rst b/doc/elementary/gengrid.rst index e7374c8..d2e5c2e 100644 --- a/doc/elementary/gengrid.rst +++ b/doc/elementary/gengrid.rst @@ -1,8 +1,2 @@ -:mod:`gengrid` Module ------------------------- .. automodule:: efl.elementary.gengrid - -.. inheritance-diagram:: - efl.elementary.gengrid - :parts: 2 diff --git a/doc/elementary/genlist.rst b/doc/elementary/genlist.rst index e4d1de3..a2a583c 100644 --- a/doc/elementary/genlist.rst +++ b/doc/elementary/genlist.rst @@ -1,11 +1,2 @@ -:mod:`genlist` Module ---------------------- .. automodule:: efl.elementary.genlist - - Reference - --------- - -.. inheritance-diagram:: - efl.elementary.genlist - :parts: 2 diff --git a/doc/elementary/gesture_layer.rst b/doc/elementary/gesture_layer.rst index 84460b1..3ec4ffb 100644 --- a/doc/elementary/gesture_layer.rst +++ b/doc/elementary/gesture_layer.rst @@ -1,8 +1,2 @@ -:mod:`gesture_layer` Module ---------------------------- .. automodule:: efl.elementary.gesture_layer - -.. inheritance-diagram:: - efl.elementary.gesture_layer - :parts: 2 diff --git a/doc/elementary/grid.rst b/doc/elementary/grid.rst index 42c7619..956c3b8 100644 --- a/doc/elementary/grid.rst +++ b/doc/elementary/grid.rst @@ -1,8 +1,2 @@ -:mod:`grid` Module ------------------------- .. automodule:: efl.elementary.grid - -.. inheritance-diagram:: - efl.elementary.grid - :parts: 2 diff --git a/doc/elementary/hover.rst b/doc/elementary/hover.rst index bd89fbb..50206b0 100644 --- a/doc/elementary/hover.rst +++ b/doc/elementary/hover.rst @@ -1,8 +1,2 @@ -:mod:`hover` Module -------------------- .. automodule:: efl.elementary.hover - -.. inheritance-diagram:: - efl.elementary.hover - :parts: 2 diff --git a/doc/elementary/hoversel.rst b/doc/elementary/hoversel.rst index 078bf5d..530016a 100644 --- a/doc/elementary/hoversel.rst +++ b/doc/elementary/hoversel.rst @@ -1,8 +1,2 @@ -:mod:`hoversel` Module ----------------------- .. automodule:: efl.elementary.hoversel - -.. inheritance-diagram:: - efl.elementary.hoversel - :parts: 2 diff --git a/doc/elementary/icon.rst b/doc/elementary/icon.rst index bbd0080..51723ab 100644 --- a/doc/elementary/icon.rst +++ b/doc/elementary/icon.rst @@ -1,8 +1,2 @@ -:mod:`icon` Module ------------------- .. automodule:: efl.elementary.icon - -.. inheritance-diagram:: - efl.elementary.icon - :parts: 2 diff --git a/doc/elementary/image.rst b/doc/elementary/image.rst index 041c7c3..0590ed9 100644 --- a/doc/elementary/image.rst +++ b/doc/elementary/image.rst @@ -1,8 +1,2 @@ -:mod:`image` Module -------------------- .. automodule:: efl.elementary.image - -.. inheritance-diagram:: - efl.elementary.image - :parts: 2 diff --git a/doc/elementary/index.rst b/doc/elementary/index.rst index 468159d..fea21e2 100644 --- a/doc/elementary/index.rst +++ b/doc/elementary/index.rst @@ -1,8 +1,2 @@ -:mod:`index` Module ------------------------- .. automodule:: efl.elementary.index - -.. inheritance-diagram:: - efl.elementary.index - :parts: 2 diff --git a/doc/elementary/innerwindow.rst b/doc/elementary/innerwindow.rst index 594db1c..77e867b 100644 --- a/doc/elementary/innerwindow.rst +++ b/doc/elementary/innerwindow.rst @@ -1,8 +1,2 @@ -:mod:`innerwindow` Module -------------------------- .. automodule:: efl.elementary.innerwindow - -.. inheritance-diagram:: - efl.elementary.innerwindow - :parts: 2 diff --git a/doc/elementary/label.rst b/doc/elementary/label.rst index be264c7..ba32422 100644 --- a/doc/elementary/label.rst +++ b/doc/elementary/label.rst @@ -1,8 +1,2 @@ -:mod:`label` Module -------------------- .. automodule:: efl.elementary.label - -.. inheritance-diagram:: - efl.elementary.label - :parts: 2 diff --git a/doc/elementary/layout.rst b/doc/elementary/layout.rst index 917a36c..4cff326 100644 --- a/doc/elementary/layout.rst +++ b/doc/elementary/layout.rst @@ -1,8 +1,2 @@ -:mod:`layout` Module --------------------- .. automodule:: efl.elementary.layout - -.. inheritance-diagram:: - efl.elementary.layout - :parts: 2 diff --git a/doc/elementary/layout_class.rst b/doc/elementary/layout_class.rst index aa8735b..75f9673 100644 --- a/doc/elementary/layout_class.rst +++ b/doc/elementary/layout_class.rst @@ -1,8 +1,2 @@ -:mod:`layout_class` Module --------------------------- .. automodule:: efl.elementary.layout_class - -.. inheritance-diagram:: - efl.elementary.layout_class - :parts: 2 diff --git a/doc/elementary/list.rst b/doc/elementary/list.rst index e097e58..4f3d17f 100644 --- a/doc/elementary/list.rst +++ b/doc/elementary/list.rst @@ -1,8 +1,2 @@ -:mod:`list` Module ------------------- .. automodule:: efl.elementary.list - -.. inheritance-diagram:: - efl.elementary.list - :parts: 2 diff --git a/doc/elementary/map.rst b/doc/elementary/map.rst index 0f5a89f..5a87dd9 100644 --- a/doc/elementary/map.rst +++ b/doc/elementary/map.rst @@ -1,8 +1,2 @@ -:mod:`map` Module ------------------------- .. automodule:: efl.elementary.map - -.. inheritance-diagram:: - efl.elementary.map - :parts: 2 diff --git a/doc/elementary/mapbuf.rst b/doc/elementary/mapbuf.rst index a0c1653..cb60020 100644 --- a/doc/elementary/mapbuf.rst +++ b/doc/elementary/mapbuf.rst @@ -1,8 +1,2 @@ -:mod:`mapbuf` Module ------------------------- .. automodule:: efl.elementary.mapbuf - -.. inheritance-diagram:: - efl.elementary.mapbuf - :parts: 2 diff --git a/doc/elementary/menu.rst b/doc/elementary/menu.rst index cf33637..97b8d8e 100644 --- a/doc/elementary/menu.rst +++ b/doc/elementary/menu.rst @@ -1,8 +1,2 @@ -:mod:`menu` Module ------------------------- .. automodule:: efl.elementary.menu - -.. inheritance-diagram:: - efl.elementary.menu - :parts: 2 diff --git a/doc/elementary/multibuttonentry.rst b/doc/elementary/multibuttonentry.rst index 376c4f7..d3d1070 100644 --- a/doc/elementary/multibuttonentry.rst +++ b/doc/elementary/multibuttonentry.rst @@ -1,8 +1,2 @@ -:mod:`multibuttonentry` Module ------------------------------- .. automodule:: efl.elementary.multibuttonentry - -.. inheritance-diagram:: - efl.elementary.multibuttonentry - :parts: 2 diff --git a/doc/elementary/naviframe.rst b/doc/elementary/naviframe.rst index 1ec88f9..c8377b7 100644 --- a/doc/elementary/naviframe.rst +++ b/doc/elementary/naviframe.rst @@ -1,8 +1,2 @@ -:mod:`naviframe` Module ------------------------ .. automodule:: efl.elementary.naviframe - -.. inheritance-diagram:: - efl.elementary.naviframe - :parts: 2 diff --git a/doc/elementary/need.rst b/doc/elementary/need.rst index 36d6ff1..31dc046 100644 --- a/doc/elementary/need.rst +++ b/doc/elementary/need.rst @@ -1,4 +1,2 @@ -:mod:`need` Module ------------------------- .. automodule:: efl.elementary.need diff --git a/doc/elementary/notify.rst b/doc/elementary/notify.rst index 9087fe5..bb7648e 100644 --- a/doc/elementary/notify.rst +++ b/doc/elementary/notify.rst @@ -1,8 +1,2 @@ -:mod:`notify` Module --------------------- .. automodule:: efl.elementary.notify - -.. inheritance-diagram:: - efl.elementary.notify - :parts: 2 diff --git a/doc/elementary/object.rst b/doc/elementary/object.rst index fade240..abc1e67 100644 --- a/doc/elementary/object.rst +++ b/doc/elementary/object.rst @@ -1,8 +1,2 @@ -:mod:`object` Module --------------------- .. automodule:: efl.elementary.object - -.. inheritance-diagram:: - efl.elementary.object - :parts: 2 diff --git a/doc/elementary/object_item.rst b/doc/elementary/object_item.rst index 2ca16e2..173cd05 100644 --- a/doc/elementary/object_item.rst +++ b/doc/elementary/object_item.rst @@ -1,8 +1,2 @@ -:mod:`object_item` Module -------------------------- .. automodule:: efl.elementary.object_item - -.. inheritance-diagram:: - efl.elementary.object_item - :parts: 2 diff --git a/doc/elementary/panel.rst b/doc/elementary/panel.rst index 2dc27e5..540ba86 100644 --- a/doc/elementary/panel.rst +++ b/doc/elementary/panel.rst @@ -1,8 +1,2 @@ -:mod:`panel` Module ------------------------- .. automodule:: efl.elementary.panel - -.. inheritance-diagram:: - efl.elementary.panel - :parts: 2 diff --git a/doc/elementary/panes.rst b/doc/elementary/panes.rst index 51cc675..00b9fb5 100644 --- a/doc/elementary/panes.rst +++ b/doc/elementary/panes.rst @@ -1,8 +1,2 @@ -:mod:`panes` Module ------------------------- .. automodule:: efl.elementary.panes - -.. inheritance-diagram:: - efl.elementary.panes - :parts: 2 diff --git a/doc/elementary/photo.rst b/doc/elementary/photo.rst index eeab4e6..936c88a 100644 --- a/doc/elementary/photo.rst +++ b/doc/elementary/photo.rst @@ -1,8 +1,2 @@ -:mod:`photo` Module ------------------------- .. automodule:: efl.elementary.photo - -.. inheritance-diagram:: - efl.elementary.photo - :parts: 2 diff --git a/doc/elementary/photocam.rst b/doc/elementary/photocam.rst index f863c7a..c38aebf 100644 --- a/doc/elementary/photocam.rst +++ b/doc/elementary/photocam.rst @@ -1,8 +1,2 @@ -:mod:`photocam` Module ------------------------- .. automodule:: efl.elementary.photocam - -.. inheritance-diagram:: - efl.elementary.photocam - :parts: 2 diff --git a/doc/elementary/plug.rst b/doc/elementary/plug.rst index 1298bd1..1c093a1 100644 --- a/doc/elementary/plug.rst +++ b/doc/elementary/plug.rst @@ -1,8 +1,2 @@ -:mod:`plug` Module ------------------- .. automodule:: efl.elementary.plug - -.. inheritance-diagram:: - efl.elementary.plug - :parts: 2 diff --git a/doc/elementary/popup.rst b/doc/elementary/popup.rst index 7d0a1b8..9ce6823 100644 --- a/doc/elementary/popup.rst +++ b/doc/elementary/popup.rst @@ -1,8 +1,2 @@ -:mod:`popup` Module ------------------------- .. automodule:: efl.elementary.popup - -.. inheritance-diagram:: - efl.elementary.popup - :parts: 2 diff --git a/doc/elementary/progressbar.rst b/doc/elementary/progressbar.rst index b784f9d..65bd832 100644 --- a/doc/elementary/progressbar.rst +++ b/doc/elementary/progressbar.rst @@ -1,8 +1,2 @@ -:mod:`progressbar` Module -------------------------- .. automodule:: efl.elementary.progressbar - -.. inheritance-diagram:: - efl.elementary.progressbar - :parts: 2 diff --git a/doc/elementary/radio.rst b/doc/elementary/radio.rst index 45f2823..6fd95da 100644 --- a/doc/elementary/radio.rst +++ b/doc/elementary/radio.rst @@ -1,8 +1,2 @@ -:mod:`radio` Module -------------------- .. automodule:: efl.elementary.radio - -.. inheritance-diagram:: - efl.elementary.radio - :parts: 2 diff --git a/doc/elementary/scroller.rst b/doc/elementary/scroller.rst index ea9e589..903c94d 100644 --- a/doc/elementary/scroller.rst +++ b/doc/elementary/scroller.rst @@ -1,8 +1,2 @@ -:mod:`scroller` Module ----------------------- .. automodule:: efl.elementary.scroller - -.. inheritance-diagram:: - efl.elementary.scroller - :parts: 2 diff --git a/doc/elementary/segment_control.rst b/doc/elementary/segment_control.rst index ae317a9..99f4224 100644 --- a/doc/elementary/segment_control.rst +++ b/doc/elementary/segment_control.rst @@ -1,8 +1,2 @@ -:mod:`segment_control` Module ------------------------------ .. automodule:: efl.elementary.segment_control - -.. inheritance-diagram:: - efl.elementary.segment_control - :parts: 2 diff --git a/doc/elementary/separator.rst b/doc/elementary/separator.rst index dd82ef9..73edfba 100644 --- a/doc/elementary/separator.rst +++ b/doc/elementary/separator.rst @@ -1,8 +1,2 @@ -:mod:`separator` Module ------------------------ .. automodule:: efl.elementary.separator - -.. inheritance-diagram:: - efl.elementary.separator - :parts: 2 diff --git a/doc/elementary/slider.rst b/doc/elementary/slider.rst index 3bac04e..6319441 100644 --- a/doc/elementary/slider.rst +++ b/doc/elementary/slider.rst @@ -1,8 +1,2 @@ -:mod:`slider` Module ------------------------- .. automodule:: efl.elementary.slider - -.. inheritance-diagram:: - efl.elementary.slider - :parts: 2 diff --git a/doc/elementary/slideshow.rst b/doc/elementary/slideshow.rst index 0dada89..9e3c5d6 100644 --- a/doc/elementary/slideshow.rst +++ b/doc/elementary/slideshow.rst @@ -1,8 +1,2 @@ -:mod:`slideshow` Module ------------------------- .. automodule:: efl.elementary.slideshow - -.. inheritance-diagram:: - efl.elementary.slideshow - :parts: 2 diff --git a/doc/elementary/spinner.rst b/doc/elementary/spinner.rst index ee0fce8..37a41a7 100644 --- a/doc/elementary/spinner.rst +++ b/doc/elementary/spinner.rst @@ -1,8 +1,2 @@ -:mod:`spinner` Module ------------------------- .. automodule:: efl.elementary.spinner - -.. inheritance-diagram:: - efl.elementary.spinner - :parts: 2 diff --git a/doc/elementary/table.rst b/doc/elementary/table.rst index 2f0e25b..9948f3e 100644 --- a/doc/elementary/table.rst +++ b/doc/elementary/table.rst @@ -1,8 +1,2 @@ -:mod:`table` Module -------------------- .. automodule:: efl.elementary.table - -.. inheritance-diagram:: - efl.elementary.table - :parts: 2 diff --git a/doc/elementary/theme.rst b/doc/elementary/theme.rst index 1d59ecb..b79be2f 100644 --- a/doc/elementary/theme.rst +++ b/doc/elementary/theme.rst @@ -1,8 +1,2 @@ -:mod:`theme` Module -------------------- .. automodule:: efl.elementary.theme - -.. inheritance-diagram:: - efl.elementary.theme - :parts: 2 diff --git a/doc/elementary/thumb.rst b/doc/elementary/thumb.rst index 7a1f473..af2e664 100644 --- a/doc/elementary/thumb.rst +++ b/doc/elementary/thumb.rst @@ -1,8 +1,2 @@ -:mod:`thumb` Module ------------------------- .. automodule:: efl.elementary.thumb - -.. inheritance-diagram:: - efl.elementary.thumb - :parts: 2 diff --git a/doc/elementary/toolbar.rst b/doc/elementary/toolbar.rst index 40b234d..4943239 100644 --- a/doc/elementary/toolbar.rst +++ b/doc/elementary/toolbar.rst @@ -1,8 +1,2 @@ -:mod:`toolbar` Module ------------------------- .. automodule:: efl.elementary.toolbar - -.. inheritance-diagram:: - efl.elementary.toolbar - :parts: 2 diff --git a/doc/elementary/transit.rst b/doc/elementary/transit.rst index 58d994f..5782be7 100644 --- a/doc/elementary/transit.rst +++ b/doc/elementary/transit.rst @@ -1,8 +1,2 @@ -:mod:`transit` Module ------------------------- .. automodule:: efl.elementary.transit - -.. inheritance-diagram:: - efl.elementary.transit - :parts: 2 diff --git a/doc/elementary/video.rst b/doc/elementary/video.rst index 2528365..514e25b 100644 --- a/doc/elementary/video.rst +++ b/doc/elementary/video.rst @@ -1,8 +1,2 @@ -:mod:`video` Module ------------------------- .. automodule:: efl.elementary.video - -.. inheritance-diagram:: - efl.elementary.video - :parts: 2 diff --git a/doc/elementary/web.rst b/doc/elementary/web.rst index 29bf082..70b0f7d 100644 --- a/doc/elementary/web.rst +++ b/doc/elementary/web.rst @@ -1,8 +1,2 @@ -:mod:`web` Module ------------------------- .. automodule:: efl.elementary.web - -.. inheritance-diagram:: - efl.elementary.web - :parts: 2 diff --git a/doc/elementary/window.rst b/doc/elementary/window.rst index a45ae3b..590baba 100644 --- a/doc/elementary/window.rst +++ b/doc/elementary/window.rst @@ -1,8 +1,2 @@ -:mod:`window` Module --------------------- .. automodule:: efl.elementary.window - -.. inheritance-diagram:: - efl.elementary.window - :parts: 2 diff --git a/doc/emotion/emotion.rst b/doc/emotion/emotion.rst index 36bd158..568fbd8 100644 --- a/doc/emotion/emotion.rst +++ b/doc/emotion/emotion.rst @@ -1,96 +1,2 @@ -What is Emotion? ----------------- - -Emotion is a media object library for Evas and Ecore. - -Emotion is a library that allows playing audio and video files, using one of -its backends (gstreamer, xine, vlc or generic shm player). - -It is integrated into Ecore through its mainloop, and is transparent to the -user of the library how the decoding of audio and video is being done. Once -the objects are created, the user can set callbacks to the specific events -and set options to this object, all in the main loop (no threads are needed). - -Emotion is also integrated with Evas. The emotion object returned by -emotion_object_add() is an Evas smart object, so it can be manipulated with -default Evas object functions. Callbacks can be added to the signals emitted -by this object with evas_object_smart_callback_add(). - -The Emotion library uses Evas smart objects to allow you to manipulate the -created object as any other Evas object, and to connect to its signals, -handling them when needed. It's also possible to swallow Emotion objects -inside Edje themes, and expect it to behave as a normal image or rectangle -when regarding to its dimensions. - - -How to use the Emotion object ------------------------------ - -Emotion provides an Evas smart object that allows to play, control and -display a video or audio file. The API is synchronous but not everything -happens immediately. There are also some signals to report changed states. - -Basically, once the object is created and initialized, a file will be set to -it, and then it can be resized, moved, and controlled by other Evas object -functions. - -However, the decoding of the music and video occurs not in the Ecore main -loop, but usually in another thread (this depends on the module being used). -The synchronization between this other thread and the main loop not visible -to the end user of the library. The user can just register callbacks to the -available signals to receive information about the changed states, and can -call other functions from the API to request more changes on the current -loaded file. - -There will be a delay between an API being called and it being really -executed, since this request will be done in the main thread, and it needs to -be sent to the decoding thread. For this reason, always call functions like -emotion_object_size_get() or emotion_object_length_get() after some signal -being sent, like "playback_started" or "open_done". - -.. rubric:: Available signals - -The Evas_Object returned by emotion_object_add() has a number of signals that -can be listened to using evas' smart callbacks mechanism. The following is -a list of interesting signals: - - - ``playback_started`` Emitted when the playback starts - - ``playback_finished`` Emitted when the playback finishes - - ``frame_decode`` Emitted every time a frame is decoded - - ``frame_resize`` Emitted when the frame change its size - - ``open_done`` Emitted when the media file is opened - - ``position_update`` Emitted when emotion_object_position_set is called - - ``audio_level_change`` Emitted when the volume change it's value - - ``decode_stop`` Emitted after the last frame is decoded - - ``length_change`` Emitted if the media change it's size - - ``channels_change`` Emitted when the number of channels change - - ``title_change`` Emitted when the title change (?) - - ``progress_change`` - - ``ref_change`` - - ``button_num_change`` - - ``button_change`` - - ``position_save,succeed`` - - ``position_save,failed`` - - ``position_load,succeed`` - - ``position_load,failed`` - - -API Reference -------------- - -.. toctree:: - :maxdepth: 4 - - emotion_module - emotion_object - - -Inheritance diagram -------------------- - -.. inheritance-diagram:: - efl.emotion - :parts: 2 - - +.. automodule:: efl.emotion diff --git a/doc/emotion/emotion_module.rst b/doc/emotion/emotion_module.rst deleted file mode 100644 index 8845624..0000000 --- a/doc/emotion/emotion_module.rst +++ /dev/null @@ -1,5 +0,0 @@ -:mod:`efl.emotion` Module -========================= - -.. automodule:: efl.emotion - :exclude-members: Emotion diff --git a/doc/emotion/emotion_object.rst b/doc/emotion/emotion_object.rst deleted file mode 100644 index 485fb96..0000000 --- a/doc/emotion/emotion_object.rst +++ /dev/null @@ -1,6 +0,0 @@ -.. currentmodule:: efl.emotion - -:class:`efl.emotion.Emotion` Class -================================== - -.. autoclass:: efl.emotion.Emotion diff --git a/doc/evas/evas.rst b/doc/evas/evas.rst index b2c7988..a20e955 100644 --- a/doc/evas/evas.rst +++ b/doc/evas/evas.rst @@ -178,16 +178,16 @@ For example, box objects use alignment hints to align its lines/columns inside its container, padding hints to set the padding between each individual child, etc. -Size Hints are controlled using various :class:`Object` properties: +Size Hints are controlled using various :class:`~efl.evas.Object` properties: - * :attr:`~Object.size_hint_weight` (also called :attr:`~Object.size_hint_expand`) - * :attr:`~Object.size_hint_align` (also called :attr:`~Object.size_hint_fill`) - * :attr:`~Object.size_hint_min` - * :attr:`~Object.size_hint_max` - * :attr:`~Object.size_hint_aspect` - * :attr:`~Object.size_hint_padding` - * :attr:`~Object.size_hint_display_mode` - * :attr:`~Object.size_hint_request` + * :attr:`~efl.evas.Object.size_hint_weight` (also called :attr:`~efl.evas.Object.size_hint_expand`) + * :attr:`~efl.evas.Object.size_hint_align` (also called :attr:`~efl.evas.Object.size_hint_fill`) + * :attr:`~efl.evas.Object.size_hint_min` + * :attr:`~efl.evas.Object.size_hint_max` + * :attr:`~efl.evas.Object.size_hint_aspect` + * :attr:`~efl.evas.Object.size_hint_padding` + * :attr:`~efl.evas.Object.size_hint_display_mode` + * :attr:`~efl.evas.Object.size_hint_request` The **weight** and the **align** are quite special, they are also used to express the **expand** and the **fill** property of the object. For this @@ -253,21 +253,21 @@ API Reference .. toctree:: :maxdepth: 4 - evas_module - canvas - object - image - rectangle - line - polygon - text - textblock - textgrid - box - table - grid - map - rect + evas_module.rst + canvas.rst + object.rst + image.rst + rectangle.rst + line.rst + polygon.rst + text.rst + textblock.rst + textgrid.rst + box.rst + table.rst + grid.rst + map.rst + rect.rst Inheritance diagram diff --git a/doc/index.rst b/doc/index.rst index a09b701..013c1a9 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -1,6 +1,6 @@ Python Bindings for Enlightenment Foundation Libraries' documentation -===================================================================== +##################################################################### EFL is a collection of libraries that are independent or may build on top of each-other to provide useful features that complement an OS's existing @@ -26,67 +26,69 @@ and more. .. seealso:: - `EFL Overview `_ - `EFL Documentation `_ + - `EFL Overview `_ + - `EFL Documentation `_ + - `EDC Reference `_ + - `EFL Big Picture `_ EFL ---- +=== .. toctree:: efl.rst EO ---- +== .. toctree:: eo/eo.rst Ecore ------ +===== .. toctree:: ecore/ecore.rst - + :maxdepth: 2 Evas ----- +==== .. toctree:: evas/evas.rst Ethumb ------- +====== .. toctree:: ethumb/ethumb.rst Edje ----- +==== .. toctree:: edje/edje.rst Emotion -------- +======= .. toctree:: emotion/emotion.rst Elementary ----------- +========== .. toctree:: elementary/elementary.rst - :maxdepth: 2 + :maxdepth: 3 DBus integration ----------------- +================ .. toctree:: dbus/dbus Acknowledgements ----------------- +================ :Copyright: Python Bindings for EFL are Copyright (C) 2008-2015 Simon Busch @@ -111,7 +113,7 @@ Acknowledgements Indices and tables ------------------- +================== * :ref:`genindex` * :ref:`modindex` diff --git a/doc/themes/efldoc/layout.html b/doc/themes/efldoc/layout.html index f3af27f..3855625 100644 --- a/doc/themes/efldoc/layout.html +++ b/doc/themes/efldoc/layout.html @@ -66,6 +66,7 @@