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

Suggestion/feature request: use dlopen() for GTK+ #102

Open
ell1e opened this issue Oct 4, 2021 · 0 comments
Open

Suggestion/feature request: use dlopen() for GTK+ #102

ell1e opened this issue Oct 4, 2021 · 0 comments

Comments

@ell1e
Copy link

ell1e commented Oct 4, 2021

The README suggests using GTK+ dialogs requires to link GTK+, which automatically makes a build unusable on Linux systems where it is installed. For greater versatility of the resulting binaries, wouldn't it be possible to require GTK+3 only at build time by using dlopen() and function pointers instead (and otherwise only its headers but no link) to access it? I think that'd be a great addition to allow more universal binaries. It would also allow the library to report some sort of recoverable error if neither GTK+ nor zenity are available, such that the calling program could possibly fall back to other alternatives if desired.

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

1 participant