16
16
* To add buttons, you specify a list of images. "ok" and "cancel" are key words for the default ok/cancel buttons. You also has to provide a callback function that will be called on click. When the user clicks on a button, the function is called with the number of the clicked button, counted from 0. -1 and -2 are set if the user pushed the Return or Escape keys. The dialog is de-referenced after the user's answer, so you have to reference the dialog in the callback if you want to keep the dialog alive.
19
typedef void (* CairoDockActionOnAnswerFunc) (int iClickedButton, GtkWidget *pInteractiveWidget, gpointer data, CairoDialog *pDialog);
21
19
typedef gpointer CairoDialogRendererDataParameter;
22
20
typedef CairoDialogRendererDataParameter* CairoDialogRendererDataPtr;
23
21
typedef gpointer CairoDialogRendererConfigParameter;