Python-efl Custom Elementary Widget

Python-EFL is a wrapper around the Enlightenment GUI kit. This series of tutorials is an update from the original author. ”’ Abdur-Ramaan Janhangeer Updated from Jeff Hoogland’s tutos for Python3.9 and Python-elf 1.25.0 https://www.toolbox.com/tech/operating-systems/blogs/py-efl-tutorial-9-custom-elementary-widgets-020116/ ”’ import efl.elementary as elm from efl.elementary.window import StandardWindow from efl.elementary.frame import Frame from efl.elementary.image import Image from efl.evas import EVAS_HINT_EXPAND, …

Python-efl Custom Elementary Widget Read More »

Python-efl Generic List

Python-EFL is a wrapper around the Enlightenment GUI kit. This series of tutorials is an update from the original author. ”’ Abdur-Ramaan Janhangeer Updated from Jeff Hoogland’s tutos for Python3.9 and Python-elf 1.25.0 https://www.toolbox.com/tech/programming/blogs/pyefl-tutorial-8-genlist-120215/ ”’ import efl.elementary as elm from efl.elementary.window import StandardWindow from efl.elementary.genlist import Genlist, GenlistItem, GenlistItemClass from elmextensions import StandardPopup ListItems = …

Python-efl Generic List Read More »

Python-efl Lists

Python-EFL is a wrapper around the Enlightenment GUI kit. This series of tutorials is an update from the original author. ”’ Abdur-Ramaan Janhangeer Updated from Jeff Hoogland’s tutos for Python3.9 and Python-elf 1.25.0 https://www.toolbox.com/tech/operating-systems/blogs/pyefl-tutorial-7-lists-111115/ ”’ import efl.elementary as elm from efl.elementary.window import StandardWindow from efl.elementary.list import List from elmextensions import StandardPopup from efl.evas import EVAS_HINT_EXPAND, …

Python-efl Lists Read More »

Python-efl Elm Extensions

Python-EFL is a wrapper around the Enlightenment GUI kit. This series of tutorials is an update from the original author. To follow this tutorial, download/clone this repo and pip install it ”’ Abdur-Ramaan Janhangeer Updated from Jeff Hoogland’s tutos for Python3.9 and Python-elf 1.25.0 https://www.toolbox.com/tech/operating-systems/blogs/py-efl-tutorial-6-elmextensions-110115/ ”’ ”’ extentions ”’ AUTHORS = “”” <br> <align=center> <hilight>Jeff …

Python-efl Elm Extensions Read More »

Python-efl Naviframe

Python-EFL is a wrapper around the Enlightenment GUI kit. This series of tutorials is an update from the original author. ”’ Abdur-Ramaan Janhangeer Updated from Jeff Hoogland’s tutos for Python3.9 and Python-elf 1.25.0 https://www.toolbox.com/tech/operating-systems/blogs/py-efl-tutorial-5-naviframe-070115/ ”’ import efl.elementary as elm from efl.elementary.window import StandardWindow from efl.elementary.image import Image from efl.elementary.label import Label from efl.elementary.button import Button …

Python-efl Naviframe Read More »

Python-efl Displaying Images

Python-EFL is a wrapper around the Enlightenment GUI kit. This series of tutorials is an update from the original author. ”’ Abdur-Ramaan Janhangeer Updated from Jeff Hoogland’s tutos for Python3.9 and Python-elf 1.25.0 https://www.toolbox.com/tech/operating-systems/blogs/py-efl-tutorial-4-displaying-images-042415/ Needs one image called image.png ”’ import efl.elementary as elm from efl.elementary.image import Image from efl.elementary.label import Label from efl.elementary.window import …

Python-efl Displaying Images Read More »

Python-efl Align Hints

Python-EFL is a wrapper around the Enlightenment GUI kit. This series of tutorials is an update from the original author. ”’ Abdur-Ramaan Janhangeer Updated from Jeff Hoogland’s tutos for Python3.9 and Python-elf 1.25.0 https://www.toolbox.com/tech/operating-systems/blogs/py-efl-tutorial-3-align-hints-041415/ ”’ import efl.elementary as elm from efl.elementary.box import Box from efl.elementary.button import Button from efl.elementary.window import StandardWindow from efl.evas import EVAS_HINT_EXPAND …

Python-efl Align Hints Read More »

Python-efl Weight Hints Callback

Python-EFL is a wrapper around the Enlightenment GUI kit. This series of tutorials is an update from the original author. Callback demo ”’ Abdur-Ramaan Janhangeer Updated from Jeff Hoogland’s tutos for Python3.9 and Python-elf 1.25.0 https://www.toolbox.com/tech/operating-systems/blogs/py-efl-tutorial-2-weight-hints-031215/ ”’ import efl.elementary as elm from efl.elementary.box import Box from efl.elementary.button import Button from efl.elementary.label import Label from efl.elementary.window …

Python-efl Weight Hints Callback Read More »

Python-efl A Window

Python-EFL is a wrapper around the Enlightenment GUI kit. This series of tutorials is an update from the original author. Simple window Be sure to read first: How to install Python-efl on Ubuntu or Linux Mint ”’ Abdur-Ramaan Janhangeer Updated from Jeff Hoogland’s tutos for Python3.9 and Python-elf 1.25.0 https://www.toolbox.com/tech/operating-systems/blogs/py-efl-tutorial-1-hello-elementary-022415/ ”’ import efl.elementary as elm …

Python-efl A Window Read More »

Python: Making Imports Callable

I wanted to do import module module() I thought this did not exist in Python but Chris Angelico, a Python core dev showed me it existed! # importme.py import sys, types class Module(types.ModuleType): def __call__(self): print(“You called me!”) sys.modules[__name__].__class__ = Module # other_file.py import importme importme() Mind boggling!

How to install Python-efl on Ubuntu or Linux Mint

Python-efl is the binding for EFL, an awesome and performance-obcessed set of libraries. EFL stands for Enlightment Foundation Libraries. It was started for the Enlightment desktop project and developed into a set of libraries. This tutorial shows how to install python-efl. Install Instructions First create a new folder called efl_dev mkdir efl_dev cd efl_dev Then …

How to install Python-efl on Ubuntu or Linux Mint Read More »

How to solve celery task has no attribute AsyncResult

I was looking through Grinberg’s tuto on celery and flask. I saw querying tasks by task = long_task.AsyncResult(task_id) But for some reasons it was not working for me. I looked at Flower‘s get_task_by_id which led to wrapping a tornado object. It was too complicated for me to include Tornado in my project. I browsed through …

How to solve celery task has no attribute AsyncResult Read More »