Did I find the right examples for you? yes no

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)

src/w/a/wallmanager-HEAD/mtmenu/ui/apppopup.py   wallmanager(Download)
from pymt import *
from threading import Timer
from config import APPPOPUP_SIZE, MAINWINDOW_SIZE, APPSLIST_POPUP_DURATION
from utils import get_trimmed_label_widget
 
 
        # Avoid popup from being partially hidden
        if pos_x+APPPOPUP_SIZE[0] > MAINWINDOW_SIZE[0]: # check right
            pos_x = MAINWINDOW_SIZE[0] - APPPOPUP_SIZE[0] - 10
 

src/w/a/wallmanager-HEAD/mtmenu/ui/helppopup.py   wallmanager(Download)
from pymt import *
from config import HELPPOPUP_POSITION, HELPPOPUP_SIZE, MAINWINDOW_SIZE
 
class HelpPopup(MTModalWindow):
 
        drawRoundedRectangle(pos = (0,0),
                             radius = 0,
                             size = MAINWINDOW_SIZE,
                             precision = 1,
                             color = (0,0,0,0.7))

src/w/a/wallmanager-HEAD/mtmenu/ui/mainwindow.py   wallmanager(Download)
from pymt import *
from config import MAINWINDOW_SIZE, MAINWINDOW_POSITION
from ui.topbar import TopBar
from gesture.gesture_scan import GestureScan
 
 
class MainWindow(MTWindow):
    """Menu main window"""
    def __init__(self, **kwargs):
        kwargs.setdefault('size', MAINWINDOW_SIZE)

src/w/a/wallmanager-HEAD/mtmenu/ui/backgroundimage.py   wallmanager(Download)
from pymt import *
from config import MAINWINDOW_SIZE
 
class BackgroundImage(MTScatterImage):
 
    def __init__(self, **kwargs):
        kwargs.setdefault('size', MAINWINDOW_SIZE)