Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
actions-file.cpp File Reference

Go to the source code of this file.

Functions

void file_open (const Glib::VariantBase &value, InkscapeApplication *app)
 
void file_open_with_window (const Glib::VariantBase &value, InkscapeApplication *app)
 
void file_new (const Glib::VariantBase &value, InkscapeApplication *app)
 
void file_rebase (const Glib::VariantBase &value, InkscapeApplication *app)
 
void file_close (InkscapeApplication *app)
 
void add_actions_file (InkscapeApplication *app)
 

Variables

const Glib::ustring SECTION = NC_("Action Section", "File")
 
std::vector< std::vector< Glib::ustring > > raw_data_file
 
std::vector< std::vector< Glib::ustring > > hint_data_file
 

Function Documentation

◆ add_actions_file()

◆ file_close()

◆ file_new()

◆ file_open()

◆ file_open_with_window()

void file_open_with_window ( const Glib::VariantBase &  value,
InkscapeApplication app 
)

◆ file_rebase()

void file_rebase ( const Glib::VariantBase &  value,
InkscapeApplication app 
)

Variable Documentation

◆ hint_data_file

std::vector<std::vector<Glib::ustring> > hint_data_file
Initial value:
=
{
{"app.file-open", N_("Enter file name")},
{"app.file-new", N_("Enter file name")},
{"app.file-open-window", N_("Enter file name")},
{"app.file-rebase-from-saved", N_("Namedview; Update=1, Replace=0")}
}

Definition at line 122 of file actions-file.cpp.

Referenced by add_actions_file().

◆ raw_data_file

std::vector<std::vector<Glib::ustring> > raw_data_file
Initial value:
=
{
{"app.file-open", N_("File Open"), SECTION, N_("Open file") },
{"app.file-new", N_("File New"), SECTION, N_("Open new document using template") },
{"app.file-close", N_("File Close"), SECTION, N_("Close active document") },
{"app.file-open-window", N_("File Open Window"), SECTION, N_("Open file window") },
{"app.file-rebase", N_("File Contents Replace"), SECTION, N_("Replace current document's contents by contents of another file") }
}
const Glib::ustring SECTION

Definition at line 111 of file actions-file.cpp.

Referenced by add_actions_file().

◆ SECTION

const Glib::ustring SECTION = NC_("Action Section", "File")

Definition at line 109 of file actions-file.cpp.