.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. _wx.PlatformId: ========================================================================================================================================== |phoenix_title| **wx.PlatformId** ========================================================================================================================================== Defines a very broad platform categorization. Usually you would use `PlatformInfo` to get all the platform details rather than this class which only distinguishes between MSW, Mac and Unix platforms. This class is mostly useful if a short string describing the platform corresponds to the current platform, i.e. the platform under which the executable runs. The recognized strings are: - "msw" (preferred) or "win" (for compatibility) for MSW. - "mac" for Apple systems, i.e. macOS and iOS. - "unix" for the (other) Unix-like systems. .. versionadded:: 4.1/wxWidgets-3.1.5 | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class PlatformId:
| |api| Class API =============== .. class:: wx.PlatformId(object) Defines a very broad platform categorization.