Buttons and text in same widget #22

Closed
opened 2023-08-24 05:01:40 -04:00 by cuh7b5 · 4 comments
cuh7b5 commented 2023-08-24 05:01:40 -04:00 (Migrated from github.com)

Is there a way to use both buttons and texts (or tables) in the same widget?
Or can I create a meta widget containing my own scripts to mix different ui element types? I tried ui:build(table) but as I can see it only accepts some built-in widgets like 'battery' or 'ram'.

Is there a way to use both buttons and texts (or tables) in the same widget? Or can I create a meta widget containing my own scripts to mix different ui element types? I tried ui:build(table) but as I can see it only accepts some built-in widgets like 'battery' or 'ram'.
zobnin commented 2023-08-24 09:11:16 -04:00 (Migrated from github.com)

I gave up on this idea because it greatly complicated the API without giving much advantage. Perhaps, if you explain your task I will tell you how to solve it using standard APIs.

I gave up on this idea because it greatly complicated the API without giving much advantage. Perhaps, if you explain your task I will tell you how to solve it using standard APIs.
cuh7b5 commented 2023-08-24 12:00:16 -04:00 (Migrated from github.com)

I see. Thanks anyway for this great tool!
I wanted to create a script with media buttons to control my PC. I wanted to place a text beneath the button row showing what's playing. I use a button now with the text inside, this is ok.

I see. Thanks anyway for this great tool! I wanted to create a script with media buttons to control my PC. I wanted to place a text beneath the button row showing what's playing. I use a button now with the text inside, this is ok.
zobnin commented 2023-08-25 03:58:12 -04:00 (Migrated from github.com)

I will most likely add a more flexible way to create an UI in the future.

I will most likely add a more flexible way to create an UI in the future.
zobnin commented 2024-05-08 00:02:06 -04:00 (Migrated from github.com)

There is a Rich UI API now

There is a Rich UI API now
Sign in to join this conversation.
No description provided.