User Tools

Site Tools


15.0 Desktop

By using this component, you can use routines based on the xdg-utils scripts of the Portland project to run, among other things, independently of the desktop:

  • Open files in the user's preferred browser,
  • Send or receive e-mails or
  • Manage the screensaver.

You will learn how to send keyboard events to the window that has the focus, save and retrieve passwords depending on the desktop environment in use. It shows you how to manage top-level windows using window manager specifications.

The following sections describe the following classes of the Desktop component with their properties, methods and events:

  • Desktop
  • DesktopFile
  • DesktopMime
  • DesktopWatcher
  • DesktopWindow


Figure 15.0.1: Project example for using the class SendMail




The website uses a temporary session cookie. This technically necessary cookie is deleted when the browser is closed. You can find information on cookies in our privacy policy.
k15/start.txt · Last modified: 28.09.2023 by emma

Page Tools