On Tuesday, 13 February 2018 at 21:46:31 UTC, Stefan Koch wrote:
On Tuesday, 13 February 2018 at 14:10:44 UTC, number wrote:
Ok, thanks for the info. I guess I'll just use printf then for
larger enums.
To get the same convince you can use.
the enumToString from:
https://forum.dlang.org/post/p
On Tuesday, 13 February 2018 at 14:10:44 UTC, number wrote:
Ok, thanks for the info. I guess I'll just use printf then for
larger enums.
To get the same convince you can use.
the enumToString from:
https://forum.dlang.org/post/pnggoabnnkojdonyz...@forum.dlang.org
and writeln the result oft th
On Tuesday, 13 February 2018 at 12:32:58 UTC, Stefan Koch wrote:
On Tuesday, 13 February 2018 at 12:17:31 UTC, number wrote:
I just tried again.
compiling the following code eats up my 4GB of RAM and fails.
Please copy the enumeration
from:
https://github.com/gtkd-developers/GtkD/blob/master
On Tuesday, 13 February 2018 at 12:17:31 UTC, number wrote:
On Sunday, 11 February 2018 at 15:05:26 UTC, number wrote:
On Sunday, 11 February 2018 at 13:17:13 UTC, number wrote:
unable to fork: Cannot allocate memory
if i comment-out the line..
writeln(GdkKeysyms.GDK_Escape);
then it compiles
On Sunday, 11 February 2018 at 15:05:26 UTC, number wrote:
On Sunday, 11 February 2018 at 13:17:13 UTC, number wrote:
unable to fork: Cannot allocate memory
if i comment-out the line..
writeln(GdkKeysyms.GDK_Escape);
then it compiles/links/runs fine.
I just tried again.
compiling the follo
On Sunday, 11 February 2018 at 13:17:13 UTC, number wrote:
unable to fork: Cannot allocate memory
if i comment-out the line..
writeln(GdkKeysyms.GDK_Escape);
then it compiles/links/runs fine.
[...]
I actually want to close the application if escape key is
pressed with
if (eventKey.keyval ==
I get dmd ouput:
"unable to fork: Cannot allocate memory"
when compiling the following code:
import std.stdio;
import gio.Application : GioApplication = Application;
import gtk.Application;
import gtk.ApplicationWindow;
import gtk.Widget;
import gdk.Keysyms;
int main(string[] args)
{