You have a #Gtk4 application, written in python with #PyGObject, which use a template to build a window.
If you define a callback in code but you do not use it in template, an exception is raised.
If you use a callback in template which is not defined in code, no errors are reported.
But.
CSS classes are not applied to widgets. 🤷
Look:
With the callback:
Without the callback:
I lost some good hours trying to find why my button was not styled.
#Gtk 4.16.5
like this
What's up at the Department of Unnecessary Projects #DepUnPr lately?
Here is Oliver ( #vala / #gtk4 / #libadwaita ) running on #osx (12.4, x86_64)
theme is WhiteSur; decoration layout forced in app (both just to make it blend a little more in osx); bundler script adapted from System76 Keyboard Configurator; #gtk4, #libadwaita via homebrew.
(I know: adwaita is a GNOME thing, custom themes are bad, it should be pure gtk etc etc ... , but I had it around and it was small enough for a test)
On a more useful note, while playing with this I've update Oliver interface and added some features and fixed some bugs. I could publish a new version soon.
I would like to release it as a #flatpak, but I'm not sure how to handle running php as as subprocess...
like this
As editor I've used VSCode which has plugins for vala, blueprint and meson language support, very nice.
As I said, I've adapted the script to bundle everything in a osx app from @System76 :popos: :ubuntu: repo (thank you :D). It supports also signing, but I don't have this need.
It was really a smooth experience. 👍
Confy 0.7.1
Tobias Bernard likes this.
New little toy project in #vala #gtk4 / #libadwaita : Oliver, a simple GUI for PHPStan.
Select a folder, it runs phpstan found in vendor/bin
subfolder, shows (searchable) results, monitors reported file for modification to automatically analyze project while coding.
It's called Oliver because, you know... Stan... Oliver...
Code here:
git.sr.ht/~fabrixxm/oliver
like this
reshared this
Got an icon. Yes, it looks like Tracker's icon, but look: the magnifying glass looks like a Q, with a text cursor. Because you can edit Queries... got it? Queries!
Ok.
No, still no repo. But now it uses GtkSourceView! How cool! 😎
like this
Confy 0.7.0
Confy 0.7.0 has been released
This is the first release with a brand new UI written in Gtk4/libadwaita, using Blueprint for UI definition!
User interaction has been revisited, while being mostly similar to the previous version: gone is the tab switcher in headbar, now starred talks can be found in navbar. Gone is also the map view (for now, at least).
Adding new conferences from URL is now done via a nice dialog, and editing of user-added conferences is done directly in the conference list view. Which is now a window by it's own, used as an "open" dialog.
There are some new shortcuts, like the "<primay>-c" shortcuts to copy the current talk details as plain text in clipboard.
The talk search can now be filtered to match only starred talks and there are two search "mode": the global search, activated by the button over in the navigation header and by the '<primary>-f' shortcut, and the "current list" search, which search in current talk list for
day/room/track.
I'm sure I'm missing something and I'm sure I've missed more than something testing this, so please open tickets on the tracker (tickets can be opened also via email just sending a text/plain
mail to ~fabrixxm/confy@todo.sr.ht or
u.fabrixxm.confy@todo.sr.ht)
There is also a fix from ~edwardbetts for events that are after UTC midnight. Thanks!
reshared this
#confy #gtk4 / #libadwaita branch wip/gtk4
has been merged into master
. It's not 100% at par in features with last gtk3 version, but it's usable.
like this
reshared this
this post is getting some attention lately.
Confy 0.7.0 has been finally released and it's available on flathub and in various repos
⛧Satanist⛧ likes this.
It's aliiiiveeee! (almost) #WiP #confy #gtk4 #libadwaita
Screenshots on last post where blueprint ui files made in Workbench, this is from the wip branch. 🚧👍
like this
reshared this
Elena ``of Valhalla'' likes this.
Nico Rikken likes this.
Confy - Conferences schedule viewer
Navigate conference schedules, mark favourite talks, get reminded when talks are coming up. Works offline, ready for mobilekirgroup.net
Fabio likes this.
Managed to spend some time on this.
#gtk4 #libadwaita #vala #pixelfed
WIP Gtk4/Libadwaita Pixelfed client
Now it loads real data from local json file (in this video, public timeline of posts tagged #shotonpinephone from mastodon.PeerTube Italia - Video Sharing in Creative Commons
like this
grinceur reshared this.
New #experiment
#gtk4 #libadwaita #vala #mockup
Gtk4 / LibAdwaita Pixelfed client mockup
An experiment in writing a fictional mobile-first pixelfed client in Gtk4 / LibAdwaitaPeerTube Italia - Video Sharing in Creative Commons
Vala likes this.
New experiment!
First experience with #gtk4, #libadwaita and #vala :
Appaya, to monitor and control Syncthing daemon (very much inspired by Syncthing Indicator Gnome Extension), obviously #WiP
like this
reshared this
Update! Now with 100% more info! and more buttons! (but not everything works so far).. And bigger headers!! (but I'm not sure about that)
Two columns on desktop, single column on mobile! wow!
And this is the "nice" icon: Appaya the Papaya
Elena ``of Valhalla'' likes this.
Profile13115 likes this.
Profile13115 reshared this.
nicoz :debian:
in reply to Fabio • • •