public static int main(string[] args){
Gtk.init(ref args);
- stdout.printf("Hello\n");
- foreach (string arg in args)
- stdout.printf("arg %s\n", arg);
#if OS_WIN32
// Force specific theme settings on Windows without requiring a gtkrc file
try
{
#if OS_WIN32
-print("Windows\n");
string? base_path = g_win32_get_package_installation_directory_of_module (null);
// Hack to allow running within the source tree
return new Gdk.Pixbuf.from_file_at_size (filename, size, size);
#else
-print("Linux\n");
var icon_theme = Gtk.IconTheme.get_default ();
return icon_theme.load_icon (name, size, Gtk.IconLookupFlags.FORCE_SIZE);
#endif