132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
categories = []
dir = []
ext = []
# display
datamap = [ # coltitle width [ datasrc key, type, renderer, attrs ] [cellrenderer2], ...
["", 20, ["state", str, "pixbuf", {}], ],
["Genre", 65, ['genre', str, "t", {"editable":9}], ],
["Title", 205, ["title", str, "t", {"editable":9}], ],
["Artist", 160, ["artist", str, "t", {}], ],
["Album", 150, ["album", str, "t", {}], ],
["Length", 50, ["length", str, "t", {}], ],
["Bitrate", 50, ["bitrate", str, "t", {}], ],
["Format", 80, ["format", str, None, {}], ],
["File", 160, ["filename", str, "t", {"strikethrough":11, "cell-background":12, "cell-background-set":13}], ],
[False, 0, ["editable", bool, None, {}], ],
[False, 0, ["favourite", bool, None, {}], ],
[False, 0, ["deleted", bool, None, {}], ],
[False, 0, ["search_col", str, None, {}], ],
[False, 0, ["search_set", bool, None, {}], ],
]
rowmap = []
|
>
<
|
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
categories = []
dir = []
ext = []
# display
datamap = [ # coltitle width [ datasrc key, type, renderer, attrs ] [cellrenderer2], ...
["", 20, ["state", str, "pixbuf", {}], ],
["File", 160, ["filename", str, "t", {"strikethrough":11, "cell-background":12, "cell-background-set":13}], ],
["Genre", 65, ['genre', str, "t", {"editable":9}], ],
["Title", 205, ["title", str, "t", {"editable":9}], ],
["Artist", 160, ["artist", str, "t", {}], ],
["Album", 150, ["album", str, "t", {}], ],
["Length", 50, ["length", str, "t", {}], ],
["Bitrate", 50, ["bitrate", str, "t", {}], ],
["Format", 80, ["format", str, None, {}], ],
[False, 0, ["editable", bool, None, {}], ],
[False, 0, ["favourite", bool, None, {}], ],
[False, 0, ["deleted", bool, None, {}], ],
[False, 0, ["search_col", str, None, {}], ],
[False, 0, ["search_set", bool, None, {}], ],
]
rowmap = []
|