GTK+ Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# GtkWidget

## Name

GtkWidget --

## Synopsis

    #include <gtk/gtk.h>

    struct      GtkWidget;
    enum        GtkWidgetFlags;
    #define     GTK_WIDGET_TYPE                 (wid)
    #define     GTK_WIDGET_STATE                (wid)
    #define     GTK_WIDGET_SAVED_STATE          (wid)
    #define     GTK_WIDGET_FLAGS                (wid)
    #define     GTK_WIDGET_TOPLEVEL             (wid)
    #define     GTK_WIDGET_NO_WINDOW            (wid)
    #define     GTK_WIDGET_REALIZED             (wid)
    #define     GTK_WIDGET_MAPPED               (wid)
    #define     GTK_WIDGET_VISIBLE              (wid)
    #define     GTK_WIDGET_DRAWABLE             (wid)
    #define     GTK_WIDGET_SENSITIVE            (wid)
    #define     GTK_WIDGET_PARENT_SENSITIVE     (wid)
    #define     GTK_WIDGET_IS_SENSITIVE         (wid)
    #define     GTK_WIDGET_CAN_FOCUS            (wid)
    #define     GTK_WIDGET_HAS_FOCUS            (wid)
    #define     GTK_WIDGET_CAN_DEFAULT          (wid)
    #define     GTK_WIDGET_RECEIVES_DEFAULT     (wid)
    #define     GTK_WIDGET_HAS_DEFAULT          (wid)
    #define     GTK_WIDGET_HAS_GRAB             (wid)
    #define     GTK_WIDGET_RC_STYLE             (wid)
    #define     GTK_WIDGET_COMPOSITE_CHILD      (wid)
    #define     GTK_WIDGET_APP_PAINTABLE        (wid)
    #define     GTK_WIDGET_SET_FLAGS            (wid,flag)
    #define     GTK_WIDGET_UNSET_FLAGS          (wid,flag)
    void        (*GtkCallback)                  (GtkWidget *widget,
                                                 gpointer data);
    struct      GtkRequisition;
    struct      GtkAllocation;
    struct      GtkSelectionData;
    struct      GtkWidgetAuxInfo;
    struct      GtkWidgetShapeInfo;
    GtkWidget*  gtk_widget_new                  (GtkType type,
                                                 const gchar *first_arg_name,
                                                 ...);
    GtkWidget*  gtk_widget_newv                 (GtkType type,
                                                 guint nargs,
                                                 GtkArg *args);
    void        gtk_widget_ref                  (GtkWidget *widget);
    void        gtk_widget_unref                (GtkWidget *widget);
    void        gtk_widget_destroy              (GtkWidget *widget);
    void        gtk_widget_destroyed            (GtkWidget *widget,
                                                 GtkWidget **widget_pointer);
    void        gtk_widget_get                  (GtkWidget *widget,
                                                 GtkArg *arg);
    void        gtk_widget_getv                 (GtkWidget *widget,
                                                 guint nargs,
                                                 GtkArg *args);
    void        gtk_widget_set                  (GtkWidget *widget,
                                                 const gchar *first_arg_name,
                                                 ...);
    void        gtk_widget_setv                 (GtkWidget *widget,
                                                 guint nargs,
                                                 GtkArg *args);
    void        gtk_widget_unparent             (GtkWidget *widget);
    void        gtk_widget_show                 (GtkWidget *widget);
    void        gtk_widget_show_now             (GtkWidget *widget);
    void        gtk_widget_hide                 (GtkWidget *widget);
    void        gtk_widget_show_all             (GtkWidget *widget);
    void        gtk_widget_hide_all             (GtkWidget *widget);
    void        gtk_widget_map                  (GtkWidget *widget);
    void        gtk_widget_unmap                (GtkWidget *widget);
    void        gtk_widget_realize              (GtkWidget *widget);
    void        gtk_widget_unrealize            (GtkWidget *widget);
    void        gtk_widget_queue_draw           (GtkWidget *widget);
    void        gtk_widget_queue_resize         (GtkWidget *widget);
    void        gtk_widget_draw                 (GtkWidget *widget,
                                                 GdkRectangle *area);
    void        gtk_widget_draw_focus           (GtkWidget *widget);
    void        gtk_widget_draw_default         (GtkWidget *widget);
    void        gtk_widget_size_request         (GtkWidget *widget,
                                                 GtkRequisition *requisition);
    void        gtk_widget_get_child_requisition
                                                (GtkWidget *widget,
                                                 GtkRequisition *requisition);
    void        gtk_widget_size_allocate        (GtkWidget *widget,
                                                 GtkAllocation *allocation);
    void        gtk_widget_add_accelerator      (GtkWidget *widget,
                                                 const gchar *accel_signal,
                                                 GtkAccelGroup *accel_group,
                                                 guint accel_key,
                                                 guint accel_mods,
                                                 GtkAccelFlags accel_flags);
    void        gtk_widget_remove_accelerator   (GtkWidget *widget,
                                                 GtkAccelGroup *accel_group,
                                                 guint accel_key,
                                                 guint accel_mods);
    void        gtk_widget_remove_accelerators  (GtkWidget *widget,
                                                 const gchar *accel_signal,
                                                 gboolean visible_only);
    guint       gtk_widget_accelerator_signal   (GtkWidget *widget,
                                                 GtkAccelGroup *accel_group,
                                                 guint accel_key,
                                                 guint accel_mods);
    gint        gtk_widget_event                (GtkWidget *widget,
                                                 GdkEvent *event);
    gboolean    gtk_widget_activate             (GtkWidget *widget);
    void        gtk_widget_reparent             (GtkWidget *widget,
                                                 GtkWidget *new_parent);
    void        gtk_widget_popup                (GtkWidget *widget,
                                                 gint x,
                                                 gint y);
    gint        gtk_widget_intersect            (GtkWidget *widget,
                                                 GdkRectangle *area,
                                                 GdkRectangle *intersection);
    void        gtk_widget_grab_focus           (GtkWidget *widget);
    void        gtk_widget_grab_default         (GtkWidget *widget);
    void        gtk_widget_set_name             (GtkWidget *widget,
                                                 const gchar *name);
    gchar*      gtk_widget_get_name             (GtkWidget *widget);
    void        gtk_widget_set_state            (GtkWidget *widget,
                                                 GtkStateType state);
    void        gtk_widget_set_sensitive        (GtkWidget *widget,
                                                 gboolean sensitive);
    void        gtk_widget_set_parent           (GtkWidget *widget,
                                                 GtkWidget *parent);
    void        gtk_widget_set_parent_window    (GtkWidget *widget,
                                                 GdkWindow *parent_window);
    GdkWindow*  gtk_widget_get_parent_window    (GtkWidget *widget);
    void        gtk_widget_set_uposition        (GtkWidget *widget,
                                                 gint x,
                                                 gint y);
    void        gtk_widget_set_usize            (GtkWidget *widget,
                                                 gint width,
                                                 gint height);
    void        gtk_widget_set_events           (GtkWidget *widget,
                                                 gint events);
    void        gtk_widget_add_events           (GtkWidget *widget,
                                                 gint events);
    void        gtk_widget_set_extension_events (GtkWidget *widget,
                                                 GdkExtensionMode mode);
    GdkExtensionMode gtk_widget_get_extension_events
                                                (GtkWidget *widget);
    GtkWidget*  gtk_widget_get_toplevel         (GtkWidget *widget);
    GtkWidget*  gtk_widget_get_ancestor         (GtkWidget *widget,
                                                 GtkType widget_type);
    GdkColormap* gtk_widget_get_colormap        (GtkWidget *widget);
    void        gtk_widget_set_colormap         (GtkWidget *widget,
                                                 GdkColormap *colormap);
    GdkVisual*  gtk_widget_get_visual           (GtkWidget *widget);
    void        gtk_widget_set_visual           (GtkWidget *widget,
                                                 GdkVisual *visual);
    gint        gtk_widget_get_events           (GtkWidget *widget);
    void        gtk_widget_get_pointer          (GtkWidget *widget,
                                                 gint *x,
                                                 gint *y);
    gint        gtk_widget_is_ancestor          (GtkWidget *widget,
                                                 GtkWidget *ancestor);
    gint        gtk_widget_hide_on_delete       (GtkWidget *widget);
    void        gtk_widget_set_style            (GtkWidget *widget,
                                                 GtkStyle *style);
    void        gtk_widget_set_rc_style         (GtkWidget *widget);
    void        gtk_widget_ensure_style         (GtkWidget *widget);
    GtkStyle*   gtk_widget_get_style            (GtkWidget *widget);
    void        gtk_widget_restore_default_style
                                                (GtkWidget *widget);
    void        gtk_widget_reset_rc_styles      (GtkWidget *widget);
    void        gtk_widget_push_style           (GtkStyle *style);
    void        gtk_widget_push_colormap        (GdkColormap *cmap);
    void        gtk_widget_push_visual          (GdkVisual *visual);
    void        gtk_widget_pop_style            (void);
    void        gtk_widget_pop_colormap         (void);
    void        gtk_widget_pop_visual           (void);
    void        gtk_widget_set_default_style    (GtkStyle *style);
    void        gtk_widget_set_default_colormap (GdkColormap *colormap);
    void        gtk_widget_set_default_visual   (GdkVisual *visual);
    GtkStyle*   gtk_widget_get_default_style    (void);
    GdkColormap* gtk_widget_get_default_colormap
                                                (void);
    GdkVisual*  gtk_widget_get_default_visual   (void);
    void        gtk_widget_shape_combine_mask   (GtkWidget *widget,
                                                 GdkBitmap *shape_mask,
                                                 gint offset_x,
                                                 gint offset_y);
    void        gtk_widget_path                 (GtkWidget *widget,
                                                 guint *path_length,
                                                 gchar **path,
                                                 gchar **path_reversed);
    void        gtk_widget_class_path           (GtkWidget *widget,
                                                 guint *path_length,
                                                 gchar **path,
                                                 gchar **path_reversed);
    gchar*      gtk_widget_get_composite_name   (GtkWidget *widget);
    void        gtk_widget_lock_accelerators    (GtkWidget *widget);
    void        gtk_widget_modify_style         (GtkWidget *widget,
                                                 GtkRcStyle *style);
    void        gtk_widget_pop_composite_child  (void);
    void        gtk_widget_push_composite_child (void);
    void        gtk_widget_queue_clear          (GtkWidget *widget);
    void        gtk_widget_queue_clear_area     (GtkWidget *widget,
                                                 gint x,
                                                 gint y,
                                                 gint width,
                                                 gint height);
    void        gtk_widget_queue_draw_area      (GtkWidget *widget,
                                                 gint x,
                                                 gint y,
                                                 gint width,
                                                 gint height);
    void        gtk_widget_reset_shapes         (GtkWidget *widget);
    void        gtk_widget_set_app_paintable    (GtkWidget *widget,
                                                 gboolean app_paintable);
    void        gtk_widget_set_composite_name   (GtkWidget *widget,
                                                 gchar *name);
    gboolean    gtk_widget_set_scroll_adjustments
                                                (GtkWidget *widget,
                                                 GtkAdjustment *hadjustment,
                                                 GtkAdjustment *vadjustment);
    void        gtk_widget_unlock_accelerators  (GtkWidget *widget);

## Object Hierarchy

      GtkObject
       +----GtkWidget

## Args

      "name"                 gchar*               : Read / Write
      "parent"               GtkContainer         : Read / Write
      "x"                    gint                 : Read / Write
      "y"                    gint                 : Read / Write
      "width"                gint                 : Read / Write
      "height"               gint                 : Read / Write
      "visible"              gboolean             : Read / Write
      "sensitive"            gboolean             : Read / Write
      "app_paintable"        gboolean             : Read / Write
      "can_focus"            gboolean             : Read / Write
      "has_focus"            gboolean             : Read / Write
      "can_default"          gboolean             : Read / Write
      "has_default"          gboolean             : Read / Write
      "receives_default"     gboolean             : Read / Write
      "composite_child"      gboolean             : Read / Write
      "style"                GtkStyle             : Read / Write
      "events"               GdkEventMask         : Read / Write
      "extension_events"     GdkEventMask         : Read / Write

## Signal Prototypes

    "show"      void        user_function      (GtkWidget *widget,
                                                gpointer user_data);
    "hide"      void        user_function      (GtkWidget *widget,
                                                gpointer user_data);
    "map"       void        user_function      (GtkWidget *widget,
                                                gpointer user_data);
    "unmap"     void        user_function      (GtkWidget *widget,
                                                gpointer user_data);
    "realize"   void        user_function      (GtkWidget *widget,
                                                gpointer user_data);
    "unrealize" void        user_function      (GtkWidget *widget,
                                                gpointer user_data);
    "draw"      void        user_function      (GtkWidget *widget,
                                                GdkRectangle *area,
                                                gpointer user_data);
    "draw-focus"
                void        user_function      (GtkWidget *widget,
                                                gpointer user_data);
    "draw-default"
                void        user_function      (GtkWidget *widget,
                                                gpointer user_data);
    "size-request"
                void        user_function      (GtkWidget *widget,
                                                GtkRequisition *requisition,
                                                gpointer user_data);
    "size-allocate"
                void        user_function      (GtkWidget *widget,
                                                GtkAllocation *allocation,
                                                gpointer user_data);
    "state-changed"
                void        user_function      (GtkWidget *widget,
                                                GtkStateType state,
                                                gpointer user_data);
    "parent-set"
                void        user_function      (GtkWidget *widget,
                                                GtkObject *old_parent,
                                                gpointer user_data);
    "style-set" void        user_function      (GtkWidget *widget,
                                                GtkStyle *previous_style,
                                                gpointer user_data);
    "add-accelerator"
                void        user_function      (GtkWidget *widget,
                                                guint accel_signal_id,
                                                GtkAccelGroup *accel_group,
                                                guint accel_key,
                                                GdkModifierType accel_mods,
                                                GtkAccelFlags accel_flags,
                                                gpointer user_data);
    "remove-accelerator"
                void        user_function      (GtkWidget *widget,
                                                GtkAccelGroup *accel_group,
                                                guint accel_key,
                                                GdkModifierType accel_mods,
                                                gpointer user_data);
    "grab-focus"
                void        user_function      (GtkWidget *widget,
                                                gpointer user_data);
    "event"     gboolean    user_function      (GtkWidget *widget,
                                                GdkEvent *event,
                                                gpointer user_data);
    "button-press-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventButton *event,
                                                gpointer user_data);
    "button-release-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventButton *event,
                                                gpointer user_data);
    "motion-notify-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventMotion *event,
                                                gpointer user_data);
    "delete-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEvent *event,
                                                gpointer user_data);
    "destroy-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEvent *event,
                                                gpointer user_data);
    "expose-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventExpose *event,
                                                gpointer user_data);
    "key-press-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventKey *event,
                                                gpointer user_data);
    "key-release-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventKey *event,
                                                gpointer user_data);
    "enter-notify-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventCrossing *event,
                                                gpointer user_data);
    "leave-notify-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventCrossing *event,
                                                gpointer user_data);
    "configure-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventConfigure *event,
                                                gpointer user_data);
    "focus-in-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventFocus *event,
                                                gpointer user_data);
    "focus-out-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventFocus *event,
                                                gpointer user_data);
    "map-event" gboolean    user_function      (GtkWidget *widget,
                                                GdkEvent *event,
                                                gpointer user_data);
    "unmap-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEvent *event,
                                                gpointer user_data);
    "property-notify-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventProperty *event,
                                                gpointer user_data);
    "selection-clear-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventSelection *event,
                                                gpointer user_data);
    "selection-request-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventSelection *event,
                                                gpointer user_data);
    "selection-notify-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventSelection *event,
                                                gpointer user_data);
    "selection-get"
                void        user_function      (GtkWidget *widget,
                                                GtkSelectionData *data,
                                                guint info,
                                                guint time,
                                                gpointer user_data);
    "selection-received"
                void        user_function      (GtkWidget *widget,
                                                GtkSelectionData *data,
                                                guint time,
                                                gpointer user_data);
    "proximity-in-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventProximity *event,
                                                gpointer user_data);
    "proximity-out-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventProximity *event,
                                                gpointer user_data);
    "drag-begin"
                void        user_function      (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                gpointer user_data);
    "drag-end"  void        user_function      (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                gpointer user_data);
    "drag-data-delete"
                void        user_function      (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                gpointer user_data);
    "drag-leave"
                void        user_function      (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                guint time,
                                                gpointer user_data);
    "drag-motion"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                gint x,
                                                gint y,
                                                guint time,
                                                gpointer user_data);
    "drag-drop" gboolean    user_function      (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                gint x,
                                                gint y,
                                                guint time,
                                                gpointer user_data);
    "drag-data-get"
                void        user_function      (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                GtkSelectionData *data,
                                                guint info,
                                                guint time,
                                                gpointer user_data);
    "drag-data-received"
                void        user_function      (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                gint x,
                                                gint y,
                                                GtkSelectionData *data,
                                                guint info,
                                                guint time,
                                                gpointer user_data);
    "client-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventClient *event,
                                                gpointer user_data);
    "no-expose-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEventNoExpose *event,
                                                gpointer user_data);
    "visibility-notify-event"
                gboolean    user_function      (GtkWidget *widget,
                                                GdkEvent *event,
                                                gpointer user_data);
    "debug-msg" void        user_function      (GtkWidget *widget,
                                                gchar *message,
                                                gpointer user_data);

