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



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 <zbrown gnome org>

  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
desktop-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/desktop-devel-list

Attachment: signature.asc
Description: This is a digitally signed message part



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