tag:blogger.com,1999:blog-35681690.post507613994126676630..comments2023-11-05T07:23:41.292ZComments on wxBlog: Hildonizing wxGTKRyan Nortonhttp://www.blogger.com/profile/14772407581163137459noreply@blogger.comBlogger27125tag:blogger.com,1999:blog-35681690.post-49891145982669610902022-05-29T07:59:56.644Z2022-05-29T07:59:56.644ZPlease, if you have SDK for Nokia 770, get it to m...Please, if you have SDK for Nokia 770, get it to me, because nokia links doesn't work.Anonymoushttps://www.blogger.com/profile/11885284687132238496noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-49730341933450847012009-06-15T15:17:18.456Z2009-06-15T15:17:18.456ZI luv this framework. Hi Just want to know if you&...I luv this framework. Hi Just want to know if you're working yet on the new windows 7 native GUI and the ribbon. Will they be a wxRibbon class in wxWidget 3?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35681690.post-25448211699985715132009-03-26T07:42:00.000Z2009-03-26T07:42:00.000ZGood Work .. I will try Maemo 5 Alpha SDK on my VM...Good Work .. I will try Maemo 5 Alpha SDK on my VM. Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35681690.post-65715925517946333182009-02-12T23:48:00.000Z2009-02-12T23:48:00.000ZAlso, I posted some screenshots of the dialog exam...Also, I posted some screenshots of the dialog example after porting to hildon-1 libs:Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35681690.post-29898757755337436042008-12-08T01:16:00.000Z2008-12-08T01:16:00.000ZHi,I went through and compiled the latest SVN, but...Hi,<BR/><BR/>I went through and compiled the latest SVN, but the widgets did not appear as in your examples. However, I did get an error during configure saying that 'libhildon' could not be found. I'm using OS2008 and Maemo 4.0 under scratchbox. Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35681690.post-52585839390539869812008-09-10T07:53:00.000Z2008-09-10T07:53:00.000ZMight be of interest here:...Hello, first, thanks ...Might be of interest here:<BR/><BR/>...<BR/>Hello, <BR/>first, thanks to all for the good work.<BR/>I noticed a problem, when compiling for a Nokia N810 internet tablet (both --with-hildon and default): <BR/>Only the first couple of mouse pointer motion events are forwarded, when moving the pen on the touchscreen.<BR/>This is apparent for example in the samples/drawing.cpp example - it reports the mouse position in the status bar, but stops updating after three or four reports.<BR/><BR/>The GTK doc says [1] that it tries to reduce the number of events and flags later events as "hint". If the app wants more, it needs to request them.<BR/><BR/>Therefore, I added, in src/gtk/window.cpp, to gtk_window_motion_notification_callback, as the last lines: <BR/>if (gdk_event->is_hint)<BR/>gdk_event_request_motions(gdk_event) <BR/>and it works now.<BR/>Now the "scribble.wx.lua" example in wxlua works as expected, in other words I can draw with the pen on the screen. <BR/>Disclaimer,<BR/>- I haven't tested if this breaks anything on another platform etc<BR/>- I'm neither gdk/wxwidgets experts <BR/>Cheers<BR/><BR/>Markus <BR/>ref:<BR/>[1] http://library.gnome.org/devel/gdk/stable/gdk-Events.html#GdkEventMaskAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-35681690.post-62275105466058874432008-07-14T19:00:00.000Z2008-07-14T19:00:00.000ZThis is a great site. Thank you for your informati...This is a great site. Thank you for your information. I THANK YOU I SALUTE YOU IT,S A AMZING SITE.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35681690.post-11754070743336835742008-06-20T11:18:00.000Z2008-06-20T11:18:00.000ZGood Job!: )Good Job!: )Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35681690.post-42921432153065308422007-12-23T22:34:00.000Z2007-12-23T22:34:00.000ZSergio,The menu should work if you use the SVN ver...Sergio,<BR/><BR/>The menu should work if you use the SVN version. I have some directions posted here:<BR/><BR/>http://maemolibs.blogspot.com/<BR/><BR/>Make sure you're using run-standalone.sh to run the program. Thanks.Hostmanhttps://www.blogger.com/profile/09450239940325295136noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-36617252393529457062007-12-21T04:31:00.000Z2007-12-21T04:31:00.000ZHi,I've tested your changes by porting xchm (http:...Hi,<BR/><BR/>I've tested your changes by porting xchm (http://xchm.sourceforge.net/) to OS2008. This was quite straightforward.<BR/><BR/>To really "hidonize" it, I need to solve three problems:<BR/><BR/>* remove the menu bar and make the menu appear from the top left button. In your screenshots, you seem to have solved this problem. How did you achieve that?<BR/><BR/>* use a "native" toolbar<BR/><BR/>* implement a full-screen view<BR/><BR/>Any idea on how to solve these problems?<BR/><BR/>A great thanks for your work. It's really nice to be able to port applications to a new platform so easily!oohttps://www.blogger.com/profile/09846919678312621390noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-30491350717401116132007-12-20T19:31:00.000Z2007-12-20T19:31:00.000Zoh, sorry, it seems some internel errors with my s...oh, sorry, it seems some internel errors with my scratchbox cause my problem,not wxmaxima or libs. I will reinstall something and report later.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35681690.post-66099035558445131242007-12-20T16:20:00.000Z2007-12-20T16:20:00.000ZAlso, I posted some screenshots of the dialog exam...Also, I posted some screenshots of the dialog example after porting to hildon-1 libs:<BR/>http://maemolibs.blogspot.com/2007/12/first-some-screenshots.htmlHostmanhttps://www.blogger.com/profile/09450239940325295136noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-1134175741049796862007-12-20T16:17:00.000Z2007-12-20T16:17:00.000ZHi,Likely wxMaxima will need to be re-structured t...Hi,<BR/><BR/>Likely wxMaxima will need to be re-structured to work on Maemo, but to resolve the crashing issues, I propose:<BR/><BR/>Under scratchbox, make sure you run the executable as:<BR/>run-standalone.sh ./wxmaxima<BR/><BR/>Try running it directly on the tablet - sometimes this works a lot better than the emulator.<BR/><BR/>Thanks.Hostmanhttps://www.blogger.com/profile/09450239940325295136noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-53578904638343015032007-12-20T10:26:00.000Z2007-12-20T10:26:00.000ZHi,I compiled wxMaxima 0.7.3a on CHINOOK_ARMEL pl...Hi,<BR/>I compiled wxMaxima 0.7.3a on CHINOOK_ARMEL platform with non hildonized wxGTK 2.8.6. everything goes well except the program crashes once I try to open or save a file. <BR/><BR/> It seems wxMaxima can't be compiled with wxgtk 2.9.0.<BR/><BR/>ps.the text size in the memu and button is adjusted by maemo,which makes some trouble.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35681690.post-35904827456631860572007-12-17T20:05:00.000Z2007-12-17T20:05:00.000ZOk, so here are my findings:Crashing issues were d...Ok, so here are my findings:<BR/><BR/>Crashing issues were due to not running program with run-standalone.sh<BR/>Fixes to code were still necessary to work with CHINOOK; tried reinstalling targets and still no hildon-lgpl<BR/><BR/>I'll post compiled binaries once I'm happy everything has tested correctly. Note that some behavior is not consistent between sbox xephyr and the n800.<BR/><BR/>Thanks.Hostmanhttps://www.blogger.com/profile/09450239940325295136noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-8750160627313325002007-12-14T12:19:00.000Z2007-12-14T12:19:00.000ZYAAAAAAAY!There are some great (!) apps waiting to...YAAAAAAAY!<BR/><BR/>There are some great (!) apps waiting to be ported to the tablets that need wxwidgets.<BR/><BR/>You are a hero! Keep it up!cowbothttps://www.blogger.com/profile/04316435067649311895noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-91933115246399382282007-12-12T23:55:00.000Z2007-12-12T23:55:00.000ZOk, so that worked, in the sense that the color di...Ok, so that worked, in the sense that the color dialogs come up. However, the menus are not working and I will get the following error from dialog boxes, and the dialog app will crash:<BR/><BR/>dialogs[2476]: GLIB CRITICAL ** GLib-GObject - g_object_ref: assertion `object->ref_count > 0' failed<BR/>dialogs[2476]: GLIB CRITICAL ** GLib-GObject - g_object_unref: assertion `object->ref_count > 0' failed<BR/><BR/>No idea. Perhaps someone knows what this is about?<BR/><BR/>-RobertHostmanhttps://www.blogger.com/profile/09450239940325295136noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-85284385670669368902007-12-12T23:12:00.000Z2007-12-12T23:12:00.000ZWell, I realized that the C++ was looking for a C+...Well, I realized that the C++ was looking for a C++ function, and the library only contained C functions, so:<BR/><BR/>extern "C" {<BR/>GType G_GNUC_CONST<BR/>hildon_color_chooser_get_type (void);<BR/><BR/>GtkWidget*<BR/>hildon_color_chooser_new (void);<BR/><BR/>void<BR/>hildon_color_chooser_set_color (HildonColorChooser *chooser,<BR/> GdkColor *color);<BR/><BR/>void<BR/>hildon_color_chooser_get_color (HildonColorChooser *chooser,<BR/> GdkColor *color);<BR/>}<BR/><BR/>And now everything compiles. However, the dialogs program crashes on accessing the color dialogs, so I think I need to use HildonColorChooserDialog...<BR/><BR/>-RobertHostmanhttps://www.blogger.com/profile/09450239940325295136noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-78290533205486233382007-12-12T22:43:00.000Z2007-12-12T22:43:00.000ZOk, so some of this was right, and some was wrong....Ok, so some of this was right, and some was wrong. First off:<BR/><BR/>root@maemo-sdk:/scratchbox/users/maemo/targets/CHINOOK_ARMEL/usr/lib# nm -D libhildon-1.so | grep color<BR/> U gdk_color_free<BR/> U gdk_color_get_type<BR/> U gdk_gc_set_rgb_fg_color<BR/> U gtk_style_lookup_color<BR/> U gtk_widget_get_colormap<BR/>00024861 T hildon_color_button_get_color<BR/>00024749 T hildon_color_button_get_popup_shown<BR/>00023ef9 T hildon_color_button_get_type<BR/>0002450d T hildon_color_button_new<BR/>00024525 T hildon_color_button_new_with_color<BR/>000247c5 T hildon_color_button_popdown<BR/>00024555 T hildon_color_button_set_color<BR/>00026025 T hildon_color_chooser_dialog_get_color<BR/>000248f9 T hildon_color_chooser_dialog_get_type<BR/>0002600d T hildon_color_chooser_dialog_new<BR/>00025795 T hildon_color_chooser_dialog_set_color<BR/>00023afd T hildon_color_chooser_get_color<BR/>00020cb9 T hildon_color_chooser_get_type<BR/>00023d55 T hildon_color_chooser_new<BR/>00021875 T hildon_color_chooser_set_color<BR/>00018f3d T hildon_helper_set_logical_color<BR/><BR/><BR/>Had forgotten the -D flag for the .so files. Would it be so hard for nm to detect? Anyhow, went to the hildon page, and read up on hildon 2:<BR/><BR/>http://live.gnome.org/Hildon/TwoPointZero/ChangesOverview<BR/><BR/>I've edited the configure file, swapping all occurrences of 'hildon_lgpl' with 'hildon_1' and 'hildon-lgpl' with 'hildon-1'. It now works without some of the other hacking. I also replaced all of the #include statements with the new recommended:<BR/>#include < hildon/hildon.h ><BR/><BR/>Now, it seems that the reason the color dialog is being an issue is that the code was moved from being a module to static code, as one of the major changes. I may need to rewrite further some of the edits to make this work.<BR/><BR/>-RobertHostmanhttps://www.blogger.com/profile/09450239940325295136noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-10453297536308696822007-12-12T21:21:00.000Z2007-12-12T21:21:00.000ZOk, apparently hildon-lgpl has been replaced by hi...Ok, apparently hildon-lgpl has been replaced by hildon-libs (I think hildon-1 in my version). I had to copy /usr/lib/pkgconfig/hildon-1.pc to /usr/lib/pkgconfig/hildon-lgpl.pc, and configure worked.<BR/><BR/>During compile, there was an error looking for the hildon-widgets include directory, so I did:<BR/>ln -s /usr/include/hildon-1/hildon /usr/include/hildon-widgets<BR/>and, within the hildon directory:<BR/>ln -s hildon-color-chooser.h hildon-color-selector.h<BR/><BR/>All references to Selector needed to be changed to Chooser in:<BR/>src/gtk/colordlg.cpp<BR/>I also had to change some function calls for compatibility with the new library - some places needed different arguments, some functions no longer needed arguments, etc.<BR/><BR/>Needed to reorder the words in a constant in:<BR/>src/gtk/msgdlg.cpp<BR/><BR/>Unfortunately, when I try to compile some of the examples (for example, dialogs), I get an error:<BR/><BR/>/home/maemo/wxWidgets/lib/libwx_gtk2u_core-2.9.so: undefined reference to `hildon_color_chooser_get_color(_HildonColorChooser*, _GdkColor*)'<BR/>/home/maemo/wxWidgets/lib/libwx_gtk2u_core-2.9.so: undefined reference to `hildon_color_chooser_new()'<BR/>/home/maemo/wxWidgets/lib/libwx_gtk2u_core-2.9.so: undefined reference to `hildon_color_chooser_set_color(_HildonColorChooser*, _GdkColor*)'<BR/>/home/maemo/wxWidgets/lib/libwx_gtk2u_core-2.9.so: undefined reference to `hildon_color_chooser_get_type()'<BR/><BR/>I've added all the hildon libraries I can find to the Makefile, but I don't remember how to figure out what file it should be in - perhaps the 'nm' command? Anyhow, that's where I'm at. Thanks.<BR/><BR/>-RobertHostmanhttps://www.blogger.com/profile/09450239940325295136noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-78978104463930712872007-12-12T02:24:00.000Z2007-12-12T02:24:00.000ZIt appears the the configure script might be 770(I...It appears the the configure script might be 770(ITOS2006) specific. I do see a libhildon_1.so.0. Is there any way to change the script to check for this?GreatGazoohttps://www.blogger.com/profile/05322187097140653232noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-8058758868942190772007-12-11T19:15:00.000Z2007-12-11T19:15:00.000ZSpecifically:checking for HILDON... configure: WAR...Specifically:<BR/>checking for HILDON... configure: WARNING: libhildon_lgpl not foundHostmanhttps://www.blogger.com/profile/09450239940325295136noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-77807551474382423232007-12-11T17:40:00.000Z2007-12-11T17:40:00.000ZHi,I went through and compiled the latest SVN, but...Hi,<BR/><BR/>I went through and compiled the latest SVN, but the widgets did not appear as in your examples. However, I did get an error during configure saying that 'libhildon' could not be found. I'm using OS2008 and Maemo 4.0 under scratchbox. Thanks.<BR/><BR/>-RobertHostmanhttps://www.blogger.com/profile/09450239940325295136noreply@blogger.comtag:blogger.com,1999:blog-35681690.post-70958312033064599552007-12-11T14:43:00.000Z2007-12-11T14:43:00.000Zcan You please upload your version of wxWidgets fo...can You please upload your version of wxWidgets for Nokia 770Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35681690.post-48204280816058572892007-12-11T13:42:00.000Z2007-12-11T13:42:00.000Zthat's great! big thanksthat's great! big thanksAnonymousnoreply@blogger.com