mapeditor / mapeditor/tiled

Scripting API - Allow tools that are grouped in a drop-down

Open
#3,241 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

I am creating a custom tool that places a "warp object" (custom object with custom properties). I do have different types of warps, but having all those different tools in the toolbar is kinda cramped. I think it would be nice if a tool could function as a dropdown... or there was a ToolSection-Object which would then display collapsed and the user could press the tool to get the actual selection of nested tools to choose from.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the scripting API and toolbar tool selection as the entry points; start by tracing how custom tools are registered and rendered in the toolbar. Done means a custom tool can expose nested tools and the toolbar presents them in a collapsed dropdown without requiring every variant to occupy its own slot.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.