32 #import "CoreGTK/CGTKBase.h"
42 +(GtkTextDirection)getDefaultDirection;
43 +(GtkStyle*)getDefaultStyle;
44 +(void)popCompositeChild;
45 +(void)pushCompositeChild;
46 +(void)setDefaultDirection:(GtkTextDirection) dir;
70 -(void)addAcceleratorWithAccelSignal:(NSString*) accelSignal andAccelGroup:(GtkAccelGroup*) accelGroup andAccelKey:(guint) accelKey andAccelMods:(GdkModifierType) accelMods andAccelFlags:(GtkAccelFlags) accelFlags;
78 -(void)addDeviceEventsWithDevice:(GdkDevice*) device andEvents:(GdkEventMask) events;
85 -(void)addEvents:(gint) events;
102 -(guint)addTickCallbackWithCallback:(GtkTickCallback) callback andUserData:(gpointer) userData andNotify:(GDestroyNotify) notify;
110 -(BOOL)canActivateAccel:(guint) signalId;
118 -(BOOL)childFocus:(GtkDirectionType) direction;
125 -(void)childNotify:(NSString*) childProperty;
134 -(void)classPathWithPathLength:(guint*) pathLength andPath:(gchar**) path andPathReversed:(gchar**) pathReversed;
142 -(BOOL)computeExpand:(GtkOrientation) orientation;
149 -(PangoContext*)createPangoContext;
157 -(PangoLayout*)createPangoLayout:(NSString*) text;
170 -(void)destroyed:(GtkWidget**) widgetPointer;
178 -(BOOL)deviceIsShadowed:(GdkDevice*) device;
189 -(GdkDragContext*)gtkDragBeginWithTargets:(GtkTargetList*) targets andActions:(GdkDragAction) actions andButton:(gint) button andEvent:(GdkEvent*) event;
202 -(GdkDragContext*)gtkDragBeginWithCoordinatesWithTargets:(GtkTargetList*) targets andActions:(GdkDragAction) actions andButton:(gint) button andEvent:(GdkEvent*) event andX:(gint) x andY:(gint) y;
213 -(BOOL)gtkDragCheckThresholdWithStartX:(gint) startX andStartY:(gint) startY andCurrentX:(gint) currentX andCurrentY:(gint) currentY;
219 -(void)gtkDragDestAddImageTargets;
225 -(void)gtkDragDestAddTextTargets;
231 -(void)gtkDragDestAddUriTargets;
240 -(GdkAtom)gtkDragDestFindTargetWithContext:(GdkDragContext*) context andTargetList:(GtkTargetList*) targetList;
247 -(GtkTargetList*)gtkDragDestGetTargetList;
254 -(BOOL)gtkDragDestGetTrackMotion;
264 -(void)gtkDragDestSetWithFlags:(GtkDestDefaults) flags andTargets:(GtkTargetEntry*) targets andNtargets:(gint) ntargets andActions:(GdkDragAction) actions;
273 -(void)gtkDragDestSetProxyWithProxyWindow:(GdkWindow*) proxyWindow andProtocol:(GdkDragProtocol) protocol andUseCoordinates:(BOOL) useCoordinates;
280 -(void)gtkDragDestSetTargetList:(GtkTargetList*) targetList;
287 -(void)gtkDragDestSetTrackMotion:(BOOL) trackMotion;
293 -(void)gtkDragDestUnset;
302 -(void)gtkDragGetDataWithContext:(GdkDragContext*) context andTarget:(GdkAtom) target andTime:(guint32) time;
308 -(void)gtkDragHighlight;
314 -(void)gtkDragSourceAddImageTargets;
320 -(void)gtkDragSourceAddTextTargets;
326 -(void)gtkDragSourceAddUriTargets;
333 -(GtkTargetList*)gtkDragSourceGetTargetList;
343 -(void)gtkDragSourceSetWithStartButtonMask:(GdkModifierType) startButtonMask andTargets:(GtkTargetEntry*) targets andNtargets:(gint) ntargets andActions:(GdkDragAction) actions;
350 -(void)gtkDragSourceSetIconGicon:(GIcon*) icon;
357 -(void)gtkDragSourceSetIconName:(NSString*) iconName;
364 -(void)gtkDragSourceSetIconPixbuf:(GdkPixbuf*) pixbuf;
371 -(void)gtkDragSourceSetIconStock:(NSString*) stockId;
378 -(void)gtkDragSourceSetTargetList:(GtkTargetList*) targetList;
384 -(void)gtkDragSourceUnset;
390 -(void)gtkDragUnhighlight;
397 -(void)draw:(cairo_t*) cr;
417 -(BOOL)event:(GdkEvent*) event;
423 -(void)freezeChildNotify;
430 -(AtkObject*)getAccessible;
437 -(int)getAllocatedBaseline;
444 -(int)getAllocatedHeight;
451 -(int)getAllocatedWidth;
458 -(void)getAllocation:(GtkAllocation*) allocation;
473 -(BOOL)getAppPaintable;
480 -(BOOL)getCanDefault;
494 -(void)getChildRequisition:(GtkRequisition*) requisition;
501 -(BOOL)getChildVisible;
509 -(GtkClipboard*)getClipboard:(GdkAtom) selection;
516 -(NSString*)getCompositeName;
524 -(BOOL)getDeviceEnabled:(GdkDevice*) device;
532 -(GdkEventMask)getDeviceEvents:(GdkDevice*) device;
539 -(GtkTextDirection)getDirection;
546 -(GdkDisplay*)getDisplay;
553 -(BOOL)getDoubleBuffered;
567 -(GdkFrameClock*)getFrameClock;
574 -(GtkAlign)getHalign;
581 -(BOOL)getHasTooltip;
602 -(BOOL)getHexpandSet;
616 -(gint)getMarginBottom;
623 -(gint)getMarginLeft;
630 -(gint)getMarginRight;
645 -(GdkModifierType)getModifierMask:(GdkModifierIntent) intent;
652 -(GtkRcStyle*)getModifierStyle;
680 -(PangoContext*)getPangoContext;
694 -(GdkWindow*)getParentWindow;
701 -(GtkWidgetPath*)getPath;
709 -(void)getPointerWithX:(gint*) x andY:(gint*) y;
717 -(void)getPreferredHeightWithMinimumHeight:(gint*) minimumHeight andNaturalHeight:(gint*) naturalHeight;
728 -(void)getPreferredHeightAndBaselineForWidthWithWidth:(gint) width andMinimumHeight:(gint*) minimumHeight andNaturalHeight:(gint*) naturalHeight andMinimumBaseline:(gint*) minimumBaseline andNaturalBaseline:(gint*) naturalBaseline;
737 -(void)getPreferredHeightForWidthWithWidth:(gint) width andMinimumHeight:(gint*) minimumHeight andNaturalHeight:(gint*) naturalHeight;
745 -(void)getPreferredSizeWithMinimumSize:(GtkRequisition*) minimumSize andNaturalSize:(GtkRequisition*) naturalSize;
753 -(void)getPreferredWidthWithMinimumWidth:(gint*) minimumWidth andNaturalWidth:(gint*) naturalWidth;
762 -(void)getPreferredWidthForHeightWithHeight:(gint) height andMinimumWidth:(gint*) minimumWidth andNaturalWidth:(gint*) naturalWidth;
776 -(BOOL)getReceivesDefault;
783 -(GtkSizeRequestMode)getRequestMode;
790 -(void)getRequisition:(GtkRequisition*) requisition;
797 -(GdkWindow*)getRootWindow;
804 -(gint)getScaleFactor;
811 -(GdkScreen*)getScreen;
825 -(GtkSettings*)getSettings;
833 -(void)getSizeRequestWithWidth:(gint*) width andHeight:(gint*) height;
840 -(GtkStateType)getState;
847 -(GtkStateFlags)getStateFlags;
854 -(GtkStyle*)getStyle;
861 -(GtkStyleContext*)getStyleContext;
868 -(BOOL)getSupportMultidevice;
877 -(GObject*)getTemplateChildWithWidgetType:(GType) widgetType andName:(NSString*) name;
884 -(NSString*)getTooltipMarkup;
891 -(NSString*)getTooltipText;
898 -(GtkWindow*)getTooltipWindow;
912 -(GtkAlign)getValign;
919 -(GtkAlign)getValignWithBaseline;
933 -(BOOL)getVexpandSet;
947 -(GdkVisual*)getVisual;
954 -(GdkWindow*)getWindow;
978 -(void)gtkGrabRemove;
1020 -(BOOL)hasVisibleFocus;
1033 -(BOOL)hideOnDelete;
1040 -(BOOL)inDestruction;
1046 -(void)initTemplate;
1053 -(void)inputShapeCombineRegion:(cairo_region_t*) region;
1061 -(void)insertActionGroupWithName:(NSString*) name andGroup:(GActionGroup*) group;
1070 -(BOOL)intersectWithArea:(const GdkRectangle*) area andIntersection:(GdkRectangle*) intersection;
1085 -(BOOL)isComposited;
1128 -(BOOL)keynavFailed:(GtkDirectionType) direction;
1135 -(GList*)listAccelClosures;
1142 -(GList*)listMnemonicLabels;
1156 -(BOOL)mnemonicActivate:(BOOL) groupCycling;
1164 -(void)modifyBaseWithState:(GtkStateType) state andColor:(const GdkColor*) color;
1172 -(void)modifyBgWithState:(GtkStateType) state andColor:(const GdkColor*) color;
1180 -(void)modifyCursorWithPrimary:(const GdkColor*) primary andSecondary:(const GdkColor*) secondary;
1188 -(void)modifyFgWithState:(GtkStateType) state andColor:(const GdkColor*) color;
1195 -(void)modifyFont:(PangoFontDescription*) fontDesc;
1202 -(void)modifyStyle:(GtkRcStyle*) style;
1210 -(void)modifyTextWithState:(GtkStateType) state andColor:(const GdkColor*) color;
1218 -(void)overrideBackgroundColorWithState:(GtkStateFlags) state andColor:(const GdkRGBA*) color;
1226 -(void)overrideColorWithState:(GtkStateFlags) state andColor:(const GdkRGBA*) color;
1234 -(void)overrideCursorWithCursor:(const GdkRGBA*) cursor andSecondaryCursor:(const GdkRGBA*) secondaryCursor;
1241 -(void)overrideFont:(const PangoFontDescription*) fontDesc;
1249 -(void)overrideSymbolicColorWithName:(NSString*) name andColor:(const GdkRGBA*) color;
1258 -(void)pathWithPathLength:(guint*) pathLength andPath:(gchar**) path andPathReversed:(gchar**) pathReversed;
1264 -(void)queueComputeExpand;
1280 -(void)queueDrawAreaWithX:(gint) x andY:(gint) y andWidth:(gint) width andHeight:(gint) height;
1287 -(void)queueDrawRegion:(const cairo_region_t*) region;
1299 -(void)queueResizeNoRedraw;
1313 -(cairo_region_t*)regionIntersect:(const cairo_region_t*) region;
1320 -(void)registerWindow:(GdkWindow*) window;
1330 -(BOOL)removeAcceleratorWithAccelGroup:(GtkAccelGroup*) accelGroup andAccelKey:(guint) accelKey andAccelMods:(GdkModifierType) accelMods;
1337 -(void)removeMnemonicLabel:(
CGTKWidget*) label;
1344 -(void)removeTickCallback:(guint) id;
1354 -(GdkPixbuf*)renderIconWithStockId:(NSString*) stockId andSize:(GtkIconSize) size andDetail:(NSString*) detail;
1363 -(GdkPixbuf*)renderIconPixbufWithStockId:(NSString*) stockId andSize:(GtkIconSize) size;
1376 -(void)resetRcStyles;
1390 -(gint)sendExpose:(GdkEvent*) event;
1398 -(BOOL)sendFocusChange:(GdkEvent*) event;
1406 -(void)setAccelPathWithAccelPath:(NSString*) accelPath andAccelGroup:(GtkAccelGroup*) accelGroup;
1413 -(void)setAllocation:(const GtkAllocation*) allocation;
1420 -(void)setAppPaintable:(BOOL) appPaintable;
1427 -(void)setCanDefault:(BOOL) canDefault;
1434 -(void)setCanFocus:(BOOL) canFocus;
1441 -(void)setChildVisible:(BOOL) isVisible;
1448 -(void)setCompositeName:(NSString*) name;
1456 -(void)setDeviceEnabledWithDevice:(GdkDevice*) device andEnabled:(BOOL) enabled;
1464 -(void)setDeviceEventsWithDevice:(GdkDevice*) device andEvents:(GdkEventMask) events;
1471 -(void)setDirection:(GtkTextDirection) dir;
1478 -(void)setDoubleBuffered:(BOOL) doubleBuffered;
1485 -(void)setEvents:(gint) events;
1492 -(void)setHalign:(GtkAlign) align;
1499 -(void)setHasTooltip:(BOOL) hasTooltip;
1506 -(void)setHasWindow:(BOOL) hasWindow;
1513 -(void)setHexpand:(BOOL) expand;
1520 -(void)setHexpandSet:(BOOL) set;
1527 -(void)setMapped:(BOOL) mapped;
1534 -(void)setMarginBottom:(gint) margin;
1541 -(void)setMarginLeft:(gint) margin;
1548 -(void)setMarginRight:(gint) margin;
1555 -(void)setMarginTop:(gint) margin;
1562 -(void)setName:(NSString*) name;
1569 -(void)setNoShowAll:(BOOL) noShowAll;
1576 -(void)setOpacity:(
double) opacity;
1590 -(void)setParentWindow:(GdkWindow*) parentWindow;
1597 -(void)setRealized:(BOOL) realized;
1604 -(void)setReceivesDefault:(BOOL) receivesDefault;
1611 -(void)setRedrawOnAllocate:(BOOL) redrawOnAllocate;
1618 -(void)setSensitive:(BOOL) sensitive;
1626 -(void)setSizeRequestWithWidth:(gint) width andHeight:(gint) height;
1633 -(void)setState:(GtkStateType) state;
1641 -(void)setStateFlagsWithFlags:(GtkStateFlags) flags andClear:(BOOL) clear;
1648 -(void)setStyle:(GtkStyle*) style;
1655 -(void)setSupportMultidevice:(BOOL) supportMultidevice;
1662 -(void)setTooltipMarkup:(NSString*) markup;
1669 -(void)setTooltipText:(NSString*) text;
1676 -(void)setTooltipWindow:(GtkWindow*) customWindow;
1683 -(void)setValign:(GtkAlign) align;
1690 -(void)setVexpand:(BOOL) expand;
1697 -(void)setVexpandSet:(BOOL) set;
1704 -(void)setVisible:(BOOL) visible;
1711 -(void)setVisual:(GdkVisual*) visual;
1718 -(void)setWindow:(GdkWindow*) window;
1725 -(void)shapeCombineRegion:(cairo_region_t*) region;
1750 -(void)sizeAllocate:(GtkAllocation*) allocation;
1758 -(void)sizeAllocateWithBaselineWithAllocation:(GtkAllocation*) allocation andBaseline:(gint) baseline;
1765 -(void)sizeRequest:(GtkRequisition*) requisition;
1779 -(void)styleGetPropertyWithPropertyName:(NSString*) propertyName andValue:(GValue*) value;
1787 -(void)styleGetValistWithFirstPropertyName:(NSString*) firstPropertyName andVarArgs:(va_list) varArgs;
1793 -(void)thawChildNotify;
1805 -(BOOL)translateCoordinatesWithDestWidget:(
CGTKWidget*) destWidget andSrcX:(gint) srcX andSrcY:(gint) srcY andDestX:(gint*) destX andDestY:(gint*) destY;
1811 -(void)triggerTooltipQuery;
1836 -(void)unregisterWindow:(GdkWindow*) window;
1843 -(void)unsetStateFlags:(GtkStateFlags) flags;