1# This program is free software; you can redistribute it and/or modify
2# it under the terms of the GNU General Public License as published by
3# the Free Software Foundation; either version 2 of the License, or
4# (at your option) any later version.
5
6
7class MockSelData(object):
8    # Gtk.SelectionData is missing a constructor
9
10    def set(self, type, format, data):
11        self.type = type
12        self.format = format
13        self.data = data
14
15    def get_data_type(self):
16        return self.type
17
18    def get_data(self):
19        return self.data
20