[maemo-developers] [maemo-developers] IT2006 development problems - HildonProgram and HildonWindow
From: Steven Hill steveh at shscientific.comDate: Sun Jul 16 08:02:31 EEST 2006
- Previous message: [maemo-developers] Trouble with setup, and with compiling maemopad
- Next message: [maemo-developers] IT2006 development problems - HildonProgram and HildonWindow
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [maemo-developers] Trouble with setup, and with compiling maemopad
- Next message: [maemo-developers] IT2006 development problems - HildonProgram and HildonWindow
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]