Creating a GUI for MQLs in graphical mode. - page 4

 
Yuriy Asaulenko:

tkinter no longer rules. There's a very similar one in Python, but broader and with a modern Windows look. I don't remember how, but it's being touted everywhere as an alternative.

Tried it, but don't use it. It's easier to do everything in VS in C++/C#.

You don't even need to use C++, C# alone is enough.

 
Алексей Барбашин:

You don't even need to use C++, C# alone is enough.

Yes, of course. One or the other is added to taste). You can spice it up with Python or R.

 
Алексей Барбашин:

You don't even need to use C++, C# alone is enough

It's a matter of taste. Some people like C wrapped, others prefer pure C.

 
Алексей Барбашин:

You don't even need to use C++, C# is enough.

plugging C# dll into metatrader ?

monsieur knows how to make it twisted :-)

 
Maxim Kuznetsov:

Put a C# dll in the metatrader ?

monsieur knows how to make it twisted :-)

It's possible in principle (there's a left compiler that can do it). The question is, whether it is necessary? But if you really want to, you may.

 

OOO ! Just remembered !

there is a great thing - gtk-server http://www.gtk-server.org/

You can send text commands to it by piping (you can choose 3 or 4 ways) and get plain text replies. And it will draw the GUI :-)

It's a bull's-eye over the local stomping grounds - it's fully gtk2 after all (fix: 3rd one too...didn't know, haven't looked in a while) , even the xml from glade(https://glade.gnome.org/) should be able to understand it.

The idea is that it could easily be tamed to MT4/5, just how to run it correctly on a named channel and how to write/read it comfortably.

 
Yuriy Asaulenko:

In principle, it is possible (there is a left compiler that can do this). The question is, should it be? But if you really want to, you may.

Why lefty? All is done with internal VS means. There is the DllExport library in Nuget, which modifies the System.Runtime.InteropServices class in the assembly once and then everything compiles normally. So no tambourine dancing is required, no wrappers are required. Creating forms is much easier in c# than writing them in an additional file, as Maxim suggests. I respect Maxim and his work, but in this case the Net world is open to us without any additional difficulties.

 
Maxim Kuznetsov:

OOO ! Just remembered !

there's a great thing - gtk-server http://www.gtk-server.org/

You can send text commands to it by piping (you can choose 3 or 4 ways) and get plain text replies. And it will draw the GUI :-)

It is, after all, fully gtk2, even glade's xml(https://glade.gnome.org/) should be able to understand it.

The idea is that it could easily be tamed to MT4/5, just how to run it correctly on a named channel and how to write/read it comfortably.

What for? Write a 15 min DLL, and draw with your mouse in sharps.

 
Maxim Kuznetsov:

OOO ! That reminds me !

there's a great thing called gtk-server http://www.gtk-server.org/

You can send text commands to it by piping (you can choose between 3-4 ways) and get plain text replies. And it will draw the GUI :-)

It's a local effort like a sheep - after all, it's fully gtk2 (fix: 3rd too...didn't know, haven't looked in a while) , even the xml from glade(https://glade.gnome.org/) should be able to understand it.

The idea is that it could easily be tamed to MT4/5, just how to run it correctly on a named channel and how to write/read it comfortably.

Max, that's not constructive. Sometimes you do get carried away though...

 
Yuriy Asaulenko:

What for? Write a DLL in 15 minutes and draw yourself with a mouse in Sharp.

I don't know what for... honestly, I don't know :-) But people want to use a mouse to slap interfaces, they even started a topic

For my GUI I'm good enough with Tk, but when the speed is enough for "calculate something", then C/C++ which are friends with aforementioned tcl.

I just remember that there is such a thing, why not tell about its presence in the mortal world, maybe someone will find it useful

Reason: