1//--------------------------------------------------------------------------- 2// This file is generated by wxPython's SIP generator. Do not edit by hand. 3// 4// Copyright: (c) 2018 by Total Control Software 5// License: wxWindows License 6// 7// This file will be included by _core.sip 8// 9//--------------------------------------------------------------------------- 10 11//--------------------------------------------------------------------------- 12 13class wxSystemOptions : wxObject 14{ 15 %Docstring 16 SystemOptions() 17 18 wxSystemOptions stores option/value pairs that wxWidgets itself or 19 applications can use to alter behaviour at run-time. 20 %End 21 %TypeHeaderCode 22 #include <wx/sysopt.h> 23 %End 24 25public: 26 wxSystemOptions(); 27 28 static 29 void SetOption( 30 const wxString & name, 31 const wxString & value 32 ); 33 %Docstring 34 SetOption(name, value) 35 SetOption(name, value) 36 37 Sets an option. 38 %End 39 40 static 41 void SetOption( 42 const wxString & name, 43 int value 44 ); 45 46 static 47 wxString GetOption( 48 const wxString & name 49 ); 50 %Docstring 51 GetOption(name) -> String 52 53 Gets an option. 54 %End 55 56 static 57 int GetOptionInt( 58 const wxString & name 59 ); 60 %Docstring 61 GetOptionInt(name) -> int 62 63 Gets an option as an integer. 64 %End 65 66 static 67 bool HasOption( 68 const wxString & name 69 ); 70 %Docstring 71 HasOption(name) -> bool 72 73 Returns true if the given option is present. 74 %End 75 76 static 77 bool IsFalse( 78 const wxString & name 79 ); 80 %Docstring 81 IsFalse(name) -> bool 82 83 Returns true if the option with the given name had been set to 0 84 value. 85 %End 86 87}; // end of class wxSystemOptions 88 89 90 91//--------------------------------------------------------------------------- 92 93