Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Add a reference document of all examples with screenshots #333

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add a reference document of all examples with screenshots #333

wants to merge 1 commit into from

Conversation

Narann
Copy link

@Narann Narann commented Oct 9, 2020

I think examples should provide screenshots to help newcomers to find in which example he should invest time. I understand some examples doesn't really need a screenshot, but I find them more engaging and they would have help me to find what I was trying to do (widget layout).

So here is this PR, it add screenshots with a reference.md document containing all the example with screenshot and tiny description. And a link to this document from the main README.md.

Screenshots generated with Xfce 4.12 "Default" style theme and apparence style "Xfce-4.6". PNG optimized with with optipng for a total of 323 KB.

Hope you will merge it and help newcomers.

Generated with Xfce 4.12 "Default" style theme and apparence style "Xfce-4.6"
@Narann
Copy link
Author

Narann commented Oct 9, 2020

The reference document result is visible on my fork: https://github.com/Narann/examples/blob/master/reference.md

Hope you like. :)

@ZanderBrown
Copy link

Any such screenshots should really present Gtk in as "stock" a way as possible, custom (xfce?) decorations without shadows don't really do that

Fedora or GNOME OS might be better for taking such screenshots

(side note: looks like some of the examples could be improved a tad)

@Narann
Copy link
Author

Narann commented Oct 9, 2020

I agree, but I had no stock Gtk available.

I still think it's better than nothing. At least, you see what the examples are supposed to show. Better screenshots could be be made later.

@Narann
Copy link
Author

Narann commented Feb 22, 2021

I don't know if this is related: https://nivethan.dev/devlog/rust-gtk-examples-images.html

@sdroege
Copy link
Member

sdroege commented Feb 22, 2021

That would be great to integrate, yes. The new location of this repository is at https://github.com/gtk-rs/gtk-rs/ though.

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

Successfully merging this pull request may close these issues.

3 participants