2021-11-28 00:54:33 +00:00
|
|
|
# Python imports
|
|
|
|
|
|
|
|
# Gtk imports
|
|
|
|
import gi
|
|
|
|
gi.require_version('Gtk', '3.0')
|
2022-11-29 04:34:13 +00:00
|
|
|
from gi.repository import Gtk
|
2021-11-28 00:54:33 +00:00
|
|
|
|
|
|
|
# Application imports
|
|
|
|
|
|
|
|
|
|
|
|
class ShowHideMixin:
|
2021-11-28 06:40:47 +00:00
|
|
|
def show_messages_popup(self, type, text, seconds=None):
|
2022-02-25 23:58:11 +00:00
|
|
|
self.message_popup_widget.popup()
|