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

Remove cog_platform_init_web_view() from the API #678

Open
aperezdc opened this issue Nov 27, 2023 · 0 comments
Open

Remove cog_platform_init_web_view() from the API #678

aperezdc opened this issue Nov 27, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@aperezdc
Copy link
Member

aperezdc commented Nov 27, 2023

Having to call cog_platform_init_web_view() by hand is annoying. I'm sure we can change it in the future, we can add a CogView:viewport property (most of the code is already there) and then view code that needs late initialization when the view is known to have a viewport assigned can monitor the property. Currently what the x11, drm, and gtk4 plug-ins do is that (late initializations) or other configurations which could be moved to the GObject.constructed virtual function.

Anyway, this is not something we need to change now, I am writing my thoughts here so we can add an issue and make a patch later.

Originally posted by @aperezdc in #675 (comment)

@aperezdc aperezdc self-assigned this Nov 27, 2023
@aperezdc aperezdc added the enhancement New feature or request label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant