MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / appIndicatorShowOrHideWindow

Method appIndicatorShowOrHideWindow

src/bitmessageqt/__init__.py:835–843  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

833 # Show or hide the application window after clicking an item within the
834 # tray icon or, on Windows, the try icon itself.
835 def appIndicatorShowOrHideWindow(self):
836 if not self.actionShow.isChecked():
837 self.hide()
838 else:
839 self.show()
840 self.setWindowState(
841 self.windowState() & ~QtCore.Qt.WindowMinimized | QtCore.Qt.WindowActive)
842 self.raise_()
843 self.activateWindow()
844
845 # show the application window
846 def appIndicatorShow(self):

Callers 3

appIndicatorShowMethod · 0.95
appIndicatorHideMethod · 0.95
__icon_activatedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected