File: Application.py

package info (click to toggle)
fs-uae-arcade 3.1.63-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 24,456 kB
  • sloc: python: 56,011; makefile: 170
file content (15 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import fsui
from fsgs.application import ApplicationMixin


class Application(ApplicationMixin, fsui.Application):
    instance = None
    name = None

    @classmethod
    def init(cls, name):
        cls.name = name

    def __init__(self):
        super().__init__(Application.name)
        self.set_icon(fsui.Icon("fs-uae-arcade", "pkg:launcher"))