Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: How to create a button to popup album list panel? (Read 1719 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to create a button to popup album list panel?

Good Morning!

I'm new to foobar and played around with it for a while. Yesterday i found that setup from toolej wich is really amazing. I succeed in adjusting it (you know, fonts, colors etc.), to suit my desktop style so far. There is a button in the toolbar, wich seems useless to me and i wanted to adjust the function, so it would open the album list panel. I tried a bit, asked google for documentations but found nothing. In fact, I'm not even sure what I should search for.

How can i make the button pop up my album list panel? I'd be glad if you can help with that, or tell me wich documentation i must read

The button I'm talking about is specified in in the .pui file. Here's the line:

Code: [Select]
$button($eval(%_width%-{20+{{16+$getpvar(toolbar.spacing)}*3}}),$get(toolbarposy),,,16,16,$getpvar(imgpathb)view-restore.png,,POPUP:toolejrawr04.pui,TOOLTIP:"Utility Window")


The album list panel I'm referring to is the foo_uie_albumlist.dll and can be found under preferences -> media library -> album list


Thanks for help in advance!



PS: Hope i posted in the right section!


//edit
Never thought it would be that easy, got it now.

Code: [Select]
$button($eval(%_width%-{20+{{16+$getpvar(toolbar.spacing)}*3}}),$get(toolbarposy),,,16,16,$getpvar(imgpathb)view-restore.png,,Library/Album List,TOOLTIP:"Utility Window")


Thanks anyway!