Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Add aliases for all types for their X11 protocol names #92

Open
Antikyth opened this issue Jan 23, 2023 · 0 comments
Open

Add aliases for all types for their X11 protocol names #92

Antikyth opened this issue Jan 23, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation task An essential task for a planned milestone.

Comments

@Antikyth
Copy link
Collaborator

A lot of types have been renamed in XRB for clarity, but people who are familiar with the existing names may find them hard to find. #[doc(alias = ...)] attributes can be added with the names people are familiar with.

For example (pseudocode)

// ... x11::event ...

derive_xrb! {
    #[doc(alias = "FocusOut")]
    pub struct Unfocus: Event(...) {
        ...
    }
}
@Antikyth Antikyth added documentation Improvements or additions to documentation task An essential task for a planned milestone. labels Jan 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation task An essential task for a planned milestone.
Projects
Status: Unassigned
Development

No branches or pull requests

1 participant