167 lines
3.8 KiB
ReStructuredText
167 lines
3.8 KiB
ReStructuredText
.. module:: efl.elementary
|
|
|
|
Elementary
|
|
##########
|
|
|
|
|
|
What is elementary?
|
|
===================
|
|
|
|
Elementary is a the high level toolkit based on the underlying efl
|
|
technologies (:doc:`Evas </evas/evas>`, :doc:`Edje </edje/edje>`,
|
|
:doc:`Ecore </ecore/ecore>`, etc...). It provide all the
|
|
widget you need to build a full application.
|
|
|
|
It is meant to make the programmers work almost brainless but give them lots
|
|
of flexibility.
|
|
|
|
|
|
Callbacks
|
|
=========
|
|
|
|
Widget callbacks
|
|
----------------
|
|
|
|
Widget callbacks are set with callback_*_add methods which take a callable,
|
|
and optional args, kwargs as data.
|
|
|
|
The callbacks have a signature of either::
|
|
|
|
obj, *args, **kwargs
|
|
|
|
or::
|
|
|
|
obj, event_info, *args, **kwargs
|
|
|
|
|
|
Event callbacks
|
|
---------------
|
|
|
|
Event callbacks have signature of::
|
|
|
|
object, source_object, event_type, event_info, *args, **kwargs
|
|
|
|
|
|
A sample Python Elementary program
|
|
==================================
|
|
|
|
.. literalinclude:: ../../examples/elementary/test_win_dialog.py
|
|
:language: python
|
|
|
|
|
|
API Reference
|
|
=============
|
|
|
|
.. autofunction:: init
|
|
.. autofunction:: shutdown
|
|
.. autofunction:: run
|
|
.. autofunction:: exit
|
|
|
|
.. autofunction:: on_ethumb_connect
|
|
.. autofunction:: on_config_all_changed
|
|
.. autofunction:: on_policy_changed
|
|
|
|
.. autofunction:: on_process_background
|
|
.. autofunction:: on_process_background
|
|
|
|
.. autofunction:: on_sys_notify_notification_closed
|
|
.. autofunction:: on_sys_notify_action_invoked
|
|
|
|
.. autofunction:: policy_set
|
|
.. autofunction:: policy_get
|
|
.. autofunction:: process_state_get
|
|
.. autofunction:: coords_finger_size_adjust
|
|
|
|
.. autofunction:: language_set
|
|
.. autofunction:: cache_all_flush
|
|
.. autofunction:: font_properties_get
|
|
.. autofunction:: font_properties_free
|
|
|
|
.. autofunction:: font_fontconfig_name_get
|
|
.. autofunction:: object_tree_dump
|
|
.. autofunction:: object_tree_dot_dump
|
|
|
|
.. autofunction:: sys_notify_close
|
|
.. autofunction:: sys_notify_send
|
|
|
|
.. toctree:: *
|
|
:glob:
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
Inheritance diagram
|
|
===================
|
|
|
|
.. inheritance-diagram::
|
|
efl.elementary.actionslider
|
|
efl.elementary.background
|
|
efl.elementary.box
|
|
efl.elementary.bubble
|
|
efl.elementary.button
|
|
efl.elementary.calendar_elm
|
|
efl.elementary.check
|
|
efl.elementary.clock
|
|
efl.elementary.colorselector
|
|
efl.elementary.configuration
|
|
efl.elementary.conformant
|
|
efl.elementary.ctxpopup
|
|
efl.elementary.datetime_elm
|
|
efl.elementary.dayselector
|
|
efl.elementary.diskselector
|
|
efl.elementary.entry
|
|
efl.elementary.fileselector
|
|
efl.elementary.fileselector_button
|
|
efl.elementary.fileselector_entry
|
|
efl.elementary.flip
|
|
efl.elementary.flipselector
|
|
efl.elementary.frame
|
|
efl.elementary.general
|
|
efl.elementary.gengrid
|
|
efl.elementary.genlist
|
|
efl.elementary.gesture_layer
|
|
efl.elementary.grid
|
|
efl.elementary.hover
|
|
efl.elementary.hoversel
|
|
efl.elementary.icon
|
|
efl.elementary.image
|
|
efl.elementary.index
|
|
efl.elementary.innerwindow
|
|
efl.elementary.label
|
|
efl.elementary.layout
|
|
efl.elementary.layout_class
|
|
efl.elementary.list
|
|
efl.elementary.map
|
|
efl.elementary.mapbuf
|
|
efl.elementary.menu
|
|
efl.elementary.multibuttonentry
|
|
efl.elementary.naviframe
|
|
efl.elementary.need
|
|
efl.elementary.notify
|
|
efl.elementary.object
|
|
efl.elementary.object_item
|
|
efl.elementary.panel
|
|
efl.elementary.panes
|
|
efl.elementary.photo
|
|
efl.elementary.photocam
|
|
efl.elementary.plug
|
|
efl.elementary.popup
|
|
efl.elementary.progressbar
|
|
efl.elementary.radio
|
|
efl.elementary.scroller
|
|
efl.elementary.segment_control
|
|
efl.elementary.separator
|
|
efl.elementary.slider
|
|
efl.elementary.slideshow
|
|
efl.elementary.spinner
|
|
efl.elementary.systray
|
|
efl.elementary.table
|
|
efl.elementary.theme
|
|
efl.elementary.thumb
|
|
efl.elementary.toolbar
|
|
efl.elementary.transit
|
|
efl.elementary.video
|
|
efl.elementary.web
|
|
efl.elementary.window
|
|
:parts: 2
|