.            ★.        . blessfrey.me ..          ☆        .

blessfrey gdd - docs ~ inspect-menu

The inspect menu is a PopupMenu that gives options for interaction with its subject. It rests at res://UI/InspectMenu/InspectMenu.tscn.


flow

The inspect method is the entry point. Inspect > set_subject > _about_to_show > make_label


signals



variables



methods

void set_subject (Object new_subject)

tear down old subject + set up new subject


void inspect (Object new_subject)

set up inspect menu


Object make_label ()

returns a label with the name set. (Subject requires write_name())


void _about_to_show ()

resets the inspect menu, adds a label, and adds inspect options from the subject.