How can I render Text with transparent background over other widgets in GTK?

前端 未结 2 689
南笙
南笙 2021-01-07 01:37

I wish to render text with transparent/translucent background (or no background) over other gtk widgets like GtkImage or GtkButton etc. Primary goal is to have text display

2条回答
  •  暖寄归人
    2021-01-07 02:08

    You can do it with GtkOverlay widget (Gtk+ 3.2 at least)

    GtkOverlay — A container which overlays widgets on top of each other

    http://developer.gnome.org/gtk3/stable/GtkOverlay.html

提交回复
热议问题