Re: [gnome-db] Altering GnomeDBGrid pop-up menu
- From: Vivien Malerba <vmalerba gmail com>
- To: Pablo Acosta-Serafini <pmacosta yahoo com>
- Cc: gnome-db-list gnome org
- Subject: Re: [gnome-db] Altering GnomeDBGrid pop-up menu
- Date: Mon, 4 Jul 2005 14:11:13 +0200
On 7/2/05, Pablo Acosta-Serafini <pmacosta yahoo com> wrote:
> Hello,
>
> I am coding a fairly straightforward application using
> Glade+GDA+GnomeDb. I have a GnomeDbGrid widget, and I
> would like the user to get a pop-up menu that has
> three options: "Add", "Remove" and "Edit", when she/he
> right-clicks over the grid widget. The "stock" pop-up
> menu has the options: "Select All", "Clear selection",
> "Show column titles", "Save as...". I created a pop-up
> menu with Glade with the items I would like to
> display, and have the callback function to the signal
> create_popup_menu from the grid widget display that
> menu. The problem I'm having is that upon the first
> right click on the grid, the "stock" popup always
> appears first, and my popup menu appears only upon
> right-clicking again... is there a way of eliminating
> the first pop-up menu, or if this is not possible, of
> adding menu items to it?
>
> I'm rather new to Gnome/Gtk/libgnomedb programming, so
> I apologize if the answer to this question is pretty
> obvious, I searched the mailing list, googled and
> stuff, but couldn't find anything useful in this
> matter. Thanks a lot!
>
Can you tell me which versions of libgda/libgnomedb and glade you are using?
I planned to add support for custom menus in the grid anyway!
Vivien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]