This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Gtk; | |
class DragListBox : ListBox { | |
private ListBoxRow? hover_row; | |
private ListBoxRow? drag_row; | |
private bool top = false; | |
private int hover_top; | |
private int hover_bottom; | |
private bool should_scroll = false; | |
private bool scrolling = false; |