pop_layer (n)
Obtains the layer selected in the Layer menu n.
pop_property (n)
Obtains the property selected in the Property menu n.
pop_channel (n)
Obtains the channel selected in the Channel menu n.