complete some gui functions

complete some gui functions