I put in a CONF_TYPE_INT and it appears but doesn't seem connected to anything. I'm not sure it goes with panel_config_int_button_new(), it almost looks like they were added at different times.
I've been adapting CPU Usage Monitor into a Bitcoin price monitor. I can manage to set the alpha on the price text layer so it doesn't obscure the price plot. I can hard-code it to 60% opacity or make it user-changeable. I don't want a new dialog box, I just want a new widget. This is what I get when I use
Code: Select all
_("Text alpha percent"), &dc->text_alpha,CONF_TYPE_INT,
Code: Select all
c->asb = panel_config_int_button_new(asbname, &c->text_alpha,0,100);