右键GtkTreeView弹出菜单
先来看下右键弹出菜单的代码(这里不提供完整代码):1、g_signal_connect(G_OBJECT(tree), "button-release-event", G_CALLBACK(popmenu), NULL);以上是对GtkTreeView设置消息响应,其中tree是GtkTreeView。2、static voidpopmenu(GtkWidget *widget,