27#ifndef GEANY_DIALOGS_H
28#define GEANY_DIALOGS_H 1
43 gdouble *value, gdouble min, gdouble
max, gdouble step);
46 const gchar *label_text, const gchar *default_text);
51typedef void (*GeanyInputCallback)(
const gchar *
text, gpointer data);
60void dialogs_show_word_count(
void);
62void dialogs_show_color(gchar *colour);
65 const gchar *label_text,
const gchar *default_text);
68 const gchar *label_text,
const gchar *default_text, GeanyInputCallback input_cb, gpointer input_cb_data);
73 const gchar *extra_text,
const gchar *main_text, ...) G_GNUC_PRINTF (5, 6);
76 const gchar *btn_1, GtkResponseType response_1,
77 const gchar *btn_2, GtkResponseType response_2,
78 const gchar *btn_3, GtkResponseType response_3,
79 const gchar *extra_text, const gchar *main_text, ...) G_GNUC_PRINTF (9, 10);
gboolean dialogs_show_question_full(GtkWidget *parent, const gchar *yes_btn, const gchar *no_btn, const gchar *extra_text, const gchar *main_text,...)
void dialogs_show_file_properties(GeanyDocument *doc)
GtkWidget * dialogs_show_input_persistent(const gchar *title, GtkWindow *parent, const gchar *label_text, const gchar *default_text, GeanyInputCallback input_cb, gpointer input_cb_data)
gint dialogs_show_prompt(GtkWidget *parent, const gchar *btn_1, GtkResponseType response_1, const gchar *btn_2, GtkResponseType response_2, const gchar *btn_3, GtkResponseType response_3, const gchar *extra_text, const gchar *main_text,...)
void dialogs_show_open_file(void)
gchar * dialogs_show_input_goto_line(const gchar *title, GtkWindow *parent, const gchar *label_text, const gchar *default_text)
gboolean dialogs_show_unsaved_file(GeanyDocument *doc)
void dialogs_show_open_font(void)
void dialogs_show_msgbox_with_secondary(GtkMessageType type, const gchar *text, const gchar *secondary)
gboolean dialogs_show_save_as(void)
Shows the Save As dialog for the current notebook page.
gboolean dialogs_show_question(const gchar *text,...)
Shows a question message box with text and Yes/No buttons.
gboolean dialogs_show_input_numeric(const gchar *title, const gchar *label_text, gdouble *value, gdouble min, gdouble max, gdouble step)
Shows an input box to enter a numerical value using a GtkSpinButton.
gchar * dialogs_show_input(const gchar *title, GtkWindow *parent, const gchar *label_text, const gchar *default_text)
Asks the user for text input.
void dialogs_show_msgbox(GtkMessageType type, const gchar *text,...)
Shows a message box of the type type with text.
Document related actions: new, save, open, etc.
Structure for representing an open tab with all its properties.