From: Stalkern 2 Reply-To: stalkern2 at tin.it To: lablgtk at kaba.or.jp Subject: About automatic column sorting and right-click detection Date: Wed, 17 Dec 2003 11:32:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312171132.49128.stalkern2 at tin.it> Hello to everybody I'm porting lablgtk to lablgtk2 and it's definitely a pleasant activity. I find that the "Model/View/Controller design" makes everything cleaner. Now I have two silly questions, both related to signal handling somehow. I've been studying the examples in C that I could find on the Internet, but lablgtk-ication is not so easy for me, so I'm asking here. 1) I have seen how to set sorting for viewcolumns in a listview. Now, what function would I use to emulate clicking on a view column header? (I mean, what stands for viewcolumn#clicked ? ) 2) How do I recognize a right-clicking on a button or a drawing area? I'm getting a bit puzzled by events and signals (and types with type variables like GtkSignal.t) Thanks a lot Ernesto