81 reference to the parent widget |
81 reference to the parent widget |
82 </dd> |
82 </dd> |
83 </dl> |
83 </dl> |
84 <a NAME="EricMainWindow.setStyle" ID="EricMainWindow.setStyle"></a> |
84 <a NAME="EricMainWindow.setStyle" ID="EricMainWindow.setStyle"></a> |
85 <h4>EricMainWindow.setStyle</h4> |
85 <h4>EricMainWindow.setStyle</h4> |
86 <b>setStyle</b>(<i>styleName, styleSheetFile</i>) |
86 <b>setStyle</b>(<i>styleName, styleSheetFile, itemClickBehavior="default"</i>) |
87 <p> |
87 <p> |
88 Public method to set the style of the interface. |
88 Public method to set the style of the interface. |
89 </p> |
89 </p> |
90 |
90 |
91 <dl> |
91 <dl> |
97 <dt><i>styleSheetFile</i> (str)</dt> |
97 <dt><i>styleSheetFile</i> (str)</dt> |
98 <dd> |
98 <dd> |
99 name of a style sheet file to read to overwrite |
99 name of a style sheet file to read to overwrite |
100 defaults of the given style |
100 defaults of the given style |
101 </dd> |
101 </dd> |
|
102 <dt><i>itemClickBehavior</i> (str (optional))</dt> |
|
103 <dd> |
|
104 string describing the item activation behavior (one of |
|
105 "default", "doubleclick" or "singleclick") (defaults to "default") |
|
106 </dd> |
102 </dl> |
107 </dl> |
103 <div align="right"><a href="#top">Up</a></div> |
108 <div align="right"><a href="#top">Up</a></div> |
104 <hr /> |
109 <hr /> |
105 </body></html> |
110 </body></html> |