A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged

2

A lovely application you built here, I particularly like the native indicator! Looking into your Application.css: .command_wrapper { background-color: #fdf6e3; border-radius: 3px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.20); padding: 5px; padding-right: 190px; } In ProcessInfoView.vala (58:59), ...


0

Two possible solutions: Boxing: IO? io { get; set; default = IO(); } Note the question mark. (Solution by David Hewitt) Removing get/set: IO io; (Solution by thalexander)


1

I think the issue is you are using a cast, try using io.wchar.to_string() [https://valadoc.org/glib-2.0/uint64.to_string.html] Edit: This worked for me based on your code, casting gave me a segfault. struct Monitor.IO { public uint64 wchar; } int main (string[] args) { Monitor.IO io = {}; io.wchar = 111111; warning (io.wchar.to_string ()); ...


Top 50 recent answers are included