Hi,

  I attached my code.


On Wed, Jun 18, 2014 at 12:54 PM, Carsten Haitzler <ras...@rasterman.com>
wrote:

> On Wed, 18 Jun 2014 11:45:22 +0800 Magicloud Magiclouds
> <magicloud.magiclo...@gmail.com> said:
>
> > Hi,
> >
> >   I am using a configured Ubuntu desktop that input method (ibus) works
> > well.
> >
> >   Now I installed EFL (latest) and python binding. And made an example
> > entry program with them. The example worked. But in it, I could not call
> up
> > ibus by hot key (ctrl space).
> >
> >   What should I do?
>
> ummm... what example?
>
> 1. do you use elementary? use the elm_entry or are you trying to hand-code
> your
> own?
> 2. if you are hand-coding your own - have you looked at terminology as an
> example of how to do it and interface to input methods? *_imf_* calls in
> that
> tree
> 3. i have never tried ibus myself, but scim i know works. i use it all the
> time. it works with terminology and elementary. i do reconfigure scim to
> use
> shift+space as i prefer that and also ctrl+space conflicts with emacs/jed
> multi
> line select mode.
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
>
>


-- 
竹密岂妨流水过
山高哪阻野云飞

And for G+, please use magiclouds#gmail.com.
from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL
from efl import elementary
from efl.elementary.window import StandardWindow
from efl.elementary.box import Box
from efl.elementary.entry import Entry
from efl.elementary.panel import Panel, ELM_PANEL_ORIENT_LEFT

EXPAND_BOTH = EVAS_HINT_EXPAND, EVAS_HINT_EXPAND
EXPAND_VERT = 0.0, EVAS_HINT_EXPAND
FILL_BOTH = EVAS_HINT_FILL, EVAS_HINT_FILL
FILL_VERT_ALIGN_LEFT = 0.0, EVAS_HINT_FILL

def panel_clicked(obj):
    win = StandardWindow("panel", "Panel test", autodel=True, size=(300, 300))
    if obj is None:
        win.callback_delete_request_add(lambda o: elementary.exit())

    bx = Box(win, size_hint_weight=EXPAND_BOTH)
    win.resize_object_add(bx)
    bx.show()

    bt = Entry(win, size_hint_weight=EXPAND_BOTH, size_hint_align=FILL_BOTH)
    bx.pack_end(bt)
    bt.show()

#    panel = Panel(win, orient=ELM_PANEL_ORIENT_LEFT, content=bt,
#        size_hint_weight=EXPAND_VERT, size_hint_align=FILL_VERT_ALIGN_LEFT)

#    bx.pack_end(panel)
#    panel.show()

    win.show()


if __name__ == "__main__":
    elementary.init()

    panel_clicked(None)

    elementary.run()
    elementary.shutdown()
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to