Re: [E-devel] edje external elm/entry's editable parameter

2013-01-26 Thread The Rasterman
On Sat, 26 Jan 2013 22:42:29 +0100 Leif Middelschulte
 said:

> 2013/1/18 Carsten Haitzler 
> 
> > On Thu, 17 Jan 2013 20:03:18 -0200 Bruno Dilly 
> > said:
> >
> > > On Thu, Jan 17, 2013 at 7:41 PM, Bruno Dilly 
> > wrote:
> > > > On Tue, Jan 15, 2013 at 1:09 AM, Leif Middelschulte
> > > >  wrote:
> > > >> Hello everyone,
> > > >>
> > > >> I'm trying to use an elm_entry for a UI via edje externals.
> > > >> Unfortunatelly, the entries don't respect the 'editable' parameter.
> > > >> I've attached an edc example, hoping that I've just been doing
> > something
> > > >> wrong.
> > > >>
> > > >
> > > > Hey Leif,
> > > >
> > > > interesting issue. But looks like editable parameter is respected, if
> > > > you set it to "1", you can cut text, if it's set to "0", you can't.
> > > > Btw, entries are editable by default.
> > > >
> > > > I guess it's an issue related to focus, and it exists on 1.7.x too.
> > >
> > > And it's not specific to entries. Other stuff swallowed won't be
> > > focused as well.
> > > You can try to add a button, it won't be focused after you press it
> > > (you could try to press spacebar to activate it).
> > >
> > > But for entries it's a major issue.
> >
> > the moment you use externals.. or an edje object by hand, you break elm's
> > focus
> > chain.
> >
> That's unfortunate.

because edje is below elm- it has no idea about elm's high level view of focus.

> I don't know if it's linked or not, but using edje TEXTBLOCK and its
> entry_mode parameter hides the set text and isn't usable either. No way to
> enter text.

you have to handle focusing of the text part - see elm's theme. you will have
to re-implement all the logic that is handled by elm's entry widget code and
theme if you do it by hand in edje.

> I've attached an EDC that shows it perfectly. Once you uncomment the
> 'entry_mode' line, the text will disappear and you won't be able to enter
> text either.
> 
> In hope that I've just been misunderstanding something,
> 
> Leif
> 
> >
> > > >> --
> > > >>
> > > >> Leif
> > > >>
> > > >>
> > --
> > > >> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> > > >> and more. Get SQL Server skills now (including 2012) with LearnDevNow
> > -
> > > >> 200+ hours of step-by-step video tutorials by Microsoft MVPs and
> > experts.
> > > >> SALE $99.99 this month only - learn more at:
> > > >> http://p.sf.net/sfu/learnmore_122512
> > > >> ___
> > > >> enlightenment-devel mailing list
> > > >> enlightenment-devel@lists.sourceforge.net
> > > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > Bruno Dilly
> > > > Lead Developer
> > > > ProFUSION embedded systems
> > > > http://profusion.mobi
> > >
> > >
> > >
> > > --
> > > Bruno Dilly
> > > Lead Developer
> > > ProFUSION embedded systems
> > > http://profusion.mobi
> > >
> > >
> > --
> > > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> > > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> > > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> > > MVPs and experts. ON SALE this month only -- learn more at:
> > > http://p.sf.net/sfu/learnmore_122712
> > > ___
> > > enlightenment-devel mailing list
> > > enlightenment-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >
> >
> >
> > --
> > - Codito, ergo sum - "I code, therefore I am" --
> > The Rasterman (Carsten Haitzler)ras...@rasterman.com
> >
> >
> >
> > --
> > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> > MVPs and experts. ON SALE this month only -- learn more at:
> > http://p.sf.net/sfu/learnmore_122712
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
> 
> 
> 
> -- 
> Leif


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
__

Re: [E-devel] edje external elm/entry's editable parameter

2013-01-26 Thread Leif Middelschulte
2013/1/18 Carsten Haitzler 

> On Thu, 17 Jan 2013 20:03:18 -0200 Bruno Dilly 
> said:
>
> > On Thu, Jan 17, 2013 at 7:41 PM, Bruno Dilly 
> wrote:
> > > On Tue, Jan 15, 2013 at 1:09 AM, Leif Middelschulte
> > >  wrote:
> > >> Hello everyone,
> > >>
> > >> I'm trying to use an elm_entry for a UI via edje externals.
> > >> Unfortunatelly, the entries don't respect the 'editable' parameter.
> > >> I've attached an edc example, hoping that I've just been doing
> something
> > >> wrong.
> > >>
> > >
> > > Hey Leif,
> > >
> > > interesting issue. But looks like editable parameter is respected, if
> > > you set it to "1", you can cut text, if it's set to "0", you can't.
> > > Btw, entries are editable by default.
> > >
> > > I guess it's an issue related to focus, and it exists on 1.7.x too.
> >
> > And it's not specific to entries. Other stuff swallowed won't be
> > focused as well.
> > You can try to add a button, it won't be focused after you press it
> > (you could try to press spacebar to activate it).
> >
> > But for entries it's a major issue.
>
> the moment you use externals.. or an edje object by hand, you break elm's
> focus
> chain.
>
That's unfortunate.

I don't know if it's linked or not, but using edje TEXTBLOCK and its
entry_mode parameter hides the set text and isn't usable either. No way to
enter text.
I've attached an EDC that shows it perfectly. Once you uncomment the
'entry_mode' line, the text will disappear and you won't be able to enter
text either.

In hope that I've just been misunderstanding something,

Leif

>
> > >> --
> > >>
> > >> Leif
> > >>
> > >>
> --
> > >> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> > >> and more. Get SQL Server skills now (including 2012) with LearnDevNow
> -
> > >> 200+ hours of step-by-step video tutorials by Microsoft MVPs and
> experts.
> > >> SALE $99.99 this month only - learn more at:
> > >> http://p.sf.net/sfu/learnmore_122512
> > >> ___
> > >> enlightenment-devel mailing list
> > >> enlightenment-devel@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >>
> > >
> > >
> > >
> > > --
> > > Bruno Dilly
> > > Lead Developer
> > > ProFUSION embedded systems
> > > http://profusion.mobi
> >
> >
> >
> > --
> > Bruno Dilly
> > Lead Developer
> > ProFUSION embedded systems
> > http://profusion.mobi
> >
> >
> --
> > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> > MVPs and experts. ON SALE this month only -- learn more at:
> > http://p.sf.net/sfu/learnmore_122712
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
>
>
> --
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)ras...@rasterman.com
>
>
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>



-- 
Leif


edje_textblock_editable_fail.edc
Description: Binary data
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje external elm/entry's editable parameter

2013-01-17 Thread The Rasterman
On Thu, 17 Jan 2013 20:03:18 -0200 Bruno Dilly  said:

> On Thu, Jan 17, 2013 at 7:41 PM, Bruno Dilly  wrote:
> > On Tue, Jan 15, 2013 at 1:09 AM, Leif Middelschulte
> >  wrote:
> >> Hello everyone,
> >>
> >> I'm trying to use an elm_entry for a UI via edje externals.
> >> Unfortunatelly, the entries don't respect the 'editable' parameter.
> >> I've attached an edc example, hoping that I've just been doing something
> >> wrong.
> >>
> >
> > Hey Leif,
> >
> > interesting issue. But looks like editable parameter is respected, if
> > you set it to "1", you can cut text, if it's set to "0", you can't.
> > Btw, entries are editable by default.
> >
> > I guess it's an issue related to focus, and it exists on 1.7.x too.
> 
> And it's not specific to entries. Other stuff swallowed won't be
> focused as well.
> You can try to add a button, it won't be focused after you press it
> (you could try to press spacebar to activate it).
> 
> But for entries it's a major issue.

the moment you use externals.. or an edje object by hand, you break elm's focus
chain.

> >> --
> >>
> >> Leif
> >>
> >> --
> >> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> >> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
> >> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> >> SALE $99.99 this month only - learn more at:
> >> http://p.sf.net/sfu/learnmore_122512
> >> ___
> >> enlightenment-devel mailing list
> >> enlightenment-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >>
> >
> >
> >
> > --
> > Bruno Dilly
> > Lead Developer
> > ProFUSION embedded systems
> > http://profusion.mobi
> 
> 
> 
> -- 
> Bruno Dilly
> Lead Developer
> ProFUSION embedded systems
> http://profusion.mobi
> 
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje external elm/entry's editable parameter

2013-01-17 Thread Bruno Dilly
On Thu, Jan 17, 2013 at 7:41 PM, Bruno Dilly  wrote:
> On Tue, Jan 15, 2013 at 1:09 AM, Leif Middelschulte
>  wrote:
>> Hello everyone,
>>
>> I'm trying to use an elm_entry for a UI via edje externals.
>> Unfortunatelly, the entries don't respect the 'editable' parameter.
>> I've attached an edc example, hoping that I've just been doing something
>> wrong.
>>
>
> Hey Leif,
>
> interesting issue. But looks like editable parameter is respected, if
> you set it to "1", you can cut text, if it's set to "0", you can't.
> Btw, entries are editable by default.
>
> I guess it's an issue related to focus, and it exists on 1.7.x too.

And it's not specific to entries. Other stuff swallowed won't be
focused as well.
You can try to add a button, it won't be focused after you press it
(you could try to press spacebar to activate it).

But for entries it's a major issue.

>
>> --
>>
>> Leif
>>
>> --
>> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
>> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
>> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
>> SALE $99.99 this month only - learn more at:
>> http://p.sf.net/sfu/learnmore_122512
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>
>
>
> --
> Bruno Dilly
> Lead Developer
> ProFUSION embedded systems
> http://profusion.mobi



-- 
Bruno Dilly
Lead Developer
ProFUSION embedded systems
http://profusion.mobi

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje external elm/entry's editable parameter

2013-01-17 Thread Bruno Dilly
On Tue, Jan 15, 2013 at 1:09 AM, Leif Middelschulte
 wrote:
> Hello everyone,
>
> I'm trying to use an elm_entry for a UI via edje externals.
> Unfortunatelly, the entries don't respect the 'editable' parameter.
> I've attached an edc example, hoping that I've just been doing something
> wrong.
>

Hey Leif,

interesting issue. But looks like editable parameter is respected, if
you set it to "1", you can cut text, if it's set to "0", you can't.
Btw, entries are editable by default.

I guess it's an issue related to focus, and it exists on 1.7.x too.

> --
>
> Leif
>
> --
> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only - learn more at:
> http://p.sf.net/sfu/learnmore_122512
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>



-- 
Bruno Dilly
Lead Developer
ProFUSION embedded systems
http://profusion.mobi

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel