Function

Gdk-3.0Gdkatom_intern

  • Finds or creates an atom corresponding to a given string.

    Parameters

    • atom_name: string

      a string.

    • only_if_exists: boolean

      if true, GDK is allowed to not create a new atom, but just return GDK_NONE if the requested atom doesn’t already exists. Currently, the flag is ignored, since checking the existance of an atom is as expensive as creating it.

    Returns Gdk.Atom

    the atom corresponding to atom_name.