Skip to content

iui/menu.v:201:7: error: unknown method or field: iui.MenuItem.draw_event_fn. #2

@EmmaTheMartian

Description

@EmmaTheMartian

When I'm trying to compile, in particular, Vide, I get the following error:

.vmodules/iui/menu.v:201:7: error: unknown method or field: `iui.MenuItem.draw_event_fn`.
2 possibilities: `add_child`, `set_click`.
  199 |         })
  200 |     }
  201 |     item.draw_event_fn(app, &Component(item))
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  202 | }

I've gotten this with both the latest version of IUI and the version of IUI that Vide was built with for 0.0.7-alpha.

After some digging, the function, does in fact, not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions