| GtkWidget {RGtk2.10} | R Documentation |
Base class for all widgets
gtkWidgetNew(type, ..., show = TRUE)
gtkWidgetDestroy(object, ...)
gtkWidgetSet(obj, ...)
gtkWidgetUnparent(object)
gtkWidgetShow(object)
gtkWidgetShowNow(object)
gtkWidgetHide(object)
gtkWidgetShowAll(object)
gtkWidgetHideAll(object)
gtkWidgetMap(object)
gtkWidgetUnmap(object)
gtkWidgetRealize(object)
gtkWidgetUnrealize(object)
gtkWidgetQueueDraw(object)
gtkWidgetQueueResize(object)
gtkWidgetQueueResizeNoRedraw(object)
gtkWidgetDraw(object, area)
gtkWidgetSizeRequest(object)
gtkWidgetGetChildRequisition(object)
gtkWidgetSizeAllocate(object, allocation)
gtkWidgetAddAccelerator(object, accel.signal, accel.group, accel.key, accel.mods, accel.flags)
gtkWidgetRemoveAccelerator(object, accel.group, accel.key, accel.mods)
gtkWidgetSetAccelPath(object, accel.path, accel.group)
gtkWidgetListAccelClosures(object)
gtkWidgetCanActivateAccel(object, signal.id)
gtkWidgetEvent(object, event)
gtkWidgetActivate(object)
gtkWidgetReparent(object, new.parent)
gtkWidgetIntersect(object, area, intersection)
gtkWidgetIsFocus(object)
gtkWidgetGrabFocus(object)
gtkWidgetGrabDefault(object)
gtkWidgetSetName(object, name)
gtkWidgetGetName(object)
gtkWidgetSetState(object, state)
gtkWidgetSetSensitive(object, sensitive)
gtkWidgetSetParent(object, parent)
gtkWidgetSetParentWindow(object, parent.window)
gtkWidgetGetParentWindow(object)
gtkWidgetSetUposition(object, x, y)
gtkWidgetSetUsize(object, width, height)
gtkWidgetSetEvents(object, events)
gtkWidgetAddEvents(object, events)
gtkWidgetSetExtensionEvents(object, mode)
gtkWidgetGetExtensionEvents(object)
gtkWidgetGetToplevel(object)
gtkWidgetGetAncestor(object, widget.type)
gtkWidgetGetColormap(object)
gtkWidgetSetColormap(object, colormap)
gtkWidgetGetVisual(object)
gtkWidgetGetEvents(object)
gtkWidgetGetPointer(object)
gtkWidgetIsAncestor(object, ancestor)
gtkWidgetTranslateCoordinates(object, dest.widget, src.x, src.y)
gtkWidgetHideOnDelete(object)
gtkWidgetSetStyle(object, style = NULL)
gtkWidgetEnsureStyle(object)
gtkWidgetGetStyle(object)
gtkWidgetResetRcStyles(object)
gtkWidgetPushColormap(cmap)
gtkWidgetPopColormap()
gtkWidgetSetDefaultColormap(colormap)
gtkWidgetGetDefaultStyle()
gtkWidgetGetDefaultColormap()
gtkWidgetGetDefaultVisual()
gtkWidgetSetDirection(object, dir)
gtkWidgetGetDirection(object)
gtkWidgetSetDefaultDirection(dir)
gtkWidgetGetDefaultDirection()
gtkWidgetShapeCombineMask(object, shape.mask, offset.x, offset.y)
gtkWidgetInputShapeCombineMask(object, shape.mask = NULL, offset.x, offset.y)
gtkWidgetPath(object)
gtkWidgetClassPath(object)
gtkWidgetGetCompositeName(object)
gtkWidgetModifyStyle(object, style)
gtkWidgetGetModifierStyle(object)
gtkWidgetModifyFg(object, state, color = NULL)
gtkWidgetModifyBg(object, state, color = NULL)
gtkWidgetModifyText(object, state, color = NULL)
gtkWidgetModifyBase(object, state, color = NULL)
gtkWidgetModifyFont(object, font.desc = NULL)
gtkWidgetCreatePangoContext(object)
gtkWidgetGetPangoContext(object)
gtkWidgetCreatePangoLayout(object, text)
gtkWidgetRenderIcon(object, stock.id, size, detail = NULL)
gtkWidgetPopCompositeChild()
gtkWidgetPushCompositeChild()
gtkWidgetQueueClear(object)
gtkWidgetQueueClearArea(object, x, y, width, height)
gtkWidgetQueueDrawArea(object, x, y, width, height)
gtkWidgetResetShapes(object)
gtkWidgetSetAppPaintable(object, app.paintable)
gtkWidgetSetDoubleBuffered(object, double.buffered)
gtkWidgetSetRedrawOnAllocate(object, redraw.on.allocate)
gtkWidgetSetCompositeName(object, name)
gtkWidgetSetScrollAdjustments(object, hadjustment = NULL, vadjustment = NULL)
gtkWidgetMnemonicActivate(object, group.cycling)
gtkWidgetClassInstallStyleProperty(klass, pspec)
gtkWidgetClassInstallStylePropertyParser(klass, pspec, parser)
gtkWidgetClassFindStyleProperty(klass, property.name)
gtkWidgetClassListStyleProperties(klass)
gtkWidgetRegionIntersect(object, region)
gtkWidgetSendExpose(object, event)
gtkWidgetStyleGet(object, ...)
gtkWidgetStyleGetProperty(object, property.name)
gtkWidgetGetAccessible(object)
gtkWidgetChildFocus(object, direction)
gtkWidgetChildNotify(object, child.property)
gtkWidgetFreezeChildNotify(object)
gtkWidgetGetChildVisible(object)
gtkWidgetGetParent(object)
gtkWidgetGetSettings(object)
gtkWidgetGetClipboard(object, selection)
gtkWidgetGetDisplay(object)
gtkWidgetGetRootWindow(object)
gtkWidgetGetScreen(object)
gtkWidgetHasScreen(object)
gtkWidgetGetSizeRequest(object)
gtkWidgetSetChildVisible(object, is.visible)
gtkWidgetSetSizeRequest(object, width, height)
gtkWidgetThawChildNotify(object)
gtkWidgetSetNoShowAll(object, no.show.all)
gtkWidgetGetNoShowAll(object)
gtkWidgetListMnemonicLabels(object)
gtkWidgetAddMnemonicLabel(object, label)
gtkWidgetRemoveMnemonicLabel(object, label)
gtkWidgetGetAction(object)
gtkWidgetIsComposited(object)
gtkRequisitionCopy(object)
gtkWidget(type, ..., show = TRUE)
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkMisc
+----GtkCalendar
+----GtkCellView
+----GtkDrawingArea
+----GtkEntry
+----GtkRuler
+----GtkRange
+----GtkSeparator
+----GtkInvisible
+----GtkOldEditable
+----GtkPreview
+----GtkProgress
GtkWidget implements AtkImplementorIface.
GtkWidget is required by
GtkFileChooser and GtkCellEditable.
GtkWidget introduces style
properties - these are basically object properties that are stored
not on the object, but in the style object associated to the widget. Style
properties are set in resource files.
This mechanism is used for configuring such things as the location of the
scrollbar arrows through the theme, giving theme authors more control over the
look of applications without the need to write a theme engine in C.
Use gtkWidgetClassInstallStyleProperty to install style properties for
a widget class, gtkWidgetClassFindStyleProperty or
gtkWidgetClassListStyleProperties to get information about existing
style properties and gtkWidgetStyleGetProperty, gtkWidgetStyleGet or
gtkWidgetStyleGetValist() to obtain the value of a style property.
GtkWidgetstyleGtkStyle] The style for the widget. The style contains the colors the widget should be
drawn in for each state along with graphics contexts used to draw with and the font
to use for text.requisitionGtkRequisition] The widget's desired size.allocationGtkAllocation] The widget's allocated size.windowGdkWindow] The widget's window or its parent window if it does not have a window. (Which
will be indicated by the GTK_NO_WINDOW flag being set).parentGtkWidget]
GtkWidgetClassactivate_signal
The signal to emit when a widget of this class is activated,
gtkWidgetActivate handles the emission. Implementation of this
signal is optional.
set_scroll_adjustment_signal
This signal is emitted when a widget of this class is added
to a scrolling aware parent, gtkWidgetSetScrollAdjustments
handles the emission.
Implementation of this signal is optional.
GtkRequisitionGtkRequisition represents the desired size of a widget. See
for more information.
widthheight
GtkSelectionData
gtkWidget is the equivalent of gtkWidgetNew.
GtkWidgetFlagstoplevelGtkWindows and
GtkMenus have this flag set throughout their lifetime.
Toplevel widgets always contain their own GdkWindow.no-windowGdkWindow.
Visible action (e.g. drawing) is performed on the parent's GdkWindow.realizedgtkWidgetRealize, unset by gtkWidgetUnrealize.
A realized widget has an associated GdkWindow.mappedgtkWidgetMap, unset by gtkWidgetUnmap.
Only realized widgets can be mapped. It means that gdkWindowShow
has been called on the widgets window(s).visiblegtkWidgetShow, unset by gtkWidgetHide. Implies that a
widget will be mapped as soon as its parent is mapped.sensitivegtkWidgetSetSensitive.
The sensitivity of a widget determines whether it will receive
certain events (e.g. button or key presses). One premise for
the widget's sensitivity is to have this flag set.parent-sensitivegtkWidgetSetSensitive operations on the
parents of the widget.
This is the second premise for the widget's sensitivity. Once
it has GTK_SENSITIVE and GTK_PARENT_SENSITIVE set, its state is
effectively sensitive. This is expressed (and can be examined) by
the GTK_WIDGET_IS_SENSITIVE function.can-focushas-focusgtkWidgetGrabFocus for widgets that also
have GTK_CAN_FOCUS set. The flag will be unset once another widget
grabs the focus.can-defaultgtkWidgetGrabDefault.has-defaulthas-grabgtkGrabAdd, unset by gtkGrabRemove. It means that the
widget is in the grab_widgets stack, and will be the preferred one for
receiving events other than ones of cosmetic value.rc-stylecomposite-childgtkWidgetPushCompositeChild, gtkWidgetPopCompositeChild.no-reparentapp-paintablegtkWidgetSetAppPaintable.
Must be set on widgets whose window the application directly draws on,
in order to keep GTK+ from overwriting the drawn stuff.receives-defaultGTK_HAS_DEFAULT set even if there is a different widget set as default.double-bufferedgtkWidgetSetDoubleBuffered.
Indicates that exposes done on the widget should be double-buffered.no-show-all
GtkWidgetHelpTypetooltipwhats-this
GtkTextDirectionnoneltrrtl
GtkCallback(widget, data)gtkContainerForeach.
widgetGtkWidget] the widget to operate ondata
accel-closures-changed(widget, user.data)widgetGtkWidget] the object which received the signal.user.data
button-press-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventButton] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
button-release-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventButton] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
can-activate-accel(widget, signal.id, returns, user.data)signal.id can currently be activated.
This signal is present to allow applications and derived
widgets to override the default GtkWidget handling
for determining whether an accelerator can be activated.
widgetGtkWidget] the object which received the signalsignal.idwidgetreturnsTRUE if the signal can be activated.user.data
child-notify(widget, pspec, user.data)widgetGtkWidget] the object which received the signal.pspecGParamSpec] the GParamSpec of the changed child property.user.data
client-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventClient] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
composited-changed(widget, user.data)widgetGtkWidget] the object which received the signal.user.data
configure-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventConfigure] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
delete-event(widget, event, user.data)gtkWidgetHideOnDelete to
this signal will cause the window to be hidden instead, so that
it can later be shown again without reconstructing it.
widgetGtkWidget] the object which received the signal.eventGdkEvent] the event which triggered this signaluser.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event.
FALSE to propagate the event further.
destroy-event(widget, event, user.data)GdkWindow is destroyed.
You rarely get this signal, because most widgets disconnect themselves
from their window before they destroy it, so no widget owns the
window at destroy time.
widgetGtkWidget] the object which received the signal.eventGdkEvent] the event which triggered this signaluser.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event.
FALSE to propagate the event further.
direction-changed(widget, arg1, user.data)widgetGtkWidget] the object which received the signal.arg1GtkTextDirection] user.data
drag-begin(widget, drag.context, user.data)gtkDragSourceSetIcon.
widgetGtkWidget] the object which received the signal.drag.contextGdkDragContext] the drag contextuser.data
drag-data-delete(widget, drag.context, user.data)GDK_ACTION_MOVE is successfully completed. The signal
handler is responsible for deleting the data that has been dropped. What
"delete" means, depends on the context of the drag operation.
widgetGtkWidget] the object which received the signal.drag.contextGdkDragContext] the drag contextuser.data
drag-data-get(widget, drag.context, data, info, time, user.data)data with the data in the format which is indicated by info.
See gtkSelectionDataSet and gtkSelectionDataSetText.
widgetGtkWidget] the object which received the signal.drag.contextGdkDragContext] the drag contextdataGtkSelectionData] the GtkSelectionData to be filled with the dragged datainfoGtkTargetList.timeuser.data
drag-data-received(widget, drag.context, x, y, data, info, time, user.data)gdkDragStatus
and not finish the drag. If the data was received in
response to a ::drag-drop signal (and this is the last target to be received),
the handler for this signal is expected to process the received data and then
call gtkDragFinish, setting the success parameter depending on whether
the data was processed successfully.
The handler may inspect and modify drag.context->action before calling
gtkDragFinish, e.g. to implement GDK_ACTION_ASK as shown in the following
example:
drag_motion <- function(widget, context, x, y, time)
{
state <- widget$getData("drag-state")
if (!state$drag_highlight)
{
state$drag_highlight <- T
gtkDragHighlight(widget)
}
target <- gtkDragDestFindTarget(widget, context, NULL)
if (target == 0)
gdkDragStatus(context, 0, time)
else
{
state$pending_status <- context[["suggestedAction"]]
gtkDragGetData(widget, context, target, time)
}
widget$setData("drag-state", state)
return(TRUE)
}
drag_data_received <- function(widget, context, x, y, selection_data, info, time)
{
state <- widget$getData("drag-state")
if (state$pending_status)
{
# We are getting this data due to a request in drag_motion,
# rather than due to a request in drag_drop, so we are just
# supposed to call gdk_drag_status(), not actually paste in the data.
str <- gtkSelectionDataGetText(selection_data)
if (!data_is_acceptable (str))
gdkDragStatus(context, 0, time)
else
gdkDragStatus(context, state$pending_status, time)
state$pending_status <- 0
}
else
{
# accept the drop
}
widget$setData("drag-state", state)
}
widgetGtkWidget] the object which received the signal.drag.contextGdkDragContext] the drag contextxydataGtkSelectionData] the received datainfoGtkTargetList.timeuser.data
drag-drop(widget, drag.context, x, y, time, returns, user.data)FALSE and no further processing is necessary. Otherwise, the handler returns
TRUE. In this case, the handler must ensure that gtkDragFinish is called
to let the source know that the drop is done. The call to gtkDragFinish
can be done either directly or in a ::drag-data-received handler which gets
triggered by calling gtkDropGetData() to receive the data for one or more
of the supported targets.
widgetGtkWidget] the object which received the signal.drag.contextGdkDragContext] the drag contextxytimereturnsuser.data
drag-end(widget, drag.context, user.data)widgetGtkWidget] the object which received the signal.drag.contextGdkDragContext] the drag contextuser.data
drag-leave(widget, drag.context, time, user.data)gtkDragUnhighlight
widgetGtkWidget] the object which received the signal.drag.contextGdkDragContext] the drag contexttimeuser.data
drag-motion(widget, drag.context, x, y, time, returns, user.data)FALSE and no further processing
is necessary. Otherwise, the handler returns TRUE. In this case, the
handler is responsible for providing the necessary information for
displaying feedback to the user, by calling gdkDragStatus. If the
decision whether the drop will be accepted or rejected can't be made
based solely on the cursor position and the type of the data, the handler
may inspect the dragged data by calling gtkDragGetData and defer the
gdkDragStatus call to the ::drag-data-received handler.
Note that there is no ::drag-enter signal. The drag receiver has to keep
track of whether he has received any ::drag-motion signals since the last
::drag-leave and if not, treat the ::drag-motion signal as an "enter" signal.
Upon an "enter", the handler will typically highlight the drop site with
gtkDragHighlight.
static void
drag_motion (GtkWidget *widget,
GdkDragContext *context,
gint x,
gint y,
guint time)
{
GdkAtom target;
PrivateData *private_data = GET_PRIVATE_DATA (widget);
if (!private_data->drag_highlight)
{
private_data->drag_highlight = 1;
gtk_drag_highlight (widget);
}
target = gtk_drag_dest_find_target (widget, context, NULL);
if (target == GDK_NONE)
gdk_drag_status (context, 0, time);
else
{
private_data->pending_status = context->suggested_action;
gtk_drag_get_data (widget, context, target, time);
}
return TRUE;
}
static void
drag_data_received (GtkWidget *widget,
GdkDragContext *context,
gint x,
gint y,
GtkSelectionData *selection_data,
guint info,
guint time)
{
PrivateData *private_data = GET_PRIVATE_DATA (widget);
if (private_data->suggested_action)
{
private_data->suggested_action = 0;
/ * We are getting this data due to a request in drag_motion,
* rather than due to a request in drag_drop, so we are just
* supposed to call gdk_drag_status( ), not actually paste in
* the data.
* /
str = gtk_selection_data_get_text (selection_data);
if (!data_is_acceptable (str))
gdk_drag_status (context, 0, time);
else
gdk_drag_status (context, private_data->suggested_action, time);
}
else
{
/ * accept the drop * /
}
}
widgetGtkWidget] the object which received the signal.drag.contextGdkDragContext] the drag contextxytimereturnsuser.data
enter-notify-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventCrossing] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEvent] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
event-after(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEvent] user.data
expose-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventExpose] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
focus(widget, arg1, user.data)widgetGtkWidget] the object which received the signal.arg1GtkDirectionType] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
focus-in-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventFocus] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
focus-out-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventFocus] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
grab-broken-event(widget, event, user.data)widget gets broken.
On X11, this happens when the grab window becomes unviewable (i.e. it or one of its ancestors is unmapped), or if the same application grabs the pointer or keyboard again.
Since 2.8
widgetGtkWidget] the object which received the signaleventGdkEvent] the GdkEventGrabBroken eventuser.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event.
FALSE to propagate the event further.
grab-focus(widget, user.data)widgetGtkWidget] the object which received the signal.user.data
grab-notify(widget, was.grabbed, user.data)
A widget is shadowed by a gtkGrabAdd when the topmost
grab widget in the grab stack of its window group is not
its ancestor.
widgetGtkWidget] the object which received the signalwas.grabbedFALSE if the widget becomes shadowed, TRUE
if it becomes unshadoweduser.data
hide(widget, user.data)widgetGtkWidget] the object which received the signal.user.data
hierarchy-changed(widget, widget2, user.data)GtkWindow. This signal is emitted when
a widget changes from un-anchored to anchored or vice-versa.
widgetGtkWidget] the object which received the signal.widget2GtkWidget] user.data
key-press-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventKey] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
key-release-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventKey] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
leave-notify-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventCrossing] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
map(widget, user.data)widgetGtkWidget] the object which received the signal.user.data
map-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEvent] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
mnemonic-activate(widget, arg1, user.data)widgetGtkWidget] the object which received the signal.arg1user.data
motion-notify-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventMotion] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
no-expose-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventNoExpose] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
parent-set(widget, old.parent, user.data)widgetGtkWidget] the object on which the signal is emittedold.parentGtkObject] the previous parent, or NULL if the widget
just got its initial parent.user.data
popup-menu(widget, returns, user.data)GtkEntry widget creates a menu
with clipboard commands. See for an
example of how to use this signal.
widgetGtkWidget] the object which received the signalreturnsuser.data
property-notify-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventProperty] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
proximity-in-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventProximity] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
proximity-out-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventProximity] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
realize(widget, user.data)widgetGtkWidget] the object which received the signal.user.data
screen-changed(widget, arg1, user.data)widgetGtkWidget] the object which received the signal.arg1GdkScreen] user.data
scroll-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventScroll] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
selection-clear-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventSelection] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
selection-get(widget, data, info, time, user.data)widgetGtkWidget] the object which received the signal.dataGtkSelectionData] infotimeuser.data
selection-notify-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventSelection] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
selection-received(widget, data, time, user.data)widgetGtkWidget] the object which received the signal.dataGtkSelectionData] timeuser.data
selection-request-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventSelection] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
show(widget, user.data)widgetGtkWidget] the object which received the signal.user.data
show-help(widget, arg1, user.data)widgetGtkWidget] the object which received the signal.arg1GtkWidgetHelpType] user.data
size-allocate(widget, allocation, user.data)widgetGtkWidget] the object which received the signal.allocationGtkAllocation] user.data
size-request(widget, requisition, user.data)widgetGtkWidget] the object which received the signal.requisitionGtkRequisition] user.data
state-changed(widget, state, user.data)widgetGtkWidget] the object which received the signal.stateGtkStateType] user.data
style-set(widget, previous.style, user.data)gtkWidgetModifyBase also cause this signal to be emitted.
widgetGtkWidget] the object on which the signal is emittedprevious.styleGtkStyle] the previous style, or NULL if the widget
just got its initial style user.data
unmap(widget, user.data)widgetGtkWidget] the object which received the signal.user.data
unmap-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEvent] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
unrealize(widget, user.data)widgetGtkWidget] the object which received the signal.user.data
visibility-notify-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventVisibility] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
window-state-event(widget, event, user.data)widgetGtkWidget] the object which received the signal.eventGdkEventWindowState] user.data
Returns: [logical] TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
app-paintable [logical : Read / Write]Whether the application will paint directly on the widget. Default value: FALSE
can-default [logical : Read / Write]Whether the widget can be the default widget. Default value: FALSE
can-focus [logical : Read / Write]Whether the widget can accept the input focus. Default value: FALSE
composite-child [logical : Read]Whether the widget is part of a composite widget. Default value: FALSE
events [GdkEventMask : Read / Write]The event mask that decides what kind of GdkEvents this widget gets. Default value: GDK_STRUCTURE_MASK
extension-events [GdkExtensionMode : Read / Write]The mask that decides what kind of extension events this widget gets. Default value: GDK_EXTENSION_EVENTS_NONE
has-default [logical : Read / Write]Whether the widget is the default widget. Default value: FALSE
has-focus [logical : Read / Write]Whether the widget has the input focus. Default value: FALSE
height-request [integer : Read / Write]Override for height request of the widget, or -1 if natural request should be used. Allowed values: >= -1 Default value: -1
is-focus [logical : Read / Write]Whether the widget is the focus widget within the toplevel. Default value: FALSE
name [character : Read / Write]The name of the widget. Default value: NULL
no-show-all [logical : Read / Write]Whether gtk_widget_show_all() should not affect this widget. Default value: FALSE
parent [GtkContainer : Read / Write]The parent widget of this widget. Must be a Container widget.
receives-default [logical : Read / Write]If TRUE, the widget will receive the default action when it is focused. Default value: FALSE
sensitive [logical : Read / Write]Whether the widget responds to input. Default value: TRUE
style [GtkStyle : Read / Write]The style of the widget, which contains information about how it will look (colors etc).
visible [logical : Read / Write]Whether the widget is visible. Default value: FALSE
width-request [integer : Read / Write]Override for width request of the widget, or -1 if natural request should be used. Allowed values: >= -1 Default value: -1
cursor-aspect-ratio [numeric : Read]Aspect ratio with which to draw insertion cursor. Allowed values: [0,1] Default value: 0.04
cursor-color [GdkColor : Read]Color with which to draw insertion cursor.
draw-border [GtkBorder : Read]The "draw-border" property defines the size of areas outside the widget's allocation to draw.
Since 2.8
focus-line-pattern [character : Read]Dash pattern used to draw the focus indicator. Default value: "\001\001"
focus-line-width [integer : Read]Width, in pixels, of the focus indicator line. Allowed values: >= 0 Default value: 1
focus-padding [integer : Read]Width, in pixels, between focus indicator and the widget 'box'. Allowed values: >= 0 Default value: 1
interior-focus [logical : Read]Whether to draw the focus indicator inside widgets. Default value: TRUE
link-color [GdkColor : Read]The "link-color" property defines the color of unvisited links.
Since 2.10
scroll-arrow-hlength [integer : Read]The "scroll-arrow-hlength" property defines the length of horizontal scroll arrows.
Allowed values: >= 1 Default value: 16 Since 2.10
scroll-arrow-vlength [integer : Read]The "scroll-arrow-vlength" property defines the length of vertical scroll arrows.
Allowed values: >= 1 Default value: 16 Since 2.10
secondary-cursor-color [GdkColor : Read]Color with which to draw the secondary insertion cursor when editing mixed right-to-left and left-to-right text.
separator-height [integer : Read]
The "separator-height" property defines the height of separators.
This property only takes effect if "wide-separators" is TRUE.
Allowed values: >= 0 Default value: 0 Since 2.10
separator-width [integer : Read]
The "separator-width" property defines the width of separators.
This property only takes effect if "wide-separators" is TRUE.
Allowed values: >= 0 Default value: 0 Since 2.10
visited-link-color [GdkColor : Read]The "visited-link-color" property defines the color of visited links.
Since 2.10
wide-separators [logical : Read]The "wide-separators" property defines whether separators have configurable width and should be drawn using a box instead of a line.
Default value: FALSE Since 2.10
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html