Hi All, I would like to add a point that I don't intend to modify the content part. Rather I am proposing to have two additional swallow parts for title and action areas.
So the existing functionalities and APIs will not get affected. We will get additional features to set the title and action areas if needed. Thanks. Regards, Rajeev ------- Original Message ------- Sender : RAJEEV RANJAN<rajee...@samsung.com> Lead Engineer/SISO-Linux Platform Lab/Samsung Electronics Date : Apr 27, 2011 12:31 (GMT+05:30) Title : Re: [E-devel] Proposal on extending elm_notify functionalities for having title support Hi all, Thanks for your valuable feedbacks. The change what I am proposing is in content part to have 2 optional parts viz. title-area and action-area. I was not proposing to change the existing APIs and the overall architecture will remain same. So there will be no issue to the existing application. This will give more flexibility to user and will allow to set title to the notify without need to create the overall content with title and action-area for each usage. Title and action area can be swallow parts(internal) as you rightly said which can have some size based on the style or zero size based on whether they are present or not. IMHO, this will not break the generic approach of having a generic content to the notify as this will be continued in the extended version as well with 2 additional optional parts viz. title and action areas. Please let me know your opinion on this. Regards, Rajeev ------- Original Message ------- Sender : Bruno Dilly<bdi...@profusion.mobi> Date : Apr 26, 2011 19:33 (GMT+05:30) Title : Re: [E-devel] Proposal on extending elm_notify functionalities for having title support On Tue, Apr 26, 2011 at 9:58 AM, Tom Hacohen wrote: > I don't think a new widget just for that is a good idea, why not just > create a different theme? Maybe it's not required. It will depends what is intended. Right now notify is designed the more generic way as possible: content is a swallow. So you can set any evas object you want, you can set a box with a title label, a description label, and how many buttons you want, or even better, you can set a elm_layout as content, and use a design more interesting than a box. Sure, you'll need a group for that, but it's up to your application. If you want to add these new parts to the widget theme, it can be done, but it will add complexity to all elementary themes and to the code that will need to be maintained. So before adding anything to the libs you should analyze if it's generic enough to be relevant. My 2 cents. > > -- > Tom. > > On Tue, 2011-04-26 at 14:47 +0200, Atton Jonathan wrote: >> hum. >> >> Maybe you should create a new widget which use elm_notify ? >> >> 2011/4/26 RAJEEV RANJAN >> >> > >> > Hi All, >> > >> > I am planning to use elm_notify which provides a nice functionality >> > for >> > showing alert message/important information on the screen. >> > >> > In addition to the existing functionalities, we need to have title >> > support >> > so that we can show the title to the notify if needed. >> > >> > >> > For this I am proposing following changes in the content part of Notify. >> > >> > Content ==> Title(optional) + Content + Action-area(optional) >> > >> > >> > Action-area can hold button item(s) in the current content region of >> > notify >> > and on clicking on these, user will be notified >> > >> > and can handle the event in the callback, say hiding of the notify and/or >> > doing some logic operations . This will enable to handle the action not >> > only >> > on blocked event area but to action area as well. >> > >> > User should be able to set new button items to action-area through API >> > like >> > [Evas_Object *elm_notify_action_area_button_add( notify, >> > button)]. >> > >> > Please let me know about your valuable opinion on this as whether >> > extending >> > elm_notify for this functionality is a good idea. >> > >> > Thanks. >> > >> > Regards, >> > >> > Rajeev >> > >> > >> > >> > >> > [SeenTimeChecker?do=9213de45efed55c3c2f82d733db96f82385dda2b8b7eb147f1d2345d >> > >> > 123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac66662d74ed859d628c32758 >> > cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0] >> > >> > ---------------------------------------------------------------------------- -- >> > WhatsUp Gold - Download Free Network Management Software >> > The most intuitive, comprehensive, and cost-effective network >> > management toolset available today. Delivers lowest initial >> > acquisition cost and overall TCO of any competing solution. >> > http://p.sf.net/sfu/whatsupgold-sd >> > _______________________________________________ >> > enlightenment-devel mailing list >> > enlightenment-devel@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > >> >> >> > > > > ---------------------------------------------------------------------------- -- > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > [SeenTimeChecker?do=9213de45efed55c3e7adddd7e891a221b77495cb0420798bf1d2345d 123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac66662d74ed859d628c32758 cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0] ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel