# `GlyphsPathPlugin applyToComponentInAllLayers:sender:process:`

*Instance Method*

## Declaration

```swift
func applyToComponent(inAllLayers forAll: Bool, sender: NSMenuItem?, process block: @escaping ApplyAllLayersComponentHandler)
```

```objc
- (void) applyToComponentInAllLayers:(BOOL) forAll sender:(NSMenuItem *) sender process:(ApplyAllLayersComponentHandler) block;
```

```python
applyToComponentInAllLayers_sender_process_(forAll: bool, sender: NSMenuItem, block: ApplyAllLayersComponentHandler)
```

