Re: How to create dynamic popup menus in a gtk application

Zander Brown <[email protected]>
Newsgroups gmane.comp.gnome.desktop
Organization GNOME
Message-ID <DB8PR01MB6232B313B101151A5B41CC47DCAE0@DB8PR01MB6232.eurprd01.prod.exchangelabs.com>
Just checking: What gtk version are you using? Sounds a lot like your on gtk2

It may be more appropriate (and productive) to ask this over at 
https://discourse.gnome.org/


-- 
Zander Brown <[email protected]>

  Maintainer:
  Dia Diagram Editor
  King's Cross / KGX
  GNOME Design Tooling (Icon Preview, Colour Palette)

  Co-Maintainer:
  GNOME Clocks

  en_GB Translation Team

  Me ≢ GNOME

On Sun, 2020-04-26 at 20:47 +0200, Uwe Scholz wrote:
> Hi,
> 
> I am currently about to migrate Gnome Commander from the very
> deprecated GnomeUIInfo to GtkUiManager with the help of this document
> https://developer.gnome.org/gtk2/stable/migrating-gnomeuiinfo.html
> 
> This worked out for the toolbar and also for a static popup menu.
> 
> What I am missing is how I can create dynamic popups. How is that
> solved using GtkUiManager and GtkActions? Unfortunately in the
> migration guide above this part is missing.
> 
> Can anyone here kindly point me to a simple example how a dynamic popup
> would be created in Gtk in C/C++? In particular, I am talking about a
> popup menu where its entries depend on the file which is clicked on in
> the file manager.
> 
> Thank you very much and all the best
> Uwe
> _______________________________________________
> desktop-devel-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/desktop-devel-list

_______________________________________________
desktop-devel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/desktop-devel-list
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEERYvmWtVMPlyWtoEoJe48NuMeX4QFAl6l3/IACgkQJe48NuMe
X4S4HggAtdz+XR5J9zJOoKqcZ31UYF90IL/cCT1xmyeijITGhjqcwf6yRn9E8oAB
JaxU25LIkurpK72j783U8om5ZgoR4WR0WQJC7H+g35lN+E1BhcuT2IO7JDY9p8L9
7AzgJxYHhcZwmfWy2ekW407Fvkdtxc2/evhZrUMkkRcnFboWRdoqb+TVkQOxY8tU
7jMBOULZ2n8AeCyo0lVa6qvEBcAiC1rzwPWEanqSY3EskKUmtRbNeC2MuY66P9Md
2TBRwU3z+ZImCKJF25HiQOUItUckhFkGYef4EodRqxcN3L4pD3hALyMhOrpDZeFl
qEB88TTSa50e41rDxaAmTRjOlJU0wQ==
=YhrQ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.