| Top |
SexyTooltipSexyTooltip — A tooltip-like window container which allows arbitrary widgets as children. |
| GtkWidget * | sexy_tooltip_new () |
| GtkWidget * | sexy_tooltip_new_with_label () |
| void | sexy_tooltip_position_to_widget () |
| void | sexy_tooltip_position_to_rect () |
GObject
╰── GInitiallyUnowned
╰── GtkObject
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── SexyTooltip
SexyTooltip is a GtkWindow which mimics the appearance of a normal gtk+ tooltip, but allows arbitrary widgets rather than just text.
GtkWidget *
sexy_tooltip_new_with_label (const gchar *text);
Creates a new SexyTooltip widget with text content
void sexy_tooltip_position_to_widget (SexyTooltip *tooltip,GtkWidget *widget);
Helper function to position the tooltip window relative to an on-screen widget. This uses a simplified version of the positioning function used by GtkTooltips.
void sexy_tooltip_position_to_rect (SexyTooltip *tooltip,GdkRectangle *rect,GdkScreen *screen);
Helper function to position the tooltip window relative to an arbitrary rectangle on a given screen. This uses a simplified version of the positioning function used by GtkTooltips.
struct SexyTooltip;
The SexyTooltip struct contains private data only, and should be manipulated using the functions below.