Questions tagged [development]

For questions about software development and related tools on elementary OS

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
231 views

Buttons' Look in a Gtk.MessageDialog

Elementary's human interface guidelines specify how dialogs should look: In Valadoc, there is a minimal example on how Gtk.MessageDialog is to be used: Gtk.MessageDialog msg = new Gtk.MessageDialog (...
2
votes
0answers
31 views

Can I use Pantheon-Files FileChooserDialog module from custom FileChooserDialog Object?

I want to use the new Pantheon-Files FileChooserDialog module, but it doesn't seem to work when creating my own widget based on Gtk.FileChooserDialog (like seen below). Is there anyway for me to be ...
2
votes
1answer
115 views

How to get a specific kernel sources?

I'd like to get the kernel sources related to my installed image. Currently I have the version 3.19.0-39 installed into my VM. When trying to get the sources, I searched into cache using apt-cache ...
1
vote
0answers
22 views

How to debug Gala and other system apps?

I see this other question on a debug workflow for app development. In it, the answer is to use printfs and viewing the printed data on a terminal, but I don't see how that's easy with things like Gala,...
1
vote
0answers
15 views

Build fails appcenter bot test

I recently switched over to elementary os and a friend told me about how easy it is to develop apps for the os. I switch over and the first thing i instantly miss is whatsapp. I use it daily for work ...
1
vote
0answers
41 views

wxPython TaskBarIcon fails on elementaryOS

In eOS 0.4 (Loki) the wxPython (3.0.2 gtk2 classic) wx.TaskBarIcon.IsAvailable() method returns False and of course ignoring this just results in no icon being shown. Is there a workaround for this or ...
0
votes
0answers
18 views

Publishing an app in AppCenter

I have some issue publishing my app in AppCenter. Is there any development channel (slack, discord, irc) related to AppCenter issues?
0
votes
2answers
79 views

Flatpak manifest for new apps?

Is Flatpak manifest file still needed for new apps? I read about it here: https://docs.elementary.io/develop/writing-apps/our-first-app/packaging but I also checked some Elementry OS apps sources on ...
0
votes
0answers
32 views

Deiconify app when custom shortcut is pressed

I set custom shortcut to my application I have been developing with gtkmm library. When I press CTRL+ALT+V my app is being opened [ok]. However when I minimize an app and then press shortcut once ...
0
votes
0answers
12 views

Draining Battery in Suspend Mode

On my laptop, I need to modify /etc/default/grub to avoid Draining Battery in Suspend Mode, like it is explain here : https://learnubuntumate.weebly.com/draining-battery.html On elementaryos 5.1.7 or ...
0
votes
0answers
9 views

Create list to be added in Gtk.ListBoxRow

I created a List using this code. Now when I try to access the elements of the list, the compiler displays this error: Can someone suggest how to solve this problem? This is how I try to access each ...
0
votes
0answers
12 views

Gtk grid inside another grid not visible on the main window

I made a separate file for all the labels to be used in the main window called Labels.vala This is the code inside that file: Now, when I try to add this class to a grid inside the main window, it ...
0
votes
0answers
21 views

How to update between early access nightlies?

I’m getting started with elementary OS on Raspberry Pi. I installed a nightly build a few days ago and would like to stay current by regularly updating to the latest nightly build. I couldn’t find ...
0
votes
0answers
11 views

HashMap not removing keys

I'm developing a simple chess game in vala (source code here) and i'm have some issues with removing keys from an HashMap. For the checkboard i'm using an HashMap with pair of Coordinate Object and ...
0
votes
0answers
12 views

Is it possible to make cross-platform apps that feel natural in elementary os?

I'd like to create an app for EOS but I don't want to target it alone. The best solution I've found is to use QT, but it appears that produces odd looking apps in EOS. Is there a way to have an app ...
0
votes
0answers
6 views

How to use Granite.SettingsSidebar?

I want to use the Granite.SettingsSidebar widget in my app. Can anyone teach me how to do it? I looked for tutorials and tips on the internet. I couldn't find any complete Vala tutorials so now I'm ...
0
votes
0answers
21 views

How can I make the HeaderBar invisible in an app?

I am learning to make apps for Elementary OS. I have a question, how do I make the HeaderBar invisible? I mean how I can I make an app like Planner by Alainm. As you can see in the picture, the ...
0
votes
2answers
147 views

What happened to the Elementary OS Discord server?

I have looked online and found the Elementary OS discord server but all the links say they are invalid.
0
votes
0answers
9 views

Developer Portal: Internal error while running

I am trying to get my application into review but the bot fails to run my app and all it does is tell me "Internal error while running". This is extremely frustrating because I have no idea ...
0
votes
0answers
44 views

How to use Math in Vala

I can't seem to get Math.floor to work in my code. I have glib-2.0 installed and tried linking it in the build statement. This is what happens when I build my app: /usr/bin/ld: /tmp/cc4KsgDT.o: ...
0
votes
1answer
115 views

GTK# Apps in the Store

Looking through the documentation on Houston and other questions here, it is a hard requirement that all apps be a native GTK application for hosting on the store. Does that extend to GTK# due to the ...