Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

304
Vistas
Electron - How to detect maximize event?

I want to change maximize icon when the window is maximized.

How can i detect when the window maximized by double click on the title bar or by moving the window top of the screen.

Without running isMaximized() constantly.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can listen to the maximize or the enter-full-screen event on your current window. The difference is that maximize is called when window is maximized but the enter-full-screen is called when the user maximized the window. You can read more about these events here

mainWindow.on('maximize', () => {
    // do something
})

or

mainWindow.on('enter-full-screen', () => {
    // do something
})
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda