SexyTreeView

SexyTreeView

Functions

Signals

Types and Values

struct SexyTreeView

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkTreeView
                        ╰── SexyTreeView

Implemented Interfaces

SexyTreeView implements AtkImplementorIface and GtkBuildable.

Description

Functions

sexy_tree_view_new ()

GtkWidget *
sexy_tree_view_new (void);

Creates a new SexyTreeView widget

Returns

a new SexyTreeView


sexy_tree_view_set_tooltip_label_column ()

void
sexy_tree_view_set_tooltip_label_column
                               (SexyTreeView *treeview,
                                guint column);

Sets a column of the view's model to be used for the text in tooltips.

Parameters

treeview

A SexyTreeView

 

column

The column of the tree model to use for tooltip text.

 

Types and Values

struct SexyTreeView

struct SexyTreeView;

Signal Details

The “get-tooltip” signal

GtkWidget*
user_function (SexyTreeView      *treeview,
               GtkTreePath       *path,
               GtkTreeViewColumn *column,
               gpointer           user_data)

The ::get-tooltip signal is emitted when the user's mouse hovers over a cell in the tree for longer than 500ms.

Parameters

treeview

The treeview on which the signal is emitted.

 

path

The path of the row on which the user is hovering.

 

column

The column on which the user is hovering.

 

user_data

user data set when the signal handler was connected.

 

Returns

a GtkWidget to put in the tooltip window. If NULL is returned, no tooltip will be shown.

Flags: Run Last