// WindowSetDefaultIcon is a wrapper around gtk_window_set_default_icon(). func WindowSetDefaultIcon(icon *gdk.Pixbuf) { iconPtr := (*C.GdkPixbuf)(unsafe.Pointer(icon.Native())) C.gtk_window_set_default_icon(iconPtr) }
// SetLogo is a wrapper around gtk_about_dialog_set_logo(). func (v *AboutDialog) SetLogo(logo *gdk.Pixbuf) { logoPtr := (*C.GdkPixbuf)(unsafe.Pointer(logo.Native())) C.gtk_about_dialog_set_logo(v.native(), logoPtr) }
// SetIcon is a wrapper around gtk_window_set_icon(). func (v *Window) SetIcon(icon *gdk.Pixbuf) { iconPtr := (*C.GdkPixbuf)(unsafe.Pointer(icon.Native())) C.gtk_window_set_icon(v.native(), iconPtr) }