| GTK+ Reference Manual | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
"name" |
"show" void user_function (GtkWidget *widget, |
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; |
#define GTK_WIDGET_TOPLEVEL(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_TOPLEVEL) != 0) |
| wid : |
#define GTK_WIDGET_NO_WINDOW(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_NO_WINDOW) != 0) |
| wid : |
#define GTK_WIDGET_REALIZED(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_REALIZED) != 0) |
| wid : |
#define GTK_WIDGET_VISIBLE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_VISIBLE) != 0) |
| wid : |
#define GTK_WIDGET_DRAWABLE(wid) (GTK_WIDGET_VISIBLE (wid) && GTK_WIDGET_MAPPED (wid)) |
| wid : |
#define GTK_WIDGET_SENSITIVE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_SENSITIVE) != 0) |
| wid : |
#define GTK_WIDGET_PARENT_SENSITIVE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_PARENT_SENSITIVE) != 0) |
| wid : |
#define GTK_WIDGET_CAN_FOCUS(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_CAN_FOCUS) != 0) |
| wid : |
#define GTK_WIDGET_HAS_FOCUS(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_HAS_FOCUS) != 0) |
| wid : |
#define GTK_WIDGET_CAN_DEFAULT(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_CAN_DEFAULT) != 0) |
| wid : |
#define GTK_WIDGET_RECEIVES_DEFAULT(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_RECEIVES_DEFAULT) != 0) |
| wid : |
#define GTK_WIDGET_HAS_DEFAULT(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_HAS_DEFAULT) != 0) |
| wid : |
#define GTK_WIDGET_HAS_GRAB(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_HAS_GRAB) != 0) |
| wid : |
#define GTK_WIDGET_RC_STYLE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_RC_STYLE) != 0) |
| wid : |
#define GTK_WIDGET_COMPOSITE_CHILD(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_COMPOSITE_CHILD) != 0) |
| wid : |
#define GTK_WIDGET_APP_PAINTABLE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_APP_PAINTABLE) != 0) |
| wid : |
#define GTK_WIDGET_SET_FLAGS(wid,flag) G_STMT_START{ (GTK_WIDGET_FLAGS (wid) |= (flag)); }G_STMT_END |
| wid : | |
| flag : |
#define GTK_WIDGET_UNSET_FLAGS(wid,flag) G_STMT_START{ (GTK_WIDGET_FLAGS (wid) &= ~(flag)); }G_STMT_END |
| wid : | |
| flag : |
struct GtkSelectionData
{
GdkAtom selection;
GdkAtom target;
GdkAtom type;
gint format;
guchar *data;
gint length;
}; |
struct GtkWidgetAuxInfo
{
gint16 x;
gint16 y;
gint16 width;
gint16 height;
}; |
struct GtkWidgetShapeInfo
{
gint16 offset_x;
gint16 offset_y;
GdkBitmap *shape_mask;
}; |
GtkWidget* gtk_widget_new (GtkType type, const |
| type : | |
| first_arg_name : | |
| ... : | |
| Returns : |
GtkWidget* gtk_widget_newv (GtkType type, |
| type : | |
| nargs : | |
| args : | |
| Returns : |
void gtk_widget_destroyed (GtkWidget *widget, GtkWidget **widget_pointer); |
| widget : | |
| widget_pointer : |
void gtk_widget_getv (GtkWidget *widget, |
| widget : | |
| nargs : | |
| args : |
void gtk_widget_set (GtkWidget *widget, const |
| widget : | |
| first_arg_name : | |
| ... : |
void gtk_widget_setv (GtkWidget *widget, |
| widget : | |
| nargs : | |
| args : |
void gtk_widget_size_request (GtkWidget *widget, GtkRequisition *requisition); |
| widget : | |
| requisition : |
void gtk_widget_get_child_requisition
(GtkWidget *widget,
GtkRequisition *requisition); |
| widget : | |
| requisition : |
void gtk_widget_size_allocate (GtkWidget *widget, GtkAllocation *allocation); |
| widget : | |
| allocation : |
void gtk_widget_add_accelerator (GtkWidget *widget, const |
| widget : | |
| accel_signal : | |
| accel_group : | |
| accel_key : | |
| accel_mods : | |
| accel_flags : |
void gtk_widget_remove_accelerator (GtkWidget *widget, GtkAccelGroup *accel_group, |
| widget : | |
| accel_group : | |
| accel_key : | |
| accel_mods : |
void gtk_widget_remove_accelerators (GtkWidget *widget, const |
| widget : | |
| accel_signal : | |
| visible_only : |
|
| widget : | |
| accel_group : | |
| accel_key : | |
| accel_mods : | |
| Returns : |
|
| widget : | |
| event : | |
| Returns : |
void gtk_widget_reparent (GtkWidget *widget, GtkWidget *new_parent); |
| widget : | |
| new_parent : |
|
| widget : | |
| area : | |
| intersection : | |
| Returns : |
void gtk_widget_set_name (GtkWidget *widget, const |
| widget : | |
| name : |
void gtk_widget_set_state (GtkWidget *widget, GtkStateType state); |
| widget : | |
| state : |
void gtk_widget_set_sensitive (GtkWidget *widget, |
| widget : | |
| sensitive : |
void gtk_widget_set_parent (GtkWidget *widget, GtkWidget *parent); |
| widget : | |
| parent : |
void gtk_widget_set_parent_window (GtkWidget *widget, |
| widget : | |
| parent_window : |
|
| widget : | |
| Returns : |
void gtk_widget_set_uposition (GtkWidget *widget, |
| widget : | |
| x : | |
| y : |
void gtk_widget_set_usize (GtkWidget *widget, |
| widget : | |
| width : | |
| height : |
void gtk_widget_set_events (GtkWidget *widget, |
| widget : | |
| events : |
void gtk_widget_add_events (GtkWidget *widget, |
| widget : | |
| events : |
void gtk_widget_set_extension_events (GtkWidget *widget, |
| widget : | |
| mode : |
|
| widget : | |
| Returns : |
GtkWidget* gtk_widget_get_ancestor (GtkWidget *widget, GtkType widget_type); |
| widget : | |
| widget_type : | |
| Returns : |
|
| widget : | |
| Returns : |
void gtk_widget_set_colormap (GtkWidget *widget, |
| widget : | |
| colormap : |
void gtk_widget_set_visual (GtkWidget *widget, |
| widget : | |
| visual : |
void gtk_widget_get_pointer (GtkWidget *widget, |
| widget : | |
| x : | |
| y : |
|
| widget : | |
| ancestor : | |
| Returns : |
void gtk_widget_set_style (GtkWidget *widget, GtkStyle *style); |
| widget : | |
| style : |
void gtk_widget_restore_default_style
(GtkWidget *widget); |
| widget : |
void gtk_widget_set_default_colormap ( |
| colormap : |
void gtk_widget_shape_combine_mask (GtkWidget *widget, |
| widget : | |
| shape_mask : | |
| offset_x : | |
| offset_y : |
void gtk_widget_path (GtkWidget *widget, |
| widget : | |
| path_length : | |
| path : | |
| path_reversed : |
void gtk_widget_class_path (GtkWidget *widget, |
| widget : | |
| path_length : | |
| path : | |
| path_reversed : |
|
| widget : | |
| Returns : |
void gtk_widget_modify_style (GtkWidget *widget, GtkRcStyle *style); |
| widget : | |
| style : |
void gtk_widget_queue_clear_area (GtkWidget *widget, |
| widget : | |
| x : | |
| y : | |
| width : | |
| height : |
void gtk_widget_queue_draw_area (GtkWidget *widget, |
| widget : | |
| x : | |
| y : | |
| width : | |
| height : |
void gtk_widget_set_app_paintable (GtkWidget *widget, |
| widget : | |
| app_paintable : |
void gtk_widget_set_composite_name (GtkWidget *widget, |
| widget : | |
| name : |
|
| widget : | |
| hadjustment : | |
| vadjustment : | |
| Returns : |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| area : | |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, GtkRequisition *requisition, |
| widget : | the object which received the signal. |
| requisition : | |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, GtkAllocation *allocation, |
| widget : | the object which received the signal. |
| allocation : | |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, GtkStateType state, |
| widget : | the object which received the signal. |
| state : | |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, GtkObject *old_parent, |
| widget : | the object which received the signal. |
| old_parent : | |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, GtkStyle *previous_style, |
| widget : | the object which received the signal. |
| previous_style : | |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| 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. |
void user_function (GtkWidget *widget, GtkAccelGroup *accel_group, |
| widget : | the object which received the signal. |
| accel_group : | |
| accel_key : | |
| accel_mods : | |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| user_data : | user data set when the signal handler was connected. |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
void user_function (GtkWidget *widget, GtkSelectionData *data, |
| widget : | the object which received the signal. |
| data : | |
| info : | |
| time : | |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, GtkSelectionData *data, |
| widget : | the object which received the signal. |
| data : | |
| time : | |
| user_data : | user data set when the signal handler was connected. |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| drag_context : | |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| drag_context : | |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| drag_context : | |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| drag_context : | |
| time : | |
| user_data : | user data set when the signal handler was connected. |
|
| widget : | the object which received the signal. |
| drag_context : | |
| x : | |
| y : | |
| time : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| drag_context : | |
| x : | |
| y : | |
| time : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| drag_context : | |
| data : | |
| info : | |
| time : | |
| user_data : | user data set when the signal handler was connected. |
void user_function (GtkWidget *widget, |
| 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. |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
|
| widget : | the object which received the signal. |
| event : | |
| user_data : | user data set when the signal handler was connected. |
| Returns : |
void user_function (GtkWidget *widget, |
| widget : | the object which received the signal. |
| message : | |
| user_data : | user data set when the signal handler was connected. |