Matteo Frigerio wrote:

>Hello,
>   i have a problem: i want to change the popup menu
>displaied by the GtkEntry with a my personal popup
>menu.
>
Connect handler to "populate_popup" GtkEntry signal. Your
callback will get the pointer to popup menu before it will be
shown, you can add everything you want there.

>
>How can i disable GtkEntry popupmenu ?
>
Create your own widget over the GtkEntry, handle button press event
(GDK_BUTTON_PRESS_MASK) and dont let original handler know
that 3d button was preseed :) Also you have to set to NULL *popup_menu*
field in GtkWidgetClass to disable menu popup at Shift+F10 or smth.

Olexiy


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to