web engine - experimental web browser

AppKit window creation #4

open opened by pierrelf.com

Open a native macOS window using AppKit FFI.

Required:

  • NSApplication: sharedApplication, setActivationPolicy:, activateIgnoringOtherApps:, run
  • NSAutoreleasePool: alloc, init, drain
  • NSWindow: initWithContentRect:styleMask:backing:defer:, setTitle:, makeKeyAndOrderFront:, contentView
  • NSView: basic content view

Acceptance criteria:

  • cargo run -p we-browser opens a blank native macOS window
  • Window has a title bar and can be moved/resized
  • Closing the window terminates the app

Depends on: CoreFoundation bindings

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:meotu43t6usg4qdwzenk4s2t/sh.tangled.repo.issue/3mfkgyskt372x