Et c'est parti... Ils vont foutre des éoliennes dans le village d'à côté. Les oiseaux vont en pâtir, les gens vont avoir une vue affreuse et ça va dévaloriser leur maison. Merci #Laval #LavalAglo
Déjà que la méthanisation ça passe mal...
@ebassi (no clear documentation about icon names. For colors it's very well documented)
@bob alors c'est un peu tordu mais tu as le droit de facturer les frais annexes, genre la mise à disposition, le support, ...
@ebassi to give some news. I finally found my way with lookup_color and lookup_icon based on adwaita names. There is no clear documentation but I now can apply a bit of styling from the current Gtk theme on Fyne apps.
That's only a "little" minimap, it takes more than 5 minutes to build... #cargo is my nightmare
Only trying "minimap" on neovim, made in #Rust... And everybody tells me that Rust is cool... I say, again, no it isn't. One more argument in the following image:
Sinon... #Brave intégré #Tor en navigation privée. C'est encore plus facile...
(Allez-y les trolls anti Chrome, lâchez vous)
https://korben.info/surfer-darkweb-tor.html
A step forward. Not that bad #Nvidia
Nvidia Releases Open-Source Linux GPU Drivers, With a Catch
https://www.howtogeek.com/805004/nvidia-releases-open-source-linux-gpu-drivers-with-a-catch/
@ebassi i only expect to be able to get the default font color and whatever I can get for the background of a basic window (the Css would be OK. The Css as string is enough) from a basic GTK.window. This to automatically replicate enough of the style to an app style which is not built in gtk.
@ebassi that returns default colors, not the colors that are defined in the currently used theme.
That was OK with GTK3 - a pitty
@ebassi that was, of course, a typo on my Android keyboard
@ebassi That's why get_style_context() was cool, I don't mind if the theme doesn't give a color, I just want to check it
@ebassi if the window element declares a "color" so I want to get it, either I've got an empty string and that's not a problem. I only need to get it, empty or not
@ebassi get_context isn't implemented in grk4. You said that I can use it with libawaita but... I don't find how at this time
@ebassi the goal is to "try" to get these information. If it fails I will use default colors of fyne.io API. If it works for "most people" installation... Maybe it can be enough...
But really, to help other graphic lib, getting a few color information from outside is very important.
@ebassi just in case, keep in mind that I love Gnome and I'm an happy user.
I will try to use libawaita to see what it provides. Thanks
@ebassi note that fyne apps has this problem only on Linux... Windows, osx, Android and iOS gives at least the dark/light information.
@ebassi as the fyne app is absolutely cross platform (even with android) and statically compiled, I need a way, even by command line, to get at least the 2 majors colors. GJS was enough (with get_context().get_background_color()) with a fake window. That was really enough even if it's not very efficient.
@ebassi the goal is to be able, from fyne app (in go) to get information about the current gnome theme colors. Not to get the Css file or attributes with inspector to create the theme by hand.
Machine Learning, DevOps, happy Linux user 🐧
Developing with Python, Golang, Julia, Typescript, C/C++… And Blender user !