Skip to content

Set proposed drop index in wxGTK wxDataViewCtrl#25358

Closed
vadz wants to merge 1 commit intowxWidgets:masterfrom
vadz:gtk-dvc-drop-pos
Closed

Set proposed drop index in wxGTK wxDataViewCtrl#25358
vadz wants to merge 1 commit intowxWidgets:masterfrom
vadz:gtk-dvc-drop-pos

Conversation

@vadz
Copy link
Contributor

@vadz vadz commented May 1, 2025

Use "drag-data-received" signal instead of GtkTreeDragDestIface vfunc to be notified about drops on GtkTreeView, as the signal provides more information, notably the exact position of the drop and not just the nearest item to it, which allows to provide the proposed drop index in wxGTK too.

Closes #2240.

Use "drag-data-received" signal instead of GtkTreeDragDestIface vfunc to
be notified about drops on GtkTreeView, as the signal provides more
information, notably the exact position of the drop and not just the
nearest item to it, which allows to provide the proposed drop index in
wxGTK too.

Closes wxWidgets#2240.

Co-authored-by: Vadim Zeitlin <[email protected]>
@vadz vadz added the GTK label May 1, 2025
@vadz vadz requested a review from paulcor May 1, 2025 20:40
vadz added a commit that referenced this pull request May 6, 2025
Use "drag-data-received" signal instead of GtkTreeDragDestIface vfunc to
be notified about drops on GtkTreeView, as the signal provides more
information, notably the exact position of the drop and not just the
nearest item to it, which allows to provide the proposed drop index in
wxGTK too.

See #25358.

Closes #2240.

Co-authored-by: Vadim Zeitlin <[email protected]>
@vadz
Copy link
Contributor Author

vadz commented May 6, 2025

Merged in the commit above.

@vadz vadz closed this May 6, 2025
@vadz vadz deleted the gtk-dvc-drop-pos branch May 6, 2025 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants