in reply to resolve current theme icon path
what perl do withit's slow and inadequateuse FreeDesktop::Icons; my $iconlib = new FreeDesktop::Icons; $iconlib->theme('WhiteSur-red'); $iconlib->size('16'); my $imagefile = $iconlib->get('xfsm-shutdown'); print $imagefile;
That module was first uploaded to CPAN in May. The author probably published it as soon as it met his needs. If you ask nicely, maybe he could help add a feature to do what you need, too.
If Python solves this with the Gtk 3 library, did you look at Perl's Gtk3 library?gi.require_version('Gtk', '3.0') from gi.repository import Gtk
I just need to embrace pythonDid you want help from perl people, or just irritate us?
Many perl module just fill up CPAN, and help little.This is true, and unfortunately it will never get better with the current design of CPAN where anyone can upload any module of any quality. One way to improve it is to find a module that does almost what you need, and politely send the author a request to add more features. You could even use Devel::NYTProf to find out why the module is slow, and send the author a patch to make it faster.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: resolve current theme icon path
by vincentaxhe (Scribe) on Sep 02, 2024 at 06:40 UTC | |
by NERDVANA (Priest) on Sep 02, 2024 at 08:02 UTC |