Re: starting with GUI

2013-05-01 Thread Carlos
On Tuesday, 30 April 2013 at 17:36:37 UTC, Carlos wrote: A wild guess: import gtk.Entry; Thank you I just did that some minutes ago ( a good guess ). Now I'm trying to work on the layout so I can finally enter in signals if that's how GTKD works. For anyone interested in what I'm doing here

Re: starting with GUI

2013-04-30 Thread Carlos
A wild guess: import gtk.Entry; Thank you I just did that some minutes ago ( a good guess ). Now I'm trying to work on the layout so I can finally enter in signals if that's how GTKD works.

Re: starting with GUI

2013-04-30 Thread anonymous
On Tuesday, 30 April 2013 at 17:03:07 UTC, Carlos wrote: I;m trying to add a Entry but I get the following error: "mywindow.d(12): Error: undefined identifier Entry" Here is my code : "window.add(new Entry("Minsit"));" I'm just guessing to see if everything is that simple. So I have to defin

Re: starting with GUI

2013-04-30 Thread Carlos
Another version of the CLI which tries to keep 1440 minutes for a complete day ( this is desired on the GUI ) is : " import std.stdio; import std.c.stdlib; void main() { immutable sitc = 1.66; immutable sleepc = 1.08; float tcsleep, tcsit, tc; int minsleep, minsit; write("Input minutes sit : \n"