Gjsify LogoGjsify Logo

Index

Functions

  • Logs an error or debugging message.

    This is a convenience function to forward the #RetroCore::log signal of #RetroCore to g_log(), see it for more information.

    Parameters

    • sender: Retro.Core

      a #RetroCore

    • log_domain: string

      the log domain, usually #G_LOG_DOMAIN, or %NULL

    • log_level: LogLevelFlags

      the log level, either from #GLogLevelFlags or a user-defined level

    • message: string

      the message to log

    Returns void

  • pixbuf_get_aspect_ratio(pixbuf: Pixbuf): number
  • Gets the aspect ratio of pixbuf by reading the 'aspect-ratio' pixbuf option.

    Parameters

    Returns number

  • pixbuf_set_aspect_ratio(pixbuf: Pixbuf, aspect_ratio: number): void
  • Sets the aspect ratio of pixbuf by setting the 'aspect-ratio' pixbuf option. Use retro_pixbuf_get_aspect_ratio() to retrieve it.

    Parameters

    • pixbuf: Pixbuf

      a #GdkPixbuf

    • aspect_ratio: number

      the aspect ratio value

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method