Skip to content

Bind material-icons (Icons.Default.*) so Icon has an ImageVector to draw #37

Closed

Description

@b-re-w

pythonx-compose (M2, notebook Icon(icon=DefaultIcons.Add())) found that no bound declaration produces an ImageVector: the compose fixture does not walk the material-icons artifact (no material-icons-core dependency in ksp-fixtures/compose or the catalog).

Scope: add org.jetbrains.compose.material:material-icons-core at the version matching Compose 1.11.1 to the walked artifacts, so androidx.compose.material.icons.Icons.Default.Add etc. are reachable under their Kotlin names; extended icons stay out unless needed.

Completion: a compose render test draws Icon(Icons.Default.Add, contentDescription=None) from Python; describe() lists Icons.Default members.

Activity

  1. b-re-w commented on Oct 3, 2026

    @b-re-w
    MemberAuthor

    Partly landed via #51: material-icons walked, Icons.Default bound, Color factories confirmed. Icons.Default.Add waits for extension-property getters in #38.

  2. b-re-w commented on Oct 3, 2026

    @b-re-w
    MemberAuthor

    Completed by #38 (PR #65) and #53 (PR #67): ksp-fixtures/compose MaterialIconsRenderTest.iconsDefaultAddDrawsFromPythonExactlyAsFromKotlin draws Icon(Icons.Default.Add, contentDescription=None) from Python with the same ink as Kotlin, and iconsDefaultIsBoundAndDescribed checks describe()/dir() on Icons.Default (compose 111/0 after merge). Stub side tracked in #68.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions