diamondburned/gotk4

How to use window.SetTtitlebar

Closed this issue · 8 comments

Sorry, I'm new to go and can't find out how to complete the typecast.

image

The latest commit should have no issue with casting *gtk.HeaderBar to
gtk.Widgetter.

Your gotk4 might be too old.

I'm using836111b

Image

Does casting into *gtk.HeaderBar then manually passing in the .Widget
selector work?

After copying wrapWidget, it succeeded

After wrap functions exported 🤔

Seems there is a problem with Cast?


Does casting into *gtk.HeaderBar work?

Seems no problem with gtk/v4