Skip to content

python-xlib doc seem incomplete? #295

Description

@zixgggg

except python xlib manual seem have no doc or tutorial on web.
for example I want to know the method and property under display.Display.screen() like screen.root.grab_key(i saw them in tinywm py code) so I read python-xlib doc ,but python-xlib doc content is too few,even it not mention about any api reference

If you try pydoc or dir(), help() this is the output:

uv run python -m pydoc Xlib.display.Display.screen

Help on function screen in Xlib.display.Display:

Xlib.display.Display.screen = screen(self, sno=None)

help(Display.screen):

Help on function screen in module Xlib.display:

screen(self, sno=None)

Where are the method and property go (like screen.root and screen.root.grab_key...)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions