我得到了这个代码,用于鼠标左键单击按钮,但我将如何使用鼠标右键单击信号:
g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(button-action), NULL);
c gtk
c ×1
gtk ×1