[maemo-developers] [maemo-developers] Python and maemo API documentation

From: Mathias Uebelacker m.uebelacker at googlemail.com
Date: Sat Jan 27 20:45:26 EET 2007
Hello Alvaro,

thats right simple cut and paste will not work. There are more diffrences
between the example code and the pictures (see the application title :-))
but i think these examples should only show how a basic python application
structure should be. The questions to the not named hildon widgets (
hildon.AppView, hildonWindow...) and better descriptions is a question
...maybe for the python guys in brazil. Who build these APIs and get we more
(is someone working on that) The transfer of the C APIs to python would be
nice.

br
Mathias

2007/1/27, Álvaro J. Iradier <airadier at gmail.com>:
>
> Hi, thanks. I already saw that page, sorry not to mention it. However
> it's far from complete. Where is hildon.Window, hildon.Program,
> hildon.AppView... ?
>
> About the line breaks... Well, it makes it quite confusing to follow
> the code. Fortunately the examples are quite sort. But as identation
> and line breaks are critical in python, you can't copy-paste the
> example in the tutorial and run it.
>
> Greets.
>
> On 1/27/07, Mathias Uebelacker <m.uebelacker at googlemail.com> wrote:
> > Hello Alvaro,
> >
> > here are thel link to the hildon python API:
> >
> >
> http://www.maemo.org/platform/docs/pymaemo/python_hildon_widgets_api.html
> > .
> >
> > The line break should be no probl. If is it a probl. send me a mail an i
> > send you the correct file.
> >
> > br
> > Mathias
> >
> > 2007/1/27, Álvaro J. Iradier < airadier at gmail.com>:
> > >
> > > Hi,
> > >
> > > I'm developing some python applications for Nokia 770, and I think
> > > documentation is not as good as I expected.
> > >
> > > 1) First, the code in the python tutorial in here:
> > >
> > >
> > http://www.maemo.org/platform/docs/pymaemo/python_maemo_howto.html
> > >
> > > is quite unreadable. There are no line breaks
> > >
> > > 2) I couldn't find docs for the Python Hildon API, but I looked at the
> > > maemo hildon API for C, it should be enough:
> > >
> > >
> >
> https://stage.maemo.org/svn/maemo/projects/haf/doc/api/hildon-libs/index.html
> > >
> > > If I look at the HildonWindow entry, I can see some functions for it.
> > > However, it looks like HildonWindow inherits from another widget (I
> > > guess it's GtkContainer?) so there are other methods, like add(). I
> > > can't see this relationship anywhere, just in the example in python
> > > tutorial. The Object Hierarchy is empty.
> > >
> > > Other entries, like  API documentation control panel, status bar and
> > > home applets are empty too:
> > >
> > >
> >
> http://www.maemo.org/platform/docs/api/maemo-af-desktop-sdk-doc/index.html
> > >
> > > (is this available in Python, by the way).
> > >
> > > 3) I know 'help' command is not available in python for 770, but there
> > > should be another version for scratchbox with 'help' available. It
> > > would be very useful! Maybe it is already available and I missed it?
> > >
> > > Thanks very much!
> > >
> > > --
> > > (:===========================================:)
> > >   Alvaro J. Iradier Muro - airadier at gmail.com
> > > _______________________________________________
> > > maemo-developers mailing list
> > > maemo-developers at maemo.org
> > > https://maemo.org/mailman/listinfo/maemo-developers
> > >
> >
> >
>
>
> --
> (:===========================================:)
>   Alvaro J. Iradier Muro - airadier at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070127/140dbd47/attachment.htm 
More information about the maemo-developers mailing list