Logo Search packages:      
Sourcecode: inkscape version File versions

bool Inkscape::UI::Dialog::FileExportToOCALDialog::show (  ) 

Show an SaveAs file selector.

Returns:
the selected path if user selected one, else NULL
Show this dialog modally. Return true if user hits [OK]

Definition at line 117 of file ocaldialogs.cpp.

References sp_transientize().

Referenced by sp_file_export_to_ocal_dialog().

{
    set_modal (TRUE);                      //Window
    sp_transientize((GtkWidget *)gobj());  //Make transient
    gint b = run();                        //Dialog
    hide();

    if (b == Gtk::RESPONSE_OK)
    {
        return TRUE;
        }
    else
        {
        return FALSE;
        }
}


Generated by  Doxygen 1.6.0   Back to index