Opened 4 years ago

Closed 4 years ago

#9543 closed feature (fixed)

Widget bridge: Make _init() optional.

Reported by: Scott González Owned by:
Priority: minor Milestone: 1.11.0
Component: ui.widget Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:

Description

Right now, if you want to support setting options init without explicitly calling the options() method, you must also implemente the _init() method. However, the need for an _init() method is extremely rare. We should make this optional.

Change History (2)

comment:1 Changed 4 years ago by Scott González

Milestone: none1.11.0
Status: newopen

comment:2 Changed 4 years ago by Jörn Zaefferer

Resolution: fixed
Status: openclosed

Widget Bridge: Make the _init method optional. Add tests for both states. Fixes #9543 - Widget bridge: Make _init() optional.

Changeset: 6e799c39d33be8eee02224d2f754dc42228a4cbb

Note: See TracTickets for help on using tickets.