تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3553 أدوات العرض

Hi,

I want to apply different icons based on state. Can I do it ?

For example:

<button name="action" type="action" icon="gtk-go-forward-red" string="Schedule" states='draft'/>
<button name="action" type="action" icon="gtk-go-forward-green" string="Schedule" states='confirm'/>

In this , I have added 2 buttons that means 2 columns in tree view. Where I want to apply the button based on state only in single column. Is it possible?

الصورة الرمزية
إهمال

Can you be more specific? Can an icon be applied to ...? ... based on the state of ...?

الكاتب

I have updated my question. Have a look.