gtk3 - Does python gtk vte have a way to populate a dropdown menu? -
edit: looks im_append_menuitems not function popup menu. vte inherits gtk.widget way menu connect right mouse click , generate custom menu. , if works answer.
i'm using gtk3 python.
when opening vte window created in python gtk can normal things 1 expect terminal except right click dropdown menu.
in c documentation there's vte_terminal_im_append_menuitems ().
i haven't tried yet because requires gtkmenushell , i've used gtkmenu. might have trouble using it.
the documentation isn't best edge cases, , i'm using python doesn't have bindings made right. of abstract gtk classes i've tried in python have given me trouble too.
i'm wondering if there easier way gtkmenushell.
if not example of gtkmenushell help.
in meantime i'm going try on own. if come code i'll post answer.
Comments
Post a Comment