pytgl: Add more C methods to TglState class