Missing drag'n'drop methods in GtkTreeView



Aloha,

attached is a patch that implements/enables

  $tree_view -> enable_model_drag_source(...),
  $tree_view -> enable_model_drag_dest(...),
  $tree_view -> unset_rows_drag_source() and
  $tree_view -> unset_rows_drag_dest().

For the first two I simply adopted what GtkDnd.xs does in
gtk_drag_(dest|source)_set(...).

Since I'm not that familiar with XS yet, I'm not sure everything's
correct. It worked in my tests, though.

HTH,
-Torsten

Attachment: gtk_tree_view_enable_model_drag.patch
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]