Re: Removing Drag and Drop formatting of drop area in Python/GTK3

2015-10-19 Thread Lukasz Grabowski
2015-10-19 14:06 GMT+01:00 Marco Scannadinari : > border-width=0px; > > This should be a colon not an equals sign > style_provider.load_from_data(bytes(css.encode())) > > .encode already returns a bytes object in Python 3, what version are you > using? Sorry, in my code it's actually a c

Removing Drag and Drop formatting of drop area in Python/GTK3

2015-10-19 Thread Lukasz Grabowski
When implementing drag and drop in Python and GTK3 the default behaviour is that if I drag something towards the drop area, then the drop area obtains a rectangular black frame. How to remove this effect? As per gtk3 docs, there is a style class GTK-STYLE-CLASS-DND 'dnd', so I would think that add