GimpContainerPopup

GimpContainerPopup

Synopsis

                    GimpContainerIconView;
struct              GimpContainerIconViewClass;
                    GimpContainerIconViewPriv;
GtkWidget *         gimp_container_icon_view_new        (GimpContainer *container,
                                                         GimpContext *context,
                                                         gint view_size,
                                                         gint view_border_width);
                    GimpContainerPopup;
GtkWidget *         gimp_container_popup_new            (GimpContainer *container,
                                                         GimpContext *context,
                                                         GimpViewType view_type,
                                                         gint default_view_size,
                                                         gint view_size,
                                                         gint view_border_width,
                                                         GimpDialogFactory *dialog_factory,
                                                         const gchar *dialog_identifier,
                                                         const gchar *dialog_stock_id,
                                                         const gchar *dialog_tooltip);
void                gimp_container_popup_show           (GimpContainerPopup *popup,
                                                         GtkWidget *widget);
GimpViewType        gimp_container_popup_get_view_type  (GimpContainerPopup *popup);
void                gimp_container_popup_set_view_type  (GimpContainerPopup *popup,
                                                         GimpViewType view_type);
gint                gimp_container_popup_get_view_size  (GimpContainerPopup *popup);
void                gimp_container_popup_set_view_size  (GimpContainerPopup *popup,
                                                         gint view_size);

Signals

  "cancel"                                         : Action
  "confirm"                                        : Action

Description

Details

GimpContainerIconView

typedef struct {
  GimpContainerBox           parent_instance;

  GtkTreeModel              *model;
  gint                       n_model_columns;
  GType                      model_columns[16];

  GtkIconView               *view;

  GtkCellRenderer           *renderer_cell;

  Gimp                      *dnd_gimp; /* eek */

  GimpContainerIconViewPriv *priv;
} GimpContainerIconView;


struct GimpContainerIconViewClass

struct GimpContainerIconViewClass {
  GimpContainerBoxClass  parent_class;
};


GimpContainerIconViewPriv

typedef struct _GimpContainerIconViewPriv GimpContainerIconViewPriv;


gimp_container_icon_view_new ()

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


GimpContainerPopup

typedef struct {
  GtkWindow            parent_instance;

  GimpContainer       *container;
  GimpContext         *orig_context;
  GimpContext         *context;

  GimpViewType         view_type;
  gint                 default_view_size;
  gint                 view_size;
  gint                 view_border_width;

  GtkWidget           *frame;
  GimpContainerEditor *editor;

  GimpDialogFactory   *dialog_factory;
  gchar               *dialog_identifier;
  gchar               *dialog_stock_id;
  gchar               *dialog_tooltip;
} GimpContainerPopup;


gimp_container_popup_new ()

GtkWidget *         gimp_container_popup_new            (GimpContainer *container,
                                                         GimpContext *context,
                                                         GimpViewType view_type,
                                                         gint default_view_size,
                                                         gint view_size,
                                                         gint view_border_width,
                                                         GimpDialogFactory *dialog_factory,
                                                         const gchar *dialog_identifier,
                                                         const gchar *dialog_stock_id,
                                                         const gchar *dialog_tooltip);


gimp_container_popup_show ()

void                gimp_container_popup_show           (GimpContainerPopup *popup,
                                                         GtkWidget *widget);


gimp_container_popup_get_view_type ()

GimpViewType        gimp_container_popup_get_view_type  (GimpContainerPopup *popup);


gimp_container_popup_set_view_type ()

void                gimp_container_popup_set_view_type  (GimpContainerPopup *popup,
                                                         GimpViewType view_type);


gimp_container_popup_get_view_size ()

gint                gimp_container_popup_get_view_size  (GimpContainerPopup *popup);


gimp_container_popup_set_view_size ()

void                gimp_container_popup_set_view_size  (GimpContainerPopup *popup,
                                                         gint view_size);

Signal Details

The "cancel" signal

void                user_function                      (GimpContainerPopup *gimpcontainerpopup,
                                                        gpointer            user_data)               : Action

gimpcontainerpopup :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "confirm" signal

void                user_function                      (GimpContainerPopup *gimpcontainerpopup,
                                                        gpointer            user_data)               : Action

gimpcontainerpopup :

the object which received the signal.

user_data :

user data set when the signal handler was connected.