gdesk.gcore.utils module

Small utils directly related to QT

class gdesk.gcore.utils.ActionArguments(qwidget)

Bases: object

isNotSet()
gdesk.gcore.utils.getMenuAction(menubar, menutrace)

Locate the action in a menubar

gdesk.gcore.utils.getMenuTrace(menu)

Return the current menu location as a list of strings

gdesk.gcore.utils.relax_menu_text(text)

Remove any &, lower case, stop at first t

gdesk.gcore.utils.relax_menu_trace(menutrace)

relax_menu_text on every string of menutrace