I have a need to draw custom objects with gtkD, is this possible?
I see that with drawing area one can use cario, and it seems that
gtkD supports this. I'd rather use openGL if possible. I see
there is a gtkDGL but no reference to how to use it.
I need pretty simple drawing stuff... lines, ico
Ok, Using msys I was able to get glade 3.20 running. Maybe that
will fix everything.
On Tuesday, 1 August 2017 at 20:18:19 UTC, Mike Wey wrote:
On 01-08-17 21:44, Johnson Jones wrote:
On Tuesday, 1 August 2017 at 15:20:08 UTC, Mike Wey wrote:
On 01-08-17 05:53, Johnson Jones wrote:
GtkD is currently based on GTK 3 the properties it complains
about were removed in GTK 3.0.
On Tuesday, 1 August 2017 at 01:12:28 UTC, Jeremy DeHaan wrote:
I got an error today because I added deprecated to an enum
member.
Is there a way to achieve this, or am I out of luck? If it
isn't doable, should it be?
Here's what I want:
[...]
It's a bug [1].
[1] https://issues.dlang.org
On Tuesday, 1 August 2017 at 22:47:24 UTC, Nordlöw wrote:
Given the `struct S` with lots of data fields, I've written the
following functional way of initializing only a subset of the
members in an instance of `S`:
struct S
{
[...]
}
Now the question becomes: will the S-copying inside `wi
On Tue, Aug 01, 2017 at 07:31:41PM -0400, Steven Schveighoffer via
Digitalmars-d-learn wrote:
> On 8/1/17 7:15 PM, H. S. Teoh via Digitalmars-d-learn wrote:
> > On Tue, Aug 01, 2017 at 07:09:45PM -0400, Steven Schveighoffer via
> > Digitalmars-d-learn wrote:
> > > If this were a true implementati
On 8/1/17 7:15 PM, H. S. Teoh via Digitalmars-d-learn wrote:
On Tue, Aug 01, 2017 at 07:09:45PM -0400, Steven Schveighoffer via
Digitalmars-d-learn wrote:
If this were a true implementation without the opaqueness, it would
not work properly.
[...]
Actually, a proper implementation would still
On Tuesday, 1 August 2017 at 02:06:27 UTC, dark777 wrote:
I did as follows using deprecated may help you to elucidate in
relation to this
https://pastebin.com/NEHtWiGx
Deprecating an entire module isn't really a solution though. I
only want parts of an existing enum to be deprecated when they
On Tue, Aug 01, 2017 at 07:09:45PM -0400, Steven Schveighoffer via
Digitalmars-d-learn wrote:
> On 8/1/17 6:50 PM, H. S. Teoh via Digitalmars-d-learn wrote:
[...]
> > Actually, there's nothing about the implementation of both
> > byKeyValue (the underlying implementation in druntime) and byPair in
On 8/1/17 6:50 PM, H. S. Teoh via Digitalmars-d-learn wrote:
On Tue, Aug 01, 2017 at 10:04:18AM -0400, Steven Schveighoffer via
Digitalmars-d-learn wrote:
On 7/30/17 12:19 AM, Matthew Gamble wrote:
[...]
import std.array;
import std.algorithm;
class A
{
this() { aa = ["a":1, "b" : 2, "
On Tue, Aug 01, 2017 at 10:04:18AM -0400, Steven Schveighoffer via
Digitalmars-d-learn wrote:
> On 7/30/17 12:19 AM, Matthew Gamble wrote:
[...]
> > import std.array;
> > import std.algorithm;
> >
> > class A
> > {
> > this() { aa = ["a":1, "b" : 2, "c" : 3]; }
> > auto pairs() @propert
On Tuesday, 1 August 2017 at 21:03:44 UTC, Mike Wey wrote:
On 01-08-17 22:16, Johnson Jones wrote:
nvm, the file exists. Why it is not being found is unknown.
I did some stuff and it says it is not a valid win32, this is
using that gtk3 runtime I linked to... says it's x64 version
but probab
Given the `struct S` with lots of data fields, I've written the
following functional way of initializing only a subset of the
members in an instance of `S`:
struct S
{
int i;
float f;
...
this(int i) { this.i = i; }
S withF(float f)
{
// will this be optimized
On 01-08-17 22:16, Johnson Jones wrote:
nvm, the file exists. Why it is not being found is unknown.
I did some stuff and it says it is not a valid win32, this is using that
gtk3 runtime I linked to... says it's x64 version but probably x86.
Would be nice if the error message printed the full
So, The error I currently get is
object.Exception@generated\gtkd\gtkd\Loader.d(125): Library load
failed (libgdk-3-0x64.dll): is not a valid Win32 application.
and libgdk-3-0x64.dll was libgdk-3-0.dll from the 64-bit gtk
package. (I simply added the extension)... the package downloaded
from
On 01-08-17 21:44, Johnson Jones wrote:
On Tuesday, 1 August 2017 at 15:20:08 UTC, Mike Wey wrote:
On 01-08-17 05:53, Johnson Jones wrote:
GtkD is currently based on GTK 3 the properties it complains about
were removed in GTK 3.0.
Which version of glade are you using?
The latest: Glade
nvm, the file exists. Why it is not being found is unknown.
I did some stuff and it says it is not a valid win32, this is
using that gtk3 runtime I linked to... says it's x64 version but
probably x86.
Would be nice if the error message printed the full path of what
was being loaded so it's
On Tuesday, 1 August 2017 at 15:14:50 UTC, Mike Wey wrote:
On 01-08-17 01:37, Johnson Jones wrote:
So, the question is, is this a gtkd problem or a gtk problem?
In either case, what's the way to get them both to work. Do
you guys actually test out both versions installed on the same
system?
On Tuesday, 1 August 2017 at 15:20:08 UTC, Mike Wey wrote:
On 01-08-17 05:53, Johnson Jones wrote:
GtkD is currently based on GTK 3 the properties it complains
about were removed in GTK 3.0.
Which version of glade are you using?
The latest: Glade 3.8.5
On Tuesday, 1 August 2017 at 16:20:07 UTC, Stefan Koch wrote:
On Tuesday, 1 August 2017 at 16:16:46 UTC, 12345swordy wrote:
I don't see this anywhere in the documentation. I am asking
this as I want to know that it's possible to create a
attribute to prevent certain functions being called in th
On Tuesday, 1 August 2017 at 16:16:46 UTC, 12345swordy wrote:
I don't see this anywhere in the documentation. I am asking
this as I want to know that it's possible to create a attribute
to prevent certain functions being called in the body of a
function. To enforce a certain code standard upon
I don't see this anywhere in the documentation. I am asking this
as I want to know that it's possible to create a attribute to
prevent certain functions being called in the body of a function.
To enforce a certain code standard upon myself.
On Tuesday, 1 August 2017 at 15:18:12 UTC, ashit wrote:
i couldn't set control's width and height (Button widget) shows
error. maybe it works a different way.
1. Try layoutHeight/width. Remember to set it for the main widget
too, not just the children of it.
2. DlangUI is not intended to def
On Tuesday, 1 August 2017 at 14:57:50 UTC, JamesD wrote:
On Tuesday, 1 August 2017 at 09:31:32 UTC, ashit wrote:
what is the simplest library to create gui applications in D?
i want to create gui applications but couldnt configure the
tools so far.
[snip]
I recommend you check out the D widge
On Tuesday, 1 August 2017 at 15:16:44 UTC, Vladimir Panteleev
wrote:
Sorry, isn't that how things work now?
For modules, yes. For packages, no. That inconsistency is what I
want to change.
So since we have a package here and the compiler doesn't allow
you to define a package in the existing
On Tuesday, 1 August 2017 at 10:09:56 UTC, Russel Winder wrote:
I use GtkD (with GStreamerD) for my GUI applications written in
D.
https://gtkd.org/
thank you Russel.
i have tried to config that several months ago, but no luck.
i should try that once again.
On 01-08-17 05:53, Johnson Jones wrote:
GtkD is currently based on GTK 3 the properties it complains about were
removed in GTK 3.0.
Which version of glade are you using?
--
Mike Wey
On Tuesday, 1 August 2017 at 09:44:48 UTC, ketmar wrote:
ashit wrote:
[...]
Adam Ruppe has minigui in his arsd[0] repo. and minigui_xml to
make interface creation easier. it is not really
well-documented yet, tho, so you will prolly have to figure
some things on your own.
[0] https://git
On Tuesday, 1 August 2017 at 14:29:28 UTC, Adam D. Ruppe wrote:
So we can keep the search path: `datetime.di`, then
`datetime.d`, then `datetime/package.d`, and any one of them,
as long as it has `module std.datetime;` at the top, can count
equally as the package.d.
Sorry, isn't that how thin
On Tuesday, 1 August 2017 at 09:39:36 UTC, Daniel Kozak wrote:
https://www.youtube.com/watch?v=5eUL8Z9AFW0
https://github.com/buggins/dlangui
thank you Daniel.
i have tried Dlangui previously and had no luck. but this time i
could successfully compile my first app. now, i can say level
zero
On 01-08-17 01:37, Johnson Jones wrote:
So, the question is, is this a gtkd problem or a gtk problem? In either
case, what's the way to get them both to work. Do you guys actually test
out both versions installed on the same system?
Gtk also loads some of it's own libraries at start up wit
On 8/1/17 10:29 AM, Adam D. Ruppe wrote:
On Tuesday, 1 August 2017 at 14:20:00 UTC, Steven Schveighoffer wrote:
But the fix here is to fix the bizarre package.d design. Don't break
the zip for cases like mine where adding files is a key feature of it.
How should it be fixed?
Well, my prefere
On Tuesday, 1 August 2017 at 09:31:32 UTC, ashit wrote:
what is the simplest library to create gui applications in D?
i want to create gui applications but couldnt configure the
tools so far.
[snip]
I recommend you check out the D widget toolkit (DWT).
DWT is a library for creating cross-platf
On Tuesday, 1 August 2017 at 14:20:00 UTC, Steven Schveighoffer
wrote:
But the fix here is to fix the bizarre package.d design. Don't
break the zip for cases like mine where adding files is a key
feature of it.
How should it be fixed?
Well, my preference would be to treat it just like any ot
On Tuesday, 1 August 2017 at 14:14:57 UTC, Steven Schveighoffer
wrote:
On 8/1/17 10:14 AM, Steven Schveighoffer wrote:
On 7/30/17 1:02 PM, Jshah wrote:
On Sunday, 30 July 2017 at 16:39:05 UTC, Jshah wrote:
Hi
I am new to D writing a web service with vibe.
My webservice connect to mysql and r
On 7/29/17 3:51 PM, Adam D. Ruppe wrote:
But the fix here is to fix the bizarre package.d design. Don't break the
zip for cases like mine where adding files is a key feature of it.
How should it be fixed?
-Steve
On 8/1/17 10:14 AM, Steven Schveighoffer wrote:
On 7/30/17 1:02 PM, Jshah wrote:
On Sunday, 30 July 2017 at 16:39:05 UTC, Jshah wrote:
Hi
I am new to D writing a web service with vibe.
My webservice connect to mysql and return the result
as JSON.
How do I convert resultset to Array of Associ
On 7/30/17 1:02 PM, Jshah wrote:
On Sunday, 30 July 2017 at 16:39:05 UTC, Jshah wrote:
Hi
I am new to D writing a web service with vibe.
My webservice connect to mysql and return the result
as JSON.
How do I convert resultset to Array of Associated Array
[["col1" : value, "col2" : value], ...
On 7/30/17 12:19 AM, Matthew Gamble wrote:
I have a class member function from which I'm trying to return a sorted
array of key, value tuples stored in an associative array as a private
member. The member function should be able to be marked const to prevent
the AA from being modified. I have r
On 01/08/2017 11:27 AM, Domain wrote:
On Tuesday, 1 August 2017 at 09:06:39 UTC, rikki cattermole wrote:
On 01/08/2017 9:28 AM, Domain wrote:
I want to redirect the sharedLog to my logger in one dll, and all
dlls will use the new one. What should I do?
sharedLog = new MyLogger(); // this will
On Tuesday, 1 August 2017 at 09:06:39 UTC, rikki cattermole wrote:
On 01/08/2017 9:28 AM, Domain wrote:
I want to redirect the sharedLog to my logger in one dll, and
all dlls will use the new one. What should I do?
sharedLog = new MyLogger(); // this will not change the logger
in other dll
I use GtkD (with GStreamerD) for my GUI applications written in D.
https://gtkd.org/
On Tue, 2017-08-01 at 09:31 +, ashit via Digitalmars-d-learn wrote:
> what is the simplest library to create gui applications in D?
> i want to create gui applications but couldnt configure the tools
> so fa
ashit wrote:
what is the simplest library to create gui applications in D?
i want to create gui applications but couldnt configure the tools so far.
i tried to install DFL several times, but it shows some errors while
installing (that bold red lables showing : depreacated, depreacated, ... )
https://www.youtube.com/watch?v=5eUL8Z9AFW0
https://github.com/buggins/dlangui
On Tue, Aug 1, 2017 at 11:31 AM, ashit via Digitalmars-d-learn <
digitalmars-d-learn@puremagic.com> wrote:
> what is the simplest library to create gui applications in D?
> i want to create gui applications but couldn
what is the simplest library to create gui applications in D?
i want to create gui applications but couldnt configure the tools
so far.
i tried to install DFL several times, but it shows some errors
while installing (that bold red lables showing : depreacated,
depreacated, ... )
i dont need t
On 01/08/2017 9:28 AM, Domain wrote:
I want to redirect the sharedLog to my logger in one dll, and all dlls
will use the new one. What should I do?
sharedLog = new MyLogger(); // this will not change the logger in other dll
You said the magic phrase, DLL.
Can't share e.g. classes between dll
I want to redirect the sharedLog to my logger in one dll, and all
dlls will use the new one. What should I do?
sharedLog = new MyLogger(); // this will not change the logger in
other dll
47 matches
Mail list logo