Re: [gnome-db] How to get signal of GdauiRawGrid Selection Changing



Like this?:

GtkWidget *grid;

grid = gdaui_grid_new (data_model);
g_signal_connect (grid, "selection-changed",
                   (GCallback) on_grid_clicked, NULL);

It dos't work :-(

Best regards,
Kirill Scherba.


2011/10/26 Vivien Malerba <vmalerba gmail com>


On 26 October 2011 18:16, Kirill Scherba <kiriushka gmail com> wrote:
Hi, I'm new with libgda.

I use GdauiRawGrid (or GdauiGrid) in my GUI Application.
I try to do something when the List Selection changed. What Signal (or some other) should I use to Get List Position Changing?


Hi!

The GdauiRawGrid (as well as GdauiGrid, GdauiRawForm, GdauiForm) widgets implement the GdauiDataSelector interface which has a "selection-changed" signal. Simply connect to that signal to be notified of selection changes.

Regards,

Vivien



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