Re: [gnome-db] Dbgrid sorting

On Fri, 2006-02-17 at 13:58 -0300, Juan Pablo wrote:
> Hi list!
> I want to put some keyboard shortcuts, so if the user press F2 the
> dbgrid is sorted by column 1 but if he press F3 is sorted by column 2.
> The effect should be the same as clicking on the columns tittle.
> I couldnt find a function to do it.  Im using libgnomedb from debian
> sarge: pkg-config libgnomedb2 --version = 0.17.2
> Any idea?
you should probably just capture keyboard events via GTK.
Rodrigo Moya <rodrigo gnome-db org>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]