/** * mate_request_string_dialog: * @prompt: * @callback: * @data: * * Description: Deprecated, use #mate_request_dialog * * Returns: **/ GtkWidget * mate_request_string_dialog (const gchar * prompt, MateStringCallback callback, gpointer data) { g_message("mate_request_string_dialog is deprecated, use mate_request_dialog instead."); return request_dialog (prompt, NULL, 0, callback, data, FALSE, NULL); }
/** * mate_request_password_dialog_parented: * @prompt: * @callback: * @data: * @parent: * * Description: Deprecated, use #mate_request_dialog. * * Returns: **/ GtkWidget * mate_request_password_dialog_parented (const gchar * prompt, MateStringCallback callback, gpointer data, GtkWindow * parent) { g_message("mate_request_password_dialog_parented is deprecated, use mate_request_dialog instead."); return request_dialog (prompt, NULL, 0, callback, data, TRUE, parent); }
/** * gnome_request_string_dialog_parented: * @prompt: * @callback: * @data: * @parent: * * Description: Deprecated, use #gnome_request_dialog * * Returns: **/ GtkWidget * gnome_request_string_dialog_parented (const gchar * prompt, GnomeStringCallback callback, gpointer data, GtkWindow * parent) { g_message("gnome_request_string_dialog_parented is deprecated, use gnome_request_dialog instead."); return request_dialog (prompt, NULL, 0, callback, data, FALSE, parent); }
/** * mate_request_dialog: * @password: %TRUE if on-screen text input is masked * @prompt: Text of the prompt to be displayed * @default_text: Default text in entry widget, %NULL if none * @max_length: Maximum input chars allowed * @callback: Callback function for handling dialog results * @data: Data passed to the callback * @parent: Parent window, or %NULL for no parent. * * Description: Creates and shows a MATE text entry request dialog. * @callback is called when the dialog closes, passing the text entry * input or %NULL if the user cancelled. @callback is defined as * * void (* MateStringCallback)(gchar * string, gpointer data); * * Returns: Pointer to new MATE dialog object. **/ GtkWidget * mate_request_dialog (gboolean password, const gchar * prompt, const gchar * default_text, const guint16 max_length, MateStringCallback callback, gpointer data, GtkWindow * parent) { return request_dialog (prompt, default_text, max_length, callback, data, password, parent); }
/** * gnome_request_password_dialog: * @prompt: * @callback: * @data: * * Deprecated, use #gnome_request_dialog instead. * * Returns: **/ GtkWidget * gnome_request_password_dialog (const gchar * prompt, GnomeStringCallback callback, gpointer data) { g_message("gnome_request_password_dialog is deprecated, use gnome_request_dialog instead."); return request_dialog (prompt, NULL, 0, callback, data, TRUE, NULL); }