GtkPlug, GtkSocket background color integration


I'm trying to use a GtkNotebook, and within that, a GtkSocket that
connects to a separate process, which simply creates a GtkPlug with
some content inside of it.

Unfortunately, it seems like that because GtkPlug is its own window,
it adopts the standard window background color, which, in standard
themes, is different from the background in notebook tabs. This makes
the UI look ugly, since the tab looks broken.

I've tried dynamically placing a GtkLabel or so inside the notebook
and trying to access its Style information, but I see to be hitting
crashes left and right with accessing members of the style struct.

Is there an alternative approach to setting the Plug's background to
be transparent?

Jeff Wheeler

Undergraduate, Electrical Engineering
University of Illinois at Urbana-Champaign

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