Skip to content

Getting the Id of the widget sending the message #1771

Answered by hecrj
duncanf95 asked this question in Q&A
Discussion options

You must be logged in to vote

You could add the row index to the message to identify the input producing the messages:

enum Message {
    // ...
    DataChanged(usize, String),
    TagChanged(usize, String),
    // ...
}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@duncanf95
Comment options

@hecrj
Comment options

@hecrj
Comment options

Answer selected by duncanf95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants