python-efl

Python-efl Tutorial 9

”’ 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, EVAS_HINT_FILL EXPAND_BOTH = EVAS_HINT_EXPAND, EVAS_HINT_EXPAND EXPAND_HORIZ = EVAS_HINT_EXPAND, 0.0 FILL_BOTH = EVAS_HINT_FILL, EVAS_HINT_FILL class PictureFrame(Frame): def __init__(self, parent_widget, ourText=None, image=None, …

Python-efl Tutorial 9 Read More »

Python-efl Tutorial 8

”’ 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 = [“Apples”, “Bananas”, “Cookies”, “Fruit Loops”, “Milk”, “Apple Juice”, “BBQ Sauce”, “Nesquik”, “Trail Mix”, “Chips”, “Crackers”, “Cheese”, “Peanutbutter”, “Jelly”, “Ham”, “Turkey”, …

Python-efl Tutorial 8 Read More »

Python-efl Tutorial 7

”’ 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, EVAS_HINT_FILL EXPAND_BOTH = EVAS_HINT_EXPAND, EVAS_HINT_EXPAND EXPAND_HORIZ = EVAS_HINT_EXPAND, 0.0 FILL_BOTH = EVAS_HINT_FILL, EVAS_HINT_FILL list_items = [“Apples”, “Bananas”, “Cookies”, “Fruit Loops”, …

Python-efl Tutorial 7 Read More »

Python-efl Tutorial 6

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 Hoogland (Jef91)</hilight><br> <link><a href=http://www.jeffhoogland.com>Contact</a></link><br><br> </align> “”” LICENSE = “”” <align=center> <hilight> GNU GENERAL PUBLIC LICENSE<br> Version 3, 29 June 2007<br><br> …

Python-efl Tutorial 6 Read More »

Python-efl Tutorial 5

”’ 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 from efl.elementary.box import Box from efl.elementary.naviframe import Naviframe from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL EXPAND_BOTH = EVAS_HINT_EXPAND, EVAS_HINT_EXPAND EXPAND_HORIZ = EVAS_HINT_EXPAND, …

Python-efl Tutorial 5 Read More »

Python-efl Tutorial 4

”’ 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 StandardWindow from efl.evas import EVAS_HINT_EXPAND EXPAND_BOTH = EVAS_HINT_EXPAND, EVAS_HINT_EXPAND class MainWindow(StandardWindow): def __init__(self): StandardWindow.__init__(self, “ex1”, “Hello Elementary”, size=(300, 200)) self.callback_delete_request_add(lambda …

Python-efl Tutorial 4 Read More »

Python-efl Tutorial 3

”’ 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 from efl.evas import EVAS_HINT_FILL EXPAND_BOTH = EVAS_HINT_EXPAND, EVAS_HINT_EXPAND FILL_BOTH = EVAS_HINT_FILL, EVAS_HINT_FILL class MainWindow(StandardWindow): def __init__(self): StandardWindow.__init__(self, “ex3”, “Weight Example”, …

Python-efl Tutorial 3 Read More »

Python-efl Tutorial 1

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 from efl.elementary.label import Label from efl.elementary.window import StandardWindow from efl.evas import EVAS_HINT_EXPAND EXPAND_BOTH = EVAS_HINT_EXPAND, EVAS_HINT_EXPAND class MainWindow(StandardWindow): def __init__(self): …

Python-efl Tutorial 1 Read More »