Skip to content

Is there an example of InputText? #25

Description

@PrimeraTech

I have been trying by trial and error to get C# to be happy with my syntax for ImGui.InputText ().

Can anyone provide a single example that will compile and work?

The function prototype is:
public static bool InputText(string label, char* buf, UIntPtr buf_size, ImGuiInputTextFlags flags = (ImGuiInputTextFlags)(0), ImGuiInputTextCallback callback = null, IntPtr user_data = default)

How is a char * variable defined in c# to be compatible with the second parameter?

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions