Hello! John Whitmore has written on Sunday, 26 July, at 9:50: >I recently asked a question about a Network Status plugin, but I've been >meaning to write my own plugin for something completely different, for a while >and only really getting started now.
>I've followed the instructions [1] but that has raised more questions then >it's answered. >I'm on Arch Linux on a RaspberryPi and to play with my new panel plugin I >created a new panel on the top of the screen so I'm not messing with the >existing panel on the bottom with all the default plugins in place. Problem >with that was that as soon as I executed the command "lxpanelctl restart" as >suggested in [1] it destroyed the bottom, existing, panel for it never to >return. I might have to re-install Arch on the SD card again, to get it back. That is pretty much strange. Restarting the panel should just stop current panel and start new one with existing configuration, so either bottom panel configuration file was deleted, or it was badly damaged. >In the mean time I'm happy to keep playing with one panel on top to fine tune >my new plugin. >Another question there is that [1] has added text "TP-1" to the panel plugin >but that text is not showing up for me :-( Not sure where to start. Might have >to read a whole volume on GTK Development. >The last question would be how does that plugin get updated? I can't see any >mechanism to update the status of the displayed info. I really want to use >this plugin to display the status of a connected device. So A Daemon, probably >python, would monitor the device and notify the plugin of changes in >status. What would be used there? DBus to talk to the panel plugin? But how do >you get the plugin to check every few seconds? The simplest advice for you would be to read code of existing plugins in the lxpanel sources. There is no common answer to your question, you should develop your way to update status. With best regards, Andriy. ------------------------------------------------------------------------------ _______________________________________________ Lxde-list mailing list Lxde-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxde-list