[gtkada] Context popup menu from a clist widget

Emmanuel Briot briot at ACT-Europe.FR
Thu Apr 25 11:10:02 CEST 2002


"Ebert, Rolf" <ebert at bms.de> writes:

> Has anybody succeeded in putting a context menu on a clist widget?

Yes

> I currently try to follow the example given in documentation/contextual.adb.
> But whenever I click (left or right mouse button) I get a segmentation
> fault.  The backtrace in gdb is not really helpful as it shows 10 or 15
> lines of question marks, only the toplevel main (C) and Ada main program are
> correctly listed.
> 
> I can send code, if anybody cares.

Yes, it would be helpful. Please try to extract only the relevant part (widget
creation, callbacks setting, and handler)

Emmanuel




More information about the gtkada mailing list