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


It works now (it was my error in my debug message).

Best regards,
Kirill Scherba.

2011/10/27 Kirill Scherba <kiriushka gmail com>
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?


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.



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