From: Tom H. <tom...@pa...> - 2011-04-26 14:06:25
|
That's even better. On Tue, 2011-04-26 at 11:03 -0300, Bruno Dilly wrote: > On Tue, Apr 26, 2011 at 9:58 AM, Tom Hacohen > <tom...@pa...> 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 <raj...@sa...> > >> > >> > > >> > 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(<Evas_Object*> notify, > >> > <Evas_Object*>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 > >> > enl...@li... > >> > 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 > > enl...@li... > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > |