3 ms·
Didn’t Delphi/Visual Studio do this as well when using corn designer / property inspector?
by indemnity 5y ago
Didn’t Delphi/Visual Studio do this as well when using corn designer / property inspector?
- vintagedave 5y agoYes - Delphi and C++Builder's Object Inspector still does this. Double-click a control, and the default event handler (OnClick) will be created. There's a link auto-set between the button instance's event handler (method pointer) and the method, which is auto-created in the form the button belongs to.
- marcodiego 5y agoLast time I tried, Delphi had no concept of "outlet", every widget is accessible by the form class that contains it. On the Anjuta+Glade integration, you double click the widget on the inspector to add it to "private" struct, so you can access it on the callbacks. I know that because I implemented it: https://gitlab.gnome.org/GNOME/anjuta/-/commit/5abe8fd3a97d802c50ce7ac036252aba24feba6c https://gitlab.gnome.org/GNOME/anjuta/-/commit/5abe8fd3a97d8...