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

Actions related to hide and lock. More...

Go to the source code of this file.

Functions

static bool hide_lock_recurse (bool(*f)(SPItem *, bool), SPItem *item, bool hide_or_lock)
 
bool hide_lock_hide (SPItem *item, bool hide)
 
bool hide_lock_lock (SPItem *item, bool lock)
 
void hide_lock_unhide_all (InkscapeApplication *app)
 
void hide_lock_unlock_all (InkscapeApplication *app)
 
void hide_lock_unhide_below (InkscapeApplication *app)
 
void hide_lock_unlock_below (InkscapeApplication *app)
 
void hide_lock_hide_selected (InkscapeApplication *app, bool hide)
 
void hide_lock_lock_selected (InkscapeApplication *app, bool lock)
 
void add_actions_hide_lock (InkscapeApplication *app)
 

Variables

const Glib::ustring SECTION = NC_("Action Section", "Hide and Lock")
 
std::vector< std::vector< Glib::ustring > > raw_data_hide_lock
 

Detailed Description

Actions related to hide and lock.

Authors: Sushant A A susha.nosp@m.nt.c.nosp@m.o19@g.nosp@m.mail.nosp@m..com Tavmjong Bah

Copyright (C) 2021-2022 Authors

Released under GNU GPL v2+, read the file 'COPYING' for more information.

Definition in file actions-hide-lock.cpp.

Function Documentation

◆ add_actions_hide_lock()

◆ hide_lock_hide()

bool hide_lock_hide ( SPItem item,
bool  hide 
)

◆ hide_lock_hide_selected()

◆ hide_lock_lock()

bool hide_lock_lock ( SPItem item,
bool  lock 
)

◆ hide_lock_lock_selected()

◆ hide_lock_recurse()

static bool hide_lock_recurse ( bool(*)(SPItem *, bool)  f,
SPItem item,
bool  hide_or_lock 
)
static

◆ hide_lock_unhide_all()

◆ hide_lock_unhide_below()

◆ hide_lock_unlock_all()

◆ hide_lock_unlock_below()

Variable Documentation

◆ raw_data_hide_lock

std::vector<std::vector<Glib::ustring> > raw_data_hide_lock
Initial value:
=
{
{"app.unhide-all", N_("Unhide All"), SECTION, N_("Unhide all objects") },
{"app.unlock-all", N_("Unlock All"), SECTION, N_("Unlock all objects") },
{"app.selection-hide", N_("Hide selection"), SECTION, N_("Hide all selected objects") },
{"app.selection-unhide", N_("Unhide selection"), SECTION, N_("Unhide all selected objects") },
{"app.selection-unhide-below", N_("Unhide descendents"), SECTION, N_("Unhide all items inside selected objects") },
{"app.selection-lock", N_("Lock selection"), SECTION, N_("Lock all selected objects") },
{"app.selection-unlock", N_("Unlock selection"), SECTION, N_("Unlock all selected objects") },
{"app.selection-unlock-below", N_("Unlock descendents"), SECTION, N_("Unlock all items inside selected objects") },
}
const Glib::ustring SECTION

Definition at line 196 of file actions-hide-lock.cpp.

Referenced by add_actions_hide_lock().

◆ SECTION

const Glib::ustring SECTION = NC_("Action Section", "Hide and Lock")

Definition at line 194 of file actions-hide-lock.cpp.