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

Go to the source code of this file.

Functions

void active_window_start_helper ()
 
void active_window_end_helper ()
 
std::string get_active_desktop_commands_location ()
 
void show_output (Glib::ustring const &data, bool const is_cerr)
 
bool get_document_and_selection (InkscapeApplication *app, SPDocument **document, Inkscape::Selection **selection)
 

Variables

static bool use_active_window = false
 
static Inkscape::XML::Documentactive_window_data = nullptr
 

Function Documentation

◆ active_window_end_helper()

void active_window_end_helper ( )

◆ active_window_start_helper()

void active_window_start_helper ( )

Definition at line 30 of file actions-helper.cpp.

References active_window_data, sp_repr_document_new(), and use_active_window.

Referenced by active_window_start().

◆ get_active_desktop_commands_location()

std::string get_active_desktop_commands_location ( )

◆ get_document_and_selection()

◆ show_output()

void show_output ( Glib::ustring const &  data,
bool const  is_cerr 
)

Definition at line 56 of file actions-helper.cpp.

References active_window_data, Inkscape::XML::Node::appendChild(), Inkscape::XML::Document::createElement(), Inkscape::XML::Document::createTextNode(), data, node, Inkscape::GC::release(), root, Inkscape::XML::Node::root(), and use_active_window.

Referenced by add_actions_canvas_mode(), add_actions_canvas_snapping(), add_actions_canvas_transform(), add_actions_dialogs(), add_actions_edit(), add_actions_edit_window(), add_actions_effect(), add_actions_file(), add_actions_file_window(), add_actions_help_url(), add_actions_layer(), add_actions_node_align(), add_actions_output(), add_actions_select_window(), add_actions_tools(), add_actions_view_mode(), add_actions_view_window(), anchor_open_link(), canvas_color_manage_toggle(), canvas_color_mode_toggle(), canvas_display_mode(), canvas_display_mode_cycle(), canvas_display_mode_toggle(), canvas_rotate_lock(), canvas_set_state(), canvas_split_mode(), canvas_toggle_state(), canvas_transform(), convert_dpi_method(), dialog_open(), dialog_toggle(), enable_undo_actions(), export_do(), file_open(), file_open_with_window(), get_active_tool(), get_document_and_selection(), hide_lock_hide_selected(), hide_lock_lock_selected(), hide_lock_unhide_below(), hide_lock_unlock_below(), image_edit(), layer_from_group(), node_align(), node_distribute(), object_align(), object_align_on_canvas(), object_rearrange(), object_remove_overlaps(), print_debug_info(), print_inkscape_version(), print_system_data_directory(), print_user_data_directory(), query_all(), query_all_recurse(), query_dimension(), query_pages(), select_all(), select_by_id(), select_invert(), select_list(), set_actions_canvas_snapping_helper(), set_active_tool(), set_simple_snap(), tool_preferences(), tool_switch(), tool_toggle(), transform_translate(), unselect_by_id(), view_set_gui(), window_open(), window_query_geometry(), and window_set_geometry().

Variable Documentation

◆ active_window_data

Inkscape::XML::Document* active_window_data = nullptr
static

◆ use_active_window

bool use_active_window = false
static