90 <h4>ShellHistoryDialog (Constructor)</h4> |
90 <h4>ShellHistoryDialog (Constructor)</h4> |
91 <b>ShellHistoryDialog</b>(<i>history, vm, shell</i>) |
91 <b>ShellHistoryDialog</b>(<i>history, vm, shell</i>) |
92 <p> |
92 <p> |
93 Constructor |
93 Constructor |
94 </p><dl> |
94 </p><dl> |
95 <dt><i>history</i></dt> |
95 <dt><i>history</i> (list of str)</dt> |
96 <dd> |
96 <dd> |
97 reference to the current shell history (list of strings) |
97 reference to the current shell history |
98 </dd><dt><i>vm</i></dt> |
98 </dd><dt><i>vm</i> (ViewManager)</dt> |
99 <dd> |
99 <dd> |
100 reference to the viewmanager object |
100 reference to the viewmanager object |
101 </dd><dt><i>shell</i></dt> |
101 </dd><dt><i>shell</i> (Shell)</dt> |
102 <dd> |
102 <dd> |
103 reference to the shell object |
103 reference to the shell object |
104 </dd> |
104 </dd> |
105 </dl><a NAME="ShellHistoryDialog.getHistory" ID="ShellHistoryDialog.getHistory"></a> |
105 </dl><a NAME="ShellHistoryDialog.getHistory" ID="ShellHistoryDialog.getHistory"></a> |
106 <h4>ShellHistoryDialog.getHistory</h4> |
106 <h4>ShellHistoryDialog.getHistory</h4> |
108 <p> |
108 <p> |
109 Public method to retrieve the history from the dialog. |
109 Public method to retrieve the history from the dialog. |
110 </p><dl> |
110 </p><dl> |
111 <dt>Returns:</dt> |
111 <dt>Returns:</dt> |
112 <dd> |
112 <dd> |
113 list of history entries (list of strings) |
113 tuple containing the list of history entries and the |
|
114 current row |
|
115 </dd> |
|
116 </dl><dl> |
|
117 <dt>Return Type:</dt> |
|
118 <dd> |
|
119 tuple of (list of str, int) |
114 </dd> |
120 </dd> |
115 </dl><a NAME="ShellHistoryDialog.on_copyButton_clicked" ID="ShellHistoryDialog.on_copyButton_clicked"></a> |
121 </dl><a NAME="ShellHistoryDialog.on_copyButton_clicked" ID="ShellHistoryDialog.on_copyButton_clicked"></a> |
116 <h4>ShellHistoryDialog.on_copyButton_clicked</h4> |
122 <h4>ShellHistoryDialog.on_copyButton_clicked</h4> |
117 <b>on_copyButton_clicked</b>(<i></i>) |
123 <b>on_copyButton_clicked</b>(<i></i>) |
118 <p> |
124 <p> |