Hi Raster, As you said if we pass the part name, used in layout directly in the API then we will need to maintain the part name and its label for theme hook purpose
which will updated in runtime. And, the proposed API is sufficient for setting a label to widget so existing API for the same can be deprecated. Please let me know whether my understanding is correct. Thanks, Prince -----Original Message----- From: Carsten Haitzler (The Rasterman) [mailto:ras...@rasterman.com] Sent: Thursday, March 10, 2011 3:59 PM To: prince.du...@samsung.com Cc: enlightenment-devel@lists.sourceforge.net Subject: Re: [E-devel] Need suggestion to support multiple text parts in elm_progressbar On Mon, 07 Mar 2011 16:25:58 +0000 (GMT) PRINCE KUMAR DUBEY <prince.du...@samsung.com> said: the general idea, i like, BUT... exposing the actual part name i don't. making multiple calls to set multiple defined/known labels that a style may or may not provide sounds good, but if you want to make this "pass in the part name directly" i'd prefer it 1. be done not for just progressbar but in general for all widgets - a bit like the signal emit thing is done. or 2. as above - specific known N elements provided by that widget. > Hi, > > I need additional Texts display ( marked as text1, text2, text3 ..). > Current progressbar supports only one label, but i need more than one > label (ref below fig.). > > > [cid:BSL8PYMC4CBB@namo.co.kr] > > Currently, we have an API elm_progressbar_label_set() which allows us to > set/get one text along with unit. > > > I have a suggestion, to introduce new api to set label for sytle specific > part, > > ex> elm_progressbar_sub_label_set( Evas_Object obj, const char* part_name, > const char* label ) > > Parameter part name can be named in std. way e.g. elm.text, elm.text.sub1, > elm.text.sub2..... > > > Your input is highly appreciated. > > > Regards, > > Prince Kr Dubey > > > > > [SeenTimeChecker? > do=efb2749dba5ad35f554175b1dd6ae4c18808ce7c2c034ea52f03c9b1 > 9f0b6f57ba777c355c197185c465c2cf80a2b7ef9aba4bb3b2b5ca43ddd7e184e0604d > 958075 b6b33f32d245b7f8aafe245478a5f1d21d5ebee74427cf878f9a26ce15a0] -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com [SeenTimeChecker?do=b0f0001462bf730ba6e14329b4cd4fc7d5e62ed572d35a452f03c9b1 9f0b6f57ba777c355c197185c465c2cf80a2b7ef9aba4bb3b2b5ca43ddd7e184e0604d958075 b6b33f32d245b7f8aafe245478a5f1d21d5ebee74427cf878f9a26ce15a0] ------------------------------------------------------------------------------ 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