separate input method for specific application/field
Hello! I'm not very experienced with GTK and maemo, so please bear with me :) After reading various pieces of documentation, I got the impression, that currently it is not possible to set custom input method for specific input field. At least property im-module of GtkEntry is not supported. Is this correct? ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Qt/Maemo in Qt's Git repository
Is there any plan to do the Qt Maemo port, currently in svn here: https://garage.maemo.org/plugins/scmsvn/viewcvs.php/?root=qt4 in the (new) regular Qt git repository: http://qt.gitorious.org/ That would make it easier to see what is happening, and would probably make it easier for the developers to handle their changes. -- murr...@murrayc.com www.murrayc.com www.openismus.com ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Writing about Py2deb
Hello, I'm not sure that the garage version is up to date. I'm open to patch, code, and anything else :) I've some modification to put also in the repository, for Mer. Regards, 2009/5/18 Jeremiah Foster jerem...@jeremiahfoster.com: Hello Khertan, I was hoping to talk to you about Py2deb and how it functions. I wanted to write about it as you suggested, but I would also like to add some code if that is possible. Are you open to patches and are you using garage only for your code repository? If so, that makes things easier. Regards, Jeremiah -- Benoît HERVIER - http://khertan.net/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Writing about Py2deb
Hello, o Benoît HERVIER [05/19/09 14:37]: Hello, I'm not sure that the garage version is up to date. I'm open to patch, code, and anything else :) that's very good, because I have a question: When I package a python software that comes with setuptools, currently I do python setup.py bdist_dumb and then extract the resulting .tar.gz into the src/ directory which i set as dir_name = src in my build_xyz.py. Is this the way to do it? If yes, would it make sense to add this as possibility to py2deb.py directly, so one does not have to do it by hand? btw, python setup.py bdist_maemo usually does not work because it requires all files to be passed to setuptools.setup(), which usually is not done. But it also seems to me that py2deb is newer/more complete than bdist_maemo from setuptools. Thanks Stefan ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Aw: Re: Fremantle user interface behaviour and API
Thanks to Claudio and API almost all my questions have been answered and the Fremantle version of Conboy is looking better then ever :) There is (for now) only one question left: When using HildonTextView inside a PanableArea panning is working fine, but I can no longer select text. Are those two mutual exclusive? It would be nice if I could get another hint on that. Cheers! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
How to press enter inside the Fremantle SDK
Hi, when using the Fremantle SDK I'm having problems pressing the enter-key. If I press the enter-key on my keyboard nothing is happening. I have the same behavior with the Diablo SDK but there the workaround for me was to press the enter-key on the virtual keyboard using the mouse. Now that there is no virtual keyboard anymore I'm having a problem :( Do you have the same problem or is it just me. Are there knows ways to make it work? I'm using a german keyboard if that matters. Thanks! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to press enter inside the Fremantle SDK
On Tue, May 19, 2009 at 04:58:44PM +0200, Cornelius Hald wrote: when using the Fremantle SDK I'm having problems pressing the enter-key. If I press the enter-key on my keyboard nothing is happening. I have the same behavior with the Diablo SDK but there the workaround for me was to press the enter-key on the virtual keyboard using the mouse. Now that there is no virtual keyboard anymore I'm having a problem :( Use the enter key from the numeric keypad (or use NumLock if your computer doesn't have a one). This is valid for the Diablo SDK too (the enter key on the N810 is mapped to GDK_KP_Enter rather than to GDK_Return). Berto ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: GtkAction vs. AppMenu
On Wed, 2009-04-29 at 20:19 +0200, Alberto Garcia wrote: On Wed, Apr 29, 2009 at 07:37:03PM +0200, Cornelius Hald wrote: Or is it possible to create a GtkButton out of a GtkAction? Try this: button = gtk_button_new (); gtk_action_connect_proxy (action, button); Thanks again for your answer it worked very well and I have now a nice HildonAppMenu containing buttons which were created like you wrote. I have only two more problems related with that. Hopefully you can help me there too: 1) The accelerators of my actions don't show up on the menu buttons and they don't work. What do I have to do to get them back? If I create an old school GtkMenuItem out of my GtkAction the accelerators are working fine. 2) How do I get my GtkRadioActions to work with the HildonAppMenu? I created the the buttons with gtk_radio_button_new() and then used gtk_action_connect_proxy() like with the normal GtkActions above. The problem is that now all of the radio buttons are selected active at the same time. A screenshot of how the menu looks atm can be found here: http://zwong.de/wp-content/uploads/2009/05/conboy_new_style_menu.png Thanks for your time! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to press enter inside the Fremantle SDK
On Tue, 2009-05-19 at 17:15 +0200, Alberto Garcia wrote: On Tue, May 19, 2009 at 04:58:44PM +0200, Cornelius Hald wrote: when using the Fremantle SDK I'm having problems pressing the enter-key. If I press the enter-key on my keyboard nothing is happening. I have the same behavior with the Diablo SDK but there the workaround for me was to press the enter-key on the virtual keyboard using the mouse. Now that there is no virtual keyboard anymore I'm having a problem :( Use the enter key from the numeric keypad (or use NumLock if your computer doesn't have a one). This is valid for the Diablo SDK too (the enter key on the N810 is mapped to GDK_KP_Enter rather than to GDK_Return). Ahhh thank you very much - that explains a lot :) I never really figured out how to make NumLock work on my Thinkpad. I guess I have to try harder or connect an external keyboard but at least I know what I have to do. Thanks! ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to press enter inside the Fremantle SDK
On Tue, May 19, 2009 at 05:30:53PM +0200, Cornelius Hald wrote: Use the enter key from the numeric keypad (or use NumLock if your computer doesn't have a one). Ahhh thank you very much - that explains a lot :) I never really figured out how to make NumLock work on my Thinkpad. If you have a ThinkPad, press Fn+NumLock and the NumLock LED should be turned on. Now if you press the enter key it will act like the one from the numeric keypad. Berto ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Text selection and GtkEntry/GtkTextView
Hello! Looks like there's some catch in text selection in GtkEntry/GtkTextView. In my application I'd like to allow user to select text and then click on a button to start working with the selected text. But when the button is clicked, the selection disappears, so the handler does not find any selection. How can I make the selection persistent? In regular GTK program the selection survives the loss of focus, in maemo environment - not. Thank you ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Aw: Re: Fremantle user interface behaviour and API
Cornelius Hald wrote: Thanks to Claudio and API almost all my questions have been answered and the Fremantle version of Conboy is looking better then ever :) There is (for now) only one question left: When using HildonTextView inside a PanableArea panning is working fine, but I can no longer select text. Are those two mutual exclusive? FWIW, I managed to implement this quite easily for Qt so I'm sure it's do-able in gtk too. The trick I used is to create a queue of mouse events until I could determine whether or not the incoming gesture was a panning gesture. If it was the queue was discarded; if not the events were replayed to the correct widgets. The decision was simply delta mouse movement within a time period. This allowed selection and even drag'n'drop to just work. David -- Don't worry, you'll be fine; I saw it work in a cartoon once... ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to press enter inside the Fremantle SDK
On Tue, 2009-05-19 at 17:36 +0200, Alberto Garcia wrote: On Tue, May 19, 2009 at 05:30:53PM +0200, Cornelius Hald wrote: Use the enter key from the numeric keypad (or use NumLock if your computer doesn't have a one). Ahhh thank you very much - that explains a lot :) I never really figured out how to make NumLock work on my Thinkpad. If you have a ThinkPad, press Fn+NumLock and the NumLock LED should be turned on. Now if you press the enter key it will act like the one from the numeric keypad. Well, it look like the combo T40p + Ubuntu Jaunty is not the best for NumLock because Fn+NumLock doesn't do anything and Shift+NumLock does something strange. This command fixed it for me: xmodmap -e keycode 77 = Num_Lock So now I have a working enter-key - yea :) The tip was from here: http://www.thinkwiki.org/wiki/How_to_get_special_keys_to_work#NumLock Cheers! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to press enter inside the Fremantle SDK
Am Dienstag, den 19.05.2009, 17:15 +0200 schrieb Alberto Garcia: This is valid for the Diablo SDK too (the enter key on the N810 is mapped to GDK_KP_Enter rather than to GDK_Return). ...which some people consider confusing. See e.g. https://bugs.maemo.org/show_bug.cgi?id=3686 or https://bugs.maemo.org/show_bug.cgi?id=3913#c14 andre -- Andre Klapper (maemo.org bugmaster) ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Aw: Re: Fremantle user interface behaviour and API
On Tue, 2009-05-19 at 16:48 +0100, David Greaves wrote: Cornelius Hald wrote: Thanks to Claudio and API almost all my questions have been answered and the Fremantle version of Conboy is looking better then ever :) There is (for now) only one question left: When using HildonTextView inside a PanableArea panning is working fine, but I can no longer select text. Are those two mutual exclusive? FWIW, I managed to implement this quite easily for Qt so I'm sure it's do-able in gtk too. The trick I used is to create a queue of mouse events until I could determine whether or not the incoming gesture was a panning gesture. If it was the queue was discarded; if not the events were replayed to the correct widgets. The decision was simply delta mouse movement within a time period. This allowed selection and even drag'n'drop to just work. That sounds nice, but I was more hoping for a out-of-the-box solution. I think this use-case is quite common - it's just a scrollable (ok panable) text view. So doing like you did I would consider as last resort. Anyways, thanks for explaining your solution :) ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Aw: Re: Fremantle user interface behaviour and API
Cornelius Hald wrote: That sounds nice, but I was more hoping for a out-of-the-box solution. I think this use-case is quite common - it's just a scrollable (ok panable) text view. So doing like you did I would consider as last resort. Anyways, thanks for explaining your solution :) Err I implemented that into the framework so it *is* an out of the box solution for Qt :) I kinda meant that it could/should be doable for the pannable gtk too. Nb the source to both is available so you can see how I did it in Qt and port it and submit it if you like. David -- Don't worry, you'll be fine; I saw it work in a cartoon once... ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Qt/Maemo in Qt's Git repository
Hi On Tue, May 19, 2009 at 3:28 PM, Murray Cumming murr...@murrayc.com wrote: Is there any plan to do the Qt Maemo port, currently in svn here: https://garage.maemo.org/plugins/scmsvn/viewcvs.php/?root=qt4 in the (new) regular Qt git repository: http://qt.gitorious.org/ Not yet, but we are going to evaluate that That would make it easier to see what is happening, and would probably make it easier for the developers to handle their changes. I agree with you. BR, Antonio -- Fran Lebowitzhttp://www.brainyquote.com/quotes/authors/f/fran_lebowitz.html - If you're going to America, bring your own food. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers