Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MEP22 method names #17987

Open
Open
Labels
MEP: MEP22tool managerkeepItems to be ignored by the “Stale” Github Action
@anntzer

Description

@anntzer

A small point re: MEP22 API design: having bothToolManager.add_tool andToolContainerBase.add_tool as user-facing APIs (see e.g.toolmanager_sgskip.py) is slightly awkward, given that they actually have different signatures and do different things.

(I guess one could even ask whether the ToolManager and ToolContainer actually need to exist as separate objects -- a single ToolManager/Container object could e.g. hold the GUI toolbar widget as attribute instead of inheriting from it, for example. This would perhaps also avoid the slight inconsistency that adding a tool to the toolbar needs two calls (add_tool both on the manager and the container), whereas removing it only needs ont (remove_tool on the container); again, seetoolmanager_sgskip.py).

Metadata

Metadata

Assignees

No one assigned

    Labels

    MEP: MEP22tool managerkeepItems to be ignored by the “Stale” Github Action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp