Docs: remove an old workaround

The ClassName(...) on each class was an old hack that is
not needed anymore
This commit is contained in:
Davide Andreoli 2021-11-18 06:25:19 +01:00
parent 1f441a18c8
commit 31a147fc7c
88 changed files with 108 additions and 110 deletions

View File

@ -143,7 +143,6 @@ autodoc_default_options = {
def setup(app): def setup(app):
from sphinx.ext.autodoc import cut_lines from sphinx.ext.autodoc import cut_lines
app.connect('autodoc-process-signature', autodoc_process_signature) app.connect('autodoc-process-signature', autodoc_process_signature)
app.connect('autodoc-process-docstring', cut_lines(1, what=['class']))
def autodoc_process_signature(app, what, name, obj, options, signature, return_annotation): def autodoc_process_signature(app, what, name, obj, options, signature, return_annotation):
"""Cleanup params: remove the 'self' param and all the cython types""" """Cleanup params: remove the 'self' param and all the cython types"""

View File

@ -40,7 +40,7 @@ cdef class Animator(Eo):
""" """
def __init__(self, func, *args, **kargs): def __init__(self, func, *args, **kargs):
"""Animator(...) """
:param func: function to call at every frame. :param func: function to call at every frame.
:type func: callable :type func: callable
@ -141,7 +141,7 @@ cdef class AnimatorTimeline(Animator):
""" """
def __init__(self, func, double runtime, *args, **kargs): def __init__(self, func, double runtime, *args, **kargs):
"""AnimatorTimeline(...) """
:param func: The function to call when it ticks off :param func: The function to call when it ticks off
:type func: callable :type func: callable

View File

@ -78,7 +78,7 @@ cdef class FdHandler(object):
""" """
def __init__(self, fd, int flags, func, *args, **kargs): def __init__(self, fd, int flags, func, *args, **kargs):
"""FdHandler(...) """
:param fd: file descriptor or object with fileno() method. :param fd: file descriptor or object with fileno() method.
:param flags: bitwise OR of ECORE_FD_READ, ECORE_FD_WRITE... :param flags: bitwise OR of ECORE_FD_READ, ECORE_FD_WRITE...

View File

@ -73,7 +73,7 @@ cdef class FileDownload(object):
""" """
def __init__(self, url, dst, completion_cb, progress_cb, *args, **kargs): def __init__(self, url, dst, completion_cb, progress_cb, *args, **kargs):
"""FileDownload(...) """
:param url: The complete url to download :param url: The complete url to download
:param dst: Where to download the file :param dst: Where to download the file

View File

@ -60,7 +60,7 @@ cdef class FileMonitor(object):
""" """
def __init__(self, path, monitor_cb, *args, **kargs): def __init__(self, path, monitor_cb, *args, **kargs):
"""FileMonitor(...) """
:param path: The complete path of the folder you want to monitor. :param path: The complete path of the folder you want to monitor.
:type path: str :type path: str

View File

@ -40,7 +40,7 @@ cdef class Idler(Eo):
""" """
def __init__(self, func, *args, **kargs): def __init__(self, func, *args, **kargs):
"""Idler(...) """
:param func: Function to call when system is idle. :param func: Function to call when system is idle.
:type func: callable :type func: callable
@ -123,7 +123,7 @@ cdef class IdleEnterer(Idler):
""" """
def __init__(self, func, *args, **kargs): def __init__(self, func, *args, **kargs):
"""IdleEnterer(...) """
:param func: Function to call when system enters idle. :param func: Function to call when system enters idle.
:type func: callable :type func: callable

View File

@ -60,7 +60,7 @@ cdef class Poller(Eo):
""" """
def __init__(self, int interval, func, pol_type=0, *args, **kargs): def __init__(self, int interval, func, pol_type=0, *args, **kargs):
"""Poller(...) """
:param interval: The poll interval :param interval: The poll interval
:type interval: int :type interval: int

View File

@ -42,7 +42,7 @@ cdef class Timer(Eo):
""" """
def __init__(self, double interval, func, *args, **kargs): def __init__(self, double interval, func, *args, **kargs):
"""Timer(...) """
:param interval: interval in seconds. :param interval: interval in seconds.
:type interval: float :type interval: float

View File

@ -31,7 +31,7 @@ cdef void _con_dns_lookup_cb(const char *canonname, const char *ip, sockaddr *so
cdef class Lookup(object): cdef class Lookup(object):
def __init__(self, name, done_cb, *args, **kargs): def __init__(self, name, done_cb, *args, **kargs):
"""Lookup() """
A simple class to perform asynchronous DNS lookups. A simple class to perform asynchronous DNS lookups.

View File

@ -196,7 +196,7 @@ cdef class Url(Eo):
""" """
def __init__(self, url, custom_request=None, **kargs): def __init__(self, url, custom_request=None, **kargs):
"""Url(...) """
:param url: URL that will receive requests. :param url: URL that will receive requests.
:type url: string :type url: string

View File

@ -106,7 +106,7 @@ cdef class Edje(Object):
def __init__(self, Canvas canvas not None, file=None, group=None, size=None, def __init__(self, Canvas canvas not None, file=None, group=None, size=None,
geometry=None, **kwargs): geometry=None, **kwargs):
"""Edje(...) """
:param canvas: Evas canvas for this object :param canvas: Evas canvas for this object
:type canvas: :py:class:`~efl.evas.Canvas` :type canvas: :py:class:`~efl.evas.Canvas`

View File

@ -47,7 +47,7 @@ cdef class Accessible(Object):
""" """
def __init__(self, target, parent = None): def __init__(self, target, parent = None):
"""Accessible(...) """
:param target: The evas object to register as an accessible object. :param target: The evas object to register as an accessible object.
:param parent: The elementary object which is used for creating :param parent: The elementary object which is used for creating

View File

@ -26,7 +26,7 @@ cdef class Actionslider(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Actionslider(..) """
:param parent: Parent object :param parent: Parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -28,7 +28,7 @@ cdef class Background(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Background(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -75,7 +75,7 @@ cdef class Box(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Box(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -26,7 +26,7 @@ cdef class Bubble(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Bubble(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Button(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Button(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -53,7 +53,7 @@ cdef class CalendarMark(object):
def __init__(self, evasObject cal, mark_type, mark_time, def __init__(self, evasObject cal, mark_type, mark_time,
Elm_Calendar_Mark_Repeat_Type repeat): Elm_Calendar_Mark_Repeat_Type repeat):
"""CalendarMark(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`
@ -109,7 +109,7 @@ cdef class Calendar(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Calendar(..) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Check(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Check(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -26,7 +26,7 @@ cdef class Clock(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Clock(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -29,7 +29,7 @@ cdef class ColorselectorPaletteItem(ObjectItem):
cdef int r, g, b, a cdef int r, g, b, a
def __init__(self, int r, int g, int b, int a, *args, **kwargs): def __init__(self, int r, int g, int b, int a, *args, **kwargs):
"""ColorselectorPaletteItem(...) """
:param r: Red value of color :param r: Red value of color
:type r: int :type r: int
@ -108,7 +108,7 @@ cdef class Colorselector(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Colorselector(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -115,7 +115,7 @@ class Combobox(_Combobox, Button, Entry, Genlist, Hover):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Combobox(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Conformant(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Conformant(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -35,7 +35,7 @@ cdef class CtxpopupItem(ObjectItem):
def __init__(self, label = None, evasObject icon = None, def __init__(self, label = None, evasObject icon = None,
callback = None, cb_data = None, *args, **kargs): callback = None, cb_data = None, *args, **kargs):
"""CtxpopupItem(...) """
:param label: The Label of the new item :param label: The Label of the new item
:type label: string :type label: string
@ -155,7 +155,7 @@ cdef class Ctxpopup(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Ctxpopup(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -26,7 +26,7 @@ cdef class Datetime(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Datetime(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -26,7 +26,7 @@ cdef class Dayselector(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Dayselector(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -56,7 +56,7 @@ cdef class DiskselectorItem(ObjectItem):
def __init__(self, label=None, evasObject icon=None, callback=None, def __init__(self, label=None, evasObject icon=None, callback=None,
cb_data=None, *args, **kargs): cb_data=None, *args, **kargs):
"""DiskselectorItem(...) """
:param label: The label of the diskselector item. :param label: The label of the diskselector item.
:type label: string :type label: string
@ -183,7 +183,7 @@ cdef class Diskselector(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Diskselector(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -49,7 +49,7 @@ def utf8_to_markup(string):
<const char *>string if string is not None else NULL)) <const char *>string if string is not None else NULL))
cdef class EntryContextMenuItem(object): cdef class EntryContextMenuItem(object):
"""EntryContextMenuItem(...) """
Type of contextual item that can be added in to long press menu. Type of contextual item that can be added in to long press menu.
@ -192,7 +192,7 @@ cdef void py_elm_entry_filter_cb(void *data, Evas_Object *entry, char **text) wi
cdef class EntryAnchorInfo(object): cdef class EntryAnchorInfo(object):
"""EntryAnchorInfo(...) """
The info sent in the callback for the ``anchor,clicked`` signals emitted The info sent in the callback for the ``anchor,clicked`` signals emitted
by entries. by entries.
@ -254,7 +254,7 @@ cdef object _entryanchor_conv(void *addr):
cdef class EntryAnchorHoverInfo(object): cdef class EntryAnchorHoverInfo(object):
"""EntryAnchorHoverInfo(...) """
The info sent in the callback for ``anchor,hover,opened`` signals emitted The info sent in the callback for ``anchor,hover,opened`` signals emitted
by the entries. by the entries.
@ -348,7 +348,7 @@ cdef class Entry(LayoutClass):
self.markup_filters = [] self.markup_filters = []
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Entry(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -37,7 +37,7 @@ cdef class Fileselector(LayoutClass):
cdef list _custom_filters cdef list _custom_filters
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Fileselector(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -26,7 +26,7 @@ cdef class FileselectorButton(Button):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""FileselectorButton(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -29,7 +29,7 @@ cdef class FileselectorEntry(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""FileselectorEntry(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -26,7 +26,7 @@ cdef class Flip(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Flip(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -42,7 +42,7 @@ cdef class FlipSelectorItem(ObjectItem):
def __init__(self, label = None, callback = None, cb_data = None, def __init__(self, label = None, callback = None, cb_data = None,
*args, **kwargs): *args, **kwargs):
"""FlipSelectorItem(...) """
:param label: The (text) label of the new item :param label: The (text) label of the new item
:type label: string :type label: string
@ -181,7 +181,7 @@ cdef class FlipSelector(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""FlipSelector(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Frame(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Frame(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -23,7 +23,7 @@ cdef class GengridItem(ObjectItem):
def __init__(self, GengridItemClass item_class not None, item_data = None, \ def __init__(self, GengridItemClass item_class not None, item_data = None, \
func = None, func_data = None, *args, **kwargs): func = None, func_data = None, *args, **kwargs):
"""GengridItem(..) """
:param item_class: a valid instance that defines the :param item_class: a valid instance that defines the
behavior of this item. See :py:class:`GengridItemClass`. behavior of this item. See :py:class:`GengridItemClass`.

View File

@ -35,7 +35,7 @@ cdef class GengridItemClass:
def __init__(self, item_style=None, text_get_func=None, def __init__(self, item_style=None, text_get_func=None,
content_get_func=None, state_get_func=None, del_func=None): content_get_func=None, state_get_func=None, del_func=None):
"""GengridItemClass constructor. """
:param item_style: the string that defines the gengrid item :param item_style: the string that defines the gengrid item
theme to be used. The corresponding edje group will theme to be used. The corresponding edje group will

View File

@ -8,7 +8,7 @@ cdef class Gengrid(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Gengrid(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -15,7 +15,7 @@ cdef class GenlistItem(ObjectItem):
GenlistItem parent_item=None, GenlistItem parent_item=None,
Elm_Genlist_Item_Type flags=enums.ELM_GENLIST_ITEM_NONE, Elm_Genlist_Item_Type flags=enums.ELM_GENLIST_ITEM_NONE,
func=None, func_data=None, *args, **kwargs): func=None, func_data=None, *args, **kwargs):
"""GenlistItem(...) """
:param item_data: Data that defines the model of this row. :param item_data: Data that defines the model of this row.
This value will be given to methods of ``item_class`` such as This value will be given to methods of ``item_class`` such as

View File

@ -46,7 +46,7 @@ cdef class GenlistItemClass(object):
filter_get_func=None, reusable_content_get_func=None, filter_get_func=None, reusable_content_get_func=None,
*args, **kwargs): *args, **kwargs):
"""GenlistItemClass constructor. """
:param item_style: the string that defines the genlist item :param item_style: the string that defines the genlist item
theme to be used. The corresponding edje group will theme to be used. The corresponding edje group will

View File

@ -10,7 +10,7 @@ cdef class Genlist(Object):
""" """
def __init__(self, evasObject parent not None, *args, **kwargs): def __init__(self, evasObject parent not None, *args, **kwargs):
"""Genlist(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -19,7 +19,7 @@
include "gesture_layer_cdef.pxi" include "gesture_layer_cdef.pxi"
cdef class GestureTapsInfo(object): cdef class GestureTapsInfo(object):
"""GestureTapsInfo(...) """
Holds taps info for user Holds taps info for user
@ -64,7 +64,7 @@ cdef class GestureTapsInfo(object):
return self.info.timestamp return self.info.timestamp
cdef class GestureMomentumInfo(object): cdef class GestureMomentumInfo(object):
"""GestureMomentumInfo(...) """
Holds momentum info for user Holds momentum info for user
x1 and y1 are not necessarily in sync x1 and y1 are not necessarily in sync
@ -158,7 +158,7 @@ cdef class GestureMomentumInfo(object):
return self.info.n return self.info.n
cdef class GestureLineInfo(object): cdef class GestureLineInfo(object):
"""GestureLineInfo(...) """
Holds line info for user Holds line info for user
@ -187,7 +187,7 @@ cdef class GestureLineInfo(object):
return self.info.angle return self.info.angle
cdef class GestureZoomInfo(object): cdef class GestureZoomInfo(object):
"""GestureZoomInfo(...) """
Holds zoom info for user Holds zoom info for user
@ -241,7 +241,7 @@ cdef class GestureZoomInfo(object):
return self.info.momentum return self.info.momentum
cdef class GestureRotateInfo(object): cdef class GestureRotateInfo(object):
"""GestureRotateInfo(...) """
Holds rotation info for user Holds rotation info for user
@ -364,7 +364,7 @@ cdef class GestureLayer(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""GestureLayer(...) """
:param parent: The gesture layer's parent widget. :param parent: The gesture layer's parent widget.
:type parent: :py:class:`~efl.evas.Object` :type parent: :py:class:`~efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Grid(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Grid(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -26,7 +26,7 @@ cdef class Hover(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Hover(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -34,7 +34,7 @@ cdef class HoverselItem(ObjectItem):
def __init__(self, label = None, icon_file = None, def __init__(self, label = None, icon_file = None,
icon_type = enums.ELM_ICON_NONE, callback = None, cb_data = None, icon_type = enums.ELM_ICON_NONE, callback = None, cb_data = None,
*args, **kwargs): *args, **kwargs):
"""HoverselItem(...) """
:param label: The text label to use for the item (None if not desired) :param label: The text label to use for the item (None if not desired)
:type label: string :type label: string
@ -171,7 +171,7 @@ cdef class Hoversel(Button):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Hoversel(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -26,7 +26,7 @@ cdef class Icon(Image):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Icon(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -79,7 +79,7 @@ cdef class Image(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Image(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -310,7 +310,7 @@ cdef class Index(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Index(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class InnerWindow(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""InnerWindow(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -26,7 +26,7 @@ cdef class Label(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Label(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -28,7 +28,7 @@ cdef void layout_signal_callback(void *data, Evas_Object *obj,
traceback.print_exc() traceback.print_exc()
cdef class LayoutClass(Object): cdef class LayoutClass(Object):
"""LayoutClass(...) """
This is the base class for the :class:`~efl.elementary.layout.Layout` This is the base class for the :class:`~efl.elementary.layout.Layout`
widget and all the other widgets that inherit from it. widget and all the other widgets that inherit from it.

View File

@ -32,7 +32,7 @@ cdef class ListItem(ObjectItem):
def __init__(self, label=None, evasObject icon=None, evasObject end=None, def __init__(self, label=None, evasObject icon=None, evasObject end=None,
callback=None, cb_data=None, *args, **kargs): callback=None, cb_data=None, *args, **kargs):
"""ListItem(...) """
:param string label: The label of the list item. :param string label: The label of the list item.
:param icon: The icon object to use for the left side of the item. An :param icon: The icon object to use for the left side of the item. An
@ -416,7 +416,7 @@ cdef class List(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""List(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -714,7 +714,7 @@ cdef class Map(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Map(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Mapbuf(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Mapbuf(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -223,7 +223,7 @@ cdef class MultiButtonEntry(Object):
cdef list _item_filters cdef list _item_filters
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""MultiButtonEntry(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -326,7 +326,7 @@ cdef class Naviframe(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Naviframe(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -29,7 +29,7 @@ cdef class Panel(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Panel(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Panes(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Panes(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Photo(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Photo(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -19,7 +19,7 @@
include "photocam_cdef.pxi" include "photocam_cdef.pxi"
cdef class PhotocamProgressInfo(object): cdef class PhotocamProgressInfo(object):
"""PhotocamProgressInfo(...) """
The info sent in the callback for the ``download,progress`` signals emitted The info sent in the callback for the ``download,progress`` signals emitted
by Photocam while downloading remote urls. by Photocam while downloading remote urls.
@ -45,7 +45,7 @@ cdef object _photocam_download_progress_conv(void *addr):
cdef class PhotocamErrorInfo(object): cdef class PhotocamErrorInfo(object):
"""PhotocamErrorInfo(...) """
The info sent in the callback for the ``download,error`` signals emitted The info sent in the callback for the ``download,error`` signals emitted
by Photocam when fail to download remote urls. by Photocam when fail to download remote urls.
@ -79,7 +79,7 @@ cdef class Photocam(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Photocam(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -27,7 +27,7 @@ cdef class Plug(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Plug(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -90,7 +90,7 @@ cdef class Popup(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Popup(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -26,7 +26,7 @@ cdef class Progressbar(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Progressbar(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Radio(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Radio(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -182,7 +182,7 @@ cdef class SegmentControl(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""SegmentControl(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Separator(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Separator(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Slider(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Slider(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -327,7 +327,7 @@ cdef class Slideshow(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Slideshow(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Spinner(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Spinner(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Table(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Table(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -25,7 +25,7 @@ cdef class Thumb(Object):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Thumb(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -585,7 +585,7 @@ cdef class Toolbar(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Toolbar(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -108,7 +108,7 @@ cdef class Transit(object):
dict del_cb_kwargs dict del_cb_kwargs
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
"""Transit(...) """
:param \**kwargs: All the remaining keyword arguments are interpreted :param \**kwargs: All the remaining keyword arguments are interpreted
as properties of the instance as properties of the instance

View File

@ -25,7 +25,7 @@ cdef class Video(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Video(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`
@ -261,7 +261,7 @@ cdef class Player(LayoutClass):
""" """
def __init__(self, evasObject parent, *args, **kwargs): def __init__(self, evasObject parent, *args, **kwargs):
"""Player(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -120,7 +120,7 @@ cdef class Web(Object):
cdef object _console_message_hook cdef object _console_message_hook
def __init__(self,evasObject parent, *args, **kwargs): def __init__(self,evasObject parent, *args, **kwargs):
"""Web(...) """
:param parent: The parent object :param parent: The parent object
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -26,7 +26,7 @@ cdef class Window(Object):
""" """
def __init__(self, name, type, evasObject parent=None, *args, **kwargs): def __init__(self, name, type, evasObject parent=None, *args, **kwargs):
"""Window(...) """
:param name: A name for the new window - used by the window :param name: A name for the new window - used by the window
manager for identifying the window uniquely amongst all the windows manager for identifying the window uniquely amongst all the windows
@ -1503,7 +1503,7 @@ cdef class StandardWindow(Window):
""" """
def __init__(self, name, title, *args, **kwargs): def __init__(self, name, title, *args, **kwargs):
"""StandardWindow(..) """
:param name: A name for the new window. :param name: A name for the new window.
:type name: string :type name: string
@ -1534,7 +1534,7 @@ cdef class DialogWindow(Window):
""" """
def __init__(self, evasObject parent not None, name, title, *args, **kwargs): def __init__(self, evasObject parent not None, name, title, *args, **kwargs):
"""DialogWindow(...) """
:param parent: The parent window (mandatory) :param parent: The parent window (mandatory)
:type parent: :py:class:`efl.evas.Object` :type parent: :py:class:`efl.evas.Object`

View File

@ -203,7 +203,7 @@ cdef class Emotion(evasObject):
def __init__(self, Canvas canvas not None, module_name="gstreamer1", def __init__(self, Canvas canvas not None, module_name="gstreamer1",
module_params=None, **kwargs): module_params=None, **kwargs):
"""Emotion(...) """
:param canvas: Evas canvas for this object :param canvas: Evas canvas for this object
:type canvas: :py:class:`~efl.evas.Canvas` :type canvas: :py:class:`~efl.evas.Canvas`

View File

@ -230,7 +230,6 @@ cdef class Ethumb(object):
self.obj = NULL self.obj = NULL
def __init__(self): def __init__(self):
""" Ethumb constructor. """
assert self.obj == NULL, "Object must be clean" assert self.obj == NULL, "Object must be clean"
self.obj = ethumb_new() self.obj = ethumb_new()
if self.obj == NULL: if self.obj == NULL:

View File

@ -247,7 +247,7 @@ cdef class EthumbClient:
""" """
def __init__(self, func, *args, **kargs): def __init__(self, func, *args, **kargs):
""" EthumbClient thumbnail generator. """
:param func: function to call when connection with server is :param func: function to call when connection with server is
established. established.

View File

@ -30,7 +30,7 @@ cdef class Box(Object):
""" """
def __init__(self, Canvas canvas not None, **kwargs): def __init__(self, Canvas canvas not None, **kwargs):
"""Box(...) """
:param canvas: The evas canvas for this object :param canvas: The evas canvas for this object
:type canvas: :py:class:`Canvas` :type canvas: :py:class:`Canvas`

View File

@ -24,7 +24,7 @@ cdef class Grid(Object):
""" """
def __init__(self, Canvas canvas not None, **kwargs): def __init__(self, Canvas canvas not None, **kwargs):
"""Grid(...) """
:param canvas: The evas canvas for this object :param canvas: The evas canvas for this object
:type canvas: :py:class:`Canvas` :type canvas: :py:class:`Canvas`

View File

@ -127,7 +127,7 @@ cdef class Image(Object):
""" """
def __init__(self, Canvas canvas not None, file=None, **kwargs): def __init__(self, Canvas canvas not None, file=None, **kwargs):
"""Image(...) """
:param canvas: Evas canvas for this object :param canvas: Evas canvas for this object
:type canvas: Canvas :type canvas: Canvas

View File

@ -24,7 +24,7 @@ cdef class Line(Object):
""" """
def __init__(self, Canvas canvas not None, start=None, end=None, def __init__(self, Canvas canvas not None, start=None, end=None,
geometry=None, size=None, pos=None, **kwargs): geometry=None, size=None, pos=None, **kwargs):
"""Line(...) """
:param canvas: Evas canvas for this object :param canvas: Evas canvas for this object
:type canvas: :py:class:`~efl.evas.Canvas` :type canvas: :py:class:`~efl.evas.Canvas`

View File

@ -23,7 +23,7 @@ cdef class Polygon(Object):
""" """
def __init__(self, Canvas canvas not None, points=None, **kwargs): def __init__(self, Canvas canvas not None, points=None, **kwargs):
"""Polygon(...) """
:param canvas: Evas canvas for this object :param canvas: Evas canvas for this object
:type canvas: :py:class:`~efl.evas.Canvas` :type canvas: :py:class:`~efl.evas.Canvas`

View File

@ -91,7 +91,7 @@ cdef class Rectangle(Object):
""" """
def __init__(self, Canvas canvas not None, **kwargs): def __init__(self, Canvas canvas not None, **kwargs):
"""Rectangle(...) """
:param canvas: Evas canvas for this object :param canvas: Evas canvas for this object
:type canvas: :py:class:`~efl.evas.Canvas` :type canvas: :py:class:`~efl.evas.Canvas`

View File

@ -39,7 +39,7 @@ cdef class Table(Object):
""" """
def __init__(self, Canvas canvas not None, **kwargs): def __init__(self, Canvas canvas not None, **kwargs):
"""Table(...) """
:param canvas: Evas canvas for this object :param canvas: Evas canvas for this object
:type canvas: :py:class:`~efl.evas.Canvas` :type canvas: :py:class:`~efl.evas.Canvas`

View File

@ -26,7 +26,7 @@ cdef class Text(Object):
def __init__(self, Canvas canvas not None, font=None, shadow_color=None, def __init__(self, Canvas canvas not None, font=None, shadow_color=None,
glow_color=None, glow2_color=None, outline_color=None, glow_color=None, glow2_color=None, outline_color=None,
**kwargs): **kwargs):
"""Text(...) """
:param canvas: Evas canvas for this object :param canvas: Evas canvas for this object
:type canvas: :py:class:`~efl.evas.Canvas` :type canvas: :py:class:`~efl.evas.Canvas`

View File

@ -24,7 +24,7 @@ cdef class Textblock(Object):
""" """
def __init__(self, Canvas canvas not None, **kwargs): def __init__(self, Canvas canvas not None, **kwargs):
"""Textblock(...) """
:param canvas: Evas canvas for this object :param canvas: Evas canvas for this object
:type canvas: :py:class:`~efl.evas.Canvas` :type canvas: :py:class:`~efl.evas.Canvas`

View File

@ -213,7 +213,7 @@ cdef class Textgrid(Object):
""" """
def __init__(self, Canvas canvas not None, **kwargs): def __init__(self, Canvas canvas not None, **kwargs):
"""Textgrid(...) """
:param canvas: Evas canvas for this object :param canvas: Evas canvas for this object
:type canvas: :py:class:`~efl.evas.Canvas` :type canvas: :py:class:`~efl.evas.Canvas`