X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dialog.h;h=0cabb3d39dadf6104c9c3b84f04eddfc80c599d2;hb=85c227326ce4d7141bc5c9a12ba2b8b6865a44b7;hp=8daa3320c843533f1eb33160ec78bbe7774a7ff6;hpb=b49980b95356d29ed29e953b77d3884dd6daad4e;p=PuTTY.git diff --git a/dialog.h b/dialog.h index 8daa3320..0cabb3d3 100644 --- a/dialog.h +++ b/dialog.h @@ -209,6 +209,10 @@ union control { * has a drop-down list built in. (Note that a _non_- * editable drop-down list is done as a special case of a * list box.) + * + * Don't try setting has_list and password on the same + * control; front ends are not required to support that + * combination. */ int has_list; /* @@ -333,6 +337,11 @@ union control { * the respective widths of `ncols' columns, which together * will exactly fit the width of the list box. Otherwise * `percentages' must be NULL. + * + * There should never be more than one column in a + * drop-down list (one with height==0), because front ends + * may have to implement it as a special case of an + * editable combo box. */ int ncols; /* number of columns */ int *percentages; /* % width of each column */ @@ -610,6 +619,10 @@ void dlg_update_done(union control *ctrl, void *dlg); * Set input focus into a particular control. */ void dlg_set_focus(union control *ctrl, void *dlg); +/* + * Change the label text on a control. + */ +void dlg_label_change(union control *ctrl, void *dlg, char const *text); /* * Return the `ctrl' structure for the most recent control that had * the input focus apart from the one mentioned. This is NOT