Hmm both sounds ok but I also prefer freeze it is used in various meanings around efl libraries. And freeze is familar than lock in efl API. So, elm_tooltip_move_freeze_set()?
How do you think, Abhi? Thanks. Daniel Juyung Seo (SeoZ) On Wed, Jan 15, 2014 at 7:20 PM, ChunEon Park <her...@naver.com> wrote: > there freeze() apis meaning all are different > but simliar. > for consistency i suggested. > > ------------------------------------ > -Regards, Hermet- > > -----Original Message----- > From: "Iván Briano"<sachi...@gmail.com> > To: "Enlightenment developer list"< > enlightenment-devel@lists.sourceforge.net>; > Cc: "g...@lists.enlightenment.org"<g...@lists.enlightenment.org>; > Sent: 2014-01-15 (수) 18:10:08 > Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/06: Adding > elm_tooltip_movement_lock_set() and elm_tooltip_movement_lock_get() > > On Wednesday, January 15, 2014, ChunEon Park wrote: > > > elm_tooltip_movement_lock_set() ? > > > > how about _freeze_set() ? > > we already use the freeze word entirely. > > > > > Those have a different meaning. > > > > ------------------------------------ > > -Regards, Hermet- > > > > -----Original Message----- > > From: "abhi"<a.aryadipta>@samsung.com> > > To: <git>@lists.enlightenment.org>; > > Cc: > > Sent: 2014-01-13 (월) 15:47:26 > > Subject: [EGIT] [core/elementary] master 01/06: Adding > > elm_tooltip_movement_lock_set() and elm_tooltip_movement_lock_get() > > > > raster pushed a commit to branch master. > > > > > > > http://git.enlightenment.org/core/elementary.git/commit/?id=1832450176b188773557c39e5cf1eee0f47a8858 > > > > commit 1832450176b188773557c39e5cf1eee0f47a8858 > > Author: abhi <a.aryadipta>@samsung.com> > > Date: Mon Jan 13 15:22:47 2014 +0900 > > > > Adding elm_tooltip_movement_lock_set() and > > elm_tooltip_movement_lock_get() > > > > Summary: These APIs allow to enable/disable a tooltip to move with > > respect to mouse pointer > > > > Test Plan: elm_tooltip_movement_lock_set(), > > elm_tooltip_movement_lock_get(), elementary_test -to tooltip > > > > Reviewers: singh.amitesh, seoz, raster > > > > Reviewed By: raster > > > > CC: raster > > > > Differential Revision: https://phab.enlightenment.org/D369 > > --- > > ChangeLog 4 ++++ > > NEWS 2 ++ > > src/bin/test_tooltip.c 24 ++++++++++++++++++++++++ > > src/lib/elm_tooltip.h 32 ++++++++++++++++++++++++++++++++ > > src/lib/els_tooltip.c 29 ++++++++++++++++++++++++----- > > 5 files changed, 86 insertions(+), 5 deletions(-) > > > > diff --git a/ChangeLog b/ChangeLog > > index 56975bb..f845744 100644 > > --- a/ChangeLog > > +++ b/ChangeLog > > @@ -1772,3 +1772,7 @@ > > 2013-12-01 Mike Blumenkrantz > > > > * fix mouse eventing on e border theme > > + > > +2013-12-09 Abhinandan Aryadipta (aryarockstar) > > + > > + * tooltip: Added elm_tooltip_move_lock_set() and > > elm_tooltip_move_lock_get(). > > diff --git a/NEWS b/NEWS > > index 85da746..a32848f 100644 > > --- a/NEWS > > +++ b/NEWS > > @@ -7,6 +7,8 @@ Changes since Elementary 1.8.0: > > > > Additions: > > > > + * Add elm_tooltip_move_lock_set() and elm_tooltip_move_lock_get() > > + > > Improvements: > > > > Fixes: > > diff --git a/src/bin/test_tooltip.c b/src/bin/test_tooltip.c > > index 332eced..d5ac0af 100644 > > --- a/src/bin/test_tooltip.c > > +++ b/src/bin/test_tooltip.c > > @@ -200,6 +200,23 @@ _tt_text_replace(void *data EINA_UNUSED, > > } > > > > static void > > +_tt_move_lock(void *data EINA_UNUSED, > > + Evas_Object *obj, > > + void *event_info EINA_UNUSED) > > +{ > > + if (!elm_tooltip_move_lock_get(obj)) > > + { > > + elm_tooltip_move_lock_set(obj, EINA_TRUE); > > + elm_object_tooltip_text_set(obj, "Locked"); > > + } > > + else > > + { > > + elm_tooltip_move_lock_set(obj, EINA_FALSE); > > + elm_object_tooltip_text_set(obj, "Free"); > > + } > > +} > > + > > +static void > > _tt_orient_text_replace(void *data EINA_UNUSED, > > Evas_Object *obj, > > void *event_info EINA_UNUSED) > > @@ -489,6 +506,13 @@ test_tooltip(void *data EINA_UNUSED, > > evas_object_show(bt); > > > > bt = elm_button_add(win); > > + elm_object_text_set(bt, "Movement Lock Tooltip, click to change"); > > + elm_object_tooltip_text_set(bt, "Free"); > > + evas_object_smart_callback_add(bt, "clicked", _tt_move_lock, NULL); > > + elm_box_pack_end(bx, bt); > > + evas_object_show(bt); > > + > > + bt = elm_button_add(win); > > elm_object_text_set(bt, "Orient Tooltip, click to > > > ------------------------------------------------------------------------------ > > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > > Learn Why More Businesses Are Choosing CenturyLink Cloud For > > Critical Workloads, Development Environments & Everything In Between. > > Get a Quote or Start a Free Trial Today. > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > > _______________________________________________ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net <javascript:>;> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel