Hey, Is there a way to set elementary.Entry's cursor position? When I hit Ctrl-S, Ctrl-R elementary injects 0x12, 0x13, etc bytes in the entry, so I get the entry's content (entry_get()), I removes the 0x13 bytes and I set the entry again with entry_set() function. The problem is, when I hit shortcut in the middle of the entry it always jumps the cursor at the beginning of the entry when entry_set() is called. I cant control the cursor position. Its really irritating when I type and hit on a shortcut and resume typing. (Ok I use cursor_end_set() function call, its less annoying, but does not change a thing).
I also workarounded the builtin Tab behaviour (by focusing the previous element on the gui. I need a list of entrys in my app, to know what to focus). I've been also hit by a race condition, ie. when hitting Ctrl-L, I focus an entry (like in firefox the addressbar is focused), and depending when I last refreshed the entry with entry_set() call, the Ctrl-char (0x0c) may or may not be added into the entry. (ie. it focus() first the entry and miss injecting the 0x0c byte in the entry) So apart of the inability to control the cursor's position, do not have direct address to the system's clipboard in elementary (Ctrl-C, Ctrl-V, double click), I workarounded everything in elementary (ie. to be my application in real life usable the most notable workaround is the bookkeeping elementary entry's cursor position by each keypress in my own python program. So I can control when to jump into next cell.) So in total Im pretty happy with my tiny application, I can basically work 1.8 time more at my daily job then before:) Thank you for elementary and its python bindings! By the way, is there a list of apps using python elementary? Would be nice to see some more real life apps, and gather more ideas. Best, Laszlo ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel