Method
GtkFileChooserget_current_name
Declaration [src]
char*
gtk_file_chooser_get_current_name (
GtkFileChooser* chooser
)
Description [src]
Gets the current name in the file selector, as entered by the user.
This is meant to be used in save dialogs, to get the currently typed filename when the file itself does not exist yet.
Return value
Returns: | char* |
The raw text from the file chooser’s “Name” entry. Free with
|
|
The caller of the method takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . | |
The string is a NUL terminated UTF-8 string. |