diamondburned/gotk4

BaseX method conflict detector

Closed this issue · 1 comments

Certain widgets will need additional BaseX methods for it, otherwise it'll
panic:

object of type HdyLeaflet is not gtk.Widgetter

This should be easy, since the type tree can already resolve this for objects.

Convenient regex:

sed -i 's|\([A-Za-z]*\)\.Base\([A-Z][A-Za-z0-9]*\)()|gtk.Base\2(\1)|g' $(find . -iname '*.go')