## Description

## Details

### struct GtkWidget

    struct GtkWidget;

### enum GtkWidgetFlags

    typedef enum
    {
      GTK_TOPLEVEL         = 1 << 4,
      GTK_NO_WINDOW        = 1 << 5,
      GTK_REALIZED         = 1 << 6,
      GTK_MAPPED           = 1 << 7,
      GTK_VISIBLE          = 1 << 8,
      GTK_SENSITIVE        = 1 << 9,
      GTK_PARENT_SENSITIVE = 1 << 10,
      GTK_CAN_FOCUS        = 1 << 11,
      GTK_HAS_FOCUS        = 1 << 12,
      GTK_CAN_DEFAULT      = 1 << 13,
      GTK_HAS_DEFAULT      = 1 << 14,
      GTK_HAS_GRAB	       = 1 << 15,
      GTK_RC_STYLE	       = 1 << 16,
      GTK_COMPOSITE_CHILD  = 1 << 17,
      GTK_NO_REPARENT      = 1 << 18,
      GTK_APP_PAINTABLE    = 1 << 19,
      GTK_RECEIVES_DEFAULT = 1 << 20
    } GtkWidgetFlags;

### GTK_WIDGET_TYPE()

    #define GTK_WIDGET_TYPE(wid)		  (GTK_OBJECT_TYPE (wid))

`wid` : |

### GTK_WIDGET_STATE()

    #define GTK_WIDGET_STATE(wid)		  (GTK_WIDGET (wid)->state)

`wid` : |

### GTK_WIDGET_SAVED_STATE()

    #define GTK_WIDGET_SAVED_STATE(wid)	  (GTK_WIDGET (wid)->saved_state)

`wid` : |

### GTK_WIDGET_FLAGS()

    #define GTK_WIDGET_FLAGS(wid)		  (GTK_OBJECT_FLAGS (wid))

`wid` : |

### GTK_WIDGET_TOPLEVEL()

    #define GTK_WIDGET_TOPLEVEL(wid)	  ((GTK_WIDGET_FLAGS (wid) & GTK_TOPLEVEL) != 0)

`wid` : |

### GTK_WIDGET_NO_WINDOW()

    #define GTK_WIDGET_NO_WINDOW(wid)	  ((GTK_WIDGET_FLAGS (wid) & GTK_NO_WINDOW) != 0)

`wid` : |

### GTK_WIDGET_REALIZED()

    #define GTK_WIDGET_REALIZED(wid)	  ((GTK_WIDGET_FLAGS (wid) & GTK_REALIZED) != 0)

`wid` : |

### GTK_WIDGET_MAPPED()

    #define GTK_WIDGET_MAPPED(wid)		  ((GTK_WIDGET_FLAGS (wid) & GTK_MAPPED) != 0)

`wid` : |

### GTK_WIDGET_VISIBLE()

    #define GTK_WIDGET_VISIBLE(wid)		  ((GTK_WIDGET_FLAGS (wid) & GTK_VISIBLE) != 0)

`wid` : |

### GTK_WIDGET_DRAWABLE()

    #define GTK_WIDGET_DRAWABLE(wid)	  (GTK_WIDGET_VISIBLE (wid) && GTK_WIDGET_MAPPED (wid))

`wid` : |

### GTK_WIDGET_SENSITIVE()

    #define GTK_WIDGET_SENSITIVE(wid)	  ((GTK_WIDGET_FLAGS (wid) & GTK_SENSITIVE) != 0)

`wid` : |

### GTK_WIDGET_PARENT_SENSITIVE()

    #define GTK_WIDGET_PARENT_SENSITIVE(wid)  ((GTK_WIDGET_FLAGS (wid) & GTK_PARENT_SENSITIVE) != 0)

`wid` : |

### GTK_WIDGET_IS_SENSITIVE()

    #define     GTK_WIDGET_IS_SENSITIVE(wid)

`wid` : |

### GTK_WIDGET_CAN_FOCUS()

    #define GTK_WIDGET_CAN_FOCUS(wid)	  ((GTK_WIDGET_FLAGS (wid) & GTK_CAN_FOCUS) != 0)

`wid` : |

### GTK_WIDGET_HAS_FOCUS()

    #define GTK_WIDGET_HAS_FOCUS(wid)	  ((GTK_WIDGET_FLAGS (wid) & GTK_HAS_FOCUS) != 0)

`wid` : |

### GTK_WIDGET_CAN_DEFAULT()

    #define GTK_WIDGET_CAN_DEFAULT(wid)	  ((GTK_WIDGET_FLAGS (wid) & GTK_CAN_DEFAULT) != 0)

`wid` : |

### GTK_WIDGET_RECEIVES_DEFAULT()

    #define GTK_WIDGET_RECEIVES_DEFAULT(wid)  ((GTK_WIDGET_FLAGS (wid) & GTK_RECEIVES_DEFAULT) != 0)

`wid` : |

### GTK_WIDGET_HAS_DEFAULT()

    #define GTK_WIDGET_HAS_DEFAULT(wid)	  ((GTK_WIDGET_FLAGS (wid) & GTK_HAS_DEFAULT) != 0)

`wid` : |

### GTK_WIDGET_HAS_GRAB()

    #define GTK_WIDGET_HAS_GRAB(wid)	  ((GTK_WIDGET_FLAGS (wid) & GTK_HAS_GRAB) != 0)

`wid` : |

### GTK_WIDGET_RC_STYLE()

    #define GTK_WIDGET_RC_STYLE(wid)	  ((GTK_WIDGET_FLAGS (wid) & GTK_RC_STYLE) != 0)

`wid` : |

### GTK_WIDGET_COMPOSITE_CHILD()

    #define GTK_WIDGET_COMPOSITE_CHILD(wid)	  ((GTK_WIDGET_FLAGS (wid) & GTK_COMPOSITE_CHILD) != 0)

`wid` : |

### GTK_WIDGET_APP_PAINTABLE()

    #define GTK_WIDGET_APP_PAINTABLE(wid)	  ((GTK_WIDGET_FLAGS (wid) & GTK_APP_PAINTABLE) != 0)

`wid` : |

### GTK_WIDGET_SET_FLAGS()

    #define GTK_WIDGET_SET_FLAGS(wid,flag)	  G_STMT_START{ (GTK_WIDGET_FLAGS (wid) |= (flag)); }G_STMT_END

`wid` : |
`flag` : |

### GTK_WIDGET_UNSET_FLAGS()

    #define GTK_WIDGET_UNSET_FLAGS(wid,flag)  G_STMT_START{ (GTK_WIDGET_FLAGS (wid) &= ~(flag)); }G_STMT_END

`wid` : |
`flag` : |

### GtkCallback ()

    void        (*GtkCallback)                  (GtkWidget *widget,
                                                 gpointer data);

`widget` : |
`data` : |

### struct GtkRequisition

    struct GtkRequisition
    {
      gint16 width;
      gint16 height;
    };

### struct GtkAllocation

    struct GtkAllocation
    {
      gint16 x;
      gint16 y;
      guint16 width;
      guint16 height;
    };

### struct GtkSelectionData

    struct GtkSelectionData
    {
      GdkAtom selection;
      GdkAtom target;
      GdkAtom type;
      gint	  format;
      guchar *data;
      gint	  length;
    };

### struct GtkWidgetAuxInfo

    struct GtkWidgetAuxInfo
    {
      gint16  x;
      gint16  y;
      gint16 width;
      gint16 height;
    };

### struct GtkWidgetShapeInfo

    struct GtkWidgetShapeInfo
    {
      gint16     offset_x;
      gint16     offset_y;
      GdkBitmap *shape_mask;
    };

### gtk_widget_new ()

    GtkWidget*  gtk_widget_new                  (GtkType type,
                                                 const gchar *first_arg_name,
                                                 ...);

`type` : |
`first_arg_name` : |
`...` : |
Returns : |

### gtk_widget_newv ()

    GtkWidget*  gtk_widget_newv                 (GtkType type,
                                                 guint nargs,
                                                 GtkArg *args);

`type` : |
`nargs` : |
`args` : |
Returns : |

### gtk_widget_ref ()

    void        gtk_widget_ref                  (GtkWidget *widget);

`widget` : |

### gtk_widget_unref ()

    void        gtk_widget_unref                (GtkWidget *widget);

`widget` : |

### gtk_widget_destroy ()

    void        gtk_widget_destroy              (GtkWidget *widget);

`widget` : |

### gtk_widget_destroyed ()

    void        gtk_widget_destroyed            (GtkWidget *widget,
                                                 GtkWidget **widget_pointer);

`widget` : |
`widget_pointer` : |

### gtk_widget_get ()

    void        gtk_widget_get                  (GtkWidget *widget,
                                                 GtkArg *arg);

`widget` : |
`arg` : |

### gtk_widget_getv ()

    void        gtk_widget_getv                 (GtkWidget *widget,
                                                 guint nargs,
                                                 GtkArg *args);

`widget` : |
`nargs` : |
`args` : |

### gtk_widget_set ()

    void        gtk_widget_set                  (GtkWidget *widget,
                                                 const gchar *first_arg_name,
                                                 ...);

`widget` : |
`first_arg_name` : |
`...` : |

### gtk_widget_setv ()

    void        gtk_widget_setv                 (GtkWidget *widget,
                                                 guint nargs,
                                                 GtkArg *args);

`widget` : |
`nargs` : |
`args` : |

### gtk_widget_unparent ()

    void        gtk_widget_unparent             (GtkWidget *widget);

`widget` : |

### gtk_widget_show ()

    void        gtk_widget_show                 (GtkWidget *widget);

`widget` : |

### gtk_widget_show_now ()

    void        gtk_widget_show_now             (GtkWidget *widget);

`widget` : |

### gtk_widget_hide ()

    void        gtk_widget_hide                 (GtkWidget *widget);

`widget` : |

### gtk_widget_show_all ()

    void        gtk_widget_show_all             (GtkWidget *widget);

`widget` : |

### gtk_widget_hide_all ()

    void        gtk_widget_hide_all             (GtkWidget *widget);

`widget` : |

### gtk_widget_map ()

    void        gtk_widget_map                  (GtkWidget *widget);

`widget` : |

### gtk_widget_unmap ()

    void        gtk_widget_unmap                (GtkWidget *widget);

`widget` : |

### gtk_widget_realize ()

    void        gtk_widget_realize              (GtkWidget *widget);

`widget` : |

### gtk_widget_unrealize ()

    void        gtk_widget_unrealize            (GtkWidget *widget);

`widget` : |

### gtk_widget_queue_draw ()

    void        gtk_widget_queue_draw           (GtkWidget *widget);

`widget` : |

### gtk_widget_queue_resize ()

    void        gtk_widget_queue_resize         (GtkWidget *widget);

`widget` : |

### gtk_widget_draw ()

    void        gtk_widget_draw                 (GtkWidget *widget,
                                                 GdkRectangle *area);

`widget` : |
`area` : |

### gtk_widget_draw_focus ()

    void        gtk_widget_draw_focus           (GtkWidget *widget);

`widget` : |

### gtk_widget_draw_default ()

    void        gtk_widget_draw_default         (GtkWidget *widget);

`widget` : |

### gtk_widget_size_request ()

    void        gtk_widget_size_request         (GtkWidget *widget,
                                                 GtkRequisition *requisition);

`widget` : |
`requisition` : |

### gtk_widget_get_child_requisition ()

    void        gtk_widget_get_child_requisition
                                                (GtkWidget *widget,
                                                 GtkRequisition *requisition);

`widget` : |
`requisition` : |

### gtk_widget_size_allocate ()

    void        gtk_widget_size_allocate        (GtkWidget *widget,
                                                 GtkAllocation *allocation);

`widget` : |
`allocation` : |

### gtk_widget_add_accelerator ()

    void        gtk_widget_add_accelerator      (GtkWidget *widget,
                                                 const gchar *accel_signal,
                                                 GtkAccelGroup *accel_group,
                                                 guint accel_key,
                                                 guint accel_mods,
                                                 GtkAccelFlags accel_flags);

`widget` : |
`accel_signal` : |
`accel_group` : |
`accel_key` : |
`accel_mods` : |
`accel_flags` : |

### gtk_widget_remove_accelerator ()

    void        gtk_widget_remove_accelerator   (GtkWidget *widget,
                                                 GtkAccelGroup *accel_group,
                                                 guint accel_key,
                                                 guint accel_mods);

