| GIMP Application Reference Manual | ||||
|---|---|---|---|---|
enum GimpContainerViewProp; GimpContainerView; GimpContainerViewInterface; GimpContainer* gimp_container_view_get_container (GimpContainerView *view); void gimp_container_view_set_container (GimpContainerView *view, GimpContainer *container); GimpContext* gimp_container_view_get_context (GimpContainerView *view); void gimp_container_view_set_context (GimpContainerView *view, GimpContext *context); gint gimp_container_view_get_view_size (GimpContainerView *view, gint *view_border_width); void gimp_container_view_set_view_size (GimpContainerView *view, gint view_size, gint view_border_width); gboolean gimp_container_view_get_reorderable (GimpContainerView *view); void gimp_container_view_set_reorderable (GimpContainerView *view, gboolean reorderable); GtkWidget* gimp_container_view_get_dnd_widget (GimpContainerView *view); void gimp_container_view_set_dnd_widget (GimpContainerView *view, GtkWidget *dnd_widget); void gimp_container_view_enable_dnd (GimpContainerView *editor, GtkButton *button, GType children_type); gboolean gimp_container_view_select_item (GimpContainerView *view, GimpViewable *viewable); void gimp_container_view_activate_item (GimpContainerView *view, GimpViewable *viewable); void gimp_container_view_context_item (GimpContainerView *view, GimpViewable *viewable); gpointer gimp_container_view_lookup (GimpContainerView *view, GimpViewable *viewable); gboolean gimp_container_view_item_selected (GimpContainerView *view, GimpViewable *item); void gimp_container_view_item_activated (GimpContainerView *view, GimpViewable *item); void gimp_container_view_item_context (GimpContainerView *view, GimpViewable *item); void gimp_container_view_install_properties (GObjectClass *klass); void gimp_container_view_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); void gimp_container_view_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); void gimp_container_view_remove_active (GimpContainerView *view);
GimpContainerViewInterface is implemented by GimpContainerComboBox, GimpContainerEntry, GimpChannelTreeView, GimpLayerTreeView, GimpContainerGridView, GimpContainerTreeView, GimpItemTreeView, GimpDrawableTreeView, GimpContainerBox and GimpVectorsTreeView.
"container" GimpContainer : Read / Write "context" GimpContext : Read / Write "reorderable" gboolean : Read / Write "view-border-width" gint : Read / Write / Construct "view-size" gint : Read / Write / Construct
typedef enum
{
GIMP_CONTAINER_VIEW_PROP_0,
GIMP_CONTAINER_VIEW_PROP_CONTAINER,
GIMP_CONTAINER_VIEW_PROP_CONTEXT,
GIMP_CONTAINER_VIEW_PROP_REORDERABLE,
GIMP_CONTAINER_VIEW_PROP_VIEW_SIZE,
GIMP_CONTAINER_VIEW_PROP_VIEW_BORDER_WIDTH,
GIMP_CONTAINER_VIEW_PROP_LAST = GIMP_CONTAINER_VIEW_PROP_VIEW_BORDER_WIDTH
} GimpContainerViewProp;
GimpContainer* gimp_container_view_get_container (GimpContainerView *view);
|
|
Returns : |
void gimp_container_view_set_container (GimpContainerView *view, GimpContainer *container);
|
|
|
GimpContext* gimp_container_view_get_context (GimpContainerView *view);
|
|
Returns : |
void gimp_container_view_set_context (GimpContainerView *view, GimpContext *context);
|
|
|
gint gimp_container_view_get_view_size (GimpContainerView *view, gint *view_border_width);
|
|
|
|
Returns : |
void gimp_container_view_set_view_size (GimpContainerView *view, gint view_size, gint view_border_width);
|
|
|
|
|
gboolean gimp_container_view_get_reorderable (GimpContainerView *view);
|
|
Returns : |
void gimp_container_view_set_reorderable (GimpContainerView *view, gboolean reorderable);
|
|
|
GtkWidget* gimp_container_view_get_dnd_widget (GimpContainerView *view);
|
|
Returns : |
void gimp_container_view_set_dnd_widget (GimpContainerView *view, GtkWidget *dnd_widget);
|
|
|
void gimp_container_view_enable_dnd (GimpContainerView *editor, GtkButton *button, GType children_type);
|
|
|
|
|
gboolean gimp_container_view_select_item (GimpContainerView *view, GimpViewable *viewable);
|
|
|
|
Returns : |
void gimp_container_view_activate_item (GimpContainerView *view, GimpViewable *viewable);
|
|
|
void gimp_container_view_context_item (GimpContainerView *view, GimpViewable *viewable);
|
|
|
gpointer gimp_container_view_lookup (GimpContainerView *view, GimpViewable *viewable);
|
|
|
|
Returns : |
gboolean gimp_container_view_item_selected (GimpContainerView *view, GimpViewable *item);
|
|
|
|
Returns : |
void gimp_container_view_item_activated (GimpContainerView *view, GimpViewable *item);
|
|
|
void gimp_container_view_item_context (GimpContainerView *view, GimpViewable *item);
|
|
|
void gimp_container_view_install_properties
(GObjectClass *klass);
Installs the necessary properties for a class implementing
GimpContainerView. A GimpContainerViewProp property is installed
for each property, using the values from the GimpContainerViewProp
enumeration. The caller must make sure itself that the enumeration
values don't collide with some other property values they
are using (that's what GIMP_CONTAINER_VIEW_PROP_LAST is good for).
|
the class structure for a type deriving from GObject |
void gimp_container_view_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec);
|
|
|
|
|
|
|
void gimp_container_view_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec);
|
|
|
|
|
|
|
void gimp_container_view_remove_active (GimpContainerView *view);
|
"view-border-width" property"view-border-width" gint : Read / Write / Construct
Allowed values: [0,16]
Default value: 1
"view-size" property"view-size" gint : Read / Write / Construct
Allowed values: [1,2048]
Default value: 32
"activate-item" signalvoid user_function (GimpContainerViewInterface *gimpcontainerviewinterface, GimpObject *arg1, gpointer arg2, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |
"context-item" signalvoid user_function (GimpContainerViewInterface *gimpcontainerviewinterface, GimpObject *arg1, gpointer arg2, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |
"select-item" signalgboolean user_function (GimpContainerViewInterface *gimpcontainerviewinterface, GimpObject *arg1, gpointer arg2, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |
Returns : |