Bonobo API Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
typedef BonoboWrapper; typedef BonoboWrapperClass; |
This is a GtkWidget that acts as a cover on top of another GtkWidget. It enables you to control whether the containee can or can not receive events.
It is used by the
typedef struct { GtkBin bin; /* Private data. */ BonoboWrapperPrivate *priv; } BonoboWrapper; |
|
Creates a new wrapper widget. It starts covered by default.
Returns : | The newly-created wrapper widget. |
void bonobo_wrapper_set_covered (BonoboWrapper *wrapper, |
Sets the covered status of a wrapper widget by showing or hiding the cover window as appropriate.
wrapper : | A wrapper widget |
covered : | Whether it should be covered or not |
|
Queries the covered status of a wrapper widget.
wrapper : | A wrapper widget. |
Returns : | Whether the wrapper widget is covering its child or not. |
|
wrapper : | A BonoboWrapper. |
Returns : | Whether or not visual hints should be drawn on the cover to indicate when it is covering wrapper's contents. |
void bonobo_wrapper_set_visibility (BonoboWrapper *wrapper, |
Use this function to set the visibility of the wrapper's cover window. If the visibility flag is TRUE, then a stipple pattern will be drawn on the cover window to indicate when the wrapper's contents are covered. Of course, this stipple pattern will only be drawn when the cover is there; use bonobo_wrapper_set_covered() to enable the cover.
wrapper : | A BonoboWrapper. |
visible : | A flag to indicate whether wrapper's cover should be visible. |