func scrollToTop(sw gtki.ScrolledWindow) { adj := sw.GetVAdjustment() adj.SetValue(adj.GetLower()) }
func scrollToBottom(sw gtki.ScrolledWindow) { adj := sw.GetVAdjustment() adj.SetValue(adj.GetUpper() - adj.GetPageSize()) }