AwnTooltip

## AwnTooltip AwnTooltip |

## Synopsis

                        AwnTooltipPrivate;
                        AwnTooltip;
    GtkWidget *         awn_tooltip_new_for_widget          (GtkWidget *widget);
    void                awn_tooltip_set_text                (AwnTooltip *tooltip,
                                                             const gchar *text);
    gchar *             awn_tooltip_get_text                (AwnTooltip *tooltip);
    void                awn_tooltip_set_focus_widget        (AwnTooltip *tooltip,
                                                             GtkWidget *widget);
    void                awn_tooltip_set_font_name           (AwnTooltip *tooltip,
                                                             const gchar *font_name);
    void                awn_tooltip_set_font_color          (AwnTooltip *tooltip,
                                                             DesktopAgnosticColor *font_color);
    void                awn_tooltip_set_background_color    (AwnTooltip *tooltip,
                                                             DesktopAgnosticColor *bg_color);
    void                awn_tooltip_set_delay               (AwnTooltip *tooltip,
                                                             gint msecs);
    gint                awn_tooltip_get_delay               (AwnTooltip *tooltip);
    void                awn_tooltip_update_position         (AwnTooltip *tooltip);
    void                awn_tooltip_set_position_hint       (AwnTooltip *tooltip,
                                                             GtkPositionType position,
                                                             gint size);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBin
                                     +----GtkWindow
                                           +----AwnTooltip

## Implemented Interfaces

AwnTooltip implements AtkImplementorIface and GtkBuildable.

## Properties

      "delay"                    gint                  : Read / Write / Construct
      "focus-widget"             GtkWidget*            : Read / Write
      "offset"                   gint                  : Read / Write / Construct
      "smart-behavior"           gboolean              : Read / Write / Construct
      "toggle-on-click"          gboolean              : Read / Write / Construct
      "tooltip-bg-color"         DesktopAgnosticColor*  : Read / Write / Construct
      "tooltip-font-color"       DesktopAgnosticColor*  : Read / Write / Construct
      "tooltip-font-name"        gchar*                : Read / Write / Construct
      "tooltip-outline-color"    DesktopAgnosticColor*  : Read / Write / Construct

## Description

## Details

### AwnTooltipPrivate

    typedef struct _AwnTooltipPrivate AwnTooltipPrivate;

### AwnTooltip

    typedef struct _AwnTooltip AwnTooltip;

### awn_tooltip_new_for_widget ()

    GtkWidget *         awn_tooltip_new_for_widget          (GtkWidget *widget);

`widget` : |
Returns : |

### awn_tooltip_set_text ()

    void                awn_tooltip_set_text                (AwnTooltip *tooltip,
                                                             const gchar *text);

`tooltip` : |
`text` : |

### awn_tooltip_get_text ()

    gchar *             awn_tooltip_get_text                (AwnTooltip *tooltip);

`tooltip` : |
Returns : |

### awn_tooltip_set_focus_widget ()

    void                awn_tooltip_set_focus_widget        (AwnTooltip *tooltip,
                                                             GtkWidget *widget);

`tooltip` : |
`widget` : |

### awn_tooltip_set_font_name ()

    void                awn_tooltip_set_font_name           (AwnTooltip *tooltip,
                                                             const gchar *font_name);

`tooltip` : |
`font_name` : |

### awn_tooltip_set_font_color ()

    void                awn_tooltip_set_font_color          (AwnTooltip *tooltip,
                                                             DesktopAgnosticColor *font_color);

`tooltip` : |
`font_color` : |

### awn_tooltip_set_background_color ()

    void                awn_tooltip_set_background_color    (AwnTooltip *tooltip,
                                                             DesktopAgnosticColor *bg_color);

`tooltip` : |
`bg_color` : |

### awn_tooltip_set_delay ()

    void                awn_tooltip_set_delay               (AwnTooltip *tooltip,
                                                             gint msecs);

`tooltip` : |
`msecs` : |

### awn_tooltip_get_delay ()

    gint                awn_tooltip_get_delay               (AwnTooltip *tooltip);

`tooltip` : |
Returns : |

### awn_tooltip_update_position ()

    void                awn_tooltip_update_position         (AwnTooltip *tooltip);

`tooltip` : |

### awn_tooltip_set_position_hint ()

    void                awn_tooltip_set_position_hint       (AwnTooltip *tooltip,
                                                             GtkPositionType position,
                                                             gint size);

`tooltip` : |
`position` : |
`size` : |

## Property Details

### The `"delay"` property

      "delay"                    gint                  : Read / Write / Construct

Delay.

Allowed values: >= 0

Default value: 0

### The `"focus-widget"` property

      "focus-widget"             GtkWidget*            : Read / Write

Widget to focus on.

### The `"offset"` property

      "offset"                   gint                  : Read / Write / Construct

Icon Offset.

Allowed values: >= 0

Default value: 0

### The `"smart-behavior"` property

      "smart-behavior"           gboolean              : Read / Write / Construct

Will show the tooltip on enter-notify-event and hide on leave-notify-event.

Default value: TRUE

### The `"toggle-on-click"` property

      "toggle-on-click"          gboolean              : Read / Write / Construct

Toggles tooltip visibility on click.

Default value: TRUE

### The `"tooltip-bg-color"` property

      "tooltip-bg-color"         DesktopAgnosticColor*  : Read / Write / Construct

Tooltip Background Color.

### The `"tooltip-font-color"` property

      "tooltip-font-color"       DesktopAgnosticColor*  : Read / Write / Construct

Tooltip Font Color.

### The `"tooltip-font-name"` property

      "tooltip-font-name"        gchar*                : Read / Write / Construct

Tooltip Font Name.

Default value: "Sans 8"

### The `"tooltip-outline-color"` property

      "tooltip-outline-color"    DesktopAgnosticColor*  : Read / Write / Construct

Tooltip Outline Color.