From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5bddcaa4ae64b29d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-20 03:30:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!jussieu.fr!cnam.fr!not-for-mail From: Sami Evangelista Newsgroups: comp.lang.ada Subject: gtkada Date: Fri, 20 Sep 2002 12:30:44 +0200 Organization: Conservatoire National des Arts et Metiers Message-ID: <3D8AF8D4.7090800@wanadoo.fr> NNTP-Posting-Host: lmi14.cnam.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: kelvin.cnam.fr 1032517649 19500 163.173.228.14 (20 Sep 2002 10:27:29 GMT) X-Complaints-To: usenet@news.cnam.fr NNTP-Posting-Date: 20 Sep 2002 10:27:29 GMT User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 X-Accept-Language: en-us Xref: archiver1.google.com comp.lang.ada:29210 Date: 2002-09-20T10:27:29+00:00 List-Id: hello is it possible to connect a handler to a drawing_area when the user click on this drawing area. I have tried to connect my handler to the "button_press" signal of the Gtk_Drawing_Area like this : --------------------------------------------------------- Widget_Cb.Connect(Gtk_Widget(Current_Da), "button_press", Widget_Cb.To_Marshaller(On_Sub_Net_Button_Press'Access)); --------------------------------------------------------- it compiles well but at the execution the follwing error occurs : --------------------------------------------------------- Gtk-WARNING **: gtk_signal_connect_full(): could not find signal "button_press" in the `GtkDrawingArea' class ancestry --------------------------------------------------------- thanks for any help Sami Evangelista