Skip to content

Incomplete binding for render_text_ellipsis() #439

@remss

Description

@remss

Hello @pthom

I continue to have good times using imgui_bundle, building nice UIs, so thanks again for you amazing work 👌

I'm trying to use imgui.internal.render_text_ellipsis() and I see that it cannot be used as it for now.

m.def("render_text_ellipsis",
    ImGui::RenderTextEllipsis, nb::arg("draw_list"), nb::arg("pos_min"), nb::arg("pos_max"), nb::arg("ellipsis_max_x"), nb::arg("text"), nb::arg("text_end"), nb::arg("text_size_if_known"));

It misses the binding mapping for text/text_end, like text_unformatted() does for example. Also it doesn't allow to pass text_size_if_known=None.

What do you think?

imgui_bundle 1.92.5

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