Skip to main content

tree_set_row_drag_data

Function tree_set_row_drag_data 

Source
pub fn tree_set_row_drag_data(
    selection_data: &SelectionData,
    tree_model: &impl IsA<TreeModel>,
    path: &mut TreePath,
) -> bool
Expand description

Sets selection data of target type GTK_TREE_MODEL_ROW. Normally used in a drag_data_get handler.

§selection_data

some SelectionData

§tree_model

a TreeModel

§path

a row in tree_model

§Returns

true if the SelectionData had the proper target type to allow us to set a tree row