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

Conversation

@SebastianMeinberger
Copy link

I added the gtk::DrawingArea documentation up to the implemented structs but changed the example code from C++ to Rust. I added it here and not in the documentation itself because it gets overwritten there at each new release.

I added the gtk::DrawingArea documentation up to the implemented structs but changed the example code from C++ to Rust. I added it here and not in the documentation itself because it gets overwritten there at each new release.
&[("_Cancel", ResponseType::Cancel), ("_Open", ResponseType::Accept)]
);
```
# DrawingArea
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this line should should be switched with the next line iirc.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or removed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even better!

@EPashkin
Copy link
Member

@SebastianMeinberger Note that you can test result docs, if you locally replace gtk's dependency lgpl-docs with you version (git or even path) and run cargo doc --features "dox,embed-lgpl-docs"

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