GtkWidgetClass

Undocumented in source.

struct GtkWidgetClass {
GtkWidgetClassPrivate* priv;
}

Members

Variables

GtkReserved6
void function() GtkReserved6;
GtkReserved7
void function() GtkReserved7;
activateSignal
uint activateSignal;

The signal to emit when a widget of this class is activated, Widget.activate handles the emission. Implementation of this signal is optional.

adjustBaselineAllocation
void function(GtkWidget* widget, int* baseline) adjustBaselineAllocation;
adjustBaselineRequest
void function(GtkWidget* widget, int* minimumBaseline, int* naturalBaseline) adjustBaselineRequest;
adjustSizeAllocation
void function(GtkWidget* widget, GtkOrientation orientation, int* minimumSize, int* naturalSize, int* allocatedPos, int* allocatedSize) adjustSizeAllocation;
adjustSizeRequest
void function(GtkWidget* widget, GtkOrientation orientation, int* minimumSize, int* naturalSize) adjustSizeRequest;
buttonPressEvent
int function(GtkWidget* widget, GdkEventButton* event) buttonPressEvent;
buttonReleaseEvent
int function(GtkWidget* widget, GdkEventButton* event) buttonReleaseEvent;
canActivateAccel
int function(GtkWidget* widget, uint signalId) canActivateAccel;
childNotify
void function(GtkWidget* widget, GParamSpec* childProperty) childNotify;
compositedChanged
void function(GtkWidget* widget) compositedChanged;
computeExpand
void function(GtkWidget* widget, int* hexpandP, int* vexpandP) computeExpand;
configureEvent
int function(GtkWidget* widget, GdkEventConfigure* event) configureEvent;
damageEvent
int function(GtkWidget* widget, GdkEventExpose* event) damageEvent;
deleteEvent
int function(GtkWidget* widget, GdkEventAny* event) deleteEvent;
destroy
void function(GtkWidget* widget) destroy;
destroyEvent
int function(GtkWidget* widget, GdkEventAny* event) destroyEvent;
directionChanged
void function(GtkWidget* widget, GtkTextDirection previousDirection) directionChanged;
dispatchChildPropertiesChanged
void function(GtkWidget* widget, uint nPspecs, GParamSpec** pspecs) dispatchChildPropertiesChanged;
dragBegin
void function(GtkWidget* widget, GdkDragContext* context) dragBegin;
dragDataDelete
void function(GtkWidget* widget, GdkDragContext* context) dragDataDelete;
dragDataGet
void function(GtkWidget* widget, GdkDragContext* context, GtkSelectionData* selectionData, uint info, uint time) dragDataGet;
dragDataReceived
void function(GtkWidget* widget, GdkDragContext* context, int x, int y, GtkSelectionData* selectionData, uint info, uint time) dragDataReceived;
dragDrop
int function(GtkWidget* widget, GdkDragContext* context, int x, int y, uint time) dragDrop;
dragEnd
void function(GtkWidget* widget, GdkDragContext* context) dragEnd;
dragFailed
int function(GtkWidget* widget, GdkDragContext* context, GtkDragResult result) dragFailed;
dragLeave
void function(GtkWidget* widget, GdkDragContext* context, uint time) dragLeave;
dragMotion
int function(GtkWidget* widget, GdkDragContext* context, int x, int y, uint time) dragMotion;
draw
int function(GtkWidget* widget, cairo_t* cr) draw;
enterNotifyEvent
int function(GtkWidget* widget, GdkEventCrossing* event) enterNotifyEvent;
event
int function(GtkWidget* widget, GdkEvent* event) event;
focus
int function(GtkWidget* widget, GtkDirectionType direction) focus;
focusInEvent
int function(GtkWidget* widget, GdkEventFocus* event) focusInEvent;
focusOutEvent
int function(GtkWidget* widget, GdkEventFocus* event) focusOutEvent;
getAccessible
AtkObject* function(GtkWidget* widget) getAccessible;
getPreferredHeight
void function(GtkWidget* widget, int* minimumHeight, int* naturalHeight) getPreferredHeight;
getPreferredHeightAndBaselineForWidth
void function(GtkWidget* widget, int width, int* minimumHeight, int* naturalHeight, int* minimumBaseline, int* naturalBaseline) getPreferredHeightAndBaselineForWidth;
getPreferredHeightForWidth
void function(GtkWidget* widget, int width, int* minimumHeight, int* naturalHeight) getPreferredHeightForWidth;
getPreferredWidth
void function(GtkWidget* widget, int* minimumWidth, int* naturalWidth) getPreferredWidth;
getPreferredWidthForHeight
void function(GtkWidget* widget, int height, int* minimumWidth, int* naturalWidth) getPreferredWidthForHeight;
getRequestMode
GtkSizeRequestMode function(GtkWidget* widget) getRequestMode;
grabBrokenEvent
int function(GtkWidget* widget, GdkEventGrabBroken* event) grabBrokenEvent;
grabFocus
void function(GtkWidget* widget) grabFocus;
grabNotify
void function(GtkWidget* widget, int wasGrabbed) grabNotify;
hide
void function(GtkWidget* widget) hide;
hierarchyChanged
void function(GtkWidget* widget, GtkWidget* previousToplevel) hierarchyChanged;
keyPressEvent
int function(GtkWidget* widget, GdkEventKey* event) keyPressEvent;
keyReleaseEvent
int function(GtkWidget* widget, GdkEventKey* event) keyReleaseEvent;
keynavFailed
int function(GtkWidget* widget, GtkDirectionType direction) keynavFailed;
leaveNotifyEvent
int function(GtkWidget* widget, GdkEventCrossing* event) leaveNotifyEvent;
map
void function(GtkWidget* widget) map;
mapEvent
int function(GtkWidget* widget, GdkEventAny* event) mapEvent;
mnemonicActivate
int function(GtkWidget* widget, int groupCycling) mnemonicActivate;
motionNotifyEvent
int function(GtkWidget* widget, GdkEventMotion* event) motionNotifyEvent;
moveFocus
void function(GtkWidget* widget, GtkDirectionType direction) moveFocus;
parentClass
GObjectClass parentClass;

The object class structure needs to be the first element in the widget class structure in order for the class mechanism to work correctly. This allows a GtkWidgetClass pointer to be cast to a GObjectClass pointer.

parentSet
void function(GtkWidget* widget, GtkWidget* previousParent) parentSet;
popupMenu
int function(GtkWidget* widget) popupMenu;
propertyNotifyEvent
int function(GtkWidget* widget, GdkEventProperty* event) propertyNotifyEvent;
proximityInEvent
int function(GtkWidget* widget, GdkEventProximity* event) proximityInEvent;
proximityOutEvent
int function(GtkWidget* widget, GdkEventProximity* event) proximityOutEvent;
queryTooltip
int function(GtkWidget* widget, int x, int y, int keyboardTooltip, GtkTooltip* tooltip) queryTooltip;
queueDrawRegion
void function(GtkWidget* widget, cairo_region_t* region) queueDrawRegion;
realize
void function(GtkWidget* widget) realize;
screenChanged
void function(GtkWidget* widget, GdkScreen* previousScreen) screenChanged;
scrollEvent
int function(GtkWidget* widget, GdkEventScroll* event) scrollEvent;
selectionClearEvent
int function(GtkWidget* widget, GdkEventSelection* event) selectionClearEvent;
selectionGet
void function(GtkWidget* widget, GtkSelectionData* selectionData, uint info, uint time) selectionGet;
selectionNotifyEvent
int function(GtkWidget* widget, GdkEventSelection* event) selectionNotifyEvent;
selectionReceived
void function(GtkWidget* widget, GtkSelectionData* selectionData, uint time) selectionReceived;
selectionRequestEvent
int function(GtkWidget* widget, GdkEventSelection* event) selectionRequestEvent;
show
void function(GtkWidget* widget) show;
showAll
void function(GtkWidget* widget) showAll;
showHelp
int function(GtkWidget* widget, GtkWidgetHelpType helpType) showHelp;
sizeAllocate
void function(GtkWidget* widget, GtkAllocation* allocation) sizeAllocate;
stateChanged
void function(GtkWidget* widget, GtkStateType previousState) stateChanged;
stateFlagsChanged
void function(GtkWidget* widget, GtkStateFlags previousStateFlags) stateFlagsChanged;
styleSet
void function(GtkWidget* widget, GtkStyle* previousStyle) styleSet;
styleUpdated
void function(GtkWidget* widget) styleUpdated;
touchEvent
int function(GtkWidget* widget, GdkEventTouch* event) touchEvent;
unmap
void function(GtkWidget* widget) unmap;
unmapEvent
int function(GtkWidget* widget, GdkEventAny* event) unmapEvent;
unrealize
void function(GtkWidget* widget) unrealize;
visibilityNotifyEvent
int function(GtkWidget* widget, GdkEventVisibility* event) visibilityNotifyEvent;
windowStateEvent
int function(GtkWidget* widget, GdkEventWindowState* event) windowStateEvent;