This file contains hidden or 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
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use v5.20; | |
| use List::Util qw/ min max /; | |
| use Data::Dumper; | |
| $Data::Dumper::Indent = 0; |
This file contains hidden or 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
| #!/usr/bin/env python2 | |
| from gi.repository import Gtk, GObject, GLib | |
| import os | |
| import os.path | |
| class File(object): | |
| def __init__(self, file_name, place_holder=False, directory=True, root=False, empty=False): | |
| self.file_name = file_name |
This file contains hidden or 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
| #!/usr/bin/env python2 | |
| from gi.repository import Gtk | |
| ARROW_DISTANCE = 5 | |
| ARROW_LENGTH = 250 | |
| ARROW_TRIANGLE_LENGTH = 100 | |
| ARROW_TRIANGLE_WIDTH = 30 | |
| def get_cursor_coordinates(self): |