[maemo-developers] [maemo-developers] IT2006 development problems - HildonProgram and HildonWindow

From: Laszlo T. tlacix at gmail.com
Date: Sun Jul 16 12:05:45 EEST 2006
2006/7/16, Steven Hill <steveh at shscientific.com>:
>
> In the documentation for the new UI using HildonProgram and
> HildonWindow, we see the following, both in the porting instructions and
> in the "developing new application" doc:
>
> "/* Begin the main app */
>     gtk_widget_show ( GTK_WIDGET ( program ) );
>     gtk_main();"
>
> where "program" is a pointer to HildonProgram - this statement generates a
> pile of run-time errors because HildonProgram is not a GTK_WIDGET and has
> no "visible"
> properties.  Obviously this is wrong.
>
> In addition - the old UI with HildonApp had the very useful method
> "hildon_app_set_appview"
>
> What is the replacement of this with HildonProgram and HildonWindow? - I
> see only methods like
> hildon_program_add_window and ...remove_window, but how do we know which
> of the registered windows
> is the window that is currently being shown by HildonProgram??
>
> This new UI is confusing to me... can anyone help clear up the confusion?
>
> Steve Hill
>
>
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
>


Hello!

hildon_window_get_is_topmost ()

gboolean    hildon_window_get_is_topmost    (HildonWindow *self);

     *self* : A HildonWindow   *Returns* : Whether or not the
HildonWindowis currenltly
activated by the window manager.

Laci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060716/858d42b0/attachment.htm 
More information about the maemo-developers mailing list