GimpContainerTreeView

GimpContainerTreeView

Synopsis

                    GimpContainerTreeView;
                    GimpContainerTreeViewPriv;
GtkWidget *         gimp_container_tree_view_new        (GimpContainer *container,
                                                         GimpContext *context,
                                                         gint view_size,
                                                         gint view_border_width);
void                gimp_container_tree_view_set_main_column_title
                                                        (GimpContainerTreeView *tree_view,
                                                         const gchar *title);
void                gimp_container_tree_view_add_toggle_cell
                                                        (GimpContainerTreeView *tree_view,
                                                         GtkCellRenderer *cell);
void                gimp_container_tree_view_add_renderer_cell
                                                        (GimpContainerTreeView *tree_view,
                                                         GtkCellRenderer *cell);
void                gimp_container_tree_view_set_dnd_drop_to_empty
                                                        (GimpContainerTreeView *tree_view,
                                                         gboolean dnd_drop_to_emtpy);
void                gimp_container_tree_view_connect_name_edited
                                                        (GimpContainerTreeView *tree_view,
                                                         GCallback callback,
                                                         gpointer data);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GimpEditor
                                       +----GimpContainerBox
                                             +----GimpContainerTreeView
                                                   +----GimpItemTreeView
                                                   +----GimpToolEditor

Implemented Interfaces

GimpContainerTreeView implements AtkImplementorIface, GtkBuildable, GtkOrientable, GimpDockedInterface and GimpContainerViewInterface.

Signals

  "edit-name"                                      : Action

Description

Details

GimpContainerTreeView

typedef struct _GimpContainerTreeView GimpContainerTreeView;


GimpContainerTreeViewPriv

typedef struct {
  GtkTreeSelection   *selection;

  GtkCellRenderer    *name_cell;

  GList              *editable_cells;

  GimpViewRenderer   *dnd_renderer;

  GList              *toggle_cells;
  GList              *renderer_cells;

  guint               scroll_timeout_id;
  guint               scroll_timeout_interval;
  GdkScrollDirection  scroll_dir;

  gboolean            dnd_drop_to_empty;
} GimpContainerTreeViewPriv;


gimp_container_tree_view_new ()

GtkWidget *         gimp_container_tree_view_new        (GimpContainer *container,
                                                         GimpContext *context,
                                                         gint view_size,
                                                         gint view_border_width);


gimp_container_tree_view_set_main_column_title ()

void                gimp_container_tree_view_set_main_column_title
                                                        (GimpContainerTreeView *tree_view,
                                                         const gchar *title);


gimp_container_tree_view_add_toggle_cell ()

void                gimp_container_tree_view_add_toggle_cell
                                                        (GimpContainerTreeView *tree_view,
                                                         GtkCellRenderer *cell);


gimp_container_tree_view_add_renderer_cell ()

void                gimp_container_tree_view_add_renderer_cell
                                                        (GimpContainerTreeView *tree_view,
                                                         GtkCellRenderer *cell);


gimp_container_tree_view_set_dnd_drop_to_empty ()

void                gimp_container_tree_view_set_dnd_drop_to_empty
                                                        (GimpContainerTreeView *tree_view,
                                                         gboolean dnd_drop_to_emtpy);


gimp_container_tree_view_connect_name_edited ()

void                gimp_container_tree_view_connect_name_edited
                                                        (GimpContainerTreeView *tree_view,
                                                         GCallback callback,
                                                         gpointer data);

Signal Details

The "edit-name" signal

void                user_function                      (GimpContainerTreeView *gimpcontainertreeview,
                                                        gpointer               user_data)                  : Action

gimpcontainertreeview :

the object which received the signal.

user_data :

user data set when the signal handler was connected.