Questions tagged [gtk]
Use this tag for GTK and theming related issues
69 questions
1 vote
0 answers
39 views
Can I use Granite with the GTK Python Bindings
I was learning how to build a Gtk4 app in python (with this tutorial). And I was wondering, is it possible to use the granite library in a PyGTK4 app ? I am particularly interested in using the CSS ...
0 votes
1 answer
313 views
Why doesn't `env GTK_THEME=Adwaita` work in .desktop files?
It'll be no shock that some non-elementary OS apps don't look right with the default elementary OS theme. I understand that theming is a Hard Problem™. Sometimes buttons don't look like buttons, or ...
1 vote
0 answers
77 views
Is there a way to have wingpanel change to a different color when dark mode is enabled?
I'd like wingpanel to be a light blue when light mode is enabled and a dark blue when dark mode is enabled. I tried using different colors in ~/.config/gtk-3.0/gtk.css and ~/.config/gtk-3.0/gtk-dark....
1 vote
0 answers
257 views
Workaround: How to fix GTK theme issue installed from APT
I've installed Elementary Odin wanting to give the Elementary OS dark mode a try. I really liked the dark theme but was upset that when I installed a GTK application from APT not Flatpak it gives you ...
0 votes
1 answer
108 views
Unable to move Hdy.ApplicationWindow by dragging Hdy.HeaderBar in Vala
Trying to use libhandy and Hdy.ApplicationWindow instead of Gtk.ApplicationWindow in my vala based application made for elementary OS. My Problem While using Hdy.ApplicationWindow and Hdy.HeaderBar ...
0 votes
1 answer
50 views
Technical error while using Cairo
using Cairo ; using Gtk ; using GLib ; public class ClockWidget : DrawingArea { private Time time ; private int minute_offset ; private bool dragging ; public signal void ...
1 vote
1 answer
78 views
StackSIdebar is not visible
I used Gtk.StackSidebar to create a sidebar for an app that I am making. https://github.com/Suzie97/Project_X97, this is the link to my github repo. The sidebar is not correctly visible on the window. ...
0 votes
1 answer
336 views
gsettings schema isnt installed
I am learning to make apps for Elementary OS. I wrote my app it compiles well without any errors. But when I try to open the application, it displays a message stating gsettings schema isnt installed. ...
0 votes
1 answer
156 views
How to get GNU Emacs from Flathub work on elementary OS?
To avoid Emacs installed through AppCenter crashing on opening, solution was actually explained here. But AppCenter only offers Emacs25 so I installed Emacs27 through Flathub (built in AppCenter)... ...
1 vote
2 answers
240 views
GTK 3.22 migration of older gtk.css -> Black Margin on elementaryOS apps
I have a legacy gtk.css that was working fine on Ubuntu Xenial, I've just upgraded to Bionic (2018) and the same code now is not working anymore: $ cat .config/gtk-3.0/gtk.css .window-frame { box-...
1 vote
1 answer
68 views
How do I turn off the windows gradient? [SOLVED]
How do I turn off the gradient of the windows? Currently I am using the elementary-x (white version) theme and the gradient on the windows makes the close, minimise and maximise buttons to look kind ...
1 vote
1 answer
79 views
Breadcrumbs bar in file dialog not working
Some time ago a breadcrumbs path bar in all file dialogs in Pantheon (like “Open“ or “Save” dialog) stopped working. It displays a current folder right, but when I try to click on it to move, for ...
4 votes
2 answers
280 views
I want to add the listbox scroll fade effect in my app - how?
I am referring to the effect eg. the session indicator has or the keyboard language adder has. I'd prefer it with the responsiveness the session listbox has.
0 votes
1 answer
233 views
Can't make Gtk.TextView () fill whole parent Gtk.Box
Can't make Gtk.TextView () hexpand. Only expands to like 2/3 of parent and wraps words too early. Source: https://github.com/stsdc/monitor/blob/d3685a314712e263987da942724432c3469108e6/src/Widgets/...
2 votes
1 answer
135 views
I don't know what the problem is, but some apps look weird like this [SOLVED]
i've install audacity from flatpak source, and this happen... and install Telegram Desktop from flatpak, and this happen when browse files.. can anyone tell me what wrong?