MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / SetDefaultName

Function SetDefaultName

extern/nfd/nfd_gtk.cpp:292–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292void SetDefaultName(GtkFileChooser* chooser, const char* defaultName) {
293 if (!defaultName || !*defaultName) return;
294
295 gtk_file_chooser_set_current_name(chooser, defaultName);
296}
297
298void WaitForCleanup() {
299 while (gtk_events_pending()) gtk_main_iteration();

Callers 1

NFD_SaveDialogNFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected