You are not logged in.
So this small vala program only prints nulls instead of the ibus engine names. But according to the documentation I believe this should work.
int main(string[] args)
{
var bus = new IBus.Bus();
if (!bus.is_connected())
{
return 0;
}
var enginelist = bus.list_engines();
foreach (var engine in enginelist)
{
if (engine == null)
print("null ");
else
print("%s\n", engine.get_name());
}
return 0;
}
Compile with valac --pkg ibus-1.0 test.vala
Last edited by Baraclese (2020-03-06 23:25:36)
Offline
This is a support board, so opening a thread presupposes the need for help. Please edit your thread title to actually describe your issue: https://wiki.archlinux.org/index.php/Co … ow_to_post
Offline