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

GTK tutorial missing with the new design #220

Open
alixinne opened this issue Jun 11, 2021 · 5 comments
Open

GTK tutorial missing with the new design #220

alixinne opened this issue Jun 11, 2021 · 5 comments

Comments

@alixinne
Copy link

The old design (before #205) used to feature a tutorial for GTK 3 users, including instructions for cross-compilation and various other details about how Rust wraps GTK.

This tutorial is referenced from various places, like the GTK 3 crate README for example (https://crates.io/crates/gtk), this link being currently broken.

Since GTK 4 isn't released, and the online book mentioned on the homepage doesn't cover the same topics, shouldn't the tutorial be kept online until new resources cover the same subjects or more?

Link to the old tutorial in case people visiting this issue need it: https://github.com/gtk-rs/gtk-rs.github.io/tree/617a9f8fb44f7fb0d338b4a6f4703815e7ea66a0/docs-src/tutorial

@GuillaumeGomez
Copy link
Member

The tutorial to generate a binding using gir is also missing. I don't remember what we said about that either...

cc @sophie-h

@sophie-h
Copy link
Contributor

sophie-h commented Jun 11, 2021

I'm not responsible but iirc

  • The windows part was broken and @Hofer-Julian wanted add a chapter in the book.
  • The gir part should probably move to the gir project @bilelmoussaoui?
  • Everything else probably belongs into the docs. Would be nice if someone checks what is not covered in the docs but in the tutorials.
  • Also we could just grep through the docs (current and old) to find broken gtk-rs.org links.

Apologies for the chaos @vtavernier. Every help is appreciated.

@Hofer-Julian
Copy link
Contributor

The windows part was broken and @Hofer-Julian wanted add a chapter in the book.

I've halted the work on the docker approach, since gtk4 for mingw64 is not packaged yet for fedora.
I don't think we have anything reliable until that works.

The tutorial to generate a binding using gir is also missing.

Here we agreed that most of gir's README and the gir tutorial should be moved to a dedicated mdbook
@bilelmoussaoui

@bilelmoussaoui
Copy link
Member

I will move the gir tutorial to a mdbook hosted on gir repository sometimes next week.

@soulflyman
Copy link

I'm too missing the instructions on how to setup up a working environment in windows like the old one here or the new one for gtk4 here.
I think this should be at least linked in some FAQ section on the page.

Also would it be nice to have back the basic explanation of the closures in the FAQ or tutorial section to understand what clone! does and that it exists. This is a important knowledge bit for begginers.

And I think the old glade tutorial was important too

And this one is also good to know when you start with gtk-rs

Maybe this is already covered by some documentation of gtk-rs itself, but when you are starting you first gtk-rs project it would be nice if the website, as the entry point, would take care of you and show you how to start and lead you to deeper knowledge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants