GLib.ScannerConfig.scan_hex

ScannerConfig.scan_hex: Number(guint) (Read / Write)
  

specifies if hexadecimal numbers are recognized (the default is true).