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

How to remove titlebar (use CSD) #105

Open
ashkan-o opened this issue Mar 10, 2022 · 4 comments
Open

How to remove titlebar (use CSD) #105

ashkan-o opened this issue Mar 10, 2022 · 4 comments

Comments

@ashkan-o
Copy link

Can I somehow hide title bar and use Client-Side Decorations for my window (on Linux)?

@nicklasfrahm
Copy link

You can achieve this if you create a GTK window first and then pass this to the create function as the second parameter.

@ashkan-o
Copy link
Author

I can't find anything about GTK in deno... Can you send a code example of what you said?

@nicklasfrahm
Copy link

In theory, the low-level Deno bindings support it to pass an unsafe window pointer as this part of the code shows.

It does however seem like the new Webview() constructor does not support this, as this part of the code shows.

I am unfortunately neither familiar with Deno or native C/C++ bindings. Thus, I am not aware if it is possible to use the low-level Deno bindings without using the new Webview() constructor.

The GTK window I mentioned would have to be created via native C/C++ bindings.

@justjosias could I get access to this repository or all repos in the org to have the ability to add or remove labels?

@justjosias
Copy link
Member

@nicklasfrahm Done! I've invited you to the organization and will add you to internal repos once you accept.

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

No branches or pull requests

3 participants