Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MonoGame Gtk Platform #6378

Open
wants to merge 3 commits into
base: develop
from

Conversation

@cra0zy
Copy link
Member

cra0zy commented Jul 21, 2018

Gtk is a GUI toolkit, most commonly used on Linux, however it works on Windows and Mac as well.

This PR provides support for MonoGame to use Gtk GLArea widget for drawing.

Notes:

  • This does not use SDL, but does use the rest of DesktopGL backend

Try templates:

dotnet new -i MonoGame.Template.Gtk.CSharp

dotnet new mggtk
dotnet run
@cra0zy cra0zy force-pushed the cra0zy:gtk branch 2 times, most recently from 2333ab3 to 63ef605 Jul 21, 2018
@mrhelmut

This comment has been minimized.

Copy link
Contributor

mrhelmut commented Jul 22, 2018

How is this different from DesktopGL? Would this allow to use Gtk widgets on top of it to build cross-platform tools?

@cra0zy

This comment has been minimized.

Copy link
Member Author

cra0zy commented Jul 22, 2018

How is this different from DesktopGL? Would this allow to use Gtk widgets on top of it to build cross-platform tools?

This is meant to be used for cross platform tools, this does provide an easy to use Gtk widget that can be embedded into a Gtk application, DesktopGL platform can't be embedded into Gtk properly.

@mrhelmut

This comment has been minimized.

Copy link
Contributor

mrhelmut commented Jul 22, 2018

Sounds cool! I'll try this out, thanks!

@cra0zy

This comment has been minimized.

Copy link
Member Author

cra0zy commented Jul 22, 2018

@mrhelmut if you really wanna try it out, message me on discord and I'll explain it to you how it works.

@cra0zy cra0zy force-pushed the cra0zy:gtk branch from 63ef605 to bf36043 Jul 28, 2018
@MonoGame MonoGame deleted a comment Jul 29, 2018
@pchan3

This comment has been minimized.

Copy link

pchan3 commented Sep 7, 2018

I am also interested in this. May I have some documentation on how to use it?

@cra0zy

This comment has been minimized.

Copy link
Member Author

cra0zy commented Sep 7, 2018

@pchan3 Important question, do you want to try it from Linux or other OS?

@pchan3

This comment has been minimized.

Copy link

pchan3 commented Sep 7, 2018

@cra0zy I'm running Ubuntu. I was hoping this would solve my issues for building tooling, I'd rather keep away from Windows.

@cra0zy

This comment has been minimized.

Copy link
Member Author

cra0zy commented Sep 7, 2018

Perfect, because right now this only works on Linux, anyway join MG Discord server and we'll talk there (ping me once you join so I can find you): https://discord.gg/UmhhJHm

I'll be able to explain everything in about 3h.

@cra0zy cra0zy force-pushed the cra0zy:gtk branch from bf36043 to 2671e67 Sep 8, 2018
@cra0zy cra0zy force-pushed the cra0zy:gtk branch from 2671e67 to 3b33f4e Mar 26, 2019
@cra0zy cra0zy force-pushed the cra0zy:gtk branch from 34caa92 to 97d7d15 Apr 30, 2019
@SimonDarksideJ

This comment has been minimized.

Copy link
Contributor

SimonDarksideJ commented Oct 24, 2019

Do you have a more up to date Discord link @cra0zy ? the last one has expired

@cra0zy

This comment has been minimized.

Copy link
Member Author

cra0zy commented Oct 25, 2019

Of course: https://discord.gg/ct7GQgW

For a moment there I was happy thinking someone wanted to use the Gtk version 😭

@cra0zy cra0zy force-pushed the cra0zy:gtk branch 6 times, most recently from 87ae4f5 to 7b740c6 Nov 8, 2019
@cra0zy cra0zy force-pushed the cra0zy:gtk branch from 7b740c6 to 4817aca Nov 8, 2019
cra0zy added 2 commits Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.