Re: [SailfishDevel] How to use C Extension with Sailfish

2015-05-24 Thread Andrey Kozhevnikov
sys.path.append? 25.05.2015 02:38, barrac...@fastmail.com пишет: Wouldn't importing already compiled C unauthorized on Harbour? Ultimately I'd like to submit my app. On Sun, May 24, 2015, at 18:14, Andrey Kozhevnikov wrote: you using python scripts, and i see no problem to import any compiled

Re: [SailfishDevel] How to use C Extension with Sailfish

2015-05-24 Thread barracuda
Wouldn't importing already compiled C unauthorized on Harbour? Ultimately I'd like to submit my app. On Sun, May 24, 2015, at 18:14, Andrey Kozhevnikov wrote: > you using python scripts, and i see no problem to import any compiled c > modules inside it. > > 24.05.2015 21:10, barrac...@fastmail.

Re: [SailfishDevel] SilicaFlickable, Column, SilicaListView

2015-05-24 Thread Andrey Kozhevnikov
For example here is my old and very poor made UI with listview inside flickable: https://github.com/CODeRUS/harbour-mitakuuluu2/blob/master/client/qml/ConversationPage.qml#L234 And here is my latest monster page UI without using flickable: https://gist.github.com/CODeRUS/d9033e440dd4da74dd77

Re: [SailfishDevel] SilicaFlickable, Column, SilicaListView

2015-05-24 Thread Dmitriy Purgin
Hi Andrey, can you please provide a case or a non-synthetic example? I've never met a pressDelay yet and never used it myself, read about it in the docs just now. I think it can be used in a very complex interface but can't think of an example right now. But, as you know, I'm not much of a GUI bui

Re: [SailfishDevel] SilicaFlickable, Column, SilicaListView

2015-05-24 Thread Andrey Kozhevnikov
Do not forget to set proper pressDelay values for flickable and listview, if you still want to put listview inside flickable. 24.05.2015 22:28, Dmitriy Purgin пишет: Привiт, Вiталiй! If want to have something like a toolbar at the bottom of the list, I'd go with DockedPanel [1]. I guess it's

Re: [SailfishDevel] SilicaFlickable, Column, SilicaListView

2015-05-24 Thread Dmitriy Purgin
Привiт, Вiталiй! If want to have something like a toolbar at the bottom of the list, I'd go with DockedPanel [1]. I guess it's the preferred way of doing it. But you can also do this by setting list view height explicitly if you do it in column or anchoring. Consider the following code, it lays ou

Re: [SailfishDevel] How to use C Extension with Sailfish

2015-05-24 Thread Andrey Kozhevnikov
you using python scripts, and i see no problem to import any compiled c modules inside it. 24.05.2015 21:10, barrac...@fastmail.com пишет: Hello Andrey, Thank you for your answer. Indeed, I read the doc, but as far as I can see, I didn't find any reference to C, C extensions or even CPython,

Re: [SailfishDevel] How to use C Extension with Sailfish

2015-05-24 Thread barracuda
Hello Andrey, Thank you for your answer. Indeed, I read the doc, but as far as I can see, I didn't find any reference to C, C extensions or even CPython, hence my question. On Sun, May 24, 2015, at 17:38, Andrey Kozhevnikov wrote: > Hello, > > I think you need to read the docs: http://pyothers

Re: [SailfishDevel] How to use C Extension with Sailfish

2015-05-24 Thread Andrey Kozhevnikov
Hello, I think you need to read the docs: http://pyotherside.readthedocs.org/ 24.05.2015 20:28, barrac...@fastmail.com пишет: Hello, I'm trying to figure out how to use Python C extensions for a module (SQLAlchemy) with SFOS SDK/pyotherside but I can't find anything about it (I'm not even su

[SailfishDevel] How to use C Extension with Sailfish

2015-05-24 Thread barracuda
Hello, I'm trying to figure out how to use Python C extensions for a module (SQLAlchemy) with SFOS SDK/pyotherside but I can't find anything about it (I'm not even sure if it's possible). Do I just compile the files in the python module folder like I would for other C files? Thank you, Matt _