Luciano,

the function is definitely not there in PyGTK that comes with Maemo 2.0 SDK I have in scratchbox (from Maemo_Dev_Platform_v2.0_i386-rootstrap.tgz downloaded on August 11, 2006) and not in PyGTK I have on my desktop ( 2.8.6), but surprisingly enough it worked on Nokia 770 itself.
Things like this make development for Maemo frustrating at times.
Anyway, now it works...
Thanks a lot for help!
Igor


(Btw, your URL for  gtk-extrafuncs.def is slightly incorrect - there shoul be no '-' in '2.0-final': https://stage.maemo.org/svn/maemo/projects/haf/tags/python-sdk/2.0final/pygtk/gtk/gtk-extrafuncs.defs )

On 10/16/06, Luciano Miguel Wolf <[EMAIL PROTECTED]> wrote:
ext Igor Tkach wrote:
> Luciano,
> for the life of me I can't find it. It is not mentioned anywhere in
> PyGTK reference as far as I can tell (nor anywhere else - I spent quite
> some time searching before I wrote to this mailing list), and it doesn't
> work when I try to call it. Can you please point me to a specific
> document/tutorial/example?
>
> Thank you,
> Igor
>
> On 10/16/06, *Luciano Miguel Wolf* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     ext Igor Tkach wrote:
>      > Hi,
>      >
>      > I'm trying to use HildonProgram/HildonWindow instead of
>      > HildonApp/HildonAppView (in Python). One thing I can't find in
>     the new
>      > API is how to work with application title. Setting title of
>     HildonWindow
>      > changes only second part of the actual application title. From C
>     example
>      > in Maemo tutorial it looks like g_set_application_name("Hello
>     maemo!")
--snip--
>
>     Hi Igor,
>
>     PyGTK has a set_application_name function, that calls the
>     g_set_application_name. This one sets the window title.
>
>
>     Luciano

Igor,

Depends on version of SDK that you're using. If you take a look, for
example, in Sardine[1] repository, the SDK 2.0 final has a PyGTK module
with this function. I did a test using an example inside
pygtk/examples/gtk on Sardine repository module, just inserting a
gtk.set_application_name('foobar') and removing the self.set_tile ( )
line. I hope this can help you. Any doubts, email me again!

Luciano

[1]https://stage.maemo.org/svn/maemo/projects/haf/tags/python-sdk/2.0-final/pygtk/gtk
The gtk-extrafuncs.defs lists the set_application name function.

_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to