`widget` : |
`accel_group` : |
`accel_key` : |
`accel_mods` : |

### gtk_widget_remove_accelerators ()

    void        gtk_widget_remove_accelerators  (GtkWidget *widget,
                                                 const gchar *accel_signal,
                                                 gboolean visible_only);

`widget` : |
`accel_signal` : |
`visible_only` : |

### gtk_widget_accelerator_signal ()

    guint       gtk_widget_accelerator_signal   (GtkWidget *widget,
                                                 GtkAccelGroup *accel_group,
                                                 guint accel_key,
                                                 guint accel_mods);

`widget` : |
`accel_group` : |
`accel_key` : |
`accel_mods` : |
Returns : |

### gtk_widget_event ()

    gint        gtk_widget_event                (GtkWidget *widget,
                                                 GdkEvent *event);

`widget` : |
`event` : |
Returns : |

### gtk_widget_activate ()

    gboolean    gtk_widget_activate             (GtkWidget *widget);

`widget` : |
Returns : |

### gtk_widget_reparent ()

    void        gtk_widget_reparent             (GtkWidget *widget,
                                                 GtkWidget *new_parent);

`widget` : |
`new_parent` : |

### gtk_widget_popup ()

    void        gtk_widget_popup                (GtkWidget *widget,
                                                 gint x,
                                                 gint y);

`widget` : |
`x` : |
`y` : |

### gtk_widget_intersect ()

    gint        gtk_widget_intersect            (GtkWidget *widget,
                                                 GdkRectangle *area,
                                                 GdkRectangle *intersection);

`widget` : |
`area` : |
`intersection` : |
Returns : |

### gtk_widget_grab_focus ()

    void        gtk_widget_grab_focus           (GtkWidget *widget);

`widget` : |

### gtk_widget_grab_default ()

    void        gtk_widget_grab_default         (GtkWidget *widget);

`widget` : |

### gtk_widget_set_name ()

    void        gtk_widget_set_name             (GtkWidget *widget,
                                                 const gchar *name);

`widget` : |
`name` : |

### gtk_widget_get_name ()

    gchar*      gtk_widget_get_name             (GtkWidget *widget);

`widget` : |
Returns : |

### gtk_widget_set_state ()

    void        gtk_widget_set_state            (GtkWidget *widget,
                                                 GtkStateType state);

`widget` : |
`state` : |

### gtk_widget_set_sensitive ()

    void        gtk_widget_set_sensitive        (GtkWidget *widget,
                                                 gboolean sensitive);

`widget` : |
`sensitive` : |

### gtk_widget_set_parent ()

    void        gtk_widget_set_parent           (GtkWidget *widget,
                                                 GtkWidget *parent);

`widget` : |
`parent` : |

### gtk_widget_set_parent_window ()

    void        gtk_widget_set_parent_window    (GtkWidget *widget,
                                                 GdkWindow *parent_window);

`widget` : |
`parent_window` : |

### gtk_widget_get_parent_window ()

    GdkWindow*  gtk_widget_get_parent_window    (GtkWidget *widget);

`widget` : |
Returns : |

### gtk_widget_set_uposition ()

    void        gtk_widget_set_uposition        (GtkWidget *widget,
                                                 gint x,
                                                 gint y);

`widget` : |
`x` : |
`y` : |

### gtk_widget_set_usize ()

    void        gtk_widget_set_usize            (GtkWidget *widget,
                                                 gint width,
                                                 gint height);

`widget` : |
`width` : |
`height` : |

### gtk_widget_set_events ()

    void        gtk_widget_set_events           (GtkWidget *widget,
                                                 gint events);

`widget` : |
`events` : |

### gtk_widget_add_events ()

    void        gtk_widget_add_events           (GtkWidget *widget,
                                                 gint events);

`widget` : |
`events` : |

### gtk_widget_set_extension_events ()

    void        gtk_widget_set_extension_events (GtkWidget *widget,
                                                 GdkExtensionMode mode);

`widget` : |
`mode` : |

### gtk_widget_get_extension_events ()

    GdkExtensionMode gtk_widget_get_extension_events
                                                (GtkWidget *widget);

`widget` : |
Returns : |

### gtk_widget_get_toplevel ()

    GtkWidget*  gtk_widget_get_toplevel         (GtkWidget *widget);

`widget` : |
Returns : |

### gtk_widget_get_ancestor ()

    GtkWidget*  gtk_widget_get_ancestor         (GtkWidget *widget,
                                                 GtkType widget_type);

`widget` : |
`widget_type` : |
Returns : |

### gtk_widget_get_colormap ()

    GdkColormap* gtk_widget_get_colormap        (GtkWidget *widget);

`widget` : |
Returns : |

### gtk_widget_set_colormap ()

    void        gtk_widget_set_colormap         (GtkWidget *widget,
                                                 GdkColormap *colormap);

`widget` : |
`colormap` : |

### gtk_widget_get_visual ()

    GdkVisual*  gtk_widget_get_visual           (GtkWidget *widget);

`widget` : |
Returns : |

### gtk_widget_set_visual ()

    void        gtk_widget_set_visual           (GtkWidget *widget,
                                                 GdkVisual *visual);

`widget` : |
`visual` : |

### gtk_widget_get_events ()

    gint        gtk_widget_get_events           (GtkWidget *widget);

`widget` : |
Returns : |

### gtk_widget_get_pointer ()

    void        gtk_widget_get_pointer          (GtkWidget *widget,
                                                 gint *x,
                                                 gint *y);

`widget` : |
`x` : |
`y` : |

### gtk_widget_is_ancestor ()

    gint        gtk_widget_is_ancestor          (GtkWidget *widget,
                                                 GtkWidget *ancestor);

`widget` : |
`ancestor` : |
Returns : |

### gtk_widget_hide_on_delete ()

    gint        gtk_widget_hide_on_delete       (GtkWidget *widget);

`widget` : |
Returns : |

### gtk_widget_set_style ()

    void        gtk_widget_set_style            (GtkWidget *widget,
                                                 GtkStyle *style);

`widget` : |
`style` : |

### gtk_widget_set_rc_style ()

    void        gtk_widget_set_rc_style         (GtkWidget *widget);

`widget` : |

### gtk_widget_ensure_style ()

    void        gtk_widget_ensure_style         (GtkWidget *widget);

`widget` : |

### gtk_widget_get_style ()

    GtkStyle*   gtk_widget_get_style            (GtkWidget *widget);

`widget` : |
Returns : |

### gtk_widget_restore_default_style ()

    void        gtk_widget_restore_default_style
                                                (GtkWidget *widget);

`widget` : |

### gtk_widget_reset_rc_styles ()

    void        gtk_widget_reset_rc_styles      (GtkWidget *widget);

`widget` : |

### gtk_widget_push_style ()

    void        gtk_widget_push_style           (GtkStyle *style);

`style` : |

### gtk_widget_push_colormap ()

    void        gtk_widget_push_colormap        (GdkColormap *cmap);

`cmap` : |

### gtk_widget_push_visual ()

    void        gtk_widget_push_visual          (GdkVisual *visual);

`visual` : |

### gtk_widget_pop_style ()

    void        gtk_widget_pop_style            (void);

### gtk_widget_pop_colormap ()

    void        gtk_widget_pop_colormap         (void);

### gtk_widget_pop_visual ()

    void        gtk_widget_pop_visual           (void);

### gtk_widget_set_default_style ()

    void        gtk_widget_set_default_style    (GtkStyle *style);

`style` : |

### gtk_widget_set_default_colormap ()

    void        gtk_widget_set_default_colormap (GdkColormap *colormap);

`colormap` : |

### gtk_widget_set_default_visual ()

    void        gtk_widget_set_default_visual   (GdkVisual *visual);

`visual` : |

### gtk_widget_get_default_style ()

    GtkStyle*   gtk_widget_get_default_style    (void);

Returns : |

### gtk_widget_get_default_colormap ()

    GdkColormap* gtk_widget_get_default_colormap
                                                (void);

Returns : |

### gtk_widget_get_default_visual ()

    GdkVisual*  gtk_widget_get_default_visual   (void);

Returns : |

### gtk_widget_shape_combine_mask ()

    void        gtk_widget_shape_combine_mask   (GtkWidget *widget,
                                                 GdkBitmap *shape_mask,
                                                 gint offset_x,
                                                 gint offset_y);

`widget` : |
`shape_mask` : |
`offset_x` : |
`offset_y` : |

### gtk_widget_path ()

    void        gtk_widget_path                 (GtkWidget *widget,
                                                 guint *path_length,
                                                 gchar **path,
                                                 gchar **path_reversed);

`widget` : |
`path_length` : |
`path` : |
`path_reversed` : |

### gtk_widget_class_path ()

    void        gtk_widget_class_path           (GtkWidget *widget,
                                                 guint *path_length,
                                                 gchar **path,
                                                 gchar **path_reversed);

`widget` : |
`path_length` : |
`path` : |
`path_reversed` : |

### gtk_widget_get_composite_name ()

    gchar*      gtk_widget_get_composite_name   (GtkWidget *widget);

`widget` : |
Returns : |

### gtk_widget_lock_accelerators ()

    void        gtk_widget_lock_accelerators    (GtkWidget *widget);

`widget` : |

### gtk_widget_modify_style ()

    void        gtk_widget_modify_style         (GtkWidget *widget,
                                                 GtkRcStyle *style);

`widget` : |
`style` : |

### gtk_widget_pop_composite_child ()

    void        gtk_widget_pop_composite_child  (void);

### gtk_widget_push_composite_child ()

    void        gtk_widget_push_composite_child (void);

### gtk_widget_queue_clear ()

    void        gtk_widget_queue_clear          (GtkWidget *widget);

`widget` : |

### gtk_widget_queue_clear_area ()

    void        gtk_widget_queue_clear_area     (GtkWidget *widget,
                                                 gint x,
                                                 gint y,
                                                 gint width,
                                                 gint height);

`widget` : |
`x` : |
`y` : |
`width` : |
`height` : |

### gtk_widget_queue_draw_area ()

    void        gtk_widget_queue_draw_area      (GtkWidget *widget,
                                                 gint x,
                                                 gint y,
                                                 gint width,
                                                 gint height);

`widget` : |
`x` : |
`y` : |
`width` : |
`height` : |

### gtk_widget_reset_shapes ()

    void        gtk_widget_reset_shapes         (GtkWidget *widget);

`widget` : |

### gtk_widget_set_app_paintable ()

    void        gtk_widget_set_app_paintable    (GtkWidget *widget,
                                                 gboolean app_paintable);

`widget` : |
`app_paintable` : |

### gtk_widget_set_composite_name ()

    void        gtk_widget_set_composite_name   (GtkWidget *widget,
                                                 gchar *name);

`widget` : |
`name` : |

### gtk_widget_set_scroll_adjustments ()

    gboolean    gtk_widget_set_scroll_adjustments
                                                (GtkWidget *widget,
                                                 GtkAdjustment *hadjustment,
                                                 GtkAdjustment *vadjustment);

`widget` : |
`hadjustment` : |
`vadjustment` : |
Returns : |

### gtk_widget_unlock_accelerators ()

    void        gtk_widget_unlock_accelerators  (GtkWidget *widget);

`widget` : |

## Args

"`name`" (gchar* : Read / Write)

"`parent`" (GtkContainer : Read / Write)

"`x`" (gint : Read / Write)

"`y`" (gint : Read / Write)

"`width`" (gint : Read / Write)

"`height`" (gint : Read / Write)

"`visible`" (gboolean : Read / Write)

"`sensitive`" (gboolean : Read / Write)

"`app_paintable`" (gboolean : Read / Write)

"`can_focus`" (gboolean : Read / Write)

"`has_focus`" (gboolean : Read / Write)

"`can_default`" (gboolean : Read / Write)

"`has_default`" (gboolean : Read / Write)

"`receives_default`" (gboolean : Read / Write)

"`composite_child`" (gboolean : Read / Write)

"`style`" (GtkStyle : Read / Write)

"`events`" (GdkEventMask : Read / Write)

"`extension_events`" (GdkEventMask : Read / Write)

## Signals

### The "show" signal

    void        user_function                  (GtkWidget *widget,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The "hide" signal

    void        user_function                  (GtkWidget *widget,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The "map" signal

    void        user_function                  (GtkWidget *widget,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The "unmap" signal

    void        user_function                  (GtkWidget *widget,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The "realize" signal

    void        user_function                  (GtkWidget *widget,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The "unrealize" signal

    void        user_function                  (GtkWidget *widget,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The "draw" signal

    void        user_function                  (GtkWidget *widget,
                                                GdkRectangle *area,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`area` : |
`user_data` : | user data set when the signal handler was connected.

### The "draw-focus" signal

    void        user_function                  (GtkWidget *widget,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The "draw-default" signal

    void        user_function                  (GtkWidget *widget,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The "size-request" signal

    void        user_function                  (GtkWidget *widget,
                                                GtkRequisition *requisition,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`requisition` : |
`user_data` : | user data set when the signal handler was connected.

### The "size-allocate" signal

    void        user_function                  (GtkWidget *widget,
                                                GtkAllocation *allocation,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`allocation` : |
`user_data` : | user data set when the signal handler was connected.

### The "state-changed" signal

    void        user_function                  (GtkWidget *widget,
                                                GtkStateType state,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`state` : |
`user_data` : | user data set when the signal handler was connected.

### The "parent-set" signal

    void        user_function                  (GtkWidget *widget,
                                                GtkObject *old_parent,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`old_parent` : |
`user_data` : | user data set when the signal handler was connected.

### The "style-set" signal

    void        user_function                  (GtkWidget *widget,
                                                GtkStyle *previous_style,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`previous_style` : |
`user_data` : | user data set when the signal handler was connected.

### The "add-accelerator" signal

    void        user_function                  (GtkWidget *widget,
                                                guint accel_signal_id,
                                                GtkAccelGroup *accel_group,
                                                guint accel_key,
                                                GdkModifierType accel_mods,
                                                GtkAccelFlags accel_flags,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`accel_signal_id` : |
`accel_group` : |
`accel_key` : |
`accel_mods` : |
`accel_flags` : |
`user_data` : | user data set when the signal handler was connected.

### The "remove-accelerator" signal

    void        user_function                  (GtkWidget *widget,
                                                GtkAccelGroup *accel_group,
                                                guint accel_key,
                                                GdkModifierType accel_mods,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`accel_group` : |
`accel_key` : |
`accel_mods` : |
`user_data` : | user data set when the signal handler was connected.

### The "grab-focus" signal

    void        user_function                  (GtkWidget *widget,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The "event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEvent *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "button-press-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventButton *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "button-release-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventButton *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "motion-notify-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventMotion *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "delete-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEvent *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "destroy-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEvent *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "expose-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventExpose *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "key-press-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventKey *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "key-release-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventKey *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "enter-notify-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventCrossing *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "leave-notify-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventCrossing *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "configure-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventConfigure *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "focus-in-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventFocus *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "focus-out-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventFocus *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "map-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEvent *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "unmap-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEvent *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "property-notify-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventProperty *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "selection-clear-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventSelection *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "selection-request-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventSelection *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "selection-notify-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventSelection *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "selection-get" signal

    void        user_function                  (GtkWidget *widget,
                                                GtkSelectionData *data,
                                                guint info,
                                                guint time,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`data` : |
`info` : |
`time` : |
`user_data` : | user data set when the signal handler was connected.

### The "selection-received" signal

    void        user_function                  (GtkWidget *widget,
                                                GtkSelectionData *data,
                                                guint time,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`data` : |
`time` : |
`user_data` : | user data set when the signal handler was connected.

### The "proximity-in-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventProximity *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "proximity-out-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventProximity *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "drag-begin" signal

    void        user_function                  (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`drag_context` : |
`user_data` : | user data set when the signal handler was connected.

### The "drag-end" signal

    void        user_function                  (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`drag_context` : |
`user_data` : | user data set when the signal handler was connected.

### The "drag-data-delete" signal

    void        user_function                  (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`drag_context` : |
`user_data` : | user data set when the signal handler was connected.

### The "drag-leave" signal

    void        user_function                  (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                guint time,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`drag_context` : |
`time` : |
`user_data` : | user data set when the signal handler was connected.

### The "drag-motion" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                gint x,
                                                gint y,
                                                guint time,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`drag_context` : |
`x` : |
`y` : |
`time` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "drag-drop" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                gint x,
                                                gint y,
                                                guint time,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`drag_context` : |
`x` : |
`y` : |
`time` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "drag-data-get" signal

    void        user_function                  (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                GtkSelectionData *data,
                                                guint info,
                                                guint time,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`drag_context` : |
`data` : |
`info` : |
`time` : |
`user_data` : | user data set when the signal handler was connected.

### The "drag-data-received" signal

    void        user_function                  (GtkWidget *widget,
                                                GdkDragContext *drag_context,
                                                gint x,
                                                gint y,
                                                GtkSelectionData *data,
                                                guint info,
                                                guint time,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`drag_context` : |
`x` : |
`y` : |
`data` : |
`info` : |
`time` : |
`user_data` : | user data set when the signal handler was connected.

### The "client-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventClient *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "no-expose-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEventNoExpose *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "visibility-notify-event" signal

    gboolean    user_function                  (GtkWidget *widget,
                                                GdkEvent *event,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`event` : |
`user_data` : | user data set when the signal handler was connected.
Returns : |

### The "debug-msg" signal

    void        user_function                  (GtkWidget *widget,
                                                gchar *message,
                                                gpointer user_data);

`widget` : | the object which received the signal.
`message` : |
`user_data` : | user data set when the signal handler was connected.

<<< Previous Page | Home | Up | Next Page >>>
GtkVSeparator | GtkWindow