eric6/Snapshot/SnapshotModes.py

Sun, 02 Feb 2020 11:04:32 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 02 Feb 2020 11:04:32 +0100
changeset 7380
c99320e859ca
parent 7360
9190402e4505
child 7703
1f800f8295ea
permissions
-rw-r--r--

Fixed an issue related to showing the application name in the menu bar of Gnome desktop under Wayland.

# -*- coding: utf-8 -*-

# Copyright (c) 2019 - 2020 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module implementing the snapshot mode enumeration.
"""


try:
    from enum import Enum
except ImportError:
    from ThirdParty.enum import Enum


class SnapshotModes(Enum):
    """
    Class implementing the snapshot modes.
    """
    Fullscreen = 0
    SelectedScreen = 1
    Rectangle = 2
    Freehand = 3
    Ellipse = 4
    SelectedWindow = 5

eric ide

mercurial