Top | ![]() |
![]() |
![]() |
![]() |
gchar * thunar_dialogs_show_create (gpointer parent
,const gchar *content_type
,const gchar *filename
,const gchar *title
);
Displays a Thunar create dialog with the specified parameters that asks the user to enter a name for a new file or folder.
The caller is responsible to free the returned filename using
g_free()
when no longer needed.
ThunarJob * thunar_dialogs_show_rename_file (gpointer parent
,ThunarFile *file
,ThunarOperationLogMode log_mode
);
Displays the Thunar rename dialog for a single file rename.
parent |
a GtkWidget on which the error dialog should be shown, or a GdkScreen
if no GtkWidget is known. May also be |
|
file |
the ThunarFile we're going to rename. |
void thunar_dialogs_show_about (GtkWindow *parent
,const gchar *title
,const gchar *format
,...
);
Displays the Thunar about dialog with format
as main text.
void thunar_dialogs_show_error (gpointer parent
,const GError *error
,const gchar *format
,...
);
Displays an error dialog on widget
using the format
as primary message and optionally
displaying error
as secondary error text.
If widget
is not NULL
and widget
is part of a GtkWindow, the function makes sure
that the toplevel window is visible prior to displaying the error dialog.
parent |
a GtkWidget on which the error dialog should be shown, or a GdkScreen
if no GtkWidget is known. May also be |
|
error |
a GError, which gives a more precise description of the problem or |
|
format |
the |
|
... |
argument list for the |
ThunarJobResponse thunar_dialogs_show_job_ask (GtkWindow *parent
,const gchar *question
,ThunarJobResponse choices
);
Utility function to display a question dialog for the ThunarJob::ask signal.
ThunarJobResponse thunar_dialogs_show_job_ask_replace (GtkWindow *parent
,ThunarFile *src_file
,ThunarFile *dst_file
);
Asks the user whether to replace the destination file with the
source file identified by src_file
.
parent |
the parent GtkWindow or |
|
src_file |
the ThunarFile of the source file. |
|
dst_file |
the ThunarFile of the destination file that may be replaced with the source file. |
void thunar_dialogs_show_job_error (GtkWindow *parent
,GError *error
);
Utility function to display a message dialog for the ThunarJob::error signal.
gboolean thunar_dialogs_show_insecure_program (gpointer parent
,const gchar *title
,ThunarFile *file
,const gchar *command
);