module Graphics.UI.WXCore.WxcClassesAL
(
bitmapDataObjectCreate
,bitmapDataObjectCreateEmpty
,bitmapDataObjectDelete
,bitmapDataObjectGetBitmap
,bitmapDataObjectSetBitmap
,cFree
,colorPickerCtrlCreate
,colorPickerCtrlGetColour
,colorPickerCtrlSetColour
,cursorCreateFromImage
,cursorCreateFromStock
,cursorCreateLoad
,dragIcon
,dragListItem
,dragString
,dragTreeItem
,dropSourceCreate
,dropSourceDelete
,dropSourceDoDragDrop
,fileDataObjectAddFile
,fileDataObjectCreate
,fileDataObjectDelete
,fileDataObjectGetFilenames
,gcdcCreate
,gcdcCreateFromMemory
,gcdcCreateFromPrinter
,gcdcDelete
,gcdcGetGraphicsContext
,gcdcSetGraphicsContext
,genericDragIcon
,genericDragListItem
,genericDragString
,genericDragTreeItem
,getApplicationDir
,getApplicationPath
,getColourFromUser
,getELJLocale
,getELJTranslation
,getFontFromUser
,getNumberFromUser
,getPasswordFromUser
,getTextFromUser
,isDefined
,kill
,logDebug
,logError
,logErrorMsg
,logFatalError
,logFatalErrorMsg
,logMessage
,logMessageMsg
,logStatus
,logSysError
,logTrace
,logVerbose
,logWarning
,logWarningMsg
,acceleratorEntryCreate
,acceleratorEntryDelete
,acceleratorEntryGetCommand
,acceleratorEntryGetFlags
,acceleratorEntryGetKeyCode
,acceleratorEntrySet
,acceleratorTableCreate
,acceleratorTableDelete
,activateEventCopyObject
,activateEventGetActive
,auiDefaultTabArtClone
,auiDefaultTabArtCreate
,auiDefaultTabArtDrawBackground
,auiDefaultTabArtDrawButton
,auiDefaultTabArtDrawTab
,auiDefaultTabArtGetBestTabCtrlSize
,auiDefaultTabArtGetIndentSize
,auiDefaultTabArtGetTabSize
,auiDefaultTabArtSetActiveColour
,auiDefaultTabArtSetColour
,auiDefaultTabArtSetFlags
,auiDefaultTabArtSetMeasuringFont
,auiDefaultTabArtSetNormalFont
,auiDefaultTabArtSetSelectedFont
,auiDefaultTabArtSetSizingInfo
,auiDefaultTabArtShowDropDown
,auiDefaultToolBarArtClone
,auiDefaultToolBarArtCreate
,auiDefaultToolBarArtDrawBackground
,auiDefaultToolBarArtDrawButton
,auiDefaultToolBarArtDrawControlLabel
,auiDefaultToolBarArtDrawDropDownButton
,auiDefaultToolBarArtDrawGripper
,auiDefaultToolBarArtDrawLabel
,auiDefaultToolBarArtDrawOverflowButton
,auiDefaultToolBarArtDrawPlainBackground
,auiDefaultToolBarArtDrawSeparator
,auiDefaultToolBarArtGetElementSize
,auiDefaultToolBarArtGetFlags
,auiDefaultToolBarArtGetFont
,auiDefaultToolBarArtGetLabelSize
,auiDefaultToolBarArtGetTextOrientation
,auiDefaultToolBarArtGetToolSize
,auiDefaultToolBarArtSetElementSize
,auiDefaultToolBarArtSetFlags
,auiDefaultToolBarArtSetFont
,auiDefaultToolBarArtSetTextOrientation
,auiDefaultToolBarArtShowDropDown
,auiDockArtDrawBackground
,auiDockArtDrawBorder
,auiDockArtDrawCaption
,auiDockArtDrawGripper
,auiDockArtDrawPaneButton
,auiDockArtDrawSash
,auiDockArtGetColour
,auiDockArtGetFont
,auiDockArtGetMetric
,auiDockArtSetColour
,auiDockArtSetFont
,auiDockArtSetMetric
,auiManagerAddPane
,auiManagerAddPaneByPaneInfo
,auiManagerAddPaneByPaneInfoAndDropPosition
,auiManagerCreate
,auiManagerDelete
,auiManagerDetachPane
,auiManagerGetAllPanes
,auiManagerGetArtProvider
,auiManagerGetDockSizeConstraint
,auiManagerGetFlags
,auiManagerGetManagedWindow
,auiManagerGetManager
,auiManagerGetPaneByName
,auiManagerGetPaneByWindow
,auiManagerHideHint
,auiManagerInsertPane
,auiManagerLoadPaneInfo
,auiManagerLoadPerspective
,auiManagerSavePaneInfo
,auiManagerSavePerspective
,auiManagerSetArtProvider
,auiManagerSetDockSizeConstraint
,auiManagerSetFlags
,auiManagerSetManagedWindow
,auiManagerShowHint
,auiManagerUnInit
,auiManagerUpdate
,auiManagerEventCanVeto
,auiManagerEventCreate
,auiManagerEventGetButton
,auiManagerEventGetDC
,auiManagerEventGetManager
,auiManagerEventGetPane
,auiManagerEventGetVeto
,auiManagerEventSetButton
,auiManagerEventSetCanVeto
,auiManagerEventSetDC
,auiManagerEventSetManager
,auiManagerEventSetPane
,auiManagerEventVeto
,auiNotebookAddPage
,auiNotebookAddPageWithBitmap
,auiNotebookAdvanceSelection
,auiNotebookChangeSelection
,auiNotebookCreate
,auiNotebookCreateDefault
,auiNotebookCreateFromDefault
,auiNotebookDeleteAllPages
,auiNotebookDeletePage
,auiNotebookGetArtProvider
,auiNotebookGetCurrentPage
,auiNotebookGetHeightForPageHeight
,auiNotebookGetPage
,auiNotebookGetPageBitmap
,auiNotebookGetPageCount
,auiNotebookGetPageIndex
,auiNotebookGetPageText
,auiNotebookGetPageToolTip
,auiNotebookGetSelection
,auiNotebookGetTabCtrlHeight
,auiNotebookInsertPage
,auiNotebookInsertPageWithBitmap
,auiNotebookRemovePage
,auiNotebookSetArtProvider
,auiNotebookSetFont
,auiNotebookSetMeasuringFont
,auiNotebookSetNormalFont
,auiNotebookSetPageBitmap
,auiNotebookSetPageImage
,auiNotebookSetPageText
,auiNotebookSetPageToolTip
,auiNotebookSetSelectedFont
,auiNotebookSetSelection
,auiNotebookSetTabCtrlHeight
,auiNotebookSetUniformBitmapSize
,auiNotebookShowWindowMenu
,auiNotebookSplit
,auiNotebookEventCreate
,auiNotebookEventGetDragSource
,auiNotebookPageActive
,auiNotebookPageBitmap
,auiNotebookPageCaption
,auiNotebookPageRect
,auiNotebookPageTooltip
,auiNotebookPageWindow
,auiNotebookPageArrayCreate
,auiNotebookPageArrayDelete
,auiNotebookPageArrayGetCount
,auiNotebookPageArrayItem
,auiPaneInfoBestSize
,auiPaneInfoBestSizeXY
,auiPaneInfoBottom
,auiPaneInfoBottomDockable
,auiPaneInfoCaption
,auiPaneInfoCaptionVisible
,auiPaneInfoCenter
,auiPaneInfoCenterPane
,auiPaneInfoCentre
,auiPaneInfoCentrePane
,auiPaneInfoCloseButton
,auiPaneInfoCopy
,auiPaneInfoCreate
,auiPaneInfoCreateDefault
,auiPaneInfoDefaultPane
,auiPaneInfoDestroyOnClose
,auiPaneInfoDirection
,auiPaneInfoDock
,auiPaneInfoDockFixed
,auiPaneInfoDockable
,auiPaneInfoFixed
,auiPaneInfoFloat
,auiPaneInfoFloatable
,auiPaneInfoFloatingPosition
,auiPaneInfoFloatingPositionXY
,auiPaneInfoFloatingSize
,auiPaneInfoFloatingSizeXY
,auiPaneInfoGripper
,auiPaneInfoGripperTop
,auiPaneInfoHasBorder
,auiPaneInfoHasCaption
,auiPaneInfoHasCloseButton
,auiPaneInfoHasFlag
,auiPaneInfoHasGripper
,auiPaneInfoHasGripperTop
,auiPaneInfoHasMaximizeButton
,auiPaneInfoHasMinimizeButton
,auiPaneInfoHasPinButton
,auiPaneInfoHide
,auiPaneInfoIcon
,auiPaneInfoIsBottomDockable
,auiPaneInfoIsDockable
,auiPaneInfoIsDocked
,auiPaneInfoIsFixed
,auiPaneInfoIsFloatable
,auiPaneInfoIsFloating
,auiPaneInfoIsLeftDockable
,auiPaneInfoIsMovable
,auiPaneInfoIsOk
,auiPaneInfoIsResizable
,auiPaneInfoIsRightDockable
,auiPaneInfoIsShown
,auiPaneInfoIsToolbar
,auiPaneInfoIsTopDockable
,auiPaneInfoLayer
,auiPaneInfoLeft
,auiPaneInfoLeftDockable
,auiPaneInfoMaxSize
,auiPaneInfoMaxSizeXY
,auiPaneInfoMaximizeButton
,auiPaneInfoMinSize
,auiPaneInfoMinSizeXY
,auiPaneInfoMinimizeButton
,auiPaneInfoMovable
,auiPaneInfoName
,auiPaneInfoPaneBorder
,auiPaneInfoPinButton
,auiPaneInfoPosition
,auiPaneInfoResizable
,auiPaneInfoRight
,auiPaneInfoRightDockable
,auiPaneInfoRow
,auiPaneInfoSafeSet
,auiPaneInfoSetFlag
,auiPaneInfoShow
,auiPaneInfoToolbarPane
,auiPaneInfoTop
,auiPaneInfoTopDockable
,auiPaneInfoWindow
,auiPaneInfoArrayCreate
,auiPaneInfoArrayDelete
,auiPaneInfoArrayGetCount
,auiPaneInfoArrayItem
,auiSimpleTabArtClone
,auiSimpleTabArtCreate
,auiSimpleTabArtDrawBackground
,auiSimpleTabArtDrawButton
,auiSimpleTabArtDrawTab
,auiSimpleTabArtGetBestTabCtrlSize
,auiSimpleTabArtGetIndentSize
,auiSimpleTabArtGetTabSize
,auiSimpleTabArtSetActiveColour
,auiSimpleTabArtSetColour
,auiSimpleTabArtSetFlags
,auiSimpleTabArtSetMeasuringFont
,auiSimpleTabArtSetNormalFont
,auiSimpleTabArtSetSelectedFont
,auiSimpleTabArtSetSizingInfo
,auiSimpleTabArtShowDropDown
,auiTabArtClone
,auiTabArtDrawBackground
,auiTabArtDrawButton
,auiTabArtDrawTab
,auiTabArtGetBestTabCtrlSize
,auiTabArtGetIndentSize
,auiTabArtGetTabSize
,auiTabArtSetActiveColour
,auiTabArtSetColour
,auiTabArtSetFlags
,auiTabArtSetMeasuringFont
,auiTabArtSetNormalFont
,auiTabArtSetSelectedFont
,auiTabArtSetSizingInfo
,auiTabContainerAddButton
,auiTabContainerAddPage
,auiTabContainerCreate
,auiTabContainerDoShowHide
,auiTabContainerGetActivePage
,auiTabContainerGetArtProvider
,auiTabContainerGetFlags
,auiTabContainerGetIdxFromWindow
,auiTabContainerGetPage
,auiTabContainerGetPageCount
,auiTabContainerGetPages
,auiTabContainerGetTabOffset
,auiTabContainerGetWindowFromIdx
,auiTabContainerInsertPage
,auiTabContainerIsTabVisible
,auiTabContainerMakeTabVisible
,auiTabContainerMovePage
,auiTabContainerRemoveButton
,auiTabContainerRemovePage
,auiTabContainerSetActiveColour
,auiTabContainerSetActivePage
,auiTabContainerSetActivePageByWindow
,auiTabContainerSetArtProvider
,auiTabContainerSetColour
,auiTabContainerSetFlags
,auiTabContainerSetMeasuringFont
,auiTabContainerSetNoneActive
,auiTabContainerSetNormalFont
,auiTabContainerSetRect
,auiTabContainerSetSelectedFont
,auiTabContainerSetTabOffset
,auiTabContainerButtonBitmap
,auiTabContainerButtonCurState
,auiTabContainerButtonDisBitmap
,auiTabContainerButtonId
,auiTabContainerButtonLocation
,auiTabContainerButtonRect
,auiTabCtrlAddButton
,auiTabCtrlAddPage
,auiTabCtrlDoShowHide
,auiTabCtrlGetActivePage
,auiTabCtrlGetArtProvider
,auiTabCtrlGetFlags
,auiTabCtrlGetIdxFromWindow
,auiTabCtrlGetPage
,auiTabCtrlGetPageCount
,auiTabCtrlGetPages
,auiTabCtrlGetTabOffset
,auiTabCtrlGetWindowFromIdx
,auiTabCtrlInsertPage
,auiTabCtrlIsTabVisible
,auiTabCtrlMakeTabVisible
,auiTabCtrlMovePage
,auiTabCtrlRemoveButton
,auiTabCtrlRemovePage
,auiTabCtrlSetActiveColour
,auiTabCtrlSetActivePage
,auiTabCtrlSetActivePageByWindow
,auiTabCtrlSetArtProvider
,auiTabCtrlSetColour
,auiTabCtrlSetFlags
,auiTabCtrlSetMeasuringFont
,auiTabCtrlSetNoneActive
,auiTabCtrlSetNormalFont
,auiTabCtrlSetRect
,auiTabCtrlSetSelectedFont
,auiTabCtrlSetTabOffset
,auiToolBarAddControl
,auiToolBarAddLabel
,auiToolBarAddSeparator
,auiToolBarAddSpacer
,auiToolBarAddStretchSpacer
,auiToolBarAddTool
,auiToolBarAddToolByBitmap
,auiToolBarAddToolByLabel
,auiToolBarClear
,auiToolBarClearTools
,auiToolBarCreate
,auiToolBarCreateDefault
,auiToolBarCreateFromDefault
,auiToolBarDelete
,auiToolBarDeleteByIndex
,auiToolBarDeleteTool
,auiToolBarEnableTool
,auiToolBarFindControl
,auiToolBarFindTool
,auiToolBarFindToolByIndex
,auiToolBarFindToolByPosition
,auiToolBarGetArtProvider
,auiToolBarGetGripperVisible
,auiToolBarGetHintSize
,auiToolBarGetOverflowVisible
,auiToolBarGetToolBarFits
,auiToolBarGetToolBitmap
,auiToolBarGetToolBitmapSize
,auiToolBarGetToolBorderPadding
,auiToolBarGetToolCount
,auiToolBarGetToolDropDown
,auiToolBarGetToolEnabled
,auiToolBarGetToolFits
,auiToolBarGetToolFitsByIndex
,auiToolBarGetToolIndex
,auiToolBarGetToolLabel
,auiToolBarGetToolLongHelp
,auiToolBarGetToolPacking
,auiToolBarGetToolPos
,auiToolBarGetToolProportion
,auiToolBarGetToolRect
,auiToolBarGetToolSeparation
,auiToolBarGetToolShortHelp
,auiToolBarGetToolSticky
,auiToolBarGetToolTextOrientation
,auiToolBarGetToolToggled
,auiToolBarGetWindowStyleFlag
,auiToolBarIsPaneValid
,auiToolBarRealize
,auiToolBarSetArtProvider
,auiToolBarSetCustomOverflowItems
,auiToolBarSetFont
,auiToolBarSetGripperVisible
,auiToolBarSetMargins
,auiToolBarSetMarginsDetailed
,auiToolBarSetMarginsXY
,auiToolBarSetOverflowVisible
,auiToolBarSetToolBitmap
,auiToolBarSetToolBitmapSize
,auiToolBarSetToolBorderPadding
,auiToolBarSetToolDropDown
,auiToolBarSetToolLabel
,auiToolBarSetToolLongHelp
,auiToolBarSetToolPacking
,auiToolBarSetToolProportion
,auiToolBarSetToolSeparation
,auiToolBarSetToolShortHelp
,auiToolBarSetToolSticky
,auiToolBarSetToolTextOrientation
,auiToolBarSetWindowStyleFlag
,auiToolBarToggleTool
,auiToolBarArtClone
,auiToolBarArtDrawBackground
,auiToolBarArtDrawButton
,auiToolBarArtDrawControlLabel
,auiToolBarArtDrawDropDownButton
,auiToolBarArtDrawGripper
,auiToolBarArtDrawLabel
,auiToolBarArtDrawOverflowButton
,auiToolBarArtDrawPlainBackground
,auiToolBarArtDrawSeparator
,auiToolBarArtGetElementSize
,auiToolBarArtGetFlags
,auiToolBarArtGetFont
,auiToolBarArtGetLabelSize
,auiToolBarArtGetTextOrientation
,auiToolBarArtGetToolSize
,auiToolBarArtSetElementSize
,auiToolBarArtSetFlags
,auiToolBarArtSetFont
,auiToolBarArtSetTextOrientation
,auiToolBarArtShowDropDown
,auiToolBarEventGetClickPoint
,auiToolBarEventGetItemRect
,auiToolBarEventGetToolId
,auiToolBarEventIsDropDownClicked
,auiToolBarItemAssign
,auiToolBarItemCopy
,auiToolBarItemCreate
,auiToolBarItemCreateDefault
,auiToolBarItemGetAlignment
,auiToolBarItemGetBitmap
,auiToolBarItemGetDisabledBitmap
,auiToolBarItemGetHoverBitmap
,auiToolBarItemGetId
,auiToolBarItemGetKind
,auiToolBarItemGetLabel
,auiToolBarItemGetLongHelp
,auiToolBarItemGetMinSize
,auiToolBarItemGetProportion
,auiToolBarItemGetShortHelp
,auiToolBarItemGetSizerItem
,auiToolBarItemGetSpacerPixels
,auiToolBarItemGetState
,auiToolBarItemGetUserData
,auiToolBarItemGetWindow
,auiToolBarItemHasDropDown
,auiToolBarItemIsActive
,auiToolBarItemIsSticky
,auiToolBarItemSetActive
,auiToolBarItemSetAlignment
,auiToolBarItemSetBitmap
,auiToolBarItemSetDisabledBitmap
,auiToolBarItemSetHasDropDown
,auiToolBarItemSetHoverBitmap
,auiToolBarItemSetId
,auiToolBarItemSetKind
,auiToolBarItemSetLabel
,auiToolBarItemSetLongHelp
,auiToolBarItemSetMinSize
,auiToolBarItemSetProportion
,auiToolBarItemSetShortHelp
,auiToolBarItemSetSizerItem
,auiToolBarItemSetSpacerPixels
,auiToolBarItemSetState
,auiToolBarItemSetSticky
,auiToolBarItemSetUserData
,auiToolBarItemSetWindow
,auiToolBarItemArrayCreate
,auiToolBarItemArrayDelete
,auiToolBarItemArrayGetCount
,auiToolBarItemArrayItem
,autoBufferedPaintDCCreate
,autoBufferedPaintDCDelete
,bitmapAddHandler
,bitmapCleanUpHandlers
,bitmapCreate
,bitmapCreateDefault
,bitmapCreateEmpty
,bitmapCreateFromImage
,bitmapCreateFromXPM
,bitmapCreateLoad
,bitmapDelete
,bitmapFindHandlerByExtension
,bitmapFindHandlerByName
,bitmapFindHandlerByType
,bitmapGetDepth
,bitmapGetHeight
,bitmapGetMask
,bitmapGetSubBitmap
,bitmapGetWidth
,bitmapInitStandardHandlers
,bitmapInsertHandler
,bitmapIsOk
,bitmapIsStatic
,bitmapLoadFile
,bitmapRemoveHandler
,bitmapSafeDelete
,bitmapSaveFile
,bitmapSetDepth
,bitmapSetHeight
,bitmapSetMask
,bitmapSetWidth
,bitmapButtonCreate
,bitmapButtonGetBitmapDisabled
,bitmapButtonGetBitmapFocus
,bitmapButtonGetBitmapLabel
,bitmapButtonGetBitmapSelected
,bitmapButtonGetMarginX
,bitmapButtonGetMarginY
,bitmapButtonSetBitmapDisabled
,bitmapButtonSetBitmapFocus
,bitmapButtonSetBitmapLabel
,bitmapButtonSetBitmapSelected
,bitmapButtonSetMargins
,bitmapToggleButtonCreate
,bitmapToggleButtonEnable
,bitmapToggleButtonGetValue
,bitmapToggleButtonSetBitmapLabel
,bitmapToggleButtonSetValue
,bookCtrlBaseAddPage
,bookCtrlBaseAdvanceSelection
,bookCtrlBaseAssignImageList
,bookCtrlBaseChangeSelection
,bookCtrlBaseCreateFromDefault
,bookCtrlBaseDeleteAllPages
,bookCtrlBaseDeletePage
,bookCtrlBaseFindPage
,bookCtrlBaseGetCurrentPage
,bookCtrlBaseGetImageList
,bookCtrlBaseGetPage
,bookCtrlBaseGetPageCount
,bookCtrlBaseGetPageImage
,bookCtrlBaseGetPageText
,bookCtrlBaseGetSelection
,bookCtrlBaseHitTest
,bookCtrlBaseInsertPage
,bookCtrlBaseRemovePage
,bookCtrlBaseSetImageList
,bookCtrlBaseSetPageImage
,bookCtrlBaseSetPageSize
,bookCtrlBaseSetPageText
,bookCtrlBaseSetSelection
,bookCtrlEventCreate
,bookCtrlEventGetOldSelection
,bookCtrlEventGetSelection
,boolPropertyCreate
,boxSizerCalcMin
,boxSizerCreate
,boxSizerGetOrientation
,boxSizerRecalcSizes
,brushAssign
,brushCreateDefault
,brushCreateFromBitmap
,brushCreateFromColour
,brushCreateFromStock
,brushDelete
,brushGetColour
,brushGetStipple
,brushGetStyle
,brushIsEqual
,brushIsOk
,brushIsStatic
,brushSafeDelete
,brushSetColour
,brushSetColourSingle
,brushSetStipple
,brushSetStyle
,bufferedDCCreateByDCAndBitmap
,bufferedDCCreateByDCAndSize
,bufferedDCDelete
,bufferedPaintDCCreate
,bufferedPaintDCCreateWithBitmap
,bufferedPaintDCDelete
,busyCursorCreate
,busyCursorCreateWithCursor
,busyCursorDelete
,busyInfoCreate
,busyInfoDelete
,buttonCreate
,buttonSetBackgroundColour
,buttonSetDefault
,calculateLayoutEventCreate
,calculateLayoutEventGetFlags
,calculateLayoutEventGetRect
,calculateLayoutEventSetFlags
,calculateLayoutEventSetRect
,calendarCtrlCreate
,calendarCtrlEnableHolidayDisplay
,calendarCtrlEnableMonthChange
,calendarCtrlGetAttr
,calendarCtrlGetDate
,calendarCtrlGetHeaderColourBg
,calendarCtrlGetHeaderColourFg
,calendarCtrlGetHighlightColourBg
,calendarCtrlGetHighlightColourFg
,calendarCtrlGetHolidayColourBg
,calendarCtrlGetHolidayColourFg
,calendarCtrlHitTest
,calendarCtrlResetAttr
,calendarCtrlSetAttr
,calendarCtrlSetDate
,calendarCtrlSetHeaderColours
,calendarCtrlSetHighlightColours
,calendarCtrlSetHoliday
,calendarCtrlSetHolidayColours
,calendarDateAttrCreate
,calendarDateAttrCreateDefault
,calendarDateAttrDelete
,calendarDateAttrGetBackgroundColour
,calendarDateAttrGetBorder
,calendarDateAttrGetBorderColour
,calendarDateAttrGetFont
,calendarDateAttrGetTextColour
,calendarDateAttrHasBackgroundColour
,calendarDateAttrHasBorder
,calendarDateAttrHasBorderColour
,calendarDateAttrHasFont
,calendarDateAttrHasTextColour
,calendarDateAttrIsHoliday
,calendarDateAttrSetBackgroundColour
,calendarDateAttrSetBorder
,calendarDateAttrSetBorderColour
,calendarDateAttrSetFont
,calendarDateAttrSetHoliday
,calendarDateAttrSetTextColour
,calendarEventGetDate
,calendarEventGetWeekDay
,caretCreate
,caretGetBlinkTime
,caretGetPosition
,caretGetSize
,caretGetWindow
,caretHide
,caretIsOk
,caretIsVisible
,caretMove
,caretSetBlinkTime
,caretSetSize
,caretShow
,checkBoxCreate
,checkBoxDelete
,checkBoxGetValue
,checkBoxSetValue
,checkListBoxCheck
,checkListBoxCreate
,checkListBoxDelete
,checkListBoxIsChecked
,choiceAppend
,choiceClear
,choiceCreate
,choiceDelete
,choiceFindString
,choiceGetCount
,choiceGetSelection
,choiceGetString
,choiceSetSelection
,choiceSetString
,classInfoCreateClassByName
,classInfoFindClass
,classInfoGetBaseClassName1
,classInfoGetBaseClassName2
,classInfoGetClassName
,classInfoGetClassNameEx
,classInfoGetSize
,classInfoIsKindOf
,classInfoIsKindOfEx
,clientDCCreate
,clientDCDelete
,clipboardAddData
,clipboardClear
,clipboardClose
,clipboardCreate
,clipboardFlush
,clipboardGetData
,clipboardIsOpened
,clipboardIsSupported
,clipboardOpen
,clipboardSetData
,clipboardUsePrimarySelection
,closeEventCanVeto
,closeEventCopyObject
,closeEventGetLoggingOff
,closeEventGetVeto
,closeEventSetCanVeto
,closeEventSetLoggingOff
,closeEventVeto
,closureCreate
,closureGetData
,comboBoxAppend
,comboBoxAppendData
,comboBoxClear
,comboBoxCopy
,comboBoxCreate
,comboBoxCut
,comboBoxDelete
,comboBoxFindString
,comboBoxGetClientData
,comboBoxGetCount
,comboBoxGetInsertionPoint
,comboBoxGetLastPosition
,comboBoxGetSelection
,comboBoxGetString
,comboBoxGetStringSelection
,comboBoxGetValue
,comboBoxPaste
,comboBoxRemove
,comboBoxReplace
,comboBoxSetClientData
,comboBoxSetEditable
,comboBoxSetInsertionPoint
,comboBoxSetInsertionPointEnd
,comboBoxSetSelection
,comboBoxSetTextSelection
,comboBoxSetValue
,commandEventCopyObject
,commandEventCreate
,commandEventDelete
,commandEventGetClientData
,commandEventGetClientObject
,commandEventGetExtraLong
,commandEventGetInt
,commandEventGetSelection
,commandEventGetString
,commandEventIsChecked
,commandEventIsSelection
,commandEventSetClientData
,commandEventSetClientObject
,commandEventSetExtraLong
,commandEventSetInt
,commandEventSetString
,configBaseCreate
,configBaseDelete
,configBaseDeleteAll
,configBaseDeleteEntry
,configBaseDeleteGroup
,configBaseExists
,configBaseExpandEnvVars
,configBaseFlush
,configBaseGet
,configBaseGetAppName
,configBaseGetEntryType
,configBaseGetFirstEntry
,configBaseGetFirstGroup
,configBaseGetNextEntry
,configBaseGetNextGroup
,configBaseGetNumberOfEntries
,configBaseGetNumberOfGroups
,configBaseGetPath
,configBaseGetStyle
,configBaseGetVendorName
,configBaseHasEntry
,configBaseHasGroup
,configBaseIsExpandingEnvVars
,configBaseIsRecordingDefaults
,configBaseReadBool
,configBaseReadDouble
,configBaseReadInteger
,configBaseReadString
,configBaseRenameEntry
,configBaseRenameGroup
,configBaseSet
,configBaseSetAppName
,configBaseSetExpandEnvVars
,configBaseSetPath
,configBaseSetRecordDefaults
,configBaseSetStyle
,configBaseSetVendorName
,configBaseWriteBool
,configBaseWriteDouble
,configBaseWriteInteger
,configBaseWriteLong
,configBaseWriteString
,contextHelpBeginContextHelp
,contextHelpCreate
,contextHelpDelete
,contextHelpEndContextHelp
,contextHelpButtonCreate
,controlCommand
,controlGetLabel
,controlSetLabel
,cursorDelete
,cursorIsStatic
,cursorSafeDelete
,dcBlit
,dcCalcBoundingBox
,dcCanDrawBitmap
,dcCanGetTextExtent
,dcClear
,dcComputeScaleAndOrigin
,dcCrossHair
,dcDelete
,dcDestroyClippingRegion
,dcDeviceToLogicalX
,dcDeviceToLogicalXRel
,dcDeviceToLogicalY
,dcDeviceToLogicalYRel
,dcDrawArc
,dcDrawBitmap
,dcDrawCheckMark
,dcDrawCircle
,dcDrawEllipse
,dcDrawEllipticArc
,dcDrawIcon
,dcDrawLabel
,dcDrawLabelBitmap
,dcDrawLine
,dcDrawLines
,dcDrawPoint
,dcDrawPolyPolygon
,dcDrawPolygon
,dcDrawRectangle
,dcDrawRotatedText
,dcDrawRoundedRectangle
,dcDrawText
,dcEndDoc
,dcEndPage
,dcFloodFill
,dcGetBackground
,dcGetBackgroundMode
,dcGetBrush
,dcGetCharHeight
,dcGetCharWidth
,dcGetClippingBox
,dcGetDepth
,dcGetDeviceOrigin
,dcGetFont
,dcGetLogicalFunction
,dcGetLogicalOrigin
,dcGetLogicalScale
,dcGetMapMode
,dcGetMultiLineTextExtent
,dcGetPPI
,dcGetPen
,dcGetPixel
,dcGetPixel2
,dcGetSize
,dcGetSizeMM
,dcGetTextBackground
,dcGetTextExtent
,dcGetTextForeground
,dcGetUserScale
,dcGetUserScaleX
,dcGetUserScaleY
,dcIsOk
,dcLogicalToDeviceX
,dcLogicalToDeviceXRel
,dcLogicalToDeviceY
,dcLogicalToDeviceYRel
,dcMaxX
,dcMaxY
,dcMinX
,dcMinY
,dcResetBoundingBox
,dcSetAxisOrientation
,dcSetBackground
,dcSetBackgroundMode
,dcSetBrush
,dcSetClippingRegion
,dcSetClippingRegionFromRegion
,dcSetDeviceClippingRegion
,dcSetDeviceOrigin
,dcSetFont
,dcSetLogicalFunction
,dcSetLogicalOrigin
,dcSetLogicalScale
,dcSetMapMode
,dcSetPalette
,dcSetPen
,dcSetTextBackground
,dcSetTextForeground
,dcSetUserScale
,dcStartDoc
,dcStartPage
,dataFormatCreateFromId
,dataFormatCreateFromType
,dataFormatDelete
,dataFormatGetId
,dataFormatGetType
,dataFormatIsEqual
,dataFormatSetId
,dataFormatSetType
,dataObjectCompositeAdd
,dataObjectCompositeCreate
,dataObjectCompositeDelete
,datePropertyCreate
,dateTimeAddDate
,dateTimeAddDateValues
,dateTimeAddTime
,dateTimeAddTimeValues
,dateTimeConvertYearToBC
,dateTimeCreate
,dateTimeDelete
,dateTimeFormat
,dateTimeFormatDate
,dateTimeFormatISODate
,dateTimeFormatISOTime
,dateTimeFormatTime
,dateTimeGetAmString
,dateTimeGetBeginDST
,dateTimeGetCentury
,dateTimeGetCountry
,dateTimeGetCurrentMonth
,dateTimeGetCurrentYear
,dateTimeGetDay
,dateTimeGetDayOfYear
,dateTimeGetEndDST
,dateTimeGetHour
,dateTimeGetLastMonthDay
,dateTimeGetLastWeekDay
,dateTimeGetMillisecond
,dateTimeGetMinute
,dateTimeGetMonth
,dateTimeGetMonthName
,dateTimeGetNextWeekDay
,dateTimeGetNumberOfDays
,dateTimeGetNumberOfDaysMonth
,dateTimeGetPmString
,dateTimeGetPrevWeekDay
,dateTimeGetSecond
,dateTimeGetTicks
,dateTimeGetTimeNow
,dateTimeGetValue
,dateTimeGetWeekDay
,dateTimeGetWeekDayInSameWeek
,dateTimeGetWeekDayName
,dateTimeGetWeekDayTZ
,dateTimeGetWeekOfMonth
,dateTimeGetWeekOfYear
,dateTimeGetYear
,dateTimeIsBetween
,dateTimeIsDST
,dateTimeIsDSTApplicable
,dateTimeIsEarlierThan
,dateTimeIsEqualTo
,dateTimeIsEqualUpTo
,dateTimeIsLaterThan
,dateTimeIsLeapYear
,dateTimeIsSameDate
,dateTimeIsSameTime
,dateTimeIsStrictlyBetween
,dateTimeIsValid
,dateTimeIsWestEuropeanCountry
,dateTimeIsWorkDay
,dateTimeMakeGMT
,dateTimeMakeTimezone
,dateTimeNow
,dateTimeParseDate
,dateTimeParseDateTime
,dateTimeParseFormat
,dateTimeParseRfc822Date
,dateTimeParseTime
,dateTimeResetTime
,dateTimeSet
,dateTimeSetCountry
,dateTimeSetDay
,dateTimeSetHour
,dateTimeSetMillisecond
,dateTimeSetMinute
,dateTimeSetMonth
,dateTimeSetSecond
,dateTimeSetTime
,dateTimeSetToCurrent
,dateTimeSetToLastMonthDay
,dateTimeSetToLastWeekDay
,dateTimeSetToNextWeekDay
,dateTimeSetToPrevWeekDay
,dateTimeSetToWeekDay
,dateTimeSetToWeekDayInSameWeek
,dateTimeSetYear
,dateTimeSubtractDate
,dateTimeSubtractTime
,dateTimeToGMT
,dateTimeToTimezone
,dateTimeToday
,dateTimeUNow
,dateTimewxDateTime
,dialogCreate
,dialogEndModal
,dialogGetReturnCode
,dialogIsModal
,dialogSetReturnCode
,dialogShowModal
,dirDialogCreate
,dirDialogGetMessage
,dirDialogGetPath
,dirDialogGetStyle
,dirDialogSetMessage
,dirDialogSetPath
,dirDialogSetStyle
,dragImageBeginDrag
,dragImageBeginDragFullScreen
,dragImageCreate
,dragImageDelete
,dragImageEndDrag
,dragImageHide
,dragImageMove
,dragImageShow
,drawControlCreate
,drawWindowCreate
,dropTargetGetData
,dropTargetSetDataObject
,encodingConverterConvert
,encodingConverterCreate
,encodingConverterDelete
,encodingConverterGetAllEquivalents
,encodingConverterGetPlatformEquivalents
,encodingConverterInit
,eraseEventCopyObject
,eraseEventGetDC
,eventCopyObject
,eventGetEventObject
,eventGetEventType
,eventGetId
,eventGetSkipped
,eventGetTimestamp
,eventIsCommandEvent
,eventNewEventType
,eventSetEventObject
,eventSetEventType
,eventSetId
,eventSetTimestamp
,eventSkip
,evtHandlerAddPendingEvent
,evtHandlerConnect
,evtHandlerCreate
,evtHandlerDelete
,evtHandlerDisconnect
,evtHandlerGetClientClosure
,evtHandlerGetClosure
,evtHandlerGetEvtHandlerEnabled
,evtHandlerGetNextHandler
,evtHandlerGetPreviousHandler
,evtHandlerProcessEvent
,evtHandlerProcessPendingEvents
,evtHandlerSetClientClosure
,evtHandlerSetEvtHandlerEnabled
,evtHandlerSetNextHandler
,evtHandlerSetPreviousHandler
,fileConfigCreate
,fileDialogCreate
,fileDialogGetDirectory
,fileDialogGetFilename
,fileDialogGetFilenames
,fileDialogGetFilterIndex
,fileDialogGetMessage
,fileDialogGetPath
,fileDialogGetPaths
,fileDialogGetStyle
,fileDialogGetWildcard
,fileDialogSetDirectory
,fileDialogSetFilename
,fileDialogSetFilterIndex
,fileDialogSetMessage
,fileDialogSetPath
,fileDialogSetStyle
,fileDialogSetWildcard
,fileHistoryAddFileToHistory
,fileHistoryAddFilesToMenu
,fileHistoryCreate
,fileHistoryDelete
,fileHistoryGetCount
,fileHistoryGetHistoryFile
,fileHistoryGetMaxFiles
,fileHistoryGetMenus
,fileHistoryLoad
,fileHistoryRemoveFileFromHistory
,fileHistoryRemoveMenu
,fileHistorySave
,fileHistoryUseMenu
,fileInputStreamCreate
,fileInputStreamDelete
,fileInputStreamIsOk
,fileOutputStreamCreate
,fileOutputStreamDelete
,fileOutputStreamIsOk
,filePropertyCreate
,fileTypeDelete
,fileTypeExpandCommand
,fileTypeGetDescription
,fileTypeGetExtensions
,fileTypeGetIcon
,fileTypeGetMimeType
,fileTypeGetMimeTypes
,fileTypeGetOpenCommand
,fileTypeGetPrintCommand
,findDialogEventGetFindString
,findDialogEventGetFlags
,findDialogEventGetReplaceString
,findReplaceDataCreate
,findReplaceDataCreateDefault
,findReplaceDataDelete
,findReplaceDataGetFindString
,findReplaceDataGetFlags
,findReplaceDataGetReplaceString
,findReplaceDataSetFindString
,findReplaceDataSetFlags
,findReplaceDataSetReplaceString
,findReplaceDialogCreate
,findReplaceDialogGetData
,findReplaceDialogSetData
,flexGridSizerAddGrowableCol
,flexGridSizerAddGrowableRow
,flexGridSizerCalcMin
,flexGridSizerCreate
,flexGridSizerRecalcSizes
,flexGridSizerRemoveGrowableCol
,flexGridSizerRemoveGrowableRow
,floatPropertyCreate
,fontCreate
,fontCreateDefault
,fontCreateFromStock
,fontDelete
,fontGetDefaultEncoding
,fontGetEncoding
,fontGetFaceName
,fontGetFamily
,fontGetFamilyString
,fontGetPointSize
,fontGetStyle
,fontGetStyleString
,fontGetUnderlined
,fontGetWeight
,fontGetWeightString
,fontIsOk
,fontIsStatic
,fontSafeDelete
,fontSetDefaultEncoding
,fontSetEncoding
,fontSetFaceName
,fontSetFamily
,fontSetPointSize
,fontSetStyle
,fontSetUnderlined
,fontSetWeight
,fontDataCreate
,fontDataDelete
,fontDataEnableEffects
,fontDataGetAllowSymbols
,fontDataGetChosenFont
,fontDataGetColour
,fontDataGetEnableEffects
,fontDataGetEncoding
,fontDataGetInitialFont
,fontDataGetShowHelp
,fontDataSetAllowSymbols
,fontDataSetChosenFont
,fontDataSetColour
,fontDataSetEncoding
,fontDataSetInitialFont
,fontDataSetRange
,fontDataSetShowHelp
,fontDialogCreate
,fontDialogGetFontData
,fontEnumeratorCreate
,fontEnumeratorDelete
,fontEnumeratorEnumerateEncodings
,fontEnumeratorEnumerateFacenames
,fontMapperCreate
,fontMapperGetAltForEncoding
,fontMapperIsEncodingAvailable
,frameCentre
,frameCreate
,frameCreateStatusBar
,frameCreateToolBar
,frameGetClientAreaOriginleft
,frameGetClientAreaOrigintop
,frameGetMenuBar
,frameGetStatusBar
,frameGetTitle
,frameGetToolBar
,frameIsFullScreen
,frameRestore
,frameSetMenuBar
,frameSetShape
,frameSetStatusBar
,frameSetStatusText
,frameSetStatusWidths
,frameSetTitle
,frameSetToolBar
,frameShowFullScreen
,glCanvasCreate
,glCanvasIsDisplaySupported
,glCanvasIsExtensionSupported
,glCanvasSetColour
,glCanvasSetCurrent
,glCanvasSwapBuffers
,glContextCreate
,glContextCreateFromNull
,glContextSetCurrent
,gaugeCreate
,gaugeGetBezelFace
,gaugeGetRange
,gaugeGetShadowWidth
,gaugeGetValue
,gaugeSetBezelFace
,gaugeSetRange
,gaugeSetShadowWidth
,gaugeSetValue
,genericDragImageCreate
,genericDragImageDoDrawImage
,genericDragImageGetImageRect
,genericDragImageUpdateBackingFromWindow
,graphicsBrushCreate
,graphicsBrushDelete
,graphicsContextClip
,graphicsContextClipByRectangle
,graphicsContextConcatTransform
,graphicsContextCreate
,graphicsContextCreateDefaultMatrix
,graphicsContextCreateFromMemory
,graphicsContextCreateFromNative
,graphicsContextCreateFromNativeWindow
,graphicsContextCreateFromPrinter
,graphicsContextCreateFromWindow
,graphicsContextCreateMatrix
,graphicsContextCreatePath
,graphicsContextDelete
,graphicsContextDrawBitmap
,graphicsContextDrawEllipse
,graphicsContextDrawIcon
,graphicsContextDrawLines
,graphicsContextDrawPath
,graphicsContextDrawRectangle
,graphicsContextDrawRoundedRectangle
,graphicsContextDrawText
,graphicsContextDrawTextWithAngle
,graphicsContextFillPath
,graphicsContextGetNativeContext
,graphicsContextGetTextExtent
,graphicsContextPopState
,graphicsContextPushState
,graphicsContextResetClip
,graphicsContextRotate
,graphicsContextScale
,graphicsContextSetBrush
,graphicsContextSetFont
,graphicsContextSetGraphicsBrush
,graphicsContextSetGraphicsFont
,graphicsContextSetGraphicsPen
,graphicsContextSetPen
,graphicsContextSetTransform
,graphicsContextStrokeLine
,graphicsContextStrokeLines
,graphicsContextStrokePath
,graphicsContextTranslate
,graphicsFontCreate
,graphicsFontDelete
,graphicsMatrixConcat
,graphicsMatrixCreate
,graphicsMatrixDelete
,graphicsMatrixGet
,graphicsMatrixGetNativeMatrix
,graphicsMatrixInvert
,graphicsMatrixIsEqual
,graphicsMatrixIsIdentity
,graphicsMatrixRotate
,graphicsMatrixScale
,graphicsMatrixSet
,graphicsMatrixTransformDistance
,graphicsMatrixTransformPoint
,graphicsMatrixTranslate
,graphicsObjectGetRenderer
,graphicsObjectIsNull
,graphicsPathAddArc
,graphicsPathAddArcToPoint
,graphicsPathAddCircle
,graphicsPathAddCurveToPoint
,graphicsPathAddEllipse
,graphicsPathAddLineToPoint
,graphicsPathAddPath
,graphicsPathAddQuadCurveToPoint
,graphicsPathAddRectangle
,graphicsPathAddRoundedRectangle
,graphicsPathCloseSubpath
,graphicsPathContains
,graphicsPathDelete
,graphicsPathGetBox
,graphicsPathGetCurrentPoint
,graphicsPathGetNativePath
,graphicsPathMoveToPoint
,graphicsPathTransform
,graphicsPathUnGetNativePath
,graphicsPenCreate
,graphicsPenDelete
,graphicsRendererCreateContext
,graphicsRendererCreateContextFromNativeContext
,graphicsRendererCreateContextFromNativeWindow
,graphicsRendererCreateContextFromWindow
,graphicsRendererCreatePath
,graphicsRendererDelete
,graphicsRendererGetDefaultRenderer
,gridAppendCols
,gridAppendRows
,gridAutoSize
,gridAutoSizeColumn
,gridAutoSizeColumns
,gridAutoSizeRow
,gridAutoSizeRows
,gridBeginBatch
,gridBlockToDeviceRect
,gridCanDragColSize
,gridCanDragGridSize
,gridCanDragRowSize
,gridCanEnableCellControl
,gridCellToRect
,gridClearGrid
,gridClearSelection
,gridCreate
,gridCreateGrid
,gridDeleteCols
,gridDeleteRows
,gridDisableCellEditControl
,gridDisableDragColSize
,gridDisableDragGridSize
,gridDisableDragRowSize
,gridDrawAllGridLines
,gridDrawCell
,gridDrawCellBorder
,gridDrawCellHighlight
,gridDrawColLabel
,gridDrawColLabels
,gridDrawGridSpace
,gridDrawRowLabel
,gridDrawRowLabels
,gridDrawTextRectangle
,gridEnableCellEditControl
,gridEnableDragColSize
,gridEnableDragGridSize
,gridEnableDragRowSize
,gridEnableEditing
,gridEnableGridLines
,gridEndBatch
,gridGetBatchCount
,gridGetCellAlignment
,gridGetCellBackgroundColour
,gridGetCellEditor
,gridGetCellFont
,gridGetCellHighlightColour
,gridGetCellRenderer
,gridGetCellSize
,gridGetCellTextColour
,gridGetCellValue
,gridGetColLabelAlignment
,gridGetColLabelSize
,gridGetColLabelValue
,gridGetColSize
,gridGetDefaultCellAlignment
,gridGetDefaultCellBackgroundColour
,gridGetDefaultCellFont
,gridGetDefaultCellTextColour
,gridGetDefaultColLabelSize
,gridGetDefaultColSize
,gridGetDefaultEditor
,gridGetDefaultEditorForCell
,gridGetDefaultEditorForType
,gridGetDefaultRenderer
,gridGetDefaultRendererForCell
,gridGetDefaultRendererForType
,gridGetDefaultRowLabelSize
,gridGetDefaultRowSize
,gridGetGridCursorCol
,gridGetGridCursorRow
,gridGetGridLineColour
,gridGetLabelBackgroundColour
,gridGetLabelFont
,gridGetLabelTextColour
,gridGetNumberCols
,gridGetNumberRows
,gridGetRowLabelAlignment
,gridGetRowLabelSize
,gridGetRowLabelValue
,gridGetRowSize
,gridGetSelectedCells
,gridGetSelectedCols
,gridGetSelectedRows
,gridGetSelectionBackground
,gridGetSelectionBlockBottomRight
,gridGetSelectionBlockTopLeft
,gridGetSelectionForeground
,gridGetTable
,gridGetTextBoxSize
,gridGridLinesEnabled
,gridHideCellEditControl
,gridInsertCols
,gridInsertRows
,gridIsCellEditControlEnabled
,gridIsCellEditControlShown
,gridIsCurrentCellReadOnly
,gridIsEditable
,gridIsInSelection
,gridIsReadOnly
,gridIsSelection
,gridIsVisible
,gridMakeCellVisible
,gridMoveCursorDown
,gridMoveCursorDownBlock
,gridMoveCursorLeft
,gridMoveCursorLeftBlock
,gridMoveCursorRight
,gridMoveCursorRightBlock
,gridMoveCursorUp
,gridMoveCursorUpBlock
,gridMovePageDown
,gridMovePageUp
,gridProcessTableMessage
,gridRegisterDataType
,gridSaveEditControlValue
,gridSelectAll
,gridSelectBlock
,gridSelectCol
,gridSelectRow
,gridSetCellAlignment
,gridSetCellBackgroundColour
,gridSetCellEditor
,gridSetCellFont
,gridSetCellHighlightColour
,gridSetCellRenderer
,gridSetCellSize
,gridSetCellTextColour
,gridSetCellValue
,gridSetColAttr
,gridSetColFormatBool
,gridSetColFormatCustom
,gridSetColFormatFloat
,gridSetColFormatNumber
,gridSetColLabelAlignment
,gridSetColLabelSize
,gridSetColLabelValue
,gridSetColMinimalWidth
,gridSetColSize
,gridSetDefaultCellAlignment
,gridSetDefaultCellBackgroundColour
,gridSetDefaultCellFont
,gridSetDefaultCellTextColour
,gridSetDefaultColSize
,gridSetDefaultEditor
,gridSetDefaultRenderer
,gridSetDefaultRowSize
,gridSetGridCursor
,gridSetGridLineColour
,gridSetLabelBackgroundColour
,gridSetLabelFont
,gridSetLabelTextColour
,gridSetMargins
,gridSetReadOnly
,gridSetRowAttr
,gridSetRowLabelAlignment
,gridSetRowLabelSize
,gridSetRowLabelValue
,gridSetRowMinimalHeight
,gridSetRowSize
,gridSetSelectionBackground
,gridSetSelectionForeground
,gridSetSelectionMode
,gridSetTable
,gridShowCellEditControl
,gridStringToLines
,gridXToCol
,gridXToEdgeOfCol
,gridXYToCell
,gridYToEdgeOfRow
,gridYToRow
,gridCellAttrCtor
,gridCellAttrDecRef
,gridCellAttrGetAlignment
,gridCellAttrGetBackgroundColour
,gridCellAttrGetEditor
,gridCellAttrGetFont
,gridCellAttrGetRenderer
,gridCellAttrGetTextColour
,gridCellAttrHasAlignment
,gridCellAttrHasBackgroundColour
,gridCellAttrHasEditor
,gridCellAttrHasFont
,gridCellAttrHasRenderer
,gridCellAttrHasTextColour
,gridCellAttrIncRef
,gridCellAttrIsReadOnly
,gridCellAttrSetAlignment
,gridCellAttrSetBackgroundColour
,gridCellAttrSetDefAttr
,gridCellAttrSetEditor
,gridCellAttrSetFont
,gridCellAttrSetReadOnly
,gridCellAttrSetRenderer
,gridCellAttrSetTextColour
,gridCellAutoWrapStringRendererCtor
,gridCellBoolEditorCtor
,gridCellChoiceEditorCtor
,gridCellCoordsArrayCreate
,gridCellCoordsArrayDelete
,gridCellCoordsArrayGetCount
,gridCellCoordsArrayItem
,gridCellEditorBeginEdit
,gridCellEditorCreate
,gridCellEditorDestroy
,gridCellEditorEndEdit
,gridCellEditorGetControl
,gridCellEditorHandleReturn
,gridCellEditorIsAcceptedKey
,gridCellEditorIsCreated
,gridCellEditorPaintBackground
,gridCellEditorReset
,gridCellEditorSetControl
,gridCellEditorSetParameters
,gridCellEditorSetSize
,gridCellEditorShow
,gridCellEditorStartingClick
,gridCellEditorStartingKey
,gridCellFloatEditorCtor
,gridCellNumberEditorCtor
,gridCellNumberRendererCtor
,gridCellTextEditorCtor
,gridCellTextEnterEditorCtor
,gridEditorCreatedEventGetCol
,gridEditorCreatedEventGetControl
,gridEditorCreatedEventGetRow
,gridEditorCreatedEventSetCol
,gridEditorCreatedEventSetControl
,gridEditorCreatedEventSetRow
,gridEventAltDown
,gridEventControlDown
,gridEventGetCol
,gridEventGetPosition
,gridEventGetRow
,gridEventMetaDown
,gridEventSelecting
,gridEventShiftDown
,gridRangeSelectEventAltDown
,gridRangeSelectEventControlDown
,gridRangeSelectEventGetBottomRightCoords
,gridRangeSelectEventGetBottomRow
,gridRangeSelectEventGetLeftCol
,gridRangeSelectEventGetRightCol
,gridRangeSelectEventGetTopLeftCoords
,gridRangeSelectEventGetTopRow
,gridRangeSelectEventMetaDown
,gridRangeSelectEventSelecting
,gridRangeSelectEventShiftDown
,gridSizeEventAltDown
,gridSizeEventControlDown
,gridSizeEventGetPosition
,gridSizeEventGetRowOrCol
,gridSizeEventMetaDown
,gridSizeEventShiftDown
,gridSizerCalcMin
,gridSizerCreate
,gridSizerGetCols
,gridSizerGetHGap
,gridSizerGetRows
,gridSizerGetVGap
,gridSizerRecalcSizes
,gridSizerSetCols
,gridSizerSetHGap
,gridSizerSetRows
,gridSizerSetVGap
,helpControllerHelpProviderCreate
,helpControllerHelpProviderGetHelpController
,helpControllerHelpProviderSetHelpController
,helpEventGetLink
,helpEventGetPosition
,helpEventGetTarget
,helpEventSetLink
,helpEventSetPosition
,helpEventSetTarget
,helpProviderAddHelp
,helpProviderAddHelpById
,helpProviderDelete
,helpProviderGet
,helpProviderGetHelp
,helpProviderRemoveHelp
,helpProviderSet
,helpProviderShowHelp
,htmlHelpControllerAddBook
,htmlHelpControllerCreate
,htmlHelpControllerDelete
,htmlHelpControllerDisplay
,htmlHelpControllerDisplayBlock
,htmlHelpControllerDisplayContents
,htmlHelpControllerDisplayIndex
,htmlHelpControllerDisplayNumber
,htmlHelpControllerDisplaySection
,htmlHelpControllerDisplaySectionNumber
,htmlHelpControllerGetFrame
,htmlHelpControllerGetFrameParameters
,htmlHelpControllerInitialize
,htmlHelpControllerKeywordSearch
,htmlHelpControllerLoadFile
,htmlHelpControllerQuit
,htmlHelpControllerReadCustomization
,htmlHelpControllerSetFrameParameters
,htmlHelpControllerSetTempDir
,htmlHelpControllerSetTitleFormat
,htmlHelpControllerSetViewer
,htmlHelpControllerUseConfig
,htmlHelpControllerWriteCustomization
,htmlWindowAppendToPage
,htmlWindowCreate
,htmlWindowGetInternalRepresentation
,htmlWindowGetOpenedAnchor
,htmlWindowGetOpenedPage
,htmlWindowGetOpenedPageTitle
,htmlWindowGetRelatedFrame
,htmlWindowHistoryBack
,htmlWindowHistoryCanBack
,htmlWindowHistoryCanForward
,htmlWindowHistoryClear
,htmlWindowHistoryForward
,htmlWindowLoadPage
,htmlWindowReadCustomization
,htmlWindowSetBorders
,htmlWindowSetFonts
,htmlWindowSetPage
,htmlWindowSetRelatedFrame
,htmlWindowSetRelatedStatusBar
,htmlWindowWriteCustomization
,hyperlinkCtrlCreate
,hyperlinkCtrlGetHoverColour
,hyperlinkCtrlGetNormalColour
,hyperlinkCtrlGetURL
,hyperlinkCtrlGetVisited
,hyperlinkCtrlGetVisitedColour
,hyperlinkCtrlSetHoverColour
,hyperlinkCtrlSetNormalColour
,hyperlinkCtrlSetURL
,hyperlinkCtrlSetVisited
,hyperlinkCtrlSetVisitedColour
,iconAssign
,iconCopyFromBitmap
,iconCreateDefault
,iconCreateLoad
,iconDelete
,iconFromRaw
,iconFromXPM
,iconGetDepth
,iconGetHeight
,iconGetWidth
,iconIsEqual
,iconIsOk
,iconIsStatic
,iconLoad
,iconSafeDelete
,iconSetDepth
,iconSetHeight
,iconSetWidth
,iconBundleAddIcon
,iconBundleAddIconFromFile
,iconBundleCreateDefault
,iconBundleCreateFromFile
,iconBundleCreateFromIcon
,iconBundleDelete
,iconBundleGetIcon
,idleEventCopyObject
,idleEventMoreRequested
,idleEventRequestMore
,imageCanRead
,imageConvertToBitmap
,imageConvertToByteString
,imageConvertToLazyByteString
,imageCopy
,imageCountColours
,imageCreateDefault
,imageCreateFromBitmap
,imageCreateFromByteString
,imageCreateFromData
,imageCreateFromDataEx
,imageCreateFromFile
,imageCreateFromLazyByteString
,imageCreateSized
,imageDelete
,imageDestroy
,imageGetBlue
,imageGetData
,imageGetGreen
,imageGetHeight
,imageGetMaskBlue
,imageGetMaskGreen
,imageGetMaskRed
,imageGetOption
,imageGetOptionInt
,imageGetRed
,imageGetSubImage
,imageGetType
,imageGetWidth
,imageHasMask
,imageHasOption
,imageInitialize
,imageInitializeFromData
,imageIsOk
,imageLoadFile
,imageLoadStream
,imageMirror
,imagePaste
,imageReplace
,imageRescale
,imageRescaleEx
,imageRotate
,imageRotate90
,imageSaveFile
,imageSaveStream
,imageScale
,imageScaleEx
,imageSetData
,imageSetDataAndSize
,imageSetMask
,imageSetMaskColour
,imageSetOption
,imageSetOptionInt
,imageSetRGB
,imageSetType
,imageListAddBitmap
,imageListAddIcon
,imageListAddMasked
,imageListCreate
,imageListDelete
,imageListDraw
,imageListGetImageCount
,imageListGetSize
,imageListRemove
,imageListRemoveAll
,imageListReplace
,imageListReplaceIcon
,individualLayoutConstraintAbove
,individualLayoutConstraintAbsolute
,individualLayoutConstraintAsIs
,individualLayoutConstraintBelow
,individualLayoutConstraintGetDone
,individualLayoutConstraintGetEdge
,individualLayoutConstraintGetMargin
,individualLayoutConstraintGetMyEdge
,individualLayoutConstraintGetOtherEdge
,individualLayoutConstraintGetOtherWindow
,individualLayoutConstraintGetPercent
,individualLayoutConstraintGetRelationship
,individualLayoutConstraintGetValue
,individualLayoutConstraintLeftOf
,individualLayoutConstraintPercentOf
,individualLayoutConstraintResetIfWin
,individualLayoutConstraintRightOf
,individualLayoutConstraintSameAs
,individualLayoutConstraintSatisfyConstraint
,individualLayoutConstraintSet
,individualLayoutConstraintSetDone
,individualLayoutConstraintSetEdge
,individualLayoutConstraintSetMargin
,individualLayoutConstraintSetRelationship
,individualLayoutConstraintSetValue
,individualLayoutConstraintUnconstrained
,inputSinkCreate
,inputSinkGetId
,inputSinkStart
,inputSinkEventLastError
,inputSinkEventLastInput
,inputSinkEventLastRead
,inputStreamCanRead
,inputStreamDelete
,inputStreamEof
,inputStreamGetC
,inputStreamLastRead
,inputStreamPeek
,inputStreamRead
,inputStreamSeekI
,inputStreamTell
,inputStreamUngetBuffer
,inputStreamUngetch
,intPropertyCreate
,keyEventAltDown
,keyEventControlDown
,keyEventCopyObject
,keyEventGetKeyCode
,keyEventGetModifiers
,keyEventGetPosition
,keyEventGetX
,keyEventGetY
,keyEventHasModifiers
,keyEventMetaDown
,keyEventSetKeyCode
,keyEventShiftDown
,layoutAlgorithmCreate
,layoutAlgorithmDelete
,layoutAlgorithmLayoutFrame
,layoutAlgorithmLayoutMDIFrame
,layoutAlgorithmLayoutWindow
,layoutConstraintsCreate
,layoutConstraintsbottom
,layoutConstraintscentreX
,layoutConstraintscentreY
,layoutConstraintsheight
,layoutConstraintsleft
,layoutConstraintsright
,layoutConstraintstop
,layoutConstraintswidth
,listBoxAppend
,listBoxAppendData
,listBoxClear
,listBoxCreate
,listBoxDelete
,listBoxFindString
,listBoxGetClientData
,listBoxGetCount
,listBoxGetSelection
,listBoxGetSelections
,listBoxGetString
,listBoxInsertItems
,listBoxIsSelected
,listBoxSetClientData
,listBoxSetFirstItem
,listBoxSetSelection
,listBoxSetString
,listBoxSetStringSelection
,listCtrlArrange
,listCtrlAssignImageList
,listCtrlClearAll
,listCtrlCreate
,listCtrlDeleteAllColumns
,listCtrlDeleteAllItems
,listCtrlDeleteColumn
,listCtrlDeleteItem
,listCtrlEditLabel
,listCtrlEndEditLabel
,listCtrlEnsureVisible
,listCtrlFindItem
,listCtrlFindItemByData
,listCtrlFindItemByPosition
,listCtrlGetColumn
,listCtrlGetColumn2
,listCtrlGetColumnCount
,listCtrlGetColumnWidth
,listCtrlGetCountPerPage
,listCtrlGetEditControl
,listCtrlGetImageList
,listCtrlGetItem
,listCtrlGetItem2
,listCtrlGetItemCount
,listCtrlGetItemData
,listCtrlGetItemFont
,listCtrlGetItemPosition
,listCtrlGetItemPosition2
,listCtrlGetItemRect
,listCtrlGetItemSpacing
,listCtrlGetItemState
,listCtrlGetItemText
,listCtrlGetNextItem
,listCtrlGetSelectedItemCount
,listCtrlGetTextColour
,listCtrlGetTopItem
,listCtrlHitTest
,listCtrlInsertColumn
,listCtrlInsertColumnFromInfo
,listCtrlInsertItem
,listCtrlInsertItemWithData
,listCtrlInsertItemWithImage
,listCtrlInsertItemWithLabel
,listCtrlIsVirtual
,listCtrlRefreshItem
,listCtrlScrollList
,listCtrlSetBackgroundColour
,listCtrlSetColumn
,listCtrlSetColumnWidth
,listCtrlSetForegroundColour
,listCtrlSetImageList
,listCtrlSetItem
,listCtrlSetItemData
,listCtrlSetItemFromInfo
,listCtrlSetItemImage
,listCtrlSetItemPosition
,listCtrlSetItemState
,listCtrlSetItemText
,listCtrlSetSingleStyle
,listCtrlSetTextColour
,listCtrlSetWindowStyleFlag
,listCtrlSortItems
,listCtrlSortItems2
,listCtrlUpdateStyle
,listEventCancelled
,listEventGetCacheFrom
,listEventGetCacheTo
,listEventGetCode
,listEventGetColumn
,listEventGetData
,listEventGetImage
,listEventGetIndex
,listEventGetItem
,listEventGetLabel
,listEventGetMask
,listEventGetPoint
,listEventGetText
,listItemClear
,listItemClearAttributes
,listItemCreate
,listItemDelete
,listItemGetAlign
,listItemGetAttributes
,listItemGetBackgroundColour
,listItemGetColumn
,listItemGetData
,listItemGetFont
,listItemGetId
,listItemGetImage
,listItemGetMask
,listItemGetState
,listItemGetText
,listItemGetTextColour
,listItemGetWidth
,listItemHasAttributes
,listItemSetAlign
,listItemSetBackgroundColour
,listItemSetColumn
,listItemSetData
,listItemSetDataPointer
,listItemSetFont
,listItemSetId
,listItemSetImage
,listItemSetMask
,listItemSetState
,listItemSetStateMask
,listItemSetText
,listItemSetTextColour
,listItemSetWidth
,localeAddCatalog
,localeAddCatalogLookupPathPrefix
,localeCreate
,localeDelete
,localeGetLocale
,localeGetName
,localeGetString
,localeIsLoaded
,localeIsOk
,logAddTraceMask
,logDelete
,logDontCreateOnDemand
,logFlush
,logFlushActive
,logGetActiveTarget
,logGetTimestamp
,logGetTraceMask
,logGetVerbose
,logHasPendingMessages
,logIsAllowedTraceMask
,logOnLog
,logRemoveTraceMask
,logResume
,logSetActiveTarget
,logSetTimestamp
,logSetVerbose
,logSuspend
,logChainCreate
,logChainDelete
,logChainGetOldLog
,logChainIsPassingMessages
,logChainPassMessages
,logChainSetLog
,logNullCreate
,logStderrCreate
,logStderrCreateStdOut
,logTextCtrlCreate
,logWindowCreate
,logWindowGetFrame
) where
import Prelude hiding (id, last, length, lines, max, min, show)
import qualified Data.ByteString as B (ByteString, useAsCStringLen)
import qualified Data.ByteString.Lazy as LB (ByteString, length, unpack)
import Graphics.UI.WXCore.WxcTypes hiding (rect, rgb, rgba, sz)
import Graphics.UI.WXCore.WxcClassTypes
acceleratorEntryCreate :: Int -> Int -> Int -> IO (AcceleratorEntry ())
acceleratorEntryCreate flags keyCode cmd
= withObjectResult $
wxAcceleratorEntry_Create (toCInt flags) (toCInt keyCode) (toCInt cmd)
foreign import ccall "wxAcceleratorEntry_Create" wxAcceleratorEntry_Create :: CInt -> CInt -> CInt -> IO (Ptr (TAcceleratorEntry ()))
acceleratorEntryDelete :: AcceleratorEntry a -> IO ()
acceleratorEntryDelete _obj
= withObjectRef "acceleratorEntryDelete" _obj $ \cobj__obj ->
wxAcceleratorEntry_Delete cobj__obj
foreign import ccall "wxAcceleratorEntry_Delete" wxAcceleratorEntry_Delete :: Ptr (TAcceleratorEntry a) -> IO ()
acceleratorEntryGetCommand :: AcceleratorEntry a -> IO Int
acceleratorEntryGetCommand _obj
= withIntResult $
withObjectRef "acceleratorEntryGetCommand" _obj $ \cobj__obj ->
wxAcceleratorEntry_GetCommand cobj__obj
foreign import ccall "wxAcceleratorEntry_GetCommand" wxAcceleratorEntry_GetCommand :: Ptr (TAcceleratorEntry a) -> IO CInt
acceleratorEntryGetFlags :: AcceleratorEntry a -> IO Int
acceleratorEntryGetFlags _obj
= withIntResult $
withObjectRef "acceleratorEntryGetFlags" _obj $ \cobj__obj ->
wxAcceleratorEntry_GetFlags cobj__obj
foreign import ccall "wxAcceleratorEntry_GetFlags" wxAcceleratorEntry_GetFlags :: Ptr (TAcceleratorEntry a) -> IO CInt
acceleratorEntryGetKeyCode :: AcceleratorEntry a -> IO Int
acceleratorEntryGetKeyCode _obj
= withIntResult $
withObjectRef "acceleratorEntryGetKeyCode" _obj $ \cobj__obj ->
wxAcceleratorEntry_GetKeyCode cobj__obj
foreign import ccall "wxAcceleratorEntry_GetKeyCode" wxAcceleratorEntry_GetKeyCode :: Ptr (TAcceleratorEntry a) -> IO CInt
acceleratorEntrySet :: AcceleratorEntry a -> Int -> Int -> Int -> IO ()
acceleratorEntrySet _obj flags keyCode cmd
= withObjectRef "acceleratorEntrySet" _obj $ \cobj__obj ->
wxAcceleratorEntry_Set cobj__obj (toCInt flags) (toCInt keyCode) (toCInt cmd)
foreign import ccall "wxAcceleratorEntry_Set" wxAcceleratorEntry_Set :: Ptr (TAcceleratorEntry a) -> CInt -> CInt -> CInt -> IO ()
acceleratorTableCreate :: Int -> Ptr b -> IO (AcceleratorTable ())
acceleratorTableCreate n entries
= withObjectResult $
wxAcceleratorTable_Create (toCInt n) entries
foreign import ccall "wxAcceleratorTable_Create" wxAcceleratorTable_Create :: CInt -> Ptr b -> IO (Ptr (TAcceleratorTable ()))
acceleratorTableDelete :: AcceleratorTable a -> IO ()
acceleratorTableDelete _obj
= withObjectRef "acceleratorTableDelete" _obj $ \cobj__obj ->
wxAcceleratorTable_Delete cobj__obj
foreign import ccall "wxAcceleratorTable_Delete" wxAcceleratorTable_Delete :: Ptr (TAcceleratorTable a) -> IO ()
activateEventCopyObject :: ActivateEvent a -> Ptr b -> IO ()
activateEventCopyObject _obj obj
= withObjectRef "activateEventCopyObject" _obj $ \cobj__obj ->
wxActivateEvent_CopyObject cobj__obj obj
foreign import ccall "wxActivateEvent_CopyObject" wxActivateEvent_CopyObject :: Ptr (TActivateEvent a) -> Ptr b -> IO ()
activateEventGetActive :: ActivateEvent a -> IO Bool
activateEventGetActive _obj
= withBoolResult $
withObjectRef "activateEventGetActive" _obj $ \cobj__obj ->
wxActivateEvent_GetActive cobj__obj
foreign import ccall "wxActivateEvent_GetActive" wxActivateEvent_GetActive :: Ptr (TActivateEvent a) -> IO CBool
auiDefaultTabArtClone :: AuiDefaultTabArt a -> IO (AuiTabArt ())
auiDefaultTabArtClone _obj
= withObjectResult $
withObjectRef "auiDefaultTabArtClone" _obj $ \cobj__obj ->
wxAuiDefaultTabArt_Clone cobj__obj
foreign import ccall "wxAuiDefaultTabArt_Clone" wxAuiDefaultTabArt_Clone :: Ptr (TAuiDefaultTabArt a) -> IO (Ptr (TAuiTabArt ()))
auiDefaultTabArtCreate :: IO (AuiDefaultTabArt ())
auiDefaultTabArtCreate
= withObjectResult $
wxAuiDefaultTabArt_Create
foreign import ccall "wxAuiDefaultTabArt_Create" wxAuiDefaultTabArt_Create :: IO (Ptr (TAuiDefaultTabArt ()))
auiDefaultTabArtDrawBackground :: AuiDefaultTabArt a -> DC b -> Window c -> Rect -> IO ()
auiDefaultTabArtDrawBackground _obj _dc _wnd _rect
= withObjectRef "auiDefaultTabArtDrawBackground" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiDefaultTabArt_DrawBackground cobj__obj cobj__dc cobj__wnd cobj__rect
foreign import ccall "wxAuiDefaultTabArt_DrawBackground" wxAuiDefaultTabArt_DrawBackground :: Ptr (TAuiDefaultTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
auiDefaultTabArtDrawButton :: AuiDefaultTabArt a -> DC b -> Window c -> Rect -> Int -> Int -> Int -> Rect -> IO ()
auiDefaultTabArtDrawButton _obj _dc _wnd _inRect bitmapId buttonState orientation _outRect
= withObjectRef "auiDefaultTabArtDrawButton" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _inRect $ \cobj__inRect ->
withWxRectPtr _outRect $ \cobj__outRect ->
wxAuiDefaultTabArt_DrawButton cobj__obj cobj__dc cobj__wnd cobj__inRect (toCInt bitmapId) (toCInt buttonState) (toCInt orientation) cobj__outRect
foreign import ccall "wxAuiDefaultTabArt_DrawButton" wxAuiDefaultTabArt_DrawButton :: Ptr (TAuiDefaultTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> CInt -> CInt -> CInt -> Ptr (TWxRect h) -> IO ()
auiDefaultTabArtDrawTab :: AuiDefaultTabArt a -> DC b -> Window c -> AuiNotebookPage d -> Rect -> Int -> Rect -> Rect -> Ptr CInt -> IO ()
auiDefaultTabArtDrawTab _obj _dc _wnd _pane _inRect closeButtonState _outTabRect _outButtonRect xExtent
= withObjectRef "auiDefaultTabArtDrawTab" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _pane $ \cobj__pane ->
withWxRectPtr _inRect $ \cobj__inRect ->
withWxRectPtr _outTabRect $ \cobj__outTabRect ->
withWxRectPtr _outButtonRect $ \cobj__outButtonRect ->
wxAuiDefaultTabArt_DrawTab cobj__obj cobj__dc cobj__wnd cobj__pane cobj__inRect (toCInt closeButtonState) cobj__outTabRect cobj__outButtonRect xExtent
foreign import ccall "wxAuiDefaultTabArt_DrawTab" wxAuiDefaultTabArt_DrawTab :: Ptr (TAuiDefaultTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiNotebookPage d) -> Ptr (TWxRect e) -> CInt -> Ptr (TWxRect g) -> Ptr (TWxRect h) -> Ptr CInt -> IO ()
auiDefaultTabArtGetBestTabCtrlSize :: AuiDefaultTabArt a -> Window b -> AuiNotebookPageArray c -> Size -> IO Int
auiDefaultTabArtGetBestTabCtrlSize _obj _wnd _pages _widthheight
= withIntResult $
withObjectRef "auiDefaultTabArtGetBestTabCtrlSize" _obj $ \cobj__obj ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _pages $ \cobj__pages ->
wxAuiDefaultTabArt_GetBestTabCtrlSize cobj__obj cobj__wnd cobj__pages (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)
foreign import ccall "wxAuiDefaultTabArt_GetBestTabCtrlSize" wxAuiDefaultTabArt_GetBestTabCtrlSize :: Ptr (TAuiDefaultTabArt a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPageArray c) -> CInt -> CInt -> IO CInt
auiDefaultTabArtGetIndentSize :: AuiDefaultTabArt a -> IO Int
auiDefaultTabArtGetIndentSize _obj
= withIntResult $
withObjectRef "auiDefaultTabArtGetIndentSize" _obj $ \cobj__obj ->
wxAuiDefaultTabArt_GetIndentSize cobj__obj
foreign import ccall "wxAuiDefaultTabArt_GetIndentSize" wxAuiDefaultTabArt_GetIndentSize :: Ptr (TAuiDefaultTabArt a) -> IO CInt
auiDefaultTabArtGetTabSize :: AuiDefaultTabArt a -> DC b -> Window c -> String -> Bitmap e -> Bool -> Int -> Ptr CInt -> IO (Size)
auiDefaultTabArtGetTabSize _obj _dc _wnd _caption _bitmap active closeButtonState xExtent
= withWxSizeResult $
withObjectRef "auiDefaultTabArtGetTabSize" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withStringPtr _caption $ \cobj__caption ->
withObjectPtr _bitmap $ \cobj__bitmap ->
wxAuiDefaultTabArt_GetTabSize cobj__obj cobj__dc cobj__wnd cobj__caption cobj__bitmap (toCBool active) (toCInt closeButtonState) xExtent
foreign import ccall "wxAuiDefaultTabArt_GetTabSize" wxAuiDefaultTabArt_GetTabSize :: Ptr (TAuiDefaultTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxString d) -> Ptr (TBitmap e) -> CBool -> CInt -> Ptr CInt -> IO (Ptr (TWxSize ()))
auiDefaultTabArtSetActiveColour :: AuiDefaultTabArt a -> Color -> IO ()
auiDefaultTabArtSetActiveColour _obj _colour
= withObjectRef "auiDefaultTabArtSetActiveColour" _obj $ \cobj__obj ->
withColourPtr _colour $ \cobj__colour ->
wxAuiDefaultTabArt_SetActiveColour cobj__obj cobj__colour
foreign import ccall "wxAuiDefaultTabArt_SetActiveColour" wxAuiDefaultTabArt_SetActiveColour :: Ptr (TAuiDefaultTabArt a) -> Ptr (TColour b) -> IO ()
auiDefaultTabArtSetColour :: AuiDefaultTabArt a -> Color -> IO ()
auiDefaultTabArtSetColour _obj _colour
= withObjectRef "auiDefaultTabArtSetColour" _obj $ \cobj__obj ->
withColourPtr _colour $ \cobj__colour ->
wxAuiDefaultTabArt_SetColour cobj__obj cobj__colour
foreign import ccall "wxAuiDefaultTabArt_SetColour" wxAuiDefaultTabArt_SetColour :: Ptr (TAuiDefaultTabArt a) -> Ptr (TColour b) -> IO ()
auiDefaultTabArtSetFlags :: AuiDefaultTabArt a -> Int -> IO ()
auiDefaultTabArtSetFlags _obj _flags
= withObjectRef "auiDefaultTabArtSetFlags" _obj $ \cobj__obj ->
wxAuiDefaultTabArt_SetFlags cobj__obj (toCInt _flags)
foreign import ccall "wxAuiDefaultTabArt_SetFlags" wxAuiDefaultTabArt_SetFlags :: Ptr (TAuiDefaultTabArt a) -> CInt -> IO ()
auiDefaultTabArtSetMeasuringFont :: AuiDefaultTabArt a -> Font b -> IO ()
auiDefaultTabArtSetMeasuringFont _obj _font
= withObjectRef "auiDefaultTabArtSetMeasuringFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiDefaultTabArt_SetMeasuringFont cobj__obj cobj__font
foreign import ccall "wxAuiDefaultTabArt_SetMeasuringFont" wxAuiDefaultTabArt_SetMeasuringFont :: Ptr (TAuiDefaultTabArt a) -> Ptr (TFont b) -> IO ()
auiDefaultTabArtSetNormalFont :: AuiDefaultTabArt a -> Font b -> IO ()
auiDefaultTabArtSetNormalFont _obj _font
= withObjectRef "auiDefaultTabArtSetNormalFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiDefaultTabArt_SetNormalFont cobj__obj cobj__font
foreign import ccall "wxAuiDefaultTabArt_SetNormalFont" wxAuiDefaultTabArt_SetNormalFont :: Ptr (TAuiDefaultTabArt a) -> Ptr (TFont b) -> IO ()
auiDefaultTabArtSetSelectedFont :: AuiDefaultTabArt a -> Font b -> IO ()
auiDefaultTabArtSetSelectedFont _obj _font
= withObjectRef "auiDefaultTabArtSetSelectedFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiDefaultTabArt_SetSelectedFont cobj__obj cobj__font
foreign import ccall "wxAuiDefaultTabArt_SetSelectedFont" wxAuiDefaultTabArt_SetSelectedFont :: Ptr (TAuiDefaultTabArt a) -> Ptr (TFont b) -> IO ()
auiDefaultTabArtSetSizingInfo :: AuiDefaultTabArt a -> Size -> Int -> IO ()
auiDefaultTabArtSetSizingInfo _obj _widthheight tabCount
= withObjectRef "auiDefaultTabArtSetSizingInfo" _obj $ \cobj__obj ->
wxAuiDefaultTabArt_SetSizingInfo cobj__obj (toCIntSizeW _widthheight) (toCIntSizeH _widthheight) (toCInt tabCount)
foreign import ccall "wxAuiDefaultTabArt_SetSizingInfo" wxAuiDefaultTabArt_SetSizingInfo :: Ptr (TAuiDefaultTabArt a) -> CInt -> CInt -> CInt -> IO ()
auiDefaultTabArtShowDropDown :: AuiDefaultTabArt a -> Window b -> AuiNotebookPageArray c -> Int -> IO Int
auiDefaultTabArtShowDropDown _obj _wnd _items activeIdx
= withIntResult $
withObjectRef "auiDefaultTabArtShowDropDown" _obj $ \cobj__obj ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _items $ \cobj__items ->
wxAuiDefaultTabArt_ShowDropDown cobj__obj cobj__wnd cobj__items (toCInt activeIdx)
foreign import ccall "wxAuiDefaultTabArt_ShowDropDown" wxAuiDefaultTabArt_ShowDropDown :: Ptr (TAuiDefaultTabArt a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPageArray c) -> CInt -> IO CInt
auiDefaultToolBarArtClone :: AuiDefaultToolBarArt a -> IO (AuiToolBarArt ())
auiDefaultToolBarArtClone _obj
= withObjectResult $
withObjectRef "auiDefaultToolBarArtClone" _obj $ \cobj__obj ->
wxAuiDefaultToolBarArt_Clone cobj__obj
foreign import ccall "wxAuiDefaultToolBarArt_Clone" wxAuiDefaultToolBarArt_Clone :: Ptr (TAuiDefaultToolBarArt a) -> IO (Ptr (TAuiToolBarArt ()))
auiDefaultToolBarArtCreate :: IO (AuiDefaultToolBarArt ())
auiDefaultToolBarArtCreate
= withObjectResult $
wxAuiDefaultToolBarArt_Create
foreign import ccall "wxAuiDefaultToolBarArt_Create" wxAuiDefaultToolBarArt_Create :: IO (Ptr (TAuiDefaultToolBarArt ()))
auiDefaultToolBarArtDrawBackground :: AuiDefaultToolBarArt a -> DC b -> Window c -> Rect -> IO ()
auiDefaultToolBarArtDrawBackground _obj _dc _wnd _rect
= withObjectRef "auiDefaultToolBarArtDrawBackground" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiDefaultToolBarArt_DrawBackground cobj__obj cobj__dc cobj__wnd cobj__rect
foreign import ccall "wxAuiDefaultToolBarArt_DrawBackground" wxAuiDefaultToolBarArt_DrawBackground :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
auiDefaultToolBarArtDrawButton :: AuiDefaultToolBarArt a -> DC b -> Window c -> AuiToolBarItem d -> Rect -> IO ()
auiDefaultToolBarArtDrawButton _obj _dc _wnd _item _rect
= withObjectRef "auiDefaultToolBarArtDrawButton" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _item $ \cobj__item ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiDefaultToolBarArt_DrawButton cobj__obj cobj__dc cobj__wnd cobj__item cobj__rect
foreign import ccall "wxAuiDefaultToolBarArt_DrawButton" wxAuiDefaultToolBarArt_DrawButton :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
auiDefaultToolBarArtDrawControlLabel :: AuiDefaultToolBarArt a -> DC b -> Window c -> AuiToolBarItem d -> Rect -> IO ()
auiDefaultToolBarArtDrawControlLabel _obj _dc _wnd _item _rect
= withObjectRef "auiDefaultToolBarArtDrawControlLabel" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _item $ \cobj__item ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiDefaultToolBarArt_DrawControlLabel cobj__obj cobj__dc cobj__wnd cobj__item cobj__rect
foreign import ccall "wxAuiDefaultToolBarArt_DrawControlLabel" wxAuiDefaultToolBarArt_DrawControlLabel :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
auiDefaultToolBarArtDrawDropDownButton :: AuiDefaultToolBarArt a -> DC b -> Window c -> AuiToolBarItem d -> Rect -> IO ()
auiDefaultToolBarArtDrawDropDownButton _obj _dc _wnd _item _rect
= withObjectRef "auiDefaultToolBarArtDrawDropDownButton" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _item $ \cobj__item ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiDefaultToolBarArt_DrawDropDownButton cobj__obj cobj__dc cobj__wnd cobj__item cobj__rect
foreign import ccall "wxAuiDefaultToolBarArt_DrawDropDownButton" wxAuiDefaultToolBarArt_DrawDropDownButton :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
auiDefaultToolBarArtDrawGripper :: AuiDefaultToolBarArt a -> DC b -> Window c -> Rect -> IO ()
auiDefaultToolBarArtDrawGripper _obj _dc _wnd _rect
= withObjectRef "auiDefaultToolBarArtDrawGripper" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiDefaultToolBarArt_DrawGripper cobj__obj cobj__dc cobj__wnd cobj__rect
foreign import ccall "wxAuiDefaultToolBarArt_DrawGripper" wxAuiDefaultToolBarArt_DrawGripper :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
auiDefaultToolBarArtDrawLabel :: AuiDefaultToolBarArt a -> DC b -> Window c -> AuiToolBarItem d -> Rect -> IO ()
auiDefaultToolBarArtDrawLabel _obj _dc _wnd _item _rect
= withObjectRef "auiDefaultToolBarArtDrawLabel" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _item $ \cobj__item ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiDefaultToolBarArt_DrawLabel cobj__obj cobj__dc cobj__wnd cobj__item cobj__rect
foreign import ccall "wxAuiDefaultToolBarArt_DrawLabel" wxAuiDefaultToolBarArt_DrawLabel :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
auiDefaultToolBarArtDrawOverflowButton :: AuiDefaultToolBarArt a -> DC b -> Window c -> Rect -> Int -> IO ()
auiDefaultToolBarArtDrawOverflowButton _obj _dc _wnd _rect state
= withObjectRef "auiDefaultToolBarArtDrawOverflowButton" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiDefaultToolBarArt_DrawOverflowButton cobj__obj cobj__dc cobj__wnd cobj__rect (toCInt state)
foreign import ccall "wxAuiDefaultToolBarArt_DrawOverflowButton" wxAuiDefaultToolBarArt_DrawOverflowButton :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> CInt -> IO ()
auiDefaultToolBarArtDrawPlainBackground :: AuiDefaultToolBarArt a -> DC b -> Window c -> Rect -> IO ()
auiDefaultToolBarArtDrawPlainBackground _obj _dc _wnd _rect
= withObjectRef "auiDefaultToolBarArtDrawPlainBackground" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiDefaultToolBarArt_DrawPlainBackground cobj__obj cobj__dc cobj__wnd cobj__rect
foreign import ccall "wxAuiDefaultToolBarArt_DrawPlainBackground" wxAuiDefaultToolBarArt_DrawPlainBackground :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
auiDefaultToolBarArtDrawSeparator :: AuiDefaultToolBarArt a -> DC b -> Window c -> Rect -> IO ()
auiDefaultToolBarArtDrawSeparator _obj _dc _wnd _rect
= withObjectRef "auiDefaultToolBarArtDrawSeparator" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiDefaultToolBarArt_DrawSeparator cobj__obj cobj__dc cobj__wnd cobj__rect
foreign import ccall "wxAuiDefaultToolBarArt_DrawSeparator" wxAuiDefaultToolBarArt_DrawSeparator :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
auiDefaultToolBarArtGetElementSize :: AuiDefaultToolBarArt a -> Int -> IO Int
auiDefaultToolBarArtGetElementSize _obj element
= withIntResult $
withObjectRef "auiDefaultToolBarArtGetElementSize" _obj $ \cobj__obj ->
wxAuiDefaultToolBarArt_GetElementSize cobj__obj (toCInt element)
foreign import ccall "wxAuiDefaultToolBarArt_GetElementSize" wxAuiDefaultToolBarArt_GetElementSize :: Ptr (TAuiDefaultToolBarArt a) -> CInt -> IO CInt
auiDefaultToolBarArtGetFlags :: AuiDefaultToolBarArt a -> IO Int
auiDefaultToolBarArtGetFlags _obj
= withIntResult $
withObjectRef "auiDefaultToolBarArtGetFlags" _obj $ \cobj__obj ->
wxAuiDefaultToolBarArt_GetFlags cobj__obj
foreign import ccall "wxAuiDefaultToolBarArt_GetFlags" wxAuiDefaultToolBarArt_GetFlags :: Ptr (TAuiDefaultToolBarArt a) -> IO CInt
auiDefaultToolBarArtGetFont :: AuiDefaultToolBarArt a -> IO (Font ())
auiDefaultToolBarArtGetFont _obj
= withManagedFontResult $
withObjectRef "auiDefaultToolBarArtGetFont" _obj $ \cobj__obj ->
wxAuiDefaultToolBarArt_GetFont cobj__obj
foreign import ccall "wxAuiDefaultToolBarArt_GetFont" wxAuiDefaultToolBarArt_GetFont :: Ptr (TAuiDefaultToolBarArt a) -> IO (Ptr (TFont ()))
auiDefaultToolBarArtGetLabelSize :: AuiDefaultToolBarArt a -> DC b -> Window c -> AuiToolBarItem d -> IO (Size)
auiDefaultToolBarArtGetLabelSize _obj _dc _wnd _item
= withWxSizeResult $
withObjectRef "auiDefaultToolBarArtGetLabelSize" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _item $ \cobj__item ->
wxAuiDefaultToolBarArt_GetLabelSize cobj__obj cobj__dc cobj__wnd cobj__item
foreign import ccall "wxAuiDefaultToolBarArt_GetLabelSize" wxAuiDefaultToolBarArt_GetLabelSize :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> IO (Ptr (TWxSize ()))
auiDefaultToolBarArtGetTextOrientation :: AuiDefaultToolBarArt a -> IO Int
auiDefaultToolBarArtGetTextOrientation _obj
= withIntResult $
withObjectRef "auiDefaultToolBarArtGetTextOrientation" _obj $ \cobj__obj ->
wxAuiDefaultToolBarArt_GetTextOrientation cobj__obj
foreign import ccall "wxAuiDefaultToolBarArt_GetTextOrientation" wxAuiDefaultToolBarArt_GetTextOrientation :: Ptr (TAuiDefaultToolBarArt a) -> IO CInt
auiDefaultToolBarArtGetToolSize :: AuiDefaultToolBarArt a -> DC b -> Window c -> AuiToolBarItem d -> IO (Size)
auiDefaultToolBarArtGetToolSize _obj _dc _wnd _item
= withWxSizeResult $
withObjectRef "auiDefaultToolBarArtGetToolSize" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _item $ \cobj__item ->
wxAuiDefaultToolBarArt_GetToolSize cobj__obj cobj__dc cobj__wnd cobj__item
foreign import ccall "wxAuiDefaultToolBarArt_GetToolSize" wxAuiDefaultToolBarArt_GetToolSize :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> IO (Ptr (TWxSize ()))
auiDefaultToolBarArtSetElementSize :: AuiDefaultToolBarArt a -> Int -> Int -> IO ()
auiDefaultToolBarArtSetElementSize _obj elementid size
= withObjectRef "auiDefaultToolBarArtSetElementSize" _obj $ \cobj__obj ->
wxAuiDefaultToolBarArt_SetElementSize cobj__obj (toCInt elementid) (toCInt size)
foreign import ccall "wxAuiDefaultToolBarArt_SetElementSize" wxAuiDefaultToolBarArt_SetElementSize :: Ptr (TAuiDefaultToolBarArt a) -> CInt -> CInt -> IO ()
auiDefaultToolBarArtSetFlags :: AuiDefaultToolBarArt a -> Int -> IO ()
auiDefaultToolBarArtSetFlags _obj _flags
= withObjectRef "auiDefaultToolBarArtSetFlags" _obj $ \cobj__obj ->
wxAuiDefaultToolBarArt_SetFlags cobj__obj (toCInt _flags)
foreign import ccall "wxAuiDefaultToolBarArt_SetFlags" wxAuiDefaultToolBarArt_SetFlags :: Ptr (TAuiDefaultToolBarArt a) -> CInt -> IO ()
auiDefaultToolBarArtSetFont :: AuiDefaultToolBarArt a -> Font b -> IO ()
auiDefaultToolBarArtSetFont _obj _font
= withObjectRef "auiDefaultToolBarArtSetFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiDefaultToolBarArt_SetFont cobj__obj cobj__font
foreign import ccall "wxAuiDefaultToolBarArt_SetFont" wxAuiDefaultToolBarArt_SetFont :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TFont b) -> IO ()
auiDefaultToolBarArtSetTextOrientation :: AuiDefaultToolBarArt a -> Int -> IO ()
auiDefaultToolBarArtSetTextOrientation _obj orientation
= withObjectRef "auiDefaultToolBarArtSetTextOrientation" _obj $ \cobj__obj ->
wxAuiDefaultToolBarArt_SetTextOrientation cobj__obj (toCInt orientation)
foreign import ccall "wxAuiDefaultToolBarArt_SetTextOrientation" wxAuiDefaultToolBarArt_SetTextOrientation :: Ptr (TAuiDefaultToolBarArt a) -> CInt -> IO ()
auiDefaultToolBarArtShowDropDown :: AuiDefaultToolBarArt a -> Window b -> AuiToolBarItemArray c -> IO Int
auiDefaultToolBarArtShowDropDown _obj _wnd _items
= withIntResult $
withObjectRef "auiDefaultToolBarArtShowDropDown" _obj $ \cobj__obj ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _items $ \cobj__items ->
wxAuiDefaultToolBarArt_ShowDropDown cobj__obj cobj__wnd cobj__items
foreign import ccall "wxAuiDefaultToolBarArt_ShowDropDown" wxAuiDefaultToolBarArt_ShowDropDown :: Ptr (TAuiDefaultToolBarArt a) -> Ptr (TWindow b) -> Ptr (TAuiToolBarItemArray c) -> IO CInt
auiDockArtDrawBackground :: AuiDockArt a -> DC b -> Window c -> Int -> Rect -> IO ()
auiDockArtDrawBackground _obj _dc _window orientation _rect
= withObjectRef "auiDockArtDrawBackground" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _window $ \cobj__window ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiDockArt_DrawBackground cobj__obj cobj__dc cobj__window (toCInt orientation) cobj__rect
foreign import ccall "wxAuiDockArt_DrawBackground" wxAuiDockArt_DrawBackground :: Ptr (TAuiDockArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> CInt -> Ptr (TWxRect e) -> IO ()
auiDockArtDrawBorder :: AuiDockArt a -> DC b -> Window c -> Rect -> AuiPaneInfo e -> IO ()
auiDockArtDrawBorder _obj _dc _window _rect _pane
= withObjectRef "auiDockArtDrawBorder" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _window $ \cobj__window ->
withWxRectPtr _rect $ \cobj__rect ->
withObjectPtr _pane $ \cobj__pane ->
wxAuiDockArt_DrawBorder cobj__obj cobj__dc cobj__window cobj__rect cobj__pane
foreign import ccall "wxAuiDockArt_DrawBorder" wxAuiDockArt_DrawBorder :: Ptr (TAuiDockArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> Ptr (TAuiPaneInfo e) -> IO ()
auiDockArtDrawCaption :: AuiDockArt a -> DC b -> Window c -> String -> Rect -> AuiPaneInfo f -> IO ()
auiDockArtDrawCaption _obj _dc _window _text _rect _pane
= withObjectRef "auiDockArtDrawCaption" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _window $ \cobj__window ->
withStringPtr _text $ \cobj__text ->
withWxRectPtr _rect $ \cobj__rect ->
withObjectPtr _pane $ \cobj__pane ->
wxAuiDockArt_DrawCaption cobj__obj cobj__dc cobj__window cobj__text cobj__rect cobj__pane
foreign import ccall "wxAuiDockArt_DrawCaption" wxAuiDockArt_DrawCaption :: Ptr (TAuiDockArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxString d) -> Ptr (TWxRect e) -> Ptr (TAuiPaneInfo f) -> IO ()
auiDockArtDrawGripper :: AuiDockArt a -> DC b -> Window c -> Rect -> AuiPaneInfo e -> IO ()
auiDockArtDrawGripper _obj _dc _window _rect _pane
= withObjectRef "auiDockArtDrawGripper" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _window $ \cobj__window ->
withWxRectPtr _rect $ \cobj__rect ->
withObjectPtr _pane $ \cobj__pane ->
wxAuiDockArt_DrawGripper cobj__obj cobj__dc cobj__window cobj__rect cobj__pane
foreign import ccall "wxAuiDockArt_DrawGripper" wxAuiDockArt_DrawGripper :: Ptr (TAuiDockArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> Ptr (TAuiPaneInfo e) -> IO ()
auiDockArtDrawPaneButton :: AuiDockArt a -> DC b -> Window c -> Int -> Int -> Rect -> AuiPaneInfo g -> IO ()
auiDockArtDrawPaneButton _obj _dc _window button buttonstate _rect _pane
= withObjectRef "auiDockArtDrawPaneButton" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _window $ \cobj__window ->
withWxRectPtr _rect $ \cobj__rect ->
withObjectPtr _pane $ \cobj__pane ->
wxAuiDockArt_DrawPaneButton cobj__obj cobj__dc cobj__window (toCInt button) (toCInt buttonstate) cobj__rect cobj__pane
foreign import ccall "wxAuiDockArt_DrawPaneButton" wxAuiDockArt_DrawPaneButton :: Ptr (TAuiDockArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> CInt -> CInt -> Ptr (TWxRect f) -> Ptr (TAuiPaneInfo g) -> IO ()
auiDockArtDrawSash :: AuiDockArt a -> DC b -> Window c -> Int -> Rect -> IO ()
auiDockArtDrawSash _obj _dc _window orientation _rect
= withObjectRef "auiDockArtDrawSash" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _window $ \cobj__window ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiDockArt_DrawSash cobj__obj cobj__dc cobj__window (toCInt orientation) cobj__rect
foreign import ccall "wxAuiDockArt_DrawSash" wxAuiDockArt_DrawSash :: Ptr (TAuiDockArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> CInt -> Ptr (TWxRect e) -> IO ()
auiDockArtGetColour :: AuiDockArt a -> Id -> IO (Color)
auiDockArtGetColour _obj id
= withManagedColourResult $
withObjectRef "auiDockArtGetColour" _obj $ \cobj__obj ->
wxAuiDockArt_GetColour cobj__obj (toCInt id)
foreign import ccall "wxAuiDockArt_GetColour" wxAuiDockArt_GetColour :: Ptr (TAuiDockArt a) -> CInt -> IO (Ptr (TColour ()))
auiDockArtGetFont :: AuiDockArt a -> Id -> IO (Font ())
auiDockArtGetFont _obj id
= withManagedFontResult $
withObjectRef "auiDockArtGetFont" _obj $ \cobj__obj ->
wxAuiDockArt_GetFont cobj__obj (toCInt id)
foreign import ccall "wxAuiDockArt_GetFont" wxAuiDockArt_GetFont :: Ptr (TAuiDockArt a) -> CInt -> IO (Ptr (TFont ()))
auiDockArtGetMetric :: AuiDockArt a -> Id -> IO Int
auiDockArtGetMetric _obj id
= withIntResult $
withObjectRef "auiDockArtGetMetric" _obj $ \cobj__obj ->
wxAuiDockArt_GetMetric cobj__obj (toCInt id)
foreign import ccall "wxAuiDockArt_GetMetric" wxAuiDockArt_GetMetric :: Ptr (TAuiDockArt a) -> CInt -> IO CInt
auiDockArtSetColour :: AuiDockArt a -> Id -> Color -> IO ()
auiDockArtSetColour _obj id _colour
= withObjectRef "auiDockArtSetColour" _obj $ \cobj__obj ->
withColourPtr _colour $ \cobj__colour ->
wxAuiDockArt_SetColour cobj__obj (toCInt id) cobj__colour
foreign import ccall "wxAuiDockArt_SetColour" wxAuiDockArt_SetColour :: Ptr (TAuiDockArt a) -> CInt -> Ptr (TColour c) -> IO ()
auiDockArtSetFont :: AuiDockArt a -> Id -> Font c -> IO ()
auiDockArtSetFont _obj id _font
= withObjectRef "auiDockArtSetFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiDockArt_SetFont cobj__obj (toCInt id) cobj__font
foreign import ccall "wxAuiDockArt_SetFont" wxAuiDockArt_SetFont :: Ptr (TAuiDockArt a) -> CInt -> Ptr (TFont c) -> IO ()
auiDockArtSetMetric :: AuiDockArt a -> Id -> Int -> IO ()
auiDockArtSetMetric _obj id newval
= withObjectRef "auiDockArtSetMetric" _obj $ \cobj__obj ->
wxAuiDockArt_SetMetric cobj__obj (toCInt id) (toCInt newval)
foreign import ccall "wxAuiDockArt_SetMetric" wxAuiDockArt_SetMetric :: Ptr (TAuiDockArt a) -> CInt -> CInt -> IO ()
auiManagerAddPane :: AuiManager a -> Window b -> Int -> String -> IO Bool
auiManagerAddPane _obj _window _direction _caption
= withBoolResult $
withObjectRef "auiManagerAddPane" _obj $ \cobj__obj ->
withObjectPtr _window $ \cobj__window ->
withStringPtr _caption $ \cobj__caption ->
wxAuiManager_AddPane cobj__obj cobj__window (toCInt _direction) cobj__caption
foreign import ccall "wxAuiManager_AddPane" wxAuiManager_AddPane :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> CInt -> Ptr (TWxString d) -> IO CBool
auiManagerAddPaneByPaneInfo :: AuiManager a -> Window b -> AuiPaneInfo c -> IO Bool
auiManagerAddPaneByPaneInfo _obj _window _paneinfo
= withBoolResult $
withObjectRef "auiManagerAddPaneByPaneInfo" _obj $ \cobj__obj ->
withObjectPtr _window $ \cobj__window ->
withObjectPtr _paneinfo $ \cobj__paneinfo ->
wxAuiManager_AddPaneByPaneInfo cobj__obj cobj__window cobj__paneinfo
foreign import ccall "wxAuiManager_AddPaneByPaneInfo" wxAuiManager_AddPaneByPaneInfo :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> Ptr (TAuiPaneInfo c) -> IO CBool
auiManagerAddPaneByPaneInfoAndDropPosition :: AuiManager a -> Window b -> AuiPaneInfo c -> Point -> IO Bool
auiManagerAddPaneByPaneInfoAndDropPosition _obj _window _paneinfo xy
= withBoolResult $
withObjectRef "auiManagerAddPaneByPaneInfoAndDropPosition" _obj $ \cobj__obj ->
withObjectPtr _window $ \cobj__window ->
withObjectPtr _paneinfo $ \cobj__paneinfo ->
wxAuiManager_AddPaneByPaneInfoAndDropPosition cobj__obj cobj__window cobj__paneinfo (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxAuiManager_AddPaneByPaneInfoAndDropPosition" wxAuiManager_AddPaneByPaneInfoAndDropPosition :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> Ptr (TAuiPaneInfo c) -> CInt -> CInt -> IO CBool
auiManagerCreate :: Window a -> Int -> IO (AuiManager ())
auiManagerCreate _managedwnd _flags
= withObjectResult $
withObjectPtr _managedwnd $ \cobj__managedwnd ->
wxAuiManager_Create cobj__managedwnd (toCInt _flags)
foreign import ccall "wxAuiManager_Create" wxAuiManager_Create :: Ptr (TWindow a) -> CInt -> IO (Ptr (TAuiManager ()))
auiManagerDelete :: AuiManager a -> IO ()
auiManagerDelete
= objectDelete
auiManagerDetachPane :: AuiManager a -> Window b -> IO Bool
auiManagerDetachPane _obj _window
= withBoolResult $
withObjectRef "auiManagerDetachPane" _obj $ \cobj__obj ->
withObjectPtr _window $ \cobj__window ->
wxAuiManager_DetachPane cobj__obj cobj__window
foreign import ccall "wxAuiManager_DetachPane" wxAuiManager_DetachPane :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> IO CBool
auiManagerEventCanVeto :: AuiManagerEvent a -> IO Bool
auiManagerEventCanVeto _obj
= withBoolResult $
withObjectRef "auiManagerEventCanVeto" _obj $ \cobj__obj ->
wxAuiManagerEvent_CanVeto cobj__obj
foreign import ccall "wxAuiManagerEvent_CanVeto" wxAuiManagerEvent_CanVeto :: Ptr (TAuiManagerEvent a) -> IO CBool
auiManagerEventCreate :: Int -> IO (AuiManagerEvent ())
auiManagerEventCreate wxtype
= withObjectResult $
wxAuiManagerEvent_Create (toCInt wxtype)
foreign import ccall "wxAuiManagerEvent_Create" wxAuiManagerEvent_Create :: CInt -> IO (Ptr (TAuiManagerEvent ()))
auiManagerEventGetButton :: AuiManagerEvent a -> IO Int
auiManagerEventGetButton _obj
= withIntResult $
withObjectRef "auiManagerEventGetButton" _obj $ \cobj__obj ->
wxAuiManagerEvent_GetButton cobj__obj
foreign import ccall "wxAuiManagerEvent_GetButton" wxAuiManagerEvent_GetButton :: Ptr (TAuiManagerEvent a) -> IO CInt
auiManagerEventGetDC :: AuiManagerEvent a -> IO (DC ())
auiManagerEventGetDC _obj
= withObjectResult $
withObjectRef "auiManagerEventGetDC" _obj $ \cobj__obj ->
wxAuiManagerEvent_GetDC cobj__obj
foreign import ccall "wxAuiManagerEvent_GetDC" wxAuiManagerEvent_GetDC :: Ptr (TAuiManagerEvent a) -> IO (Ptr (TDC ()))
auiManagerEventGetManager :: AuiManagerEvent a -> IO (AuiManager ())
auiManagerEventGetManager _obj
= withObjectResult $
withObjectRef "auiManagerEventGetManager" _obj $ \cobj__obj ->
wxAuiManagerEvent_GetManager cobj__obj
foreign import ccall "wxAuiManagerEvent_GetManager" wxAuiManagerEvent_GetManager :: Ptr (TAuiManagerEvent a) -> IO (Ptr (TAuiManager ()))
auiManagerEventGetPane :: AuiManagerEvent a -> IO (AuiPaneInfo ())
auiManagerEventGetPane _obj
= withObjectResult $
withObjectRef "auiManagerEventGetPane" _obj $ \cobj__obj ->
wxAuiManagerEvent_GetPane cobj__obj
foreign import ccall "wxAuiManagerEvent_GetPane" wxAuiManagerEvent_GetPane :: Ptr (TAuiManagerEvent a) -> IO (Ptr (TAuiPaneInfo ()))
auiManagerEventGetVeto :: AuiManagerEvent a -> IO Bool
auiManagerEventGetVeto _obj
= withBoolResult $
withObjectRef "auiManagerEventGetVeto" _obj $ \cobj__obj ->
wxAuiManagerEvent_GetVeto cobj__obj
foreign import ccall "wxAuiManagerEvent_GetVeto" wxAuiManagerEvent_GetVeto :: Ptr (TAuiManagerEvent a) -> IO CBool
auiManagerEventSetButton :: AuiManagerEvent a -> Int -> IO ()
auiManagerEventSetButton _obj button
= withObjectRef "auiManagerEventSetButton" _obj $ \cobj__obj ->
wxAuiManagerEvent_SetButton cobj__obj (toCInt button)
foreign import ccall "wxAuiManagerEvent_SetButton" wxAuiManagerEvent_SetButton :: Ptr (TAuiManagerEvent a) -> CInt -> IO ()
auiManagerEventSetCanVeto :: AuiManagerEvent a -> Bool -> IO ()
auiManagerEventSetCanVeto _obj canveto
= withObjectRef "auiManagerEventSetCanVeto" _obj $ \cobj__obj ->
wxAuiManagerEvent_SetCanVeto cobj__obj (toCBool canveto)
foreign import ccall "wxAuiManagerEvent_SetCanVeto" wxAuiManagerEvent_SetCanVeto :: Ptr (TAuiManagerEvent a) -> CBool -> IO ()
auiManagerEventSetDC :: AuiManagerEvent a -> DC b -> IO ()
auiManagerEventSetDC _obj _pdc
= withObjectRef "auiManagerEventSetDC" _obj $ \cobj__obj ->
withObjectPtr _pdc $ \cobj__pdc ->
wxAuiManagerEvent_SetDC cobj__obj cobj__pdc
foreign import ccall "wxAuiManagerEvent_SetDC" wxAuiManagerEvent_SetDC :: Ptr (TAuiManagerEvent a) -> Ptr (TDC b) -> IO ()
auiManagerEventSetManager :: AuiManagerEvent a -> AuiManager b -> IO ()
auiManagerEventSetManager _obj _manager
= withObjectRef "auiManagerEventSetManager" _obj $ \cobj__obj ->
withObjectPtr _manager $ \cobj__manager ->
wxAuiManagerEvent_SetManager cobj__obj cobj__manager
foreign import ccall "wxAuiManagerEvent_SetManager" wxAuiManagerEvent_SetManager :: Ptr (TAuiManagerEvent a) -> Ptr (TAuiManager b) -> IO ()
auiManagerEventSetPane :: AuiManagerEvent a -> AuiPaneInfo b -> IO ()
auiManagerEventSetPane _obj _pane
= withObjectRef "auiManagerEventSetPane" _obj $ \cobj__obj ->
withObjectPtr _pane $ \cobj__pane ->
wxAuiManagerEvent_SetPane cobj__obj cobj__pane
foreign import ccall "wxAuiManagerEvent_SetPane" wxAuiManagerEvent_SetPane :: Ptr (TAuiManagerEvent a) -> Ptr (TAuiPaneInfo b) -> IO ()
auiManagerEventVeto :: AuiManagerEvent a -> Bool -> IO ()
auiManagerEventVeto _obj veto
= withObjectRef "auiManagerEventVeto" _obj $ \cobj__obj ->
wxAuiManagerEvent_Veto cobj__obj (toCBool veto)
foreign import ccall "wxAuiManagerEvent_Veto" wxAuiManagerEvent_Veto :: Ptr (TAuiManagerEvent a) -> CBool -> IO ()
auiManagerGetAllPanes :: AuiManager a -> IO (AuiPaneInfoArray ())
auiManagerGetAllPanes _obj
= withObjectResult $
withObjectRef "auiManagerGetAllPanes" _obj $ \cobj__obj ->
wxAuiManager_GetAllPanes cobj__obj
foreign import ccall "wxAuiManager_GetAllPanes" wxAuiManager_GetAllPanes :: Ptr (TAuiManager a) -> IO (Ptr (TAuiPaneInfoArray ()))
auiManagerGetArtProvider :: AuiManager a -> IO (AuiDockArt ())
auiManagerGetArtProvider _obj
= withObjectResult $
withObjectRef "auiManagerGetArtProvider" _obj $ \cobj__obj ->
wxAuiManager_GetArtProvider cobj__obj
foreign import ccall "wxAuiManager_GetArtProvider" wxAuiManager_GetArtProvider :: Ptr (TAuiManager a) -> IO (Ptr (TAuiDockArt ()))
auiManagerGetDockSizeConstraint :: AuiManager a -> Ptr Double -> Ptr Double -> IO ()
auiManagerGetDockSizeConstraint _obj _widthpct _heightpct
= withObjectRef "auiManagerGetDockSizeConstraint" _obj $ \cobj__obj ->
wxAuiManager_GetDockSizeConstraint cobj__obj _widthpct _heightpct
foreign import ccall "wxAuiManager_GetDockSizeConstraint" wxAuiManager_GetDockSizeConstraint :: Ptr (TAuiManager a) -> Ptr Double -> Ptr Double -> IO ()
auiManagerGetFlags :: AuiManager a -> IO Int
auiManagerGetFlags _obj
= withIntResult $
withObjectRef "auiManagerGetFlags" _obj $ \cobj__obj ->
wxAuiManager_GetFlags cobj__obj
foreign import ccall "wxAuiManager_GetFlags" wxAuiManager_GetFlags :: Ptr (TAuiManager a) -> IO CInt
auiManagerGetManagedWindow :: AuiManager a -> IO (Window ())
auiManagerGetManagedWindow _obj
= withObjectResult $
withObjectRef "auiManagerGetManagedWindow" _obj $ \cobj__obj ->
wxAuiManager_GetManagedWindow cobj__obj
foreign import ccall "wxAuiManager_GetManagedWindow" wxAuiManager_GetManagedWindow :: Ptr (TAuiManager a) -> IO (Ptr (TWindow ()))
auiManagerGetManager :: Window a -> IO (AuiManager ())
auiManagerGetManager _window
= withObjectResult $
withObjectPtr _window $ \cobj__window ->
wxAuiManager_GetManager cobj__window
foreign import ccall "wxAuiManager_GetManager" wxAuiManager_GetManager :: Ptr (TWindow a) -> IO (Ptr (TAuiManager ()))
auiManagerGetPaneByName :: AuiManager a -> String -> IO (AuiPaneInfo ())
auiManagerGetPaneByName _obj _name
= withObjectResult $
withObjectRef "auiManagerGetPaneByName" _obj $ \cobj__obj ->
withStringPtr _name $ \cobj__name ->
wxAuiManager_GetPaneByName cobj__obj cobj__name
foreign import ccall "wxAuiManager_GetPaneByName" wxAuiManager_GetPaneByName :: Ptr (TAuiManager a) -> Ptr (TWxString b) -> IO (Ptr (TAuiPaneInfo ()))
auiManagerGetPaneByWindow :: AuiManager a -> Window b -> IO (AuiPaneInfo ())
auiManagerGetPaneByWindow _obj _window
= withObjectResult $
withObjectRef "auiManagerGetPaneByWindow" _obj $ \cobj__obj ->
withObjectPtr _window $ \cobj__window ->
wxAuiManager_GetPaneByWindow cobj__obj cobj__window
foreign import ccall "wxAuiManager_GetPaneByWindow" wxAuiManager_GetPaneByWindow :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> IO (Ptr (TAuiPaneInfo ()))
auiManagerHideHint :: AuiManager a -> IO ()
auiManagerHideHint _obj
= withObjectRef "auiManagerHideHint" _obj $ \cobj__obj ->
wxAuiManager_HideHint cobj__obj
foreign import ccall "wxAuiManager_HideHint" wxAuiManager_HideHint :: Ptr (TAuiManager a) -> IO ()
auiManagerInsertPane :: AuiManager a -> Window b -> AuiPaneInfo c -> Int -> IO Bool
auiManagerInsertPane _obj _window _insertlocation _insertlevel
= withBoolResult $
withObjectRef "auiManagerInsertPane" _obj $ \cobj__obj ->
withObjectPtr _window $ \cobj__window ->
withObjectPtr _insertlocation $ \cobj__insertlocation ->
wxAuiManager_InsertPane cobj__obj cobj__window cobj__insertlocation (toCInt _insertlevel)
foreign import ccall "wxAuiManager_InsertPane" wxAuiManager_InsertPane :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> Ptr (TAuiPaneInfo c) -> CInt -> IO CBool
auiManagerLoadPaneInfo :: AuiManager a -> String -> AuiPaneInfo c -> IO ()
auiManagerLoadPaneInfo _obj _panepart _pane
= withObjectRef "auiManagerLoadPaneInfo" _obj $ \cobj__obj ->
withStringPtr _panepart $ \cobj__panepart ->
withObjectPtr _pane $ \cobj__pane ->
wxAuiManager_LoadPaneInfo cobj__obj cobj__panepart cobj__pane
foreign import ccall "wxAuiManager_LoadPaneInfo" wxAuiManager_LoadPaneInfo :: Ptr (TAuiManager a) -> Ptr (TWxString b) -> Ptr (TAuiPaneInfo c) -> IO ()
auiManagerLoadPerspective :: AuiManager a -> String -> Bool -> IO Bool
auiManagerLoadPerspective _obj _perspective update
= withBoolResult $
withObjectRef "auiManagerLoadPerspective" _obj $ \cobj__obj ->
withStringPtr _perspective $ \cobj__perspective ->
wxAuiManager_LoadPerspective cobj__obj cobj__perspective (toCBool update)
foreign import ccall "wxAuiManager_LoadPerspective" wxAuiManager_LoadPerspective :: Ptr (TAuiManager a) -> Ptr (TWxString b) -> CBool -> IO CBool
auiManagerSavePaneInfo :: AuiManager a -> AuiPaneInfo b -> IO (String)
auiManagerSavePaneInfo _obj _pane
= withManagedStringResult $
withObjectRef "auiManagerSavePaneInfo" _obj $ \cobj__obj ->
withObjectPtr _pane $ \cobj__pane ->
wxAuiManager_SavePaneInfo cobj__obj cobj__pane
foreign import ccall "wxAuiManager_SavePaneInfo" wxAuiManager_SavePaneInfo :: Ptr (TAuiManager a) -> Ptr (TAuiPaneInfo b) -> IO (Ptr (TWxString ()))
auiManagerSavePerspective :: AuiManager a -> IO (String)
auiManagerSavePerspective _obj
= withManagedStringResult $
withObjectRef "auiManagerSavePerspective" _obj $ \cobj__obj ->
wxAuiManager_SavePerspective cobj__obj
foreign import ccall "wxAuiManager_SavePerspective" wxAuiManager_SavePerspective :: Ptr (TAuiManager a) -> IO (Ptr (TWxString ()))
auiManagerSetArtProvider :: AuiManager a -> AuiDockArt b -> IO ()
auiManagerSetArtProvider _obj _artprovider
= withObjectRef "auiManagerSetArtProvider" _obj $ \cobj__obj ->
withObjectPtr _artprovider $ \cobj__artprovider ->
wxAuiManager_SetArtProvider cobj__obj cobj__artprovider
foreign import ccall "wxAuiManager_SetArtProvider" wxAuiManager_SetArtProvider :: Ptr (TAuiManager a) -> Ptr (TAuiDockArt b) -> IO ()
auiManagerSetDockSizeConstraint :: AuiManager a -> Double -> Double -> IO ()
auiManagerSetDockSizeConstraint _obj widthpct heightpct
= withObjectRef "auiManagerSetDockSizeConstraint" _obj $ \cobj__obj ->
wxAuiManager_SetDockSizeConstraint cobj__obj widthpct heightpct
foreign import ccall "wxAuiManager_SetDockSizeConstraint" wxAuiManager_SetDockSizeConstraint :: Ptr (TAuiManager a) -> Double -> Double -> IO ()
auiManagerSetFlags :: AuiManager a -> Int -> IO ()
auiManagerSetFlags _obj flags
= withObjectRef "auiManagerSetFlags" _obj $ \cobj__obj ->
wxAuiManager_SetFlags cobj__obj (toCInt flags)
foreign import ccall "wxAuiManager_SetFlags" wxAuiManager_SetFlags :: Ptr (TAuiManager a) -> CInt -> IO ()
auiManagerSetManagedWindow :: AuiManager a -> Window b -> IO ()
auiManagerSetManagedWindow _obj _managedwnd
= withObjectRef "auiManagerSetManagedWindow" _obj $ \cobj__obj ->
withObjectPtr _managedwnd $ \cobj__managedwnd ->
wxAuiManager_SetManagedWindow cobj__obj cobj__managedwnd
foreign import ccall "wxAuiManager_SetManagedWindow" wxAuiManager_SetManagedWindow :: Ptr (TAuiManager a) -> Ptr (TWindow b) -> IO ()
auiManagerShowHint :: AuiManager a -> Rect -> IO ()
auiManagerShowHint _obj _rect
= withObjectRef "auiManagerShowHint" _obj $ \cobj__obj ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiManager_ShowHint cobj__obj cobj__rect
foreign import ccall "wxAuiManager_ShowHint" wxAuiManager_ShowHint :: Ptr (TAuiManager a) -> Ptr (TWxRect b) -> IO ()
auiManagerUnInit :: AuiManager a -> IO ()
auiManagerUnInit _obj
= withObjectRef "auiManagerUnInit" _obj $ \cobj__obj ->
wxAuiManager_UnInit cobj__obj
foreign import ccall "wxAuiManager_UnInit" wxAuiManager_UnInit :: Ptr (TAuiManager a) -> IO ()
auiManagerUpdate :: AuiManager a -> IO ()
auiManagerUpdate _obj
= withObjectRef "auiManagerUpdate" _obj $ \cobj__obj ->
wxAuiManager_Update cobj__obj
foreign import ccall "wxAuiManager_Update" wxAuiManager_Update :: Ptr (TAuiManager a) -> IO ()
auiNotebookAddPage :: AuiNotebook a -> Window b -> String -> Bool -> Int -> IO Bool
auiNotebookAddPage _obj _page _text select imageId
= withBoolResult $
withObjectRef "auiNotebookAddPage" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
withStringPtr _text $ \cobj__text ->
wxAuiNotebook_AddPage cobj__obj cobj__page cobj__text (toCBool select) (toCInt imageId)
foreign import ccall "wxAuiNotebook_AddPage" wxAuiNotebook_AddPage :: Ptr (TAuiNotebook a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> CBool -> CInt -> IO CBool
auiNotebookAddPageWithBitmap :: AuiNotebook a -> Window b -> String -> Bool -> Bitmap e -> IO Bool
auiNotebookAddPageWithBitmap _obj _page _caption select _bitmap
= withBoolResult $
withObjectRef "auiNotebookAddPageWithBitmap" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
withStringPtr _caption $ \cobj__caption ->
withObjectPtr _bitmap $ \cobj__bitmap ->
wxAuiNotebook_AddPageWithBitmap cobj__obj cobj__page cobj__caption (toCBool select) cobj__bitmap
foreign import ccall "wxAuiNotebook_AddPageWithBitmap" wxAuiNotebook_AddPageWithBitmap :: Ptr (TAuiNotebook a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> CBool -> Ptr (TBitmap e) -> IO CBool
auiNotebookAdvanceSelection :: AuiNotebook a -> Bool -> IO ()
auiNotebookAdvanceSelection _obj forward
= withObjectRef "auiNotebookAdvanceSelection" _obj $ \cobj__obj ->
wxAuiNotebook_AdvanceSelection cobj__obj (toCBool forward)
foreign import ccall "wxAuiNotebook_AdvanceSelection" wxAuiNotebook_AdvanceSelection :: Ptr (TAuiNotebook a) -> CBool -> IO ()
auiNotebookChangeSelection :: AuiNotebook a -> Int -> IO Int
auiNotebookChangeSelection _obj n
= withIntResult $
withObjectRef "auiNotebookChangeSelection" _obj $ \cobj__obj ->
wxAuiNotebook_ChangeSelection cobj__obj (toCInt n)
foreign import ccall "wxAuiNotebook_ChangeSelection" wxAuiNotebook_ChangeSelection :: Ptr (TAuiNotebook a) -> CInt -> IO CInt
auiNotebookCreate :: Window a -> Id -> Point -> Size -> Int -> IO (AuiNotebook ())
auiNotebookCreate _parent id xy _widthheight style
= withObjectResult $
withObjectPtr _parent $ \cobj__parent ->
wxAuiNotebook_Create cobj__parent (toCInt id) (toCIntPointX xy) (toCIntPointY xy) (toCIntSizeW _widthheight) (toCIntSizeH _widthheight) (toCInt style)
foreign import ccall "wxAuiNotebook_Create" wxAuiNotebook_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TAuiNotebook ()))
auiNotebookCreateDefault :: IO (AuiNotebook ())
auiNotebookCreateDefault
= withObjectResult $
wxAuiNotebook_CreateDefault
foreign import ccall "wxAuiNotebook_CreateDefault" wxAuiNotebook_CreateDefault :: IO (Ptr (TAuiNotebook ()))
auiNotebookCreateFromDefault :: AuiNotebook a -> Window b -> Id -> Point -> Size -> Int -> IO Bool
auiNotebookCreateFromDefault _obj _parent id xy _widthheight style
= withBoolResult $
withObjectRef "auiNotebookCreateFromDefault" _obj $ \cobj__obj ->
withObjectPtr _parent $ \cobj__parent ->
wxAuiNotebook_CreateFromDefault cobj__obj cobj__parent (toCInt id) (toCIntPointX xy) (toCIntPointY xy) (toCIntSizeW _widthheight) (toCIntSizeH _widthheight) (toCInt style)
foreign import ccall "wxAuiNotebook_CreateFromDefault" wxAuiNotebook_CreateFromDefault :: Ptr (TAuiNotebook a) -> Ptr (TWindow b) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO CBool
auiNotebookDeleteAllPages :: AuiNotebook a -> IO Bool
auiNotebookDeleteAllPages _obj
= withBoolResult $
withObjectRef "auiNotebookDeleteAllPages" _obj $ \cobj__obj ->
wxAuiNotebook_DeleteAllPages cobj__obj
foreign import ccall "wxAuiNotebook_DeleteAllPages" wxAuiNotebook_DeleteAllPages :: Ptr (TAuiNotebook a) -> IO CBool
auiNotebookDeletePage :: AuiNotebook a -> Int -> IO Bool
auiNotebookDeletePage _obj page
= withBoolResult $
withObjectRef "auiNotebookDeletePage" _obj $ \cobj__obj ->
wxAuiNotebook_DeletePage cobj__obj (toCInt page)
foreign import ccall "wxAuiNotebook_DeletePage" wxAuiNotebook_DeletePage :: Ptr (TAuiNotebook a) -> CInt -> IO CBool
auiNotebookEventCreate :: Int -> Int -> IO (AuiNotebookEvent ())
auiNotebookEventCreate commandtype winid
= withObjectResult $
wxAuiNotebookEvent_Create (toCInt commandtype) (toCInt winid)
foreign import ccall "wxAuiNotebookEvent_Create" wxAuiNotebookEvent_Create :: CInt -> CInt -> IO (Ptr (TAuiNotebookEvent ()))
auiNotebookEventGetDragSource :: AuiNotebookEvent a -> IO (AuiNotebook ())
auiNotebookEventGetDragSource _obj
= withObjectResult $
withObjectRef "auiNotebookEventGetDragSource" _obj $ \cobj__obj ->
wxAuiNotebookEvent_GetDragSource cobj__obj
foreign import ccall "wxAuiNotebookEvent_GetDragSource" wxAuiNotebookEvent_GetDragSource :: Ptr (TAuiNotebookEvent a) -> IO (Ptr (TAuiNotebook ()))
auiNotebookGetArtProvider :: AuiNotebook a -> IO (AuiTabArt ())
auiNotebookGetArtProvider _obj
= withObjectResult $
withObjectRef "auiNotebookGetArtProvider" _obj $ \cobj__obj ->
wxAuiNotebook_GetArtProvider cobj__obj
foreign import ccall "wxAuiNotebook_GetArtProvider" wxAuiNotebook_GetArtProvider :: Ptr (TAuiNotebook a) -> IO (Ptr (TAuiTabArt ()))
auiNotebookGetCurrentPage :: AuiNotebook a -> IO (Window ())
auiNotebookGetCurrentPage _obj
= withObjectResult $
withObjectRef "auiNotebookGetCurrentPage" _obj $ \cobj__obj ->
wxAuiNotebook_GetCurrentPage cobj__obj
foreign import ccall "wxAuiNotebook_GetCurrentPage" wxAuiNotebook_GetCurrentPage :: Ptr (TAuiNotebook a) -> IO (Ptr (TWindow ()))
auiNotebookGetHeightForPageHeight :: AuiNotebook a -> Int -> IO Int
auiNotebookGetHeightForPageHeight _obj pageHeight
= withIntResult $
withObjectRef "auiNotebookGetHeightForPageHeight" _obj $ \cobj__obj ->
wxAuiNotebook_GetHeightForPageHeight cobj__obj (toCInt pageHeight)
foreign import ccall "wxAuiNotebook_GetHeightForPageHeight" wxAuiNotebook_GetHeightForPageHeight :: Ptr (TAuiNotebook a) -> CInt -> IO CInt
auiNotebookGetPage :: AuiNotebook a -> Int -> IO (Window ())
auiNotebookGetPage _obj pageidx
= withObjectResult $
withObjectRef "auiNotebookGetPage" _obj $ \cobj__obj ->
wxAuiNotebook_GetPage cobj__obj (toCInt pageidx)
foreign import ccall "wxAuiNotebook_GetPage" wxAuiNotebook_GetPage :: Ptr (TAuiNotebook a) -> CInt -> IO (Ptr (TWindow ()))
auiNotebookGetPageBitmap :: AuiNotebook a -> Int -> IO (Bitmap ())
auiNotebookGetPageBitmap _obj page
= withRefBitmap $ \pref ->
withObjectRef "auiNotebookGetPageBitmap" _obj $ \cobj__obj ->
wxAuiNotebook_GetPageBitmap cobj__obj (toCInt page) pref
foreign import ccall "wxAuiNotebook_GetPageBitmap" wxAuiNotebook_GetPageBitmap :: Ptr (TAuiNotebook a) -> CInt -> Ptr (TBitmap ()) -> IO ()
auiNotebookGetPageCount :: AuiNotebook a -> IO Int
auiNotebookGetPageCount _obj
= withIntResult $
withObjectRef "auiNotebookGetPageCount" _obj $ \cobj__obj ->
wxAuiNotebook_GetPageCount cobj__obj
foreign import ccall "wxAuiNotebook_GetPageCount" wxAuiNotebook_GetPageCount :: Ptr (TAuiNotebook a) -> IO CInt
auiNotebookGetPageIndex :: AuiNotebook a -> Window b -> IO Int
auiNotebookGetPageIndex _obj _pagewnd
= withIntResult $
withObjectRef "auiNotebookGetPageIndex" _obj $ \cobj__obj ->
withObjectPtr _pagewnd $ \cobj__pagewnd ->
wxAuiNotebook_GetPageIndex cobj__obj cobj__pagewnd
foreign import ccall "wxAuiNotebook_GetPageIndex" wxAuiNotebook_GetPageIndex :: Ptr (TAuiNotebook a) -> Ptr (TWindow b) -> IO CInt
auiNotebookGetPageText :: AuiNotebook a -> Int -> IO (String)
auiNotebookGetPageText _obj page
= withManagedStringResult $
withObjectRef "auiNotebookGetPageText" _obj $ \cobj__obj ->
wxAuiNotebook_GetPageText cobj__obj (toCInt page)
foreign import ccall "wxAuiNotebook_GetPageText" wxAuiNotebook_GetPageText :: Ptr (TAuiNotebook a) -> CInt -> IO (Ptr (TWxString ()))
auiNotebookGetPageToolTip :: AuiNotebook a -> Int -> IO (String)
auiNotebookGetPageToolTip _obj pageIdx
= withManagedStringResult $
withObjectRef "auiNotebookGetPageToolTip" _obj $ \cobj__obj ->
wxAuiNotebook_GetPageToolTip cobj__obj (toCInt pageIdx)
foreign import ccall "wxAuiNotebook_GetPageToolTip" wxAuiNotebook_GetPageToolTip :: Ptr (TAuiNotebook a) -> CInt -> IO (Ptr (TWxString ()))
auiNotebookGetSelection :: AuiNotebook a -> IO Int
auiNotebookGetSelection _obj
= withIntResult $
withObjectRef "auiNotebookGetSelection" _obj $ \cobj__obj ->
wxAuiNotebook_GetSelection cobj__obj
foreign import ccall "wxAuiNotebook_GetSelection" wxAuiNotebook_GetSelection :: Ptr (TAuiNotebook a) -> IO CInt
auiNotebookGetTabCtrlHeight :: AuiNotebook a -> IO Int
auiNotebookGetTabCtrlHeight _obj
= withIntResult $
withObjectRef "auiNotebookGetTabCtrlHeight" _obj $ \cobj__obj ->
wxAuiNotebook_GetTabCtrlHeight cobj__obj
foreign import ccall "wxAuiNotebook_GetTabCtrlHeight" wxAuiNotebook_GetTabCtrlHeight :: Ptr (TAuiNotebook a) -> IO CInt
auiNotebookInsertPage :: AuiNotebook a -> Int -> Window c -> String -> Bool -> Int -> IO Bool
auiNotebookInsertPage _obj index _page _text select imageId
= withBoolResult $
withObjectRef "auiNotebookInsertPage" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
withStringPtr _text $ \cobj__text ->
wxAuiNotebook_InsertPage cobj__obj (toCInt index) cobj__page cobj__text (toCBool select) (toCInt imageId)
foreign import ccall "wxAuiNotebook_InsertPage" wxAuiNotebook_InsertPage :: Ptr (TAuiNotebook a) -> CInt -> Ptr (TWindow c) -> Ptr (TWxString d) -> CBool -> CInt -> IO CBool
auiNotebookInsertPageWithBitmap :: AuiNotebook a -> Int -> Window c -> String -> Bool -> Bitmap f -> IO Bool
auiNotebookInsertPageWithBitmap _obj pageidx _page _caption select _bitmap
= withBoolResult $
withObjectRef "auiNotebookInsertPageWithBitmap" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
withStringPtr _caption $ \cobj__caption ->
withObjectPtr _bitmap $ \cobj__bitmap ->
wxAuiNotebook_InsertPageWithBitmap cobj__obj (toCInt pageidx) cobj__page cobj__caption (toCBool select) cobj__bitmap
foreign import ccall "wxAuiNotebook_InsertPageWithBitmap" wxAuiNotebook_InsertPageWithBitmap :: Ptr (TAuiNotebook a) -> CInt -> Ptr (TWindow c) -> Ptr (TWxString d) -> CBool -> Ptr (TBitmap f) -> IO CBool
auiNotebookPageActive :: AuiNotebookPage a -> IO Bool
auiNotebookPageActive _obj
= withBoolResult $
withObjectRef "auiNotebookPageActive" _obj $ \cobj__obj ->
wxAuiNotebookPage_Active cobj__obj
foreign import ccall "wxAuiNotebookPage_Active" wxAuiNotebookPage_Active :: Ptr (TAuiNotebookPage a) -> IO CBool
auiNotebookPageArrayCreate :: IO (AuiNotebookPageArray ())
auiNotebookPageArrayCreate
= withObjectResult $
wxAuiNotebookPageArray_Create
foreign import ccall "wxAuiNotebookPageArray_Create" wxAuiNotebookPageArray_Create :: IO (Ptr (TAuiNotebookPageArray ()))
auiNotebookPageArrayDelete :: AuiNotebookPageArray a -> IO ()
auiNotebookPageArrayDelete _obj
= withObjectRef "auiNotebookPageArrayDelete" _obj $ \cobj__obj ->
wxAuiNotebookPageArray_Delete cobj__obj
foreign import ccall "wxAuiNotebookPageArray_Delete" wxAuiNotebookPageArray_Delete :: Ptr (TAuiNotebookPageArray a) -> IO ()
auiNotebookPageArrayGetCount :: AuiNotebookPageArray a -> IO Int
auiNotebookPageArrayGetCount _obj
= withIntResult $
withObjectRef "auiNotebookPageArrayGetCount" _obj $ \cobj__obj ->
wxAuiNotebookPageArray_GetCount cobj__obj
foreign import ccall "wxAuiNotebookPageArray_GetCount" wxAuiNotebookPageArray_GetCount :: Ptr (TAuiNotebookPageArray a) -> IO CInt
auiNotebookPageArrayItem :: AuiNotebookPageArray a -> Int -> IO (AuiNotebookPage ())
auiNotebookPageArrayItem _obj _idx
= withObjectResult $
withObjectRef "auiNotebookPageArrayItem" _obj $ \cobj__obj ->
wxAuiNotebookPageArray_Item cobj__obj (toCInt _idx)
foreign import ccall "wxAuiNotebookPageArray_Item" wxAuiNotebookPageArray_Item :: Ptr (TAuiNotebookPageArray a) -> CInt -> IO (Ptr (TAuiNotebookPage ()))
auiNotebookPageBitmap :: AuiNotebookPage a -> IO (Bitmap ())
auiNotebookPageBitmap _obj
= withManagedBitmapResult $
withObjectRef "auiNotebookPageBitmap" _obj $ \cobj__obj ->
wxAuiNotebookPage_Bitmap cobj__obj
foreign import ccall "wxAuiNotebookPage_Bitmap" wxAuiNotebookPage_Bitmap :: Ptr (TAuiNotebookPage a) -> IO (Ptr (TBitmap ()))
auiNotebookPageCaption :: AuiNotebookPage a -> IO (String)
auiNotebookPageCaption _obj
= withManagedStringResult $
withObjectRef "auiNotebookPageCaption" _obj $ \cobj__obj ->
wxAuiNotebookPage_Caption cobj__obj
foreign import ccall "wxAuiNotebookPage_Caption" wxAuiNotebookPage_Caption :: Ptr (TAuiNotebookPage a) -> IO (Ptr (TWxString ()))
auiNotebookPageRect :: AuiNotebookPage a -> IO (Rect)
auiNotebookPageRect _obj
= withWxRectResult $
withObjectRef "auiNotebookPageRect" _obj $ \cobj__obj ->
wxAuiNotebookPage_Rect cobj__obj
foreign import ccall "wxAuiNotebookPage_Rect" wxAuiNotebookPage_Rect :: Ptr (TAuiNotebookPage a) -> IO (Ptr (TWxRect ()))
auiNotebookPageTooltip :: AuiNotebookPage a -> IO (String)
auiNotebookPageTooltip _obj
= withManagedStringResult $
withObjectRef "auiNotebookPageTooltip" _obj $ \cobj__obj ->
wxAuiNotebookPage_Tooltip cobj__obj
foreign import ccall "wxAuiNotebookPage_Tooltip" wxAuiNotebookPage_Tooltip :: Ptr (TAuiNotebookPage a) -> IO (Ptr (TWxString ()))
auiNotebookPageWindow :: AuiNotebookPage a -> IO (Window ())
auiNotebookPageWindow _obj
= withObjectResult $
withObjectRef "auiNotebookPageWindow" _obj $ \cobj__obj ->
wxAuiNotebookPage_Window cobj__obj
foreign import ccall "wxAuiNotebookPage_Window" wxAuiNotebookPage_Window :: Ptr (TAuiNotebookPage a) -> IO (Ptr (TWindow ()))
auiNotebookRemovePage :: AuiNotebook a -> Int -> IO Bool
auiNotebookRemovePage _obj page
= withBoolResult $
withObjectRef "auiNotebookRemovePage" _obj $ \cobj__obj ->
wxAuiNotebook_RemovePage cobj__obj (toCInt page)
foreign import ccall "wxAuiNotebook_RemovePage" wxAuiNotebook_RemovePage :: Ptr (TAuiNotebook a) -> CInt -> IO CBool
auiNotebookSetArtProvider :: AuiNotebook a -> AuiTabArt b -> IO ()
auiNotebookSetArtProvider _obj _art
= withObjectRef "auiNotebookSetArtProvider" _obj $ \cobj__obj ->
withObjectPtr _art $ \cobj__art ->
wxAuiNotebook_SetArtProvider cobj__obj cobj__art
foreign import ccall "wxAuiNotebook_SetArtProvider" wxAuiNotebook_SetArtProvider :: Ptr (TAuiNotebook a) -> Ptr (TAuiTabArt b) -> IO ()
auiNotebookSetFont :: AuiNotebook a -> Font b -> IO Bool
auiNotebookSetFont _obj _font
= withBoolResult $
withObjectRef "auiNotebookSetFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiNotebook_SetFont cobj__obj cobj__font
foreign import ccall "wxAuiNotebook_SetFont" wxAuiNotebook_SetFont :: Ptr (TAuiNotebook a) -> Ptr (TFont b) -> IO CBool
auiNotebookSetMeasuringFont :: AuiNotebook a -> Font b -> IO ()
auiNotebookSetMeasuringFont _obj _font
= withObjectRef "auiNotebookSetMeasuringFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiNotebook_SetMeasuringFont cobj__obj cobj__font
foreign import ccall "wxAuiNotebook_SetMeasuringFont" wxAuiNotebook_SetMeasuringFont :: Ptr (TAuiNotebook a) -> Ptr (TFont b) -> IO ()
auiNotebookSetNormalFont :: AuiNotebook a -> Font b -> IO ()
auiNotebookSetNormalFont _obj _font
= withObjectRef "auiNotebookSetNormalFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiNotebook_SetNormalFont cobj__obj cobj__font
foreign import ccall "wxAuiNotebook_SetNormalFont" wxAuiNotebook_SetNormalFont :: Ptr (TAuiNotebook a) -> Ptr (TFont b) -> IO ()
auiNotebookSetPageBitmap :: AuiNotebook a -> Int -> Bitmap c -> IO Bool
auiNotebookSetPageBitmap _obj page _bitmap
= withBoolResult $
withObjectRef "auiNotebookSetPageBitmap" _obj $ \cobj__obj ->
withObjectPtr _bitmap $ \cobj__bitmap ->
wxAuiNotebook_SetPageBitmap cobj__obj (toCInt page) cobj__bitmap
foreign import ccall "wxAuiNotebook_SetPageBitmap" wxAuiNotebook_SetPageBitmap :: Ptr (TAuiNotebook a) -> CInt -> Ptr (TBitmap c) -> IO CBool
auiNotebookSetPageImage :: AuiNotebook a -> Int -> Int -> IO Bool
auiNotebookSetPageImage _obj n imageId
= withBoolResult $
withObjectRef "auiNotebookSetPageImage" _obj $ \cobj__obj ->
wxAuiNotebook_SetPageImage cobj__obj (toCInt n) (toCInt imageId)
foreign import ccall "wxAuiNotebook_SetPageImage" wxAuiNotebook_SetPageImage :: Ptr (TAuiNotebook a) -> CInt -> CInt -> IO CBool
auiNotebookSetPageText :: AuiNotebook a -> Int -> String -> IO Bool
auiNotebookSetPageText _obj page _text
= withBoolResult $
withObjectRef "auiNotebookSetPageText" _obj $ \cobj__obj ->
withStringPtr _text $ \cobj__text ->
wxAuiNotebook_SetPageText cobj__obj (toCInt page) cobj__text
foreign import ccall "wxAuiNotebook_SetPageText" wxAuiNotebook_SetPageText :: Ptr (TAuiNotebook a) -> CInt -> Ptr (TWxString c) -> IO CBool
auiNotebookSetPageToolTip :: AuiNotebook a -> Int -> String -> IO Bool
auiNotebookSetPageToolTip _obj page _text
= withBoolResult $
withObjectRef "auiNotebookSetPageToolTip" _obj $ \cobj__obj ->
withStringPtr _text $ \cobj__text ->
wxAuiNotebook_SetPageToolTip cobj__obj (toCInt page) cobj__text
foreign import ccall "wxAuiNotebook_SetPageToolTip" wxAuiNotebook_SetPageToolTip :: Ptr (TAuiNotebook a) -> CInt -> Ptr (TWxString c) -> IO CBool
auiNotebookSetSelectedFont :: AuiNotebook a -> Font b -> IO ()
auiNotebookSetSelectedFont _obj _font
= withObjectRef "auiNotebookSetSelectedFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiNotebook_SetSelectedFont cobj__obj cobj__font
foreign import ccall "wxAuiNotebook_SetSelectedFont" wxAuiNotebook_SetSelectedFont :: Ptr (TAuiNotebook a) -> Ptr (TFont b) -> IO ()
auiNotebookSetSelection :: AuiNotebook a -> Int -> IO Int
auiNotebookSetSelection _obj newpage
= withIntResult $
withObjectRef "auiNotebookSetSelection" _obj $ \cobj__obj ->
wxAuiNotebook_SetSelection cobj__obj (toCInt newpage)
foreign import ccall "wxAuiNotebook_SetSelection" wxAuiNotebook_SetSelection :: Ptr (TAuiNotebook a) -> CInt -> IO CInt
auiNotebookSetTabCtrlHeight :: AuiNotebook a -> Int -> IO ()
auiNotebookSetTabCtrlHeight _obj height
= withObjectRef "auiNotebookSetTabCtrlHeight" _obj $ \cobj__obj ->
wxAuiNotebook_SetTabCtrlHeight cobj__obj (toCInt height)
foreign import ccall "wxAuiNotebook_SetTabCtrlHeight" wxAuiNotebook_SetTabCtrlHeight :: Ptr (TAuiNotebook a) -> CInt -> IO ()
auiNotebookSetUniformBitmapSize :: AuiNotebook a -> Size -> IO ()
auiNotebookSetUniformBitmapSize _obj _widthheight
= withObjectRef "auiNotebookSetUniformBitmapSize" _obj $ \cobj__obj ->
wxAuiNotebook_SetUniformBitmapSize cobj__obj (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)
foreign import ccall "wxAuiNotebook_SetUniformBitmapSize" wxAuiNotebook_SetUniformBitmapSize :: Ptr (TAuiNotebook a) -> CInt -> CInt -> IO ()
auiNotebookShowWindowMenu :: AuiNotebook a -> IO Bool
auiNotebookShowWindowMenu _obj
= withBoolResult $
withObjectRef "auiNotebookShowWindowMenu" _obj $ \cobj__obj ->
wxAuiNotebook_ShowWindowMenu cobj__obj
foreign import ccall "wxAuiNotebook_ShowWindowMenu" wxAuiNotebook_ShowWindowMenu :: Ptr (TAuiNotebook a) -> IO CBool
auiNotebookSplit :: AuiNotebook a -> Int -> Int -> IO ()
auiNotebookSplit _obj page direction
= withObjectRef "auiNotebookSplit" _obj $ \cobj__obj ->
wxAuiNotebook_Split cobj__obj (toCInt page) (toCInt direction)
foreign import ccall "wxAuiNotebook_Split" wxAuiNotebook_Split :: Ptr (TAuiNotebook a) -> CInt -> CInt -> IO ()
auiPaneInfoArrayCreate :: IO (AuiPaneInfoArray ())
auiPaneInfoArrayCreate
= withObjectResult $
wxAuiPaneInfoArray_Create
foreign import ccall "wxAuiPaneInfoArray_Create" wxAuiPaneInfoArray_Create :: IO (Ptr (TAuiPaneInfoArray ()))
auiPaneInfoArrayDelete :: AuiPaneInfoArray a -> IO ()
auiPaneInfoArrayDelete _obj
= withObjectRef "auiPaneInfoArrayDelete" _obj $ \cobj__obj ->
wxAuiPaneInfoArray_Delete cobj__obj
foreign import ccall "wxAuiPaneInfoArray_Delete" wxAuiPaneInfoArray_Delete :: Ptr (TAuiPaneInfoArray a) -> IO ()
auiPaneInfoArrayGetCount :: AuiPaneInfoArray a -> IO Int
auiPaneInfoArrayGetCount _obj
= withIntResult $
withObjectRef "auiPaneInfoArrayGetCount" _obj $ \cobj__obj ->
wxAuiPaneInfoArray_GetCount cobj__obj
foreign import ccall "wxAuiPaneInfoArray_GetCount" wxAuiPaneInfoArray_GetCount :: Ptr (TAuiPaneInfoArray a) -> IO CInt
auiPaneInfoArrayItem :: AuiPaneInfoArray a -> Int -> IO (AuiPaneInfo ())
auiPaneInfoArrayItem _obj _idx
= withObjectResult $
withObjectRef "auiPaneInfoArrayItem" _obj $ \cobj__obj ->
wxAuiPaneInfoArray_Item cobj__obj (toCInt _idx)
foreign import ccall "wxAuiPaneInfoArray_Item" wxAuiPaneInfoArray_Item :: Ptr (TAuiPaneInfoArray a) -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoBestSize :: AuiPaneInfo a -> Size -> IO (AuiPaneInfo ())
auiPaneInfoBestSize _obj _widthheight
= withObjectResult $
withObjectRef "auiPaneInfoBestSize" _obj $ \cobj__obj ->
wxAuiPaneInfo_BestSize cobj__obj (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)
foreign import ccall "wxAuiPaneInfo_BestSize" wxAuiPaneInfo_BestSize :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoBestSizeXY :: AuiPaneInfo a -> Point -> IO (AuiPaneInfo ())
auiPaneInfoBestSizeXY _obj xy
= withObjectResult $
withObjectRef "auiPaneInfoBestSizeXY" _obj $ \cobj__obj ->
wxAuiPaneInfo_BestSizeXY cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxAuiPaneInfo_BestSizeXY" wxAuiPaneInfo_BestSizeXY :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoBottom :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoBottom _obj
= withObjectResult $
withObjectRef "auiPaneInfoBottom" _obj $ \cobj__obj ->
wxAuiPaneInfo_Bottom cobj__obj
foreign import ccall "wxAuiPaneInfo_Bottom" wxAuiPaneInfo_Bottom :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoBottomDockable :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoBottomDockable _obj b
= withObjectResult $
withObjectRef "auiPaneInfoBottomDockable" _obj $ \cobj__obj ->
wxAuiPaneInfo_BottomDockable cobj__obj (toCBool b)
foreign import ccall "wxAuiPaneInfo_BottomDockable" wxAuiPaneInfo_BottomDockable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoCaption :: AuiPaneInfo a -> String -> IO (AuiPaneInfo ())
auiPaneInfoCaption _obj _c
= withObjectResult $
withObjectRef "auiPaneInfoCaption" _obj $ \cobj__obj ->
withStringPtr _c $ \cobj__c ->
wxAuiPaneInfo_Caption cobj__obj cobj__c
foreign import ccall "wxAuiPaneInfo_Caption" wxAuiPaneInfo_Caption :: Ptr (TAuiPaneInfo a) -> Ptr (TWxString b) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoCaptionVisible :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoCaptionVisible _obj visible
= withObjectResult $
withObjectRef "auiPaneInfoCaptionVisible" _obj $ \cobj__obj ->
wxAuiPaneInfo_CaptionVisible cobj__obj (toCBool visible)
foreign import ccall "wxAuiPaneInfo_CaptionVisible" wxAuiPaneInfo_CaptionVisible :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoCenter :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoCenter _obj
= withObjectResult $
withObjectRef "auiPaneInfoCenter" _obj $ \cobj__obj ->
wxAuiPaneInfo_Center cobj__obj
foreign import ccall "wxAuiPaneInfo_Center" wxAuiPaneInfo_Center :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoCenterPane :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoCenterPane _obj
= withObjectResult $
withObjectRef "auiPaneInfoCenterPane" _obj $ \cobj__obj ->
wxAuiPaneInfo_CenterPane cobj__obj
foreign import ccall "wxAuiPaneInfo_CenterPane" wxAuiPaneInfo_CenterPane :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoCentre :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoCentre _obj
= withObjectResult $
withObjectRef "auiPaneInfoCentre" _obj $ \cobj__obj ->
wxAuiPaneInfo_Centre cobj__obj
foreign import ccall "wxAuiPaneInfo_Centre" wxAuiPaneInfo_Centre :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoCentrePane :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoCentrePane _obj
= withObjectResult $
withObjectRef "auiPaneInfoCentrePane" _obj $ \cobj__obj ->
wxAuiPaneInfo_CentrePane cobj__obj
foreign import ccall "wxAuiPaneInfo_CentrePane" wxAuiPaneInfo_CentrePane :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoCloseButton :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoCloseButton _obj visible
= withObjectResult $
withObjectRef "auiPaneInfoCloseButton" _obj $ \cobj__obj ->
wxAuiPaneInfo_CloseButton cobj__obj (toCBool visible)
foreign import ccall "wxAuiPaneInfo_CloseButton" wxAuiPaneInfo_CloseButton :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoCopy :: AuiPaneInfo a -> AuiPaneInfo b -> IO (AuiPaneInfo ())
auiPaneInfoCopy _obj _c
= withObjectResult $
withObjectRef "auiPaneInfoCopy" _obj $ \cobj__obj ->
withObjectPtr _c $ \cobj__c ->
wxAuiPaneInfo_Copy cobj__obj cobj__c
foreign import ccall "wxAuiPaneInfo_Copy" wxAuiPaneInfo_Copy :: Ptr (TAuiPaneInfo a) -> Ptr (TAuiPaneInfo b) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoCreate :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoCreate _c
= withObjectResult $
withObjectPtr _c $ \cobj__c ->
wxAuiPaneInfo_Create cobj__c
foreign import ccall "wxAuiPaneInfo_Create" wxAuiPaneInfo_Create :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoCreateDefault :: IO (AuiPaneInfo ())
auiPaneInfoCreateDefault
= withObjectResult $
wxAuiPaneInfo_CreateDefault
foreign import ccall "wxAuiPaneInfo_CreateDefault" wxAuiPaneInfo_CreateDefault :: IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoDefaultPane :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoDefaultPane _obj
= withObjectResult $
withObjectRef "auiPaneInfoDefaultPane" _obj $ \cobj__obj ->
wxAuiPaneInfo_DefaultPane cobj__obj
foreign import ccall "wxAuiPaneInfo_DefaultPane" wxAuiPaneInfo_DefaultPane :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoDestroyOnClose :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoDestroyOnClose _obj b
= withObjectResult $
withObjectRef "auiPaneInfoDestroyOnClose" _obj $ \cobj__obj ->
wxAuiPaneInfo_DestroyOnClose cobj__obj (toCBool b)
foreign import ccall "wxAuiPaneInfo_DestroyOnClose" wxAuiPaneInfo_DestroyOnClose :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoDirection :: AuiPaneInfo a -> Int -> IO (AuiPaneInfo ())
auiPaneInfoDirection _obj direction
= withObjectResult $
withObjectRef "auiPaneInfoDirection" _obj $ \cobj__obj ->
wxAuiPaneInfo_Direction cobj__obj (toCInt direction)
foreign import ccall "wxAuiPaneInfo_Direction" wxAuiPaneInfo_Direction :: Ptr (TAuiPaneInfo a) -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoDock :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoDock _obj
= withObjectResult $
withObjectRef "auiPaneInfoDock" _obj $ \cobj__obj ->
wxAuiPaneInfo_Dock cobj__obj
foreign import ccall "wxAuiPaneInfo_Dock" wxAuiPaneInfo_Dock :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoDockFixed :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoDockFixed _obj b
= withObjectResult $
withObjectRef "auiPaneInfoDockFixed" _obj $ \cobj__obj ->
wxAuiPaneInfo_DockFixed cobj__obj (toCBool b)
foreign import ccall "wxAuiPaneInfo_DockFixed" wxAuiPaneInfo_DockFixed :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoDockable :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoDockable _obj b
= withObjectResult $
withObjectRef "auiPaneInfoDockable" _obj $ \cobj__obj ->
wxAuiPaneInfo_Dockable cobj__obj (toCBool b)
foreign import ccall "wxAuiPaneInfo_Dockable" wxAuiPaneInfo_Dockable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoFixed :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoFixed _obj
= withObjectResult $
withObjectRef "auiPaneInfoFixed" _obj $ \cobj__obj ->
wxAuiPaneInfo_Fixed cobj__obj
foreign import ccall "wxAuiPaneInfo_Fixed" wxAuiPaneInfo_Fixed :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoFloat :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoFloat _obj
= withObjectResult $
withObjectRef "auiPaneInfoFloat" _obj $ \cobj__obj ->
wxAuiPaneInfo_Float cobj__obj
foreign import ccall "wxAuiPaneInfo_Float" wxAuiPaneInfo_Float :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoFloatable :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoFloatable _obj b
= withObjectResult $
withObjectRef "auiPaneInfoFloatable" _obj $ \cobj__obj ->
wxAuiPaneInfo_Floatable cobj__obj (toCBool b)
foreign import ccall "wxAuiPaneInfo_Floatable" wxAuiPaneInfo_Floatable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoFloatingPosition :: AuiPaneInfo a -> Point -> IO (AuiPaneInfo ())
auiPaneInfoFloatingPosition _obj xy
= withObjectResult $
withObjectRef "auiPaneInfoFloatingPosition" _obj $ \cobj__obj ->
wxAuiPaneInfo_FloatingPosition cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxAuiPaneInfo_FloatingPosition" wxAuiPaneInfo_FloatingPosition :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoFloatingPositionXY :: AuiPaneInfo a -> Point -> IO (AuiPaneInfo ())
auiPaneInfoFloatingPositionXY _obj xy
= withObjectResult $
withObjectRef "auiPaneInfoFloatingPositionXY" _obj $ \cobj__obj ->
wxAuiPaneInfo_FloatingPositionXY cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxAuiPaneInfo_FloatingPositionXY" wxAuiPaneInfo_FloatingPositionXY :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoFloatingSize :: AuiPaneInfo a -> Size -> IO (AuiPaneInfo ())
auiPaneInfoFloatingSize _obj _widthheight
= withObjectResult $
withObjectRef "auiPaneInfoFloatingSize" _obj $ \cobj__obj ->
wxAuiPaneInfo_FloatingSize cobj__obj (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)
foreign import ccall "wxAuiPaneInfo_FloatingSize" wxAuiPaneInfo_FloatingSize :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoFloatingSizeXY :: AuiPaneInfo a -> Point -> IO (AuiPaneInfo ())
auiPaneInfoFloatingSizeXY _obj xy
= withObjectResult $
withObjectRef "auiPaneInfoFloatingSizeXY" _obj $ \cobj__obj ->
wxAuiPaneInfo_FloatingSizeXY cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxAuiPaneInfo_FloatingSizeXY" wxAuiPaneInfo_FloatingSizeXY :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoGripper :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoGripper _obj visible
= withObjectResult $
withObjectRef "auiPaneInfoGripper" _obj $ \cobj__obj ->
wxAuiPaneInfo_Gripper cobj__obj (toCBool visible)
foreign import ccall "wxAuiPaneInfo_Gripper" wxAuiPaneInfo_Gripper :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoGripperTop :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoGripperTop _obj attop
= withObjectResult $
withObjectRef "auiPaneInfoGripperTop" _obj $ \cobj__obj ->
wxAuiPaneInfo_GripperTop cobj__obj (toCBool attop)
foreign import ccall "wxAuiPaneInfo_GripperTop" wxAuiPaneInfo_GripperTop :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoHasBorder :: AuiPaneInfo a -> IO Bool
auiPaneInfoHasBorder _obj
= withBoolResult $
withObjectRef "auiPaneInfoHasBorder" _obj $ \cobj__obj ->
wxAuiPaneInfo_HasBorder cobj__obj
foreign import ccall "wxAuiPaneInfo_HasBorder" wxAuiPaneInfo_HasBorder :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoHasCaption :: AuiPaneInfo a -> IO Bool
auiPaneInfoHasCaption _obj
= withBoolResult $
withObjectRef "auiPaneInfoHasCaption" _obj $ \cobj__obj ->
wxAuiPaneInfo_HasCaption cobj__obj
foreign import ccall "wxAuiPaneInfo_HasCaption" wxAuiPaneInfo_HasCaption :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoHasCloseButton :: AuiPaneInfo a -> IO Bool
auiPaneInfoHasCloseButton _obj
= withBoolResult $
withObjectRef "auiPaneInfoHasCloseButton" _obj $ \cobj__obj ->
wxAuiPaneInfo_HasCloseButton cobj__obj
foreign import ccall "wxAuiPaneInfo_HasCloseButton" wxAuiPaneInfo_HasCloseButton :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoHasFlag :: AuiPaneInfo a -> Int -> IO Bool
auiPaneInfoHasFlag _obj flag
= withBoolResult $
withObjectRef "auiPaneInfoHasFlag" _obj $ \cobj__obj ->
wxAuiPaneInfo_HasFlag cobj__obj (toCInt flag)
foreign import ccall "wxAuiPaneInfo_HasFlag" wxAuiPaneInfo_HasFlag :: Ptr (TAuiPaneInfo a) -> CInt -> IO CBool
auiPaneInfoHasGripper :: AuiPaneInfo a -> IO Bool
auiPaneInfoHasGripper _obj
= withBoolResult $
withObjectRef "auiPaneInfoHasGripper" _obj $ \cobj__obj ->
wxAuiPaneInfo_HasGripper cobj__obj
foreign import ccall "wxAuiPaneInfo_HasGripper" wxAuiPaneInfo_HasGripper :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoHasGripperTop :: AuiPaneInfo a -> IO Bool
auiPaneInfoHasGripperTop _obj
= withBoolResult $
withObjectRef "auiPaneInfoHasGripperTop" _obj $ \cobj__obj ->
wxAuiPaneInfo_HasGripperTop cobj__obj
foreign import ccall "wxAuiPaneInfo_HasGripperTop" wxAuiPaneInfo_HasGripperTop :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoHasMaximizeButton :: AuiPaneInfo a -> IO Bool
auiPaneInfoHasMaximizeButton _obj
= withBoolResult $
withObjectRef "auiPaneInfoHasMaximizeButton" _obj $ \cobj__obj ->
wxAuiPaneInfo_HasMaximizeButton cobj__obj
foreign import ccall "wxAuiPaneInfo_HasMaximizeButton" wxAuiPaneInfo_HasMaximizeButton :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoHasMinimizeButton :: AuiPaneInfo a -> IO Bool
auiPaneInfoHasMinimizeButton _obj
= withBoolResult $
withObjectRef "auiPaneInfoHasMinimizeButton" _obj $ \cobj__obj ->
wxAuiPaneInfo_HasMinimizeButton cobj__obj
foreign import ccall "wxAuiPaneInfo_HasMinimizeButton" wxAuiPaneInfo_HasMinimizeButton :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoHasPinButton :: AuiPaneInfo a -> IO Bool
auiPaneInfoHasPinButton _obj
= withBoolResult $
withObjectRef "auiPaneInfoHasPinButton" _obj $ \cobj__obj ->
wxAuiPaneInfo_HasPinButton cobj__obj
foreign import ccall "wxAuiPaneInfo_HasPinButton" wxAuiPaneInfo_HasPinButton :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoHide :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoHide _obj
= withObjectResult $
withObjectRef "auiPaneInfoHide" _obj $ \cobj__obj ->
wxAuiPaneInfo_Hide cobj__obj
foreign import ccall "wxAuiPaneInfo_Hide" wxAuiPaneInfo_Hide :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoIcon :: AuiPaneInfo a -> Bitmap b -> IO (AuiPaneInfo ())
auiPaneInfoIcon _obj _b
= withObjectResult $
withObjectRef "auiPaneInfoIcon" _obj $ \cobj__obj ->
withObjectPtr _b $ \cobj__b ->
wxAuiPaneInfo_Icon cobj__obj cobj__b
foreign import ccall "wxAuiPaneInfo_Icon" wxAuiPaneInfo_Icon :: Ptr (TAuiPaneInfo a) -> Ptr (TBitmap b) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoIsBottomDockable :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsBottomDockable _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsBottomDockable" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsBottomDockable cobj__obj
foreign import ccall "wxAuiPaneInfo_IsBottomDockable" wxAuiPaneInfo_IsBottomDockable :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoIsDockable :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsDockable _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsDockable" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsDockable cobj__obj
foreign import ccall "wxAuiPaneInfo_IsDockable" wxAuiPaneInfo_IsDockable :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoIsDocked :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsDocked _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsDocked" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsDocked cobj__obj
foreign import ccall "wxAuiPaneInfo_IsDocked" wxAuiPaneInfo_IsDocked :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoIsFixed :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsFixed _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsFixed" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsFixed cobj__obj
foreign import ccall "wxAuiPaneInfo_IsFixed" wxAuiPaneInfo_IsFixed :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoIsFloatable :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsFloatable _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsFloatable" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsFloatable cobj__obj
foreign import ccall "wxAuiPaneInfo_IsFloatable" wxAuiPaneInfo_IsFloatable :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoIsFloating :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsFloating _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsFloating" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsFloating cobj__obj
foreign import ccall "wxAuiPaneInfo_IsFloating" wxAuiPaneInfo_IsFloating :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoIsLeftDockable :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsLeftDockable _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsLeftDockable" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsLeftDockable cobj__obj
foreign import ccall "wxAuiPaneInfo_IsLeftDockable" wxAuiPaneInfo_IsLeftDockable :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoIsMovable :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsMovable _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsMovable" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsMovable cobj__obj
foreign import ccall "wxAuiPaneInfo_IsMovable" wxAuiPaneInfo_IsMovable :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoIsOk :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsOk _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsOk" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsOk cobj__obj
foreign import ccall "wxAuiPaneInfo_IsOk" wxAuiPaneInfo_IsOk :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoIsResizable :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsResizable _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsResizable" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsResizable cobj__obj
foreign import ccall "wxAuiPaneInfo_IsResizable" wxAuiPaneInfo_IsResizable :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoIsRightDockable :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsRightDockable _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsRightDockable" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsRightDockable cobj__obj
foreign import ccall "wxAuiPaneInfo_IsRightDockable" wxAuiPaneInfo_IsRightDockable :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoIsShown :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsShown _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsShown" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsShown cobj__obj
foreign import ccall "wxAuiPaneInfo_IsShown" wxAuiPaneInfo_IsShown :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoIsToolbar :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsToolbar _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsToolbar" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsToolbar cobj__obj
foreign import ccall "wxAuiPaneInfo_IsToolbar" wxAuiPaneInfo_IsToolbar :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoIsTopDockable :: AuiPaneInfo a -> IO Bool
auiPaneInfoIsTopDockable _obj
= withBoolResult $
withObjectRef "auiPaneInfoIsTopDockable" _obj $ \cobj__obj ->
wxAuiPaneInfo_IsTopDockable cobj__obj
foreign import ccall "wxAuiPaneInfo_IsTopDockable" wxAuiPaneInfo_IsTopDockable :: Ptr (TAuiPaneInfo a) -> IO CBool
auiPaneInfoLayer :: AuiPaneInfo a -> Int -> IO (AuiPaneInfo ())
auiPaneInfoLayer _obj layer
= withObjectResult $
withObjectRef "auiPaneInfoLayer" _obj $ \cobj__obj ->
wxAuiPaneInfo_Layer cobj__obj (toCInt layer)
foreign import ccall "wxAuiPaneInfo_Layer" wxAuiPaneInfo_Layer :: Ptr (TAuiPaneInfo a) -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoLeft :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoLeft _obj
= withObjectResult $
withObjectRef "auiPaneInfoLeft" _obj $ \cobj__obj ->
wxAuiPaneInfo_Left cobj__obj
foreign import ccall "wxAuiPaneInfo_Left" wxAuiPaneInfo_Left :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoLeftDockable :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoLeftDockable _obj b
= withObjectResult $
withObjectRef "auiPaneInfoLeftDockable" _obj $ \cobj__obj ->
wxAuiPaneInfo_LeftDockable cobj__obj (toCBool b)
foreign import ccall "wxAuiPaneInfo_LeftDockable" wxAuiPaneInfo_LeftDockable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoMaxSize :: AuiPaneInfo a -> Size -> IO (AuiPaneInfo ())
auiPaneInfoMaxSize _obj _widthheight
= withObjectResult $
withObjectRef "auiPaneInfoMaxSize" _obj $ \cobj__obj ->
wxAuiPaneInfo_MaxSize cobj__obj (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)
foreign import ccall "wxAuiPaneInfo_MaxSize" wxAuiPaneInfo_MaxSize :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoMaxSizeXY :: AuiPaneInfo a -> Point -> IO (AuiPaneInfo ())
auiPaneInfoMaxSizeXY _obj xy
= withObjectResult $
withObjectRef "auiPaneInfoMaxSizeXY" _obj $ \cobj__obj ->
wxAuiPaneInfo_MaxSizeXY cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxAuiPaneInfo_MaxSizeXY" wxAuiPaneInfo_MaxSizeXY :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoMaximizeButton :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoMaximizeButton _obj visible
= withObjectResult $
withObjectRef "auiPaneInfoMaximizeButton" _obj $ \cobj__obj ->
wxAuiPaneInfo_MaximizeButton cobj__obj (toCBool visible)
foreign import ccall "wxAuiPaneInfo_MaximizeButton" wxAuiPaneInfo_MaximizeButton :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoMinSize :: AuiPaneInfo a -> Size -> IO (AuiPaneInfo ())
auiPaneInfoMinSize _obj _widthheight
= withObjectResult $
withObjectRef "auiPaneInfoMinSize" _obj $ \cobj__obj ->
wxAuiPaneInfo_MinSize cobj__obj (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)
foreign import ccall "wxAuiPaneInfo_MinSize" wxAuiPaneInfo_MinSize :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoMinSizeXY :: AuiPaneInfo a -> Point -> IO (AuiPaneInfo ())
auiPaneInfoMinSizeXY _obj xy
= withObjectResult $
withObjectRef "auiPaneInfoMinSizeXY" _obj $ \cobj__obj ->
wxAuiPaneInfo_MinSizeXY cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxAuiPaneInfo_MinSizeXY" wxAuiPaneInfo_MinSizeXY :: Ptr (TAuiPaneInfo a) -> CInt -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoMinimizeButton :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoMinimizeButton _obj visible
= withObjectResult $
withObjectRef "auiPaneInfoMinimizeButton" _obj $ \cobj__obj ->
wxAuiPaneInfo_MinimizeButton cobj__obj (toCBool visible)
foreign import ccall "wxAuiPaneInfo_MinimizeButton" wxAuiPaneInfo_MinimizeButton :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoMovable :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoMovable _obj b
= withObjectResult $
withObjectRef "auiPaneInfoMovable" _obj $ \cobj__obj ->
wxAuiPaneInfo_Movable cobj__obj (toCBool b)
foreign import ccall "wxAuiPaneInfo_Movable" wxAuiPaneInfo_Movable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoName :: AuiPaneInfo a -> String -> IO (AuiPaneInfo ())
auiPaneInfoName _obj _n
= withObjectResult $
withObjectRef "auiPaneInfoName" _obj $ \cobj__obj ->
withStringPtr _n $ \cobj__n ->
wxAuiPaneInfo_Name cobj__obj cobj__n
foreign import ccall "wxAuiPaneInfo_Name" wxAuiPaneInfo_Name :: Ptr (TAuiPaneInfo a) -> Ptr (TWxString b) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoPaneBorder :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoPaneBorder _obj visible
= withObjectResult $
withObjectRef "auiPaneInfoPaneBorder" _obj $ \cobj__obj ->
wxAuiPaneInfo_PaneBorder cobj__obj (toCBool visible)
foreign import ccall "wxAuiPaneInfo_PaneBorder" wxAuiPaneInfo_PaneBorder :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoPinButton :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoPinButton _obj visible
= withObjectResult $
withObjectRef "auiPaneInfoPinButton" _obj $ \cobj__obj ->
wxAuiPaneInfo_PinButton cobj__obj (toCBool visible)
foreign import ccall "wxAuiPaneInfo_PinButton" wxAuiPaneInfo_PinButton :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoPosition :: AuiPaneInfo a -> Int -> IO (AuiPaneInfo ())
auiPaneInfoPosition _obj pos
= withObjectResult $
withObjectRef "auiPaneInfoPosition" _obj $ \cobj__obj ->
wxAuiPaneInfo_Position cobj__obj (toCInt pos)
foreign import ccall "wxAuiPaneInfo_Position" wxAuiPaneInfo_Position :: Ptr (TAuiPaneInfo a) -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoResizable :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoResizable _obj resizable
= withObjectResult $
withObjectRef "auiPaneInfoResizable" _obj $ \cobj__obj ->
wxAuiPaneInfo_Resizable cobj__obj (toCBool resizable)
foreign import ccall "wxAuiPaneInfo_Resizable" wxAuiPaneInfo_Resizable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoRight :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoRight _obj
= withObjectResult $
withObjectRef "auiPaneInfoRight" _obj $ \cobj__obj ->
wxAuiPaneInfo_Right cobj__obj
foreign import ccall "wxAuiPaneInfo_Right" wxAuiPaneInfo_Right :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoRightDockable :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoRightDockable _obj b
= withObjectResult $
withObjectRef "auiPaneInfoRightDockable" _obj $ \cobj__obj ->
wxAuiPaneInfo_RightDockable cobj__obj (toCBool b)
foreign import ccall "wxAuiPaneInfo_RightDockable" wxAuiPaneInfo_RightDockable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoRow :: AuiPaneInfo a -> Int -> IO (AuiPaneInfo ())
auiPaneInfoRow _obj row
= withObjectResult $
withObjectRef "auiPaneInfoRow" _obj $ \cobj__obj ->
wxAuiPaneInfo_Row cobj__obj (toCInt row)
foreign import ccall "wxAuiPaneInfo_Row" wxAuiPaneInfo_Row :: Ptr (TAuiPaneInfo a) -> CInt -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoSafeSet :: AuiPaneInfo a -> AuiPaneInfo b -> IO ()
auiPaneInfoSafeSet _obj source
= withObjectRef "auiPaneInfoSafeSet" _obj $ \cobj__obj ->
withObjectPtr source $ \cobj_source ->
wxAuiPaneInfo_SafeSet cobj__obj cobj_source
foreign import ccall "wxAuiPaneInfo_SafeSet" wxAuiPaneInfo_SafeSet :: Ptr (TAuiPaneInfo a) -> Ptr (TAuiPaneInfo b) -> IO ()
auiPaneInfoSetFlag :: AuiPaneInfo a -> Int -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoSetFlag _obj flag optionstate
= withObjectResult $
withObjectRef "auiPaneInfoSetFlag" _obj $ \cobj__obj ->
wxAuiPaneInfo_SetFlag cobj__obj (toCInt flag) (toCBool optionstate)
foreign import ccall "wxAuiPaneInfo_SetFlag" wxAuiPaneInfo_SetFlag :: Ptr (TAuiPaneInfo a) -> CInt -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoShow :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoShow _obj show
= withObjectResult $
withObjectRef "auiPaneInfoShow" _obj $ \cobj__obj ->
wxAuiPaneInfo_Show cobj__obj (toCBool show)
foreign import ccall "wxAuiPaneInfo_Show" wxAuiPaneInfo_Show :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoToolbarPane :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoToolbarPane _obj
= withObjectResult $
withObjectRef "auiPaneInfoToolbarPane" _obj $ \cobj__obj ->
wxAuiPaneInfo_ToolbarPane cobj__obj
foreign import ccall "wxAuiPaneInfo_ToolbarPane" wxAuiPaneInfo_ToolbarPane :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoTop :: AuiPaneInfo a -> IO (AuiPaneInfo ())
auiPaneInfoTop _obj
= withObjectResult $
withObjectRef "auiPaneInfoTop" _obj $ \cobj__obj ->
wxAuiPaneInfo_Top cobj__obj
foreign import ccall "wxAuiPaneInfo_Top" wxAuiPaneInfo_Top :: Ptr (TAuiPaneInfo a) -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoTopDockable :: AuiPaneInfo a -> Bool -> IO (AuiPaneInfo ())
auiPaneInfoTopDockable _obj b
= withObjectResult $
withObjectRef "auiPaneInfoTopDockable" _obj $ \cobj__obj ->
wxAuiPaneInfo_TopDockable cobj__obj (toCBool b)
foreign import ccall "wxAuiPaneInfo_TopDockable" wxAuiPaneInfo_TopDockable :: Ptr (TAuiPaneInfo a) -> CBool -> IO (Ptr (TAuiPaneInfo ()))
auiPaneInfoWindow :: AuiPaneInfo a -> Window b -> IO (AuiPaneInfo ())
auiPaneInfoWindow _obj _w
= withObjectResult $
withObjectRef "auiPaneInfoWindow" _obj $ \cobj__obj ->
withObjectPtr _w $ \cobj__w ->
wxAuiPaneInfo_Window cobj__obj cobj__w
foreign import ccall "wxAuiPaneInfo_Window" wxAuiPaneInfo_Window :: Ptr (TAuiPaneInfo a) -> Ptr (TWindow b) -> IO (Ptr (TAuiPaneInfo ()))
auiSimpleTabArtClone :: AuiSimpleTabArt a -> IO (AuiTabArt ())
auiSimpleTabArtClone _obj
= withObjectResult $
withObjectRef "auiSimpleTabArtClone" _obj $ \cobj__obj ->
wxAuiSimpleTabArt_Clone cobj__obj
foreign import ccall "wxAuiSimpleTabArt_Clone" wxAuiSimpleTabArt_Clone :: Ptr (TAuiSimpleTabArt a) -> IO (Ptr (TAuiTabArt ()))
auiSimpleTabArtCreate :: IO (AuiSimpleTabArt ())
auiSimpleTabArtCreate
= withObjectResult $
wxAuiSimpleTabArt_Create
foreign import ccall "wxAuiSimpleTabArt_Create" wxAuiSimpleTabArt_Create :: IO (Ptr (TAuiSimpleTabArt ()))
auiSimpleTabArtDrawBackground :: AuiSimpleTabArt a -> DC b -> Window c -> Rect -> IO ()
auiSimpleTabArtDrawBackground _obj _dc _wnd _rect
= withObjectRef "auiSimpleTabArtDrawBackground" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiSimpleTabArt_DrawBackground cobj__obj cobj__dc cobj__wnd cobj__rect
foreign import ccall "wxAuiSimpleTabArt_DrawBackground" wxAuiSimpleTabArt_DrawBackground :: Ptr (TAuiSimpleTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
auiSimpleTabArtDrawButton :: AuiSimpleTabArt a -> DC b -> Window c -> Rect -> Int -> Int -> Int -> Rect -> IO ()
auiSimpleTabArtDrawButton _obj _dc _wnd _inRect bitmapId buttonState orientation _outRect
= withObjectRef "auiSimpleTabArtDrawButton" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _inRect $ \cobj__inRect ->
withWxRectPtr _outRect $ \cobj__outRect ->
wxAuiSimpleTabArt_DrawButton cobj__obj cobj__dc cobj__wnd cobj__inRect (toCInt bitmapId) (toCInt buttonState) (toCInt orientation) cobj__outRect
foreign import ccall "wxAuiSimpleTabArt_DrawButton" wxAuiSimpleTabArt_DrawButton :: Ptr (TAuiSimpleTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> CInt -> CInt -> CInt -> Ptr (TWxRect h) -> IO ()
auiSimpleTabArtDrawTab :: AuiSimpleTabArt a -> DC b -> Window c -> AuiNotebookPage d -> Rect -> Int -> Rect -> Rect -> Ptr CInt -> IO ()
auiSimpleTabArtDrawTab _obj _dc _wnd _pane _inRect closeButtonState _outTabRect _outButtonRect xExtent
= withObjectRef "auiSimpleTabArtDrawTab" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _pane $ \cobj__pane ->
withWxRectPtr _inRect $ \cobj__inRect ->
withWxRectPtr _outTabRect $ \cobj__outTabRect ->
withWxRectPtr _outButtonRect $ \cobj__outButtonRect ->
wxAuiSimpleTabArt_DrawTab cobj__obj cobj__dc cobj__wnd cobj__pane cobj__inRect (toCInt closeButtonState) cobj__outTabRect cobj__outButtonRect xExtent
foreign import ccall "wxAuiSimpleTabArt_DrawTab" wxAuiSimpleTabArt_DrawTab :: Ptr (TAuiSimpleTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiNotebookPage d) -> Ptr (TWxRect e) -> CInt -> Ptr (TWxRect g) -> Ptr (TWxRect h) -> Ptr CInt -> IO ()
auiSimpleTabArtGetBestTabCtrlSize :: AuiSimpleTabArt a -> Window b -> AuiNotebookPageArray c -> Size -> IO Int
auiSimpleTabArtGetBestTabCtrlSize _obj _wnd _pages _widthheight
= withIntResult $
withObjectRef "auiSimpleTabArtGetBestTabCtrlSize" _obj $ \cobj__obj ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _pages $ \cobj__pages ->
wxAuiSimpleTabArt_GetBestTabCtrlSize cobj__obj cobj__wnd cobj__pages (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)
foreign import ccall "wxAuiSimpleTabArt_GetBestTabCtrlSize" wxAuiSimpleTabArt_GetBestTabCtrlSize :: Ptr (TAuiSimpleTabArt a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPageArray c) -> CInt -> CInt -> IO CInt
auiSimpleTabArtGetIndentSize :: AuiSimpleTabArt a -> IO Int
auiSimpleTabArtGetIndentSize _obj
= withIntResult $
withObjectRef "auiSimpleTabArtGetIndentSize" _obj $ \cobj__obj ->
wxAuiSimpleTabArt_GetIndentSize cobj__obj
foreign import ccall "wxAuiSimpleTabArt_GetIndentSize" wxAuiSimpleTabArt_GetIndentSize :: Ptr (TAuiSimpleTabArt a) -> IO CInt
auiSimpleTabArtGetTabSize :: AuiSimpleTabArt a -> DC b -> Window c -> String -> Bitmap e -> Bool -> Int -> Ptr CInt -> IO (Size)
auiSimpleTabArtGetTabSize _obj _dc _wnd _caption _bitmap active closeButtonState xExtent
= withWxSizeResult $
withObjectRef "auiSimpleTabArtGetTabSize" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withStringPtr _caption $ \cobj__caption ->
withObjectPtr _bitmap $ \cobj__bitmap ->
wxAuiSimpleTabArt_GetTabSize cobj__obj cobj__dc cobj__wnd cobj__caption cobj__bitmap (toCBool active) (toCInt closeButtonState) xExtent
foreign import ccall "wxAuiSimpleTabArt_GetTabSize" wxAuiSimpleTabArt_GetTabSize :: Ptr (TAuiSimpleTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxString d) -> Ptr (TBitmap e) -> CBool -> CInt -> Ptr CInt -> IO (Ptr (TWxSize ()))
auiSimpleTabArtSetActiveColour :: AuiSimpleTabArt a -> Color -> IO ()
auiSimpleTabArtSetActiveColour _obj _colour
= withObjectRef "auiSimpleTabArtSetActiveColour" _obj $ \cobj__obj ->
withColourPtr _colour $ \cobj__colour ->
wxAuiSimpleTabArt_SetActiveColour cobj__obj cobj__colour
foreign import ccall "wxAuiSimpleTabArt_SetActiveColour" wxAuiSimpleTabArt_SetActiveColour :: Ptr (TAuiSimpleTabArt a) -> Ptr (TColour b) -> IO ()
auiSimpleTabArtSetColour :: AuiSimpleTabArt a -> Color -> IO ()
auiSimpleTabArtSetColour _obj _colour
= withObjectRef "auiSimpleTabArtSetColour" _obj $ \cobj__obj ->
withColourPtr _colour $ \cobj__colour ->
wxAuiSimpleTabArt_SetColour cobj__obj cobj__colour
foreign import ccall "wxAuiSimpleTabArt_SetColour" wxAuiSimpleTabArt_SetColour :: Ptr (TAuiSimpleTabArt a) -> Ptr (TColour b) -> IO ()
auiSimpleTabArtSetFlags :: AuiSimpleTabArt a -> Int -> IO ()
auiSimpleTabArtSetFlags _obj _flags
= withObjectRef "auiSimpleTabArtSetFlags" _obj $ \cobj__obj ->
wxAuiSimpleTabArt_SetFlags cobj__obj (toCInt _flags)
foreign import ccall "wxAuiSimpleTabArt_SetFlags" wxAuiSimpleTabArt_SetFlags :: Ptr (TAuiSimpleTabArt a) -> CInt -> IO ()
auiSimpleTabArtSetMeasuringFont :: AuiSimpleTabArt a -> Font b -> IO ()
auiSimpleTabArtSetMeasuringFont _obj _font
= withObjectRef "auiSimpleTabArtSetMeasuringFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiSimpleTabArt_SetMeasuringFont cobj__obj cobj__font
foreign import ccall "wxAuiSimpleTabArt_SetMeasuringFont" wxAuiSimpleTabArt_SetMeasuringFont :: Ptr (TAuiSimpleTabArt a) -> Ptr (TFont b) -> IO ()
auiSimpleTabArtSetNormalFont :: AuiSimpleTabArt a -> Font b -> IO ()
auiSimpleTabArtSetNormalFont _obj _font
= withObjectRef "auiSimpleTabArtSetNormalFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiSimpleTabArt_SetNormalFont cobj__obj cobj__font
foreign import ccall "wxAuiSimpleTabArt_SetNormalFont" wxAuiSimpleTabArt_SetNormalFont :: Ptr (TAuiSimpleTabArt a) -> Ptr (TFont b) -> IO ()
auiSimpleTabArtSetSelectedFont :: AuiSimpleTabArt a -> Font b -> IO ()
auiSimpleTabArtSetSelectedFont _obj _font
= withObjectRef "auiSimpleTabArtSetSelectedFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiSimpleTabArt_SetSelectedFont cobj__obj cobj__font
foreign import ccall "wxAuiSimpleTabArt_SetSelectedFont" wxAuiSimpleTabArt_SetSelectedFont :: Ptr (TAuiSimpleTabArt a) -> Ptr (TFont b) -> IO ()
auiSimpleTabArtSetSizingInfo :: AuiSimpleTabArt a -> Size -> Int -> IO ()
auiSimpleTabArtSetSizingInfo _obj _widthheight tabCount
= withObjectRef "auiSimpleTabArtSetSizingInfo" _obj $ \cobj__obj ->
wxAuiSimpleTabArt_SetSizingInfo cobj__obj (toCIntSizeW _widthheight) (toCIntSizeH _widthheight) (toCInt tabCount)
foreign import ccall "wxAuiSimpleTabArt_SetSizingInfo" wxAuiSimpleTabArt_SetSizingInfo :: Ptr (TAuiSimpleTabArt a) -> CInt -> CInt -> CInt -> IO ()
auiSimpleTabArtShowDropDown :: AuiSimpleTabArt a -> Window b -> AuiNotebookPageArray c -> Int -> IO Int
auiSimpleTabArtShowDropDown _obj _wnd _items activeIdx
= withIntResult $
withObjectRef "auiSimpleTabArtShowDropDown" _obj $ \cobj__obj ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _items $ \cobj__items ->
wxAuiSimpleTabArt_ShowDropDown cobj__obj cobj__wnd cobj__items (toCInt activeIdx)
foreign import ccall "wxAuiSimpleTabArt_ShowDropDown" wxAuiSimpleTabArt_ShowDropDown :: Ptr (TAuiSimpleTabArt a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPageArray c) -> CInt -> IO CInt
auiTabArtClone :: AuiTabArt a -> IO (AuiTabArt ())
auiTabArtClone _obj
= withObjectResult $
withObjectRef "auiTabArtClone" _obj $ \cobj__obj ->
wxAuiTabArt_Clone cobj__obj
foreign import ccall "wxAuiTabArt_Clone" wxAuiTabArt_Clone :: Ptr (TAuiTabArt a) -> IO (Ptr (TAuiTabArt ()))
auiTabArtDrawBackground :: AuiTabArt a -> DC b -> Window c -> Rect -> IO ()
auiTabArtDrawBackground _obj _dc _wnd _rect
= withObjectRef "auiTabArtDrawBackground" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiTabArt_DrawBackground cobj__obj cobj__dc cobj__wnd cobj__rect
foreign import ccall "wxAuiTabArt_DrawBackground" wxAuiTabArt_DrawBackground :: Ptr (TAuiTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
auiTabArtDrawButton :: AuiTabArt a -> DC b -> Window c -> Rect -> Int -> Int -> Int -> Rect -> IO ()
auiTabArtDrawButton _obj _dc _wnd _inrect bitmapid buttonstate orientation _outrect
= withObjectRef "auiTabArtDrawButton" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _inrect $ \cobj__inrect ->
withWxRectPtr _outrect $ \cobj__outrect ->
wxAuiTabArt_DrawButton cobj__obj cobj__dc cobj__wnd cobj__inrect (toCInt bitmapid) (toCInt buttonstate) (toCInt orientation) cobj__outrect
foreign import ccall "wxAuiTabArt_DrawButton" wxAuiTabArt_DrawButton :: Ptr (TAuiTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> CInt -> CInt -> CInt -> Ptr (TWxRect h) -> IO ()
auiTabArtDrawTab :: AuiTabArt a -> DC b -> Window c -> AuiNotebookPage d -> Rect -> Int -> Rect -> Rect -> Ptr CInt -> IO ()
auiTabArtDrawTab _obj _dc _wnd _page _rect closebuttonstate _outtabrect _outbuttonrect xextent
= withObjectRef "auiTabArtDrawTab" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _page $ \cobj__page ->
withWxRectPtr _rect $ \cobj__rect ->
withWxRectPtr _outtabrect $ \cobj__outtabrect ->
withWxRectPtr _outbuttonrect $ \cobj__outbuttonrect ->
wxAuiTabArt_DrawTab cobj__obj cobj__dc cobj__wnd cobj__page cobj__rect (toCInt closebuttonstate) cobj__outtabrect cobj__outbuttonrect xextent
foreign import ccall "wxAuiTabArt_DrawTab" wxAuiTabArt_DrawTab :: Ptr (TAuiTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiNotebookPage d) -> Ptr (TWxRect e) -> CInt -> Ptr (TWxRect g) -> Ptr (TWxRect h) -> Ptr CInt -> IO ()
auiTabArtGetBestTabCtrlSize :: AuiTabArt a -> Window b -> AuiNotebookPageArray c -> Size -> IO Int
auiTabArtGetBestTabCtrlSize _obj _wnd _pages _widthheight
= withIntResult $
withObjectRef "auiTabArtGetBestTabCtrlSize" _obj $ \cobj__obj ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _pages $ \cobj__pages ->
wxAuiTabArt_GetBestTabCtrlSize cobj__obj cobj__wnd cobj__pages (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)
foreign import ccall "wxAuiTabArt_GetBestTabCtrlSize" wxAuiTabArt_GetBestTabCtrlSize :: Ptr (TAuiTabArt a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPageArray c) -> CInt -> CInt -> IO CInt
auiTabArtGetIndentSize :: AuiTabArt a -> IO Int
auiTabArtGetIndentSize _obj
= withIntResult $
withObjectRef "auiTabArtGetIndentSize" _obj $ \cobj__obj ->
wxAuiTabArt_GetIndentSize cobj__obj
foreign import ccall "wxAuiTabArt_GetIndentSize" wxAuiTabArt_GetIndentSize :: Ptr (TAuiTabArt a) -> IO CInt
auiTabArtGetTabSize :: AuiTabArt a -> DC b -> Window c -> String -> Bitmap e -> Bool -> Int -> Ptr CInt -> IO (Size)
auiTabArtGetTabSize _obj _dc _wnd _caption _bitmap active closebuttonstate xextent
= withWxSizeResult $
withObjectRef "auiTabArtGetTabSize" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withStringPtr _caption $ \cobj__caption ->
withObjectPtr _bitmap $ \cobj__bitmap ->
wxAuiTabArt_GetTabSize cobj__obj cobj__dc cobj__wnd cobj__caption cobj__bitmap (toCBool active) (toCInt closebuttonstate) xextent
foreign import ccall "wxAuiTabArt_GetTabSize" wxAuiTabArt_GetTabSize :: Ptr (TAuiTabArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxString d) -> Ptr (TBitmap e) -> CBool -> CInt -> Ptr CInt -> IO (Ptr (TWxSize ()))
auiTabArtSetActiveColour :: AuiTabArt a -> Color -> IO ()
auiTabArtSetActiveColour _obj _colour
= withObjectRef "auiTabArtSetActiveColour" _obj $ \cobj__obj ->
withColourPtr _colour $ \cobj__colour ->
wxAuiTabArt_SetActiveColour cobj__obj cobj__colour
foreign import ccall "wxAuiTabArt_SetActiveColour" wxAuiTabArt_SetActiveColour :: Ptr (TAuiTabArt a) -> Ptr (TColour b) -> IO ()
auiTabArtSetColour :: AuiTabArt a -> Color -> IO ()
auiTabArtSetColour _obj _colour
= withObjectRef "auiTabArtSetColour" _obj $ \cobj__obj ->
withColourPtr _colour $ \cobj__colour ->
wxAuiTabArt_SetColour cobj__obj cobj__colour
foreign import ccall "wxAuiTabArt_SetColour" wxAuiTabArt_SetColour :: Ptr (TAuiTabArt a) -> Ptr (TColour b) -> IO ()
auiTabArtSetFlags :: AuiTabArt a -> Int -> IO ()
auiTabArtSetFlags _obj _flags
= withObjectRef "auiTabArtSetFlags" _obj $ \cobj__obj ->
wxAuiTabArt_SetFlags cobj__obj (toCInt _flags)
foreign import ccall "wxAuiTabArt_SetFlags" wxAuiTabArt_SetFlags :: Ptr (TAuiTabArt a) -> CInt -> IO ()
auiTabArtSetMeasuringFont :: AuiTabArt a -> Font b -> IO ()
auiTabArtSetMeasuringFont _obj _font
= withObjectRef "auiTabArtSetMeasuringFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiTabArt_SetMeasuringFont cobj__obj cobj__font
foreign import ccall "wxAuiTabArt_SetMeasuringFont" wxAuiTabArt_SetMeasuringFont :: Ptr (TAuiTabArt a) -> Ptr (TFont b) -> IO ()
auiTabArtSetNormalFont :: AuiTabArt a -> Font b -> IO ()
auiTabArtSetNormalFont _obj _font
= withObjectRef "auiTabArtSetNormalFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiTabArt_SetNormalFont cobj__obj cobj__font
foreign import ccall "wxAuiTabArt_SetNormalFont" wxAuiTabArt_SetNormalFont :: Ptr (TAuiTabArt a) -> Ptr (TFont b) -> IO ()
auiTabArtSetSelectedFont :: AuiTabArt a -> Font b -> IO ()
auiTabArtSetSelectedFont _obj _font
= withObjectRef "auiTabArtSetSelectedFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiTabArt_SetSelectedFont cobj__obj cobj__font
foreign import ccall "wxAuiTabArt_SetSelectedFont" wxAuiTabArt_SetSelectedFont :: Ptr (TAuiTabArt a) -> Ptr (TFont b) -> IO ()
auiTabArtSetSizingInfo :: AuiTabArt a -> Size -> Int -> IO ()
auiTabArtSetSizingInfo _obj _widthheight tabcount
= withObjectRef "auiTabArtSetSizingInfo" _obj $ \cobj__obj ->
wxAuiTabArt_SetSizingInfo cobj__obj (toCIntSizeW _widthheight) (toCIntSizeH _widthheight) (toCInt tabcount)
foreign import ccall "wxAuiTabArt_SetSizingInfo" wxAuiTabArt_SetSizingInfo :: Ptr (TAuiTabArt a) -> CInt -> CInt -> CInt -> IO ()
auiTabContainerAddButton :: AuiTabContainer a -> Id -> Int -> Bitmap d -> Bitmap e -> IO ()
auiTabContainerAddButton _obj id location _normalBitmap _disabledBitmap
= withObjectRef "auiTabContainerAddButton" _obj $ \cobj__obj ->
withObjectPtr _normalBitmap $ \cobj__normalBitmap ->
withObjectPtr _disabledBitmap $ \cobj__disabledBitmap ->
wxAuiTabContainer_AddButton cobj__obj (toCInt id) (toCInt location) cobj__normalBitmap cobj__disabledBitmap
foreign import ccall "wxAuiTabContainer_AddButton" wxAuiTabContainer_AddButton :: Ptr (TAuiTabContainer a) -> CInt -> CInt -> Ptr (TBitmap d) -> Ptr (TBitmap e) -> IO ()
auiTabContainerAddPage :: AuiTabContainer a -> Window b -> AuiNotebookPage c -> IO Bool
auiTabContainerAddPage _obj _page _info
= withBoolResult $
withObjectRef "auiTabContainerAddPage" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
withObjectPtr _info $ \cobj__info ->
wxAuiTabContainer_AddPage cobj__obj cobj__page cobj__info
foreign import ccall "wxAuiTabContainer_AddPage" wxAuiTabContainer_AddPage :: Ptr (TAuiTabContainer a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPage c) -> IO CBool
auiTabContainerButtonBitmap :: AuiTabContainerButton a -> IO (Bitmap ())
auiTabContainerButtonBitmap _obj
= withRefBitmap $ \pref ->
withObjectRef "auiTabContainerButtonBitmap" _obj $ \cobj__obj ->
wxAuiTabContainerButton_Bitmap cobj__obj pref
foreign import ccall "wxAuiTabContainerButton_Bitmap" wxAuiTabContainerButton_Bitmap :: Ptr (TAuiTabContainerButton a) -> Ptr (TBitmap ()) -> IO ()
auiTabContainerButtonCurState :: AuiTabContainerButton a -> IO Int
auiTabContainerButtonCurState _obj
= withIntResult $
withObjectRef "auiTabContainerButtonCurState" _obj $ \cobj__obj ->
wxAuiTabContainerButton_CurState cobj__obj
foreign import ccall "wxAuiTabContainerButton_CurState" wxAuiTabContainerButton_CurState :: Ptr (TAuiTabContainerButton a) -> IO CInt
auiTabContainerButtonDisBitmap :: AuiTabContainerButton a -> IO (Bitmap ())
auiTabContainerButtonDisBitmap _obj
= withRefBitmap $ \pref ->
withObjectRef "auiTabContainerButtonDisBitmap" _obj $ \cobj__obj ->
wxAuiTabContainerButton_DisBitmap cobj__obj pref
foreign import ccall "wxAuiTabContainerButton_DisBitmap" wxAuiTabContainerButton_DisBitmap :: Ptr (TAuiTabContainerButton a) -> Ptr (TBitmap ()) -> IO ()
auiTabContainerButtonId :: AuiTabContainerButton a -> IO Int
auiTabContainerButtonId _obj
= withIntResult $
withObjectRef "auiTabContainerButtonId" _obj $ \cobj__obj ->
wxAuiTabContainerButton_Id cobj__obj
foreign import ccall "wxAuiTabContainerButton_Id" wxAuiTabContainerButton_Id :: Ptr (TAuiTabContainerButton a) -> IO CInt
auiTabContainerButtonLocation :: AuiTabContainerButton a -> IO Int
auiTabContainerButtonLocation _obj
= withIntResult $
withObjectRef "auiTabContainerButtonLocation" _obj $ \cobj__obj ->
wxAuiTabContainerButton_Location cobj__obj
foreign import ccall "wxAuiTabContainerButton_Location" wxAuiTabContainerButton_Location :: Ptr (TAuiTabContainerButton a) -> IO CInt
auiTabContainerButtonRect :: AuiTabContainerButton a -> IO (Rect)
auiTabContainerButtonRect _obj
= withWxRectResult $
withObjectRef "auiTabContainerButtonRect" _obj $ \cobj__obj ->
wxAuiTabContainerButton_Rect cobj__obj
foreign import ccall "wxAuiTabContainerButton_Rect" wxAuiTabContainerButton_Rect :: Ptr (TAuiTabContainerButton a) -> IO (Ptr (TWxRect ()))
auiTabContainerCreate :: IO (AuiTabContainer ())
auiTabContainerCreate
= withObjectResult $
wxAuiTabContainer_Create
foreign import ccall "wxAuiTabContainer_Create" wxAuiTabContainer_Create :: IO (Ptr (TAuiTabContainer ()))
auiTabContainerDoShowHide :: AuiTabContainer a -> IO ()
auiTabContainerDoShowHide _obj
= withObjectRef "auiTabContainerDoShowHide" _obj $ \cobj__obj ->
wxAuiTabContainer_DoShowHide cobj__obj
foreign import ccall "wxAuiTabContainer_DoShowHide" wxAuiTabContainer_DoShowHide :: Ptr (TAuiTabContainer a) -> IO ()
auiTabContainerGetActivePage :: AuiTabContainer a -> IO Int
auiTabContainerGetActivePage _obj
= withIntResult $
withObjectRef "auiTabContainerGetActivePage" _obj $ \cobj__obj ->
wxAuiTabContainer_GetActivePage cobj__obj
foreign import ccall "wxAuiTabContainer_GetActivePage" wxAuiTabContainer_GetActivePage :: Ptr (TAuiTabContainer a) -> IO CInt
auiTabContainerGetArtProvider :: AuiTabContainer a -> IO (AuiTabArt ())
auiTabContainerGetArtProvider _obj
= withObjectResult $
withObjectRef "auiTabContainerGetArtProvider" _obj $ \cobj__obj ->
wxAuiTabContainer_GetArtProvider cobj__obj
foreign import ccall "wxAuiTabContainer_GetArtProvider" wxAuiTabContainer_GetArtProvider :: Ptr (TAuiTabContainer a) -> IO (Ptr (TAuiTabArt ()))
auiTabContainerGetFlags :: AuiTabContainer a -> IO Int
auiTabContainerGetFlags _obj
= withIntResult $
withObjectRef "auiTabContainerGetFlags" _obj $ \cobj__obj ->
wxAuiTabContainer_GetFlags cobj__obj
foreign import ccall "wxAuiTabContainer_GetFlags" wxAuiTabContainer_GetFlags :: Ptr (TAuiTabContainer a) -> IO CInt
auiTabContainerGetIdxFromWindow :: AuiTabContainer a -> Window b -> IO Int
auiTabContainerGetIdxFromWindow _obj _page
= withIntResult $
withObjectRef "auiTabContainerGetIdxFromWindow" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
wxAuiTabContainer_GetIdxFromWindow cobj__obj cobj__page
foreign import ccall "wxAuiTabContainer_GetIdxFromWindow" wxAuiTabContainer_GetIdxFromWindow :: Ptr (TAuiTabContainer a) -> Ptr (TWindow b) -> IO CInt
auiTabContainerGetPage :: AuiTabContainer a -> Int -> IO (AuiNotebookPage ())
auiTabContainerGetPage _obj idx
= withObjectResult $
withObjectRef "auiTabContainerGetPage" _obj $ \cobj__obj ->
wxAuiTabContainer_GetPage cobj__obj (toCInt idx)
foreign import ccall "wxAuiTabContainer_GetPage" wxAuiTabContainer_GetPage :: Ptr (TAuiTabContainer a) -> CInt -> IO (Ptr (TAuiNotebookPage ()))
auiTabContainerGetPageCount :: AuiTabContainer a -> IO Int
auiTabContainerGetPageCount _obj
= withIntResult $
withObjectRef "auiTabContainerGetPageCount" _obj $ \cobj__obj ->
wxAuiTabContainer_GetPageCount cobj__obj
foreign import ccall "wxAuiTabContainer_GetPageCount" wxAuiTabContainer_GetPageCount :: Ptr (TAuiTabContainer a) -> IO CInt
auiTabContainerGetPages :: AuiTabContainer a -> IO (AuiNotebookPageArray ())
auiTabContainerGetPages _obj
= withObjectResult $
withObjectRef "auiTabContainerGetPages" _obj $ \cobj__obj ->
wxAuiTabContainer_GetPages cobj__obj
foreign import ccall "wxAuiTabContainer_GetPages" wxAuiTabContainer_GetPages :: Ptr (TAuiTabContainer a) -> IO (Ptr (TAuiNotebookPageArray ()))
auiTabContainerGetTabOffset :: AuiTabContainer a -> IO Int
auiTabContainerGetTabOffset _obj
= withIntResult $
withObjectRef "auiTabContainerGetTabOffset" _obj $ \cobj__obj ->
wxAuiTabContainer_GetTabOffset cobj__obj
foreign import ccall "wxAuiTabContainer_GetTabOffset" wxAuiTabContainer_GetTabOffset :: Ptr (TAuiTabContainer a) -> IO CInt
auiTabContainerGetWindowFromIdx :: AuiTabContainer a -> Int -> IO (Window ())
auiTabContainerGetWindowFromIdx _obj idx
= withObjectResult $
withObjectRef "auiTabContainerGetWindowFromIdx" _obj $ \cobj__obj ->
wxAuiTabContainer_GetWindowFromIdx cobj__obj (toCInt idx)
foreign import ccall "wxAuiTabContainer_GetWindowFromIdx" wxAuiTabContainer_GetWindowFromIdx :: Ptr (TAuiTabContainer a) -> CInt -> IO (Ptr (TWindow ()))
auiTabContainerInsertPage :: AuiTabContainer a -> Window b -> AuiNotebookPage c -> Int -> IO Bool
auiTabContainerInsertPage _obj _page _info idx
= withBoolResult $
withObjectRef "auiTabContainerInsertPage" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
withObjectPtr _info $ \cobj__info ->
wxAuiTabContainer_InsertPage cobj__obj cobj__page cobj__info (toCInt idx)
foreign import ccall "wxAuiTabContainer_InsertPage" wxAuiTabContainer_InsertPage :: Ptr (TAuiTabContainer a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPage c) -> CInt -> IO CBool
auiTabContainerIsTabVisible :: AuiTabContainer a -> Int -> Int -> DC d -> Window e -> IO Bool
auiTabContainerIsTabVisible _obj tabPage tabOffset _dc _wnd
= withBoolResult $
withObjectRef "auiTabContainerIsTabVisible" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
wxAuiTabContainer_IsTabVisible cobj__obj (toCInt tabPage) (toCInt tabOffset) cobj__dc cobj__wnd
foreign import ccall "wxAuiTabContainer_IsTabVisible" wxAuiTabContainer_IsTabVisible :: Ptr (TAuiTabContainer a) -> CInt -> CInt -> Ptr (TDC d) -> Ptr (TWindow e) -> IO CBool
auiTabContainerMakeTabVisible :: AuiTabContainer a -> Int -> Window c -> IO ()
auiTabContainerMakeTabVisible _obj tabPage _win
= withObjectRef "auiTabContainerMakeTabVisible" _obj $ \cobj__obj ->
withObjectPtr _win $ \cobj__win ->
wxAuiTabContainer_MakeTabVisible cobj__obj (toCInt tabPage) cobj__win
foreign import ccall "wxAuiTabContainer_MakeTabVisible" wxAuiTabContainer_MakeTabVisible :: Ptr (TAuiTabContainer a) -> CInt -> Ptr (TWindow c) -> IO ()
auiTabContainerMovePage :: AuiTabContainer a -> Window b -> Int -> IO Bool
auiTabContainerMovePage _obj _page newIdx
= withBoolResult $
withObjectRef "auiTabContainerMovePage" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
wxAuiTabContainer_MovePage cobj__obj cobj__page (toCInt newIdx)
foreign import ccall "wxAuiTabContainer_MovePage" wxAuiTabContainer_MovePage :: Ptr (TAuiTabContainer a) -> Ptr (TWindow b) -> CInt -> IO CBool
auiTabContainerRemoveButton :: AuiTabContainer a -> Id -> IO ()
auiTabContainerRemoveButton _obj id
= withObjectRef "auiTabContainerRemoveButton" _obj $ \cobj__obj ->
wxAuiTabContainer_RemoveButton cobj__obj (toCInt id)
foreign import ccall "wxAuiTabContainer_RemoveButton" wxAuiTabContainer_RemoveButton :: Ptr (TAuiTabContainer a) -> CInt -> IO ()
auiTabContainerRemovePage :: AuiTabContainer a -> Window b -> IO Bool
auiTabContainerRemovePage _obj _page
= withBoolResult $
withObjectRef "auiTabContainerRemovePage" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
wxAuiTabContainer_RemovePage cobj__obj cobj__page
foreign import ccall "wxAuiTabContainer_RemovePage" wxAuiTabContainer_RemovePage :: Ptr (TAuiTabContainer a) -> Ptr (TWindow b) -> IO CBool
auiTabContainerSetActiveColour :: AuiTabContainer a -> Color -> IO ()
auiTabContainerSetActiveColour _obj _colour
= withObjectRef "auiTabContainerSetActiveColour" _obj $ \cobj__obj ->
withColourPtr _colour $ \cobj__colour ->
wxAuiTabContainer_SetActiveColour cobj__obj cobj__colour
foreign import ccall "wxAuiTabContainer_SetActiveColour" wxAuiTabContainer_SetActiveColour :: Ptr (TAuiTabContainer a) -> Ptr (TColour b) -> IO ()
auiTabContainerSetActivePage :: AuiTabContainer a -> Int -> IO Bool
auiTabContainerSetActivePage _obj page
= withBoolResult $
withObjectRef "auiTabContainerSetActivePage" _obj $ \cobj__obj ->
wxAuiTabContainer_SetActivePage cobj__obj (toCInt page)
foreign import ccall "wxAuiTabContainer_SetActivePage" wxAuiTabContainer_SetActivePage :: Ptr (TAuiTabContainer a) -> CInt -> IO CBool
auiTabContainerSetActivePageByWindow :: AuiTabContainer a -> Window b -> IO Bool
auiTabContainerSetActivePageByWindow _obj _page
= withBoolResult $
withObjectRef "auiTabContainerSetActivePageByWindow" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
wxAuiTabContainer_SetActivePageByWindow cobj__obj cobj__page
foreign import ccall "wxAuiTabContainer_SetActivePageByWindow" wxAuiTabContainer_SetActivePageByWindow :: Ptr (TAuiTabContainer a) -> Ptr (TWindow b) -> IO CBool
auiTabContainerSetArtProvider :: AuiTabContainer a -> AuiTabArt b -> IO ()
auiTabContainerSetArtProvider _obj _art
= withObjectRef "auiTabContainerSetArtProvider" _obj $ \cobj__obj ->
withObjectPtr _art $ \cobj__art ->
wxAuiTabContainer_SetArtProvider cobj__obj cobj__art
foreign import ccall "wxAuiTabContainer_SetArtProvider" wxAuiTabContainer_SetArtProvider :: Ptr (TAuiTabContainer a) -> Ptr (TAuiTabArt b) -> IO ()
auiTabContainerSetColour :: AuiTabContainer a -> Color -> IO ()
auiTabContainerSetColour _obj _colour
= withObjectRef "auiTabContainerSetColour" _obj $ \cobj__obj ->
withColourPtr _colour $ \cobj__colour ->
wxAuiTabContainer_SetColour cobj__obj cobj__colour
foreign import ccall "wxAuiTabContainer_SetColour" wxAuiTabContainer_SetColour :: Ptr (TAuiTabContainer a) -> Ptr (TColour b) -> IO ()
auiTabContainerSetFlags :: AuiTabContainer a -> Int -> IO ()
auiTabContainerSetFlags _obj _flags
= withObjectRef "auiTabContainerSetFlags" _obj $ \cobj__obj ->
wxAuiTabContainer_SetFlags cobj__obj (toCInt _flags)
foreign import ccall "wxAuiTabContainer_SetFlags" wxAuiTabContainer_SetFlags :: Ptr (TAuiTabContainer a) -> CInt -> IO ()
auiTabContainerSetMeasuringFont :: AuiTabContainer a -> Font b -> IO ()
auiTabContainerSetMeasuringFont _obj _measuringFont
= withObjectRef "auiTabContainerSetMeasuringFont" _obj $ \cobj__obj ->
withObjectPtr _measuringFont $ \cobj__measuringFont ->
wxAuiTabContainer_SetMeasuringFont cobj__obj cobj__measuringFont
foreign import ccall "wxAuiTabContainer_SetMeasuringFont" wxAuiTabContainer_SetMeasuringFont :: Ptr (TAuiTabContainer a) -> Ptr (TFont b) -> IO ()
auiTabContainerSetNoneActive :: AuiTabContainer a -> IO ()
auiTabContainerSetNoneActive _obj
= withObjectRef "auiTabContainerSetNoneActive" _obj $ \cobj__obj ->
wxAuiTabContainer_SetNoneActive cobj__obj
foreign import ccall "wxAuiTabContainer_SetNoneActive" wxAuiTabContainer_SetNoneActive :: Ptr (TAuiTabContainer a) -> IO ()
auiTabContainerSetNormalFont :: AuiTabContainer a -> Font b -> IO ()
auiTabContainerSetNormalFont _obj _normalFont
= withObjectRef "auiTabContainerSetNormalFont" _obj $ \cobj__obj ->
withObjectPtr _normalFont $ \cobj__normalFont ->
wxAuiTabContainer_SetNormalFont cobj__obj cobj__normalFont
foreign import ccall "wxAuiTabContainer_SetNormalFont" wxAuiTabContainer_SetNormalFont :: Ptr (TAuiTabContainer a) -> Ptr (TFont b) -> IO ()
auiTabContainerSetRect :: AuiTabContainer a -> Rect -> IO ()
auiTabContainerSetRect _obj _rect
= withObjectRef "auiTabContainerSetRect" _obj $ \cobj__obj ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiTabContainer_SetRect cobj__obj cobj__rect
foreign import ccall "wxAuiTabContainer_SetRect" wxAuiTabContainer_SetRect :: Ptr (TAuiTabContainer a) -> Ptr (TWxRect b) -> IO ()
auiTabContainerSetSelectedFont :: AuiTabContainer a -> Font b -> IO ()
auiTabContainerSetSelectedFont _obj _selectedFont
= withObjectRef "auiTabContainerSetSelectedFont" _obj $ \cobj__obj ->
withObjectPtr _selectedFont $ \cobj__selectedFont ->
wxAuiTabContainer_SetSelectedFont cobj__obj cobj__selectedFont
foreign import ccall "wxAuiTabContainer_SetSelectedFont" wxAuiTabContainer_SetSelectedFont :: Ptr (TAuiTabContainer a) -> Ptr (TFont b) -> IO ()
auiTabContainerSetTabOffset :: AuiTabContainer a -> Int -> IO ()
auiTabContainerSetTabOffset _obj offset
= withObjectRef "auiTabContainerSetTabOffset" _obj $ \cobj__obj ->
wxAuiTabContainer_SetTabOffset cobj__obj (toCInt offset)
foreign import ccall "wxAuiTabContainer_SetTabOffset" wxAuiTabContainer_SetTabOffset :: Ptr (TAuiTabContainer a) -> CInt -> IO ()
auiTabCtrlAddButton :: AuiTabCtrl a -> Id -> Int -> Bitmap d -> Bitmap e -> IO ()
auiTabCtrlAddButton _obj id location _normalBitmap _disabledBitmap
= withObjectRef "auiTabCtrlAddButton" _obj $ \cobj__obj ->
withObjectPtr _normalBitmap $ \cobj__normalBitmap ->
withObjectPtr _disabledBitmap $ \cobj__disabledBitmap ->
wxAuiTabCtrl_AddButton cobj__obj (toCInt id) (toCInt location) cobj__normalBitmap cobj__disabledBitmap
foreign import ccall "wxAuiTabCtrl_AddButton" wxAuiTabCtrl_AddButton :: Ptr (TAuiTabCtrl a) -> CInt -> CInt -> Ptr (TBitmap d) -> Ptr (TBitmap e) -> IO ()
auiTabCtrlAddPage :: AuiTabCtrl a -> Window b -> AuiNotebookPage c -> IO Bool
auiTabCtrlAddPage _obj _page _info
= withBoolResult $
withObjectRef "auiTabCtrlAddPage" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
withObjectPtr _info $ \cobj__info ->
wxAuiTabCtrl_AddPage cobj__obj cobj__page cobj__info
foreign import ccall "wxAuiTabCtrl_AddPage" wxAuiTabCtrl_AddPage :: Ptr (TAuiTabCtrl a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPage c) -> IO CBool
auiTabCtrlDoShowHide :: AuiTabCtrl a -> IO ()
auiTabCtrlDoShowHide _obj
= withObjectRef "auiTabCtrlDoShowHide" _obj $ \cobj__obj ->
wxAuiTabCtrl_DoShowHide cobj__obj
foreign import ccall "wxAuiTabCtrl_DoShowHide" wxAuiTabCtrl_DoShowHide :: Ptr (TAuiTabCtrl a) -> IO ()
auiTabCtrlGetActivePage :: AuiTabCtrl a -> IO Int
auiTabCtrlGetActivePage _obj
= withIntResult $
withObjectRef "auiTabCtrlGetActivePage" _obj $ \cobj__obj ->
wxAuiTabCtrl_GetActivePage cobj__obj
foreign import ccall "wxAuiTabCtrl_GetActivePage" wxAuiTabCtrl_GetActivePage :: Ptr (TAuiTabCtrl a) -> IO CInt
auiTabCtrlGetArtProvider :: AuiTabCtrl a -> IO (AuiTabArt ())
auiTabCtrlGetArtProvider _obj
= withObjectResult $
withObjectRef "auiTabCtrlGetArtProvider" _obj $ \cobj__obj ->
wxAuiTabCtrl_GetArtProvider cobj__obj
foreign import ccall "wxAuiTabCtrl_GetArtProvider" wxAuiTabCtrl_GetArtProvider :: Ptr (TAuiTabCtrl a) -> IO (Ptr (TAuiTabArt ()))
auiTabCtrlGetFlags :: AuiTabCtrl a -> IO Int
auiTabCtrlGetFlags _obj
= withIntResult $
withObjectRef "auiTabCtrlGetFlags" _obj $ \cobj__obj ->
wxAuiTabCtrl_GetFlags cobj__obj
foreign import ccall "wxAuiTabCtrl_GetFlags" wxAuiTabCtrl_GetFlags :: Ptr (TAuiTabCtrl a) -> IO CInt
auiTabCtrlGetIdxFromWindow :: AuiTabCtrl a -> Window b -> IO Int
auiTabCtrlGetIdxFromWindow _obj _page
= withIntResult $
withObjectRef "auiTabCtrlGetIdxFromWindow" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
wxAuiTabCtrl_GetIdxFromWindow cobj__obj cobj__page
foreign import ccall "wxAuiTabCtrl_GetIdxFromWindow" wxAuiTabCtrl_GetIdxFromWindow :: Ptr (TAuiTabCtrl a) -> Ptr (TWindow b) -> IO CInt
auiTabCtrlGetPage :: AuiTabCtrl a -> Int -> IO (AuiNotebookPage ())
auiTabCtrlGetPage _obj idx
= withObjectResult $
withObjectRef "auiTabCtrlGetPage" _obj $ \cobj__obj ->
wxAuiTabCtrl_GetPage cobj__obj (toCInt idx)
foreign import ccall "wxAuiTabCtrl_GetPage" wxAuiTabCtrl_GetPage :: Ptr (TAuiTabCtrl a) -> CInt -> IO (Ptr (TAuiNotebookPage ()))
auiTabCtrlGetPageCount :: AuiTabCtrl a -> IO Int
auiTabCtrlGetPageCount _obj
= withIntResult $
withObjectRef "auiTabCtrlGetPageCount" _obj $ \cobj__obj ->
wxAuiTabCtrl_GetPageCount cobj__obj
foreign import ccall "wxAuiTabCtrl_GetPageCount" wxAuiTabCtrl_GetPageCount :: Ptr (TAuiTabCtrl a) -> IO CInt
auiTabCtrlGetPages :: AuiTabCtrl a -> IO (AuiNotebookPageArray ())
auiTabCtrlGetPages _obj
= withObjectResult $
withObjectRef "auiTabCtrlGetPages" _obj $ \cobj__obj ->
wxAuiTabCtrl_GetPages cobj__obj
foreign import ccall "wxAuiTabCtrl_GetPages" wxAuiTabCtrl_GetPages :: Ptr (TAuiTabCtrl a) -> IO (Ptr (TAuiNotebookPageArray ()))
auiTabCtrlGetTabOffset :: AuiTabCtrl a -> IO Int
auiTabCtrlGetTabOffset _obj
= withIntResult $
withObjectRef "auiTabCtrlGetTabOffset" _obj $ \cobj__obj ->
wxAuiTabCtrl_GetTabOffset cobj__obj
foreign import ccall "wxAuiTabCtrl_GetTabOffset" wxAuiTabCtrl_GetTabOffset :: Ptr (TAuiTabCtrl a) -> IO CInt
auiTabCtrlGetWindowFromIdx :: AuiTabCtrl a -> Int -> IO (Window ())
auiTabCtrlGetWindowFromIdx _obj idx
= withObjectResult $
withObjectRef "auiTabCtrlGetWindowFromIdx" _obj $ \cobj__obj ->
wxAuiTabCtrl_GetWindowFromIdx cobj__obj (toCInt idx)
foreign import ccall "wxAuiTabCtrl_GetWindowFromIdx" wxAuiTabCtrl_GetWindowFromIdx :: Ptr (TAuiTabCtrl a) -> CInt -> IO (Ptr (TWindow ()))
auiTabCtrlInsertPage :: AuiTabCtrl a -> Window b -> AuiNotebookPage c -> Int -> IO Bool
auiTabCtrlInsertPage _obj _page _info idx
= withBoolResult $
withObjectRef "auiTabCtrlInsertPage" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
withObjectPtr _info $ \cobj__info ->
wxAuiTabCtrl_InsertPage cobj__obj cobj__page cobj__info (toCInt idx)
foreign import ccall "wxAuiTabCtrl_InsertPage" wxAuiTabCtrl_InsertPage :: Ptr (TAuiTabCtrl a) -> Ptr (TWindow b) -> Ptr (TAuiNotebookPage c) -> CInt -> IO CBool
auiTabCtrlIsTabVisible :: AuiTabCtrl a -> Int -> Int -> DC d -> Window e -> IO Bool
auiTabCtrlIsTabVisible _obj tabPage tabOffset _dc _wnd
= withBoolResult $
withObjectRef "auiTabCtrlIsTabVisible" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
wxAuiTabCtrl_IsTabVisible cobj__obj (toCInt tabPage) (toCInt tabOffset) cobj__dc cobj__wnd
foreign import ccall "wxAuiTabCtrl_IsTabVisible" wxAuiTabCtrl_IsTabVisible :: Ptr (TAuiTabCtrl a) -> CInt -> CInt -> Ptr (TDC d) -> Ptr (TWindow e) -> IO CBool
auiTabCtrlMakeTabVisible :: AuiTabCtrl a -> Int -> Window c -> IO ()
auiTabCtrlMakeTabVisible _obj tabPage _win
= withObjectRef "auiTabCtrlMakeTabVisible" _obj $ \cobj__obj ->
withObjectPtr _win $ \cobj__win ->
wxAuiTabCtrl_MakeTabVisible cobj__obj (toCInt tabPage) cobj__win
foreign import ccall "wxAuiTabCtrl_MakeTabVisible" wxAuiTabCtrl_MakeTabVisible :: Ptr (TAuiTabCtrl a) -> CInt -> Ptr (TWindow c) -> IO ()
auiTabCtrlMovePage :: AuiTabCtrl a -> Window b -> Int -> IO Bool
auiTabCtrlMovePage _obj _page newIdx
= withBoolResult $
withObjectRef "auiTabCtrlMovePage" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
wxAuiTabCtrl_MovePage cobj__obj cobj__page (toCInt newIdx)
foreign import ccall "wxAuiTabCtrl_MovePage" wxAuiTabCtrl_MovePage :: Ptr (TAuiTabCtrl a) -> Ptr (TWindow b) -> CInt -> IO CBool
auiTabCtrlRemoveButton :: AuiTabCtrl a -> Id -> IO ()
auiTabCtrlRemoveButton _obj id
= withObjectRef "auiTabCtrlRemoveButton" _obj $ \cobj__obj ->
wxAuiTabCtrl_RemoveButton cobj__obj (toCInt id)
foreign import ccall "wxAuiTabCtrl_RemoveButton" wxAuiTabCtrl_RemoveButton :: Ptr (TAuiTabCtrl a) -> CInt -> IO ()
auiTabCtrlRemovePage :: AuiTabCtrl a -> Window b -> IO Bool
auiTabCtrlRemovePage _obj _page
= withBoolResult $
withObjectRef "auiTabCtrlRemovePage" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
wxAuiTabCtrl_RemovePage cobj__obj cobj__page
foreign import ccall "wxAuiTabCtrl_RemovePage" wxAuiTabCtrl_RemovePage :: Ptr (TAuiTabCtrl a) -> Ptr (TWindow b) -> IO CBool
auiTabCtrlSetActiveColour :: AuiTabCtrl a -> Color -> IO ()
auiTabCtrlSetActiveColour _obj _colour
= withObjectRef "auiTabCtrlSetActiveColour" _obj $ \cobj__obj ->
withColourPtr _colour $ \cobj__colour ->
wxAuiTabCtrl_SetActiveColour cobj__obj cobj__colour
foreign import ccall "wxAuiTabCtrl_SetActiveColour" wxAuiTabCtrl_SetActiveColour :: Ptr (TAuiTabCtrl a) -> Ptr (TColour b) -> IO ()
auiTabCtrlSetActivePage :: AuiTabCtrl a -> Int -> IO Bool
auiTabCtrlSetActivePage _obj page
= withBoolResult $
withObjectRef "auiTabCtrlSetActivePage" _obj $ \cobj__obj ->
wxAuiTabCtrl_SetActivePage cobj__obj (toCInt page)
foreign import ccall "wxAuiTabCtrl_SetActivePage" wxAuiTabCtrl_SetActivePage :: Ptr (TAuiTabCtrl a) -> CInt -> IO CBool
auiTabCtrlSetActivePageByWindow :: AuiTabCtrl a -> Window b -> IO Bool
auiTabCtrlSetActivePageByWindow _obj _page
= withBoolResult $
withObjectRef "auiTabCtrlSetActivePageByWindow" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
wxAuiTabCtrl_SetActivePageByWindow cobj__obj cobj__page
foreign import ccall "wxAuiTabCtrl_SetActivePageByWindow" wxAuiTabCtrl_SetActivePageByWindow :: Ptr (TAuiTabCtrl a) -> Ptr (TWindow b) -> IO CBool
auiTabCtrlSetArtProvider :: AuiTabCtrl a -> AuiTabArt b -> IO ()
auiTabCtrlSetArtProvider _obj _art
= withObjectRef "auiTabCtrlSetArtProvider" _obj $ \cobj__obj ->
withObjectPtr _art $ \cobj__art ->
wxAuiTabCtrl_SetArtProvider cobj__obj cobj__art
foreign import ccall "wxAuiTabCtrl_SetArtProvider" wxAuiTabCtrl_SetArtProvider :: Ptr (TAuiTabCtrl a) -> Ptr (TAuiTabArt b) -> IO ()
auiTabCtrlSetColour :: AuiTabCtrl a -> Color -> IO ()
auiTabCtrlSetColour _obj _colour
= withObjectRef "auiTabCtrlSetColour" _obj $ \cobj__obj ->
withColourPtr _colour $ \cobj__colour ->
wxAuiTabCtrl_SetColour cobj__obj cobj__colour
foreign import ccall "wxAuiTabCtrl_SetColour" wxAuiTabCtrl_SetColour :: Ptr (TAuiTabCtrl a) -> Ptr (TColour b) -> IO ()
auiTabCtrlSetFlags :: AuiTabCtrl a -> Int -> IO ()
auiTabCtrlSetFlags _obj _flags
= withObjectRef "auiTabCtrlSetFlags" _obj $ \cobj__obj ->
wxAuiTabCtrl_SetFlags cobj__obj (toCInt _flags)
foreign import ccall "wxAuiTabCtrl_SetFlags" wxAuiTabCtrl_SetFlags :: Ptr (TAuiTabCtrl a) -> CInt -> IO ()
auiTabCtrlSetMeasuringFont :: AuiTabCtrl a -> Font b -> IO ()
auiTabCtrlSetMeasuringFont _obj _measuringFont
= withObjectRef "auiTabCtrlSetMeasuringFont" _obj $ \cobj__obj ->
withObjectPtr _measuringFont $ \cobj__measuringFont ->
wxAuiTabCtrl_SetMeasuringFont cobj__obj cobj__measuringFont
foreign import ccall "wxAuiTabCtrl_SetMeasuringFont" wxAuiTabCtrl_SetMeasuringFont :: Ptr (TAuiTabCtrl a) -> Ptr (TFont b) -> IO ()
auiTabCtrlSetNoneActive :: AuiTabCtrl a -> IO ()
auiTabCtrlSetNoneActive _obj
= withObjectRef "auiTabCtrlSetNoneActive" _obj $ \cobj__obj ->
wxAuiTabCtrl_SetNoneActive cobj__obj
foreign import ccall "wxAuiTabCtrl_SetNoneActive" wxAuiTabCtrl_SetNoneActive :: Ptr (TAuiTabCtrl a) -> IO ()
auiTabCtrlSetNormalFont :: AuiTabCtrl a -> Font b -> IO ()
auiTabCtrlSetNormalFont _obj _normalFont
= withObjectRef "auiTabCtrlSetNormalFont" _obj $ \cobj__obj ->
withObjectPtr _normalFont $ \cobj__normalFont ->
wxAuiTabCtrl_SetNormalFont cobj__obj cobj__normalFont
foreign import ccall "wxAuiTabCtrl_SetNormalFont" wxAuiTabCtrl_SetNormalFont :: Ptr (TAuiTabCtrl a) -> Ptr (TFont b) -> IO ()
auiTabCtrlSetRect :: AuiTabCtrl a -> Rect -> IO ()
auiTabCtrlSetRect _obj _rect
= withObjectRef "auiTabCtrlSetRect" _obj $ \cobj__obj ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiTabCtrl_SetRect cobj__obj cobj__rect
foreign import ccall "wxAuiTabCtrl_SetRect" wxAuiTabCtrl_SetRect :: Ptr (TAuiTabCtrl a) -> Ptr (TWxRect b) -> IO ()
auiTabCtrlSetSelectedFont :: AuiTabCtrl a -> Font b -> IO ()
auiTabCtrlSetSelectedFont _obj _selectedFont
= withObjectRef "auiTabCtrlSetSelectedFont" _obj $ \cobj__obj ->
withObjectPtr _selectedFont $ \cobj__selectedFont ->
wxAuiTabCtrl_SetSelectedFont cobj__obj cobj__selectedFont
foreign import ccall "wxAuiTabCtrl_SetSelectedFont" wxAuiTabCtrl_SetSelectedFont :: Ptr (TAuiTabCtrl a) -> Ptr (TFont b) -> IO ()
auiTabCtrlSetTabOffset :: AuiTabCtrl a -> Int -> IO ()
auiTabCtrlSetTabOffset _obj offset
= withObjectRef "auiTabCtrlSetTabOffset" _obj $ \cobj__obj ->
wxAuiTabCtrl_SetTabOffset cobj__obj (toCInt offset)
foreign import ccall "wxAuiTabCtrl_SetTabOffset" wxAuiTabCtrl_SetTabOffset :: Ptr (TAuiTabCtrl a) -> CInt -> IO ()
auiToolBarAddControl :: AuiToolBar a -> Control b -> String -> IO (AuiToolBarItem ())
auiToolBarAddControl _obj _control _label
= withObjectResult $
withObjectRef "auiToolBarAddControl" _obj $ \cobj__obj ->
withObjectPtr _control $ \cobj__control ->
withStringPtr _label $ \cobj__label ->
wxAuiToolBar_AddControl cobj__obj cobj__control cobj__label
foreign import ccall "wxAuiToolBar_AddControl" wxAuiToolBar_AddControl :: Ptr (TAuiToolBar a) -> Ptr (TControl b) -> Ptr (TWxString c) -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarAddLabel :: AuiToolBar a -> Int -> String -> Int -> IO (AuiToolBarItem ())
auiToolBarAddLabel _obj toolid _label width
= withObjectResult $
withObjectRef "auiToolBarAddLabel" _obj $ \cobj__obj ->
withStringPtr _label $ \cobj__label ->
wxAuiToolBar_AddLabel cobj__obj (toCInt toolid) cobj__label (toCInt width)
foreign import ccall "wxAuiToolBar_AddLabel" wxAuiToolBar_AddLabel :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TWxString c) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarAddSeparator :: AuiToolBar a -> IO (AuiToolBarItem ())
auiToolBarAddSeparator _obj
= withObjectResult $
withObjectRef "auiToolBarAddSeparator" _obj $ \cobj__obj ->
wxAuiToolBar_AddSeparator cobj__obj
foreign import ccall "wxAuiToolBar_AddSeparator" wxAuiToolBar_AddSeparator :: Ptr (TAuiToolBar a) -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarAddSpacer :: AuiToolBar a -> Int -> IO (AuiToolBarItem ())
auiToolBarAddSpacer _obj pixels
= withObjectResult $
withObjectRef "auiToolBarAddSpacer" _obj $ \cobj__obj ->
wxAuiToolBar_AddSpacer cobj__obj (toCInt pixels)
foreign import ccall "wxAuiToolBar_AddSpacer" wxAuiToolBar_AddSpacer :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarAddStretchSpacer :: AuiToolBar a -> Int -> IO (AuiToolBarItem ())
auiToolBarAddStretchSpacer _obj proportion
= withObjectResult $
withObjectRef "auiToolBarAddStretchSpacer" _obj $ \cobj__obj ->
wxAuiToolBar_AddStretchSpacer cobj__obj (toCInt proportion)
foreign import ccall "wxAuiToolBar_AddStretchSpacer" wxAuiToolBar_AddStretchSpacer :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarAddTool :: AuiToolBar a -> Int -> String -> Bitmap d -> Bitmap e -> Int -> String -> String -> WxObject i -> IO (AuiToolBarItem ())
auiToolBarAddTool _obj toolid _label _bitmap _disabledbitmap kind _shorthelpstring _longhelpstring _clientdata
= withObjectResult $
withObjectRef "auiToolBarAddTool" _obj $ \cobj__obj ->
withStringPtr _label $ \cobj__label ->
withObjectPtr _bitmap $ \cobj__bitmap ->
withObjectPtr _disabledbitmap $ \cobj__disabledbitmap ->
withStringPtr _shorthelpstring $ \cobj__shorthelpstring ->
withStringPtr _longhelpstring $ \cobj__longhelpstring ->
withObjectPtr _clientdata $ \cobj__clientdata ->
wxAuiToolBar_AddTool cobj__obj (toCInt toolid) cobj__label cobj__bitmap cobj__disabledbitmap (toCInt kind) cobj__shorthelpstring cobj__longhelpstring cobj__clientdata
foreign import ccall "wxAuiToolBar_AddTool" wxAuiToolBar_AddTool :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TWxString c) -> Ptr (TBitmap d) -> Ptr (TBitmap e) -> CInt -> Ptr (TWxString g) -> Ptr (TWxString h) -> Ptr (TWxObject i) -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarAddToolByBitmap :: AuiToolBar a -> Int -> Bitmap c -> Bitmap d -> Bool -> WxObject f -> String -> String -> IO (AuiToolBarItem ())
auiToolBarAddToolByBitmap _obj toolid _bitmap _disabledbitmap toggle _clientdata _shorthelpstring _longhelpstring
= withObjectResult $
withObjectRef "auiToolBarAddToolByBitmap" _obj $ \cobj__obj ->
withObjectPtr _bitmap $ \cobj__bitmap ->
withObjectPtr _disabledbitmap $ \cobj__disabledbitmap ->
withObjectPtr _clientdata $ \cobj__clientdata ->
withStringPtr _shorthelpstring $ \cobj__shorthelpstring ->
withStringPtr _longhelpstring $ \cobj__longhelpstring ->
wxAuiToolBar_AddToolByBitmap cobj__obj (toCInt toolid) cobj__bitmap cobj__disabledbitmap (toCBool toggle) cobj__clientdata cobj__shorthelpstring cobj__longhelpstring
foreign import ccall "wxAuiToolBar_AddToolByBitmap" wxAuiToolBar_AddToolByBitmap :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TBitmap c) -> Ptr (TBitmap d) -> CBool -> Ptr (TWxObject f) -> Ptr (TWxString g) -> Ptr (TWxString h) -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarAddToolByLabel :: AuiToolBar a -> Int -> String -> Bitmap d -> String -> Int -> IO (AuiToolBarItem ())
auiToolBarAddToolByLabel _obj toolid _label _bitmap _shorthelpstring kind
= withObjectResult $
withObjectRef "auiToolBarAddToolByLabel" _obj $ \cobj__obj ->
withStringPtr _label $ \cobj__label ->
withObjectPtr _bitmap $ \cobj__bitmap ->
withStringPtr _shorthelpstring $ \cobj__shorthelpstring ->
wxAuiToolBar_AddToolByLabel cobj__obj (toCInt toolid) cobj__label cobj__bitmap cobj__shorthelpstring (toCInt kind)
foreign import ccall "wxAuiToolBar_AddToolByLabel" wxAuiToolBar_AddToolByLabel :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TWxString c) -> Ptr (TBitmap d) -> Ptr (TWxString e) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarArtClone :: AuiToolBarArt a -> IO (AuiToolBarArt ())
auiToolBarArtClone _obj
= withObjectResult $
withObjectRef "auiToolBarArtClone" _obj $ \cobj__obj ->
wxAuiToolBarArt_Clone cobj__obj
foreign import ccall "wxAuiToolBarArt_Clone" wxAuiToolBarArt_Clone :: Ptr (TAuiToolBarArt a) -> IO (Ptr (TAuiToolBarArt ()))
auiToolBarArtDrawBackground :: AuiToolBarArt a -> DC b -> Window c -> Rect -> IO ()
auiToolBarArtDrawBackground _obj _dc _wnd _rect
= withObjectRef "auiToolBarArtDrawBackground" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiToolBarArt_DrawBackground cobj__obj cobj__dc cobj__wnd cobj__rect
foreign import ccall "wxAuiToolBarArt_DrawBackground" wxAuiToolBarArt_DrawBackground :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
auiToolBarArtDrawButton :: AuiToolBarArt a -> DC b -> Window c -> AuiToolBarItem d -> Rect -> IO ()
auiToolBarArtDrawButton _obj _dc _wnd _item _rect
= withObjectRef "auiToolBarArtDrawButton" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _item $ \cobj__item ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiToolBarArt_DrawButton cobj__obj cobj__dc cobj__wnd cobj__item cobj__rect
foreign import ccall "wxAuiToolBarArt_DrawButton" wxAuiToolBarArt_DrawButton :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
auiToolBarArtDrawControlLabel :: AuiToolBarArt a -> DC b -> Window c -> AuiToolBarItem d -> Rect -> IO ()
auiToolBarArtDrawControlLabel _obj _dc _wnd _item _rect
= withObjectRef "auiToolBarArtDrawControlLabel" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _item $ \cobj__item ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiToolBarArt_DrawControlLabel cobj__obj cobj__dc cobj__wnd cobj__item cobj__rect
foreign import ccall "wxAuiToolBarArt_DrawControlLabel" wxAuiToolBarArt_DrawControlLabel :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
auiToolBarArtDrawDropDownButton :: AuiToolBarArt a -> DC b -> Window c -> AuiToolBarItem d -> Rect -> IO ()
auiToolBarArtDrawDropDownButton _obj _dc _wnd _item _rect
= withObjectRef "auiToolBarArtDrawDropDownButton" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _item $ \cobj__item ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiToolBarArt_DrawDropDownButton cobj__obj cobj__dc cobj__wnd cobj__item cobj__rect
foreign import ccall "wxAuiToolBarArt_DrawDropDownButton" wxAuiToolBarArt_DrawDropDownButton :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
auiToolBarArtDrawGripper :: AuiToolBarArt a -> DC b -> Window c -> Rect -> IO ()
auiToolBarArtDrawGripper _obj _dc _wnd _rect
= withObjectRef "auiToolBarArtDrawGripper" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiToolBarArt_DrawGripper cobj__obj cobj__dc cobj__wnd cobj__rect
foreign import ccall "wxAuiToolBarArt_DrawGripper" wxAuiToolBarArt_DrawGripper :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
auiToolBarArtDrawLabel :: AuiToolBarArt a -> DC b -> Window c -> AuiToolBarItem d -> Rect -> IO ()
auiToolBarArtDrawLabel _obj _dc _wnd _item _rect
= withObjectRef "auiToolBarArtDrawLabel" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _item $ \cobj__item ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiToolBarArt_DrawLabel cobj__obj cobj__dc cobj__wnd cobj__item cobj__rect
foreign import ccall "wxAuiToolBarArt_DrawLabel" wxAuiToolBarArt_DrawLabel :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> Ptr (TWxRect e) -> IO ()
auiToolBarArtDrawOverflowButton :: AuiToolBarArt a -> DC b -> Window c -> Rect -> Int -> IO ()
auiToolBarArtDrawOverflowButton _obj _dc _wnd _rect state
= withObjectRef "auiToolBarArtDrawOverflowButton" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiToolBarArt_DrawOverflowButton cobj__obj cobj__dc cobj__wnd cobj__rect (toCInt state)
foreign import ccall "wxAuiToolBarArt_DrawOverflowButton" wxAuiToolBarArt_DrawOverflowButton :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> CInt -> IO ()
auiToolBarArtDrawPlainBackground :: AuiToolBarArt a -> DC b -> Window c -> Rect -> IO ()
auiToolBarArtDrawPlainBackground _obj _dc _wnd _rect
= withObjectRef "auiToolBarArtDrawPlainBackground" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiToolBarArt_DrawPlainBackground cobj__obj cobj__dc cobj__wnd cobj__rect
foreign import ccall "wxAuiToolBarArt_DrawPlainBackground" wxAuiToolBarArt_DrawPlainBackground :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
auiToolBarArtDrawSeparator :: AuiToolBarArt a -> DC b -> Window c -> Rect -> IO ()
auiToolBarArtDrawSeparator _obj _dc _wnd _rect
= withObjectRef "auiToolBarArtDrawSeparator" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withWxRectPtr _rect $ \cobj__rect ->
wxAuiToolBarArt_DrawSeparator cobj__obj cobj__dc cobj__wnd cobj__rect
foreign import ccall "wxAuiToolBarArt_DrawSeparator" wxAuiToolBarArt_DrawSeparator :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TWxRect d) -> IO ()
auiToolBarArtGetElementSize :: AuiToolBarArt a -> Int -> IO Int
auiToolBarArtGetElementSize _obj elementid
= withIntResult $
withObjectRef "auiToolBarArtGetElementSize" _obj $ \cobj__obj ->
wxAuiToolBarArt_GetElementSize cobj__obj (toCInt elementid)
foreign import ccall "wxAuiToolBarArt_GetElementSize" wxAuiToolBarArt_GetElementSize :: Ptr (TAuiToolBarArt a) -> CInt -> IO CInt
auiToolBarArtGetFlags :: AuiToolBarArt a -> IO Int
auiToolBarArtGetFlags _obj
= withIntResult $
withObjectRef "auiToolBarArtGetFlags" _obj $ \cobj__obj ->
wxAuiToolBarArt_GetFlags cobj__obj
foreign import ccall "wxAuiToolBarArt_GetFlags" wxAuiToolBarArt_GetFlags :: Ptr (TAuiToolBarArt a) -> IO CInt
auiToolBarArtGetFont :: AuiToolBarArt a -> IO (Font ())
auiToolBarArtGetFont _obj
= withManagedFontResult $
withObjectRef "auiToolBarArtGetFont" _obj $ \cobj__obj ->
wxAuiToolBarArt_GetFont cobj__obj
foreign import ccall "wxAuiToolBarArt_GetFont" wxAuiToolBarArt_GetFont :: Ptr (TAuiToolBarArt a) -> IO (Ptr (TFont ()))
auiToolBarArtGetLabelSize :: AuiToolBarArt a -> DC b -> Window c -> AuiToolBarItem d -> IO (Size)
auiToolBarArtGetLabelSize _obj _dc _wnd _item
= withWxSizeResult $
withObjectRef "auiToolBarArtGetLabelSize" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _item $ \cobj__item ->
wxAuiToolBarArt_GetLabelSize cobj__obj cobj__dc cobj__wnd cobj__item
foreign import ccall "wxAuiToolBarArt_GetLabelSize" wxAuiToolBarArt_GetLabelSize :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> IO (Ptr (TWxSize ()))
auiToolBarArtGetTextOrientation :: AuiToolBarArt a -> IO Int
auiToolBarArtGetTextOrientation _obj
= withIntResult $
withObjectRef "auiToolBarArtGetTextOrientation" _obj $ \cobj__obj ->
wxAuiToolBarArt_GetTextOrientation cobj__obj
foreign import ccall "wxAuiToolBarArt_GetTextOrientation" wxAuiToolBarArt_GetTextOrientation :: Ptr (TAuiToolBarArt a) -> IO CInt
auiToolBarArtGetToolSize :: AuiToolBarArt a -> DC b -> Window c -> AuiToolBarItem d -> IO (Size)
auiToolBarArtGetToolSize _obj _dc _wnd _item
= withWxSizeResult $
withObjectRef "auiToolBarArtGetToolSize" _obj $ \cobj__obj ->
withObjectPtr _dc $ \cobj__dc ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _item $ \cobj__item ->
wxAuiToolBarArt_GetToolSize cobj__obj cobj__dc cobj__wnd cobj__item
foreign import ccall "wxAuiToolBarArt_GetToolSize" wxAuiToolBarArt_GetToolSize :: Ptr (TAuiToolBarArt a) -> Ptr (TDC b) -> Ptr (TWindow c) -> Ptr (TAuiToolBarItem d) -> IO (Ptr (TWxSize ()))
auiToolBarArtSetElementSize :: AuiToolBarArt a -> Int -> Int -> IO ()
auiToolBarArtSetElementSize _obj elementid size
= withObjectRef "auiToolBarArtSetElementSize" _obj $ \cobj__obj ->
wxAuiToolBarArt_SetElementSize cobj__obj (toCInt elementid) (toCInt size)
foreign import ccall "wxAuiToolBarArt_SetElementSize" wxAuiToolBarArt_SetElementSize :: Ptr (TAuiToolBarArt a) -> CInt -> CInt -> IO ()
auiToolBarArtSetFlags :: AuiToolBarArt a -> Int -> IO ()
auiToolBarArtSetFlags _obj _flags
= withObjectRef "auiToolBarArtSetFlags" _obj $ \cobj__obj ->
wxAuiToolBarArt_SetFlags cobj__obj (toCInt _flags)
foreign import ccall "wxAuiToolBarArt_SetFlags" wxAuiToolBarArt_SetFlags :: Ptr (TAuiToolBarArt a) -> CInt -> IO ()
auiToolBarArtSetFont :: AuiToolBarArt a -> Font b -> IO ()
auiToolBarArtSetFont _obj _font
= withObjectRef "auiToolBarArtSetFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiToolBarArt_SetFont cobj__obj cobj__font
foreign import ccall "wxAuiToolBarArt_SetFont" wxAuiToolBarArt_SetFont :: Ptr (TAuiToolBarArt a) -> Ptr (TFont b) -> IO ()
auiToolBarArtSetTextOrientation :: AuiToolBarArt a -> Int -> IO ()
auiToolBarArtSetTextOrientation _obj orientation
= withObjectRef "auiToolBarArtSetTextOrientation" _obj $ \cobj__obj ->
wxAuiToolBarArt_SetTextOrientation cobj__obj (toCInt orientation)
foreign import ccall "wxAuiToolBarArt_SetTextOrientation" wxAuiToolBarArt_SetTextOrientation :: Ptr (TAuiToolBarArt a) -> CInt -> IO ()
auiToolBarArtShowDropDown :: AuiToolBarArt a -> Window b -> AuiToolBarItemArray c -> IO Int
auiToolBarArtShowDropDown _obj _wnd _items
= withIntResult $
withObjectRef "auiToolBarArtShowDropDown" _obj $ \cobj__obj ->
withObjectPtr _wnd $ \cobj__wnd ->
withObjectPtr _items $ \cobj__items ->
wxAuiToolBarArt_ShowDropDown cobj__obj cobj__wnd cobj__items
foreign import ccall "wxAuiToolBarArt_ShowDropDown" wxAuiToolBarArt_ShowDropDown :: Ptr (TAuiToolBarArt a) -> Ptr (TWindow b) -> Ptr (TAuiToolBarItemArray c) -> IO CInt
auiToolBarClear :: AuiToolBar a -> IO ()
auiToolBarClear _obj
= withObjectRef "auiToolBarClear" _obj $ \cobj__obj ->
wxAuiToolBar_Clear cobj__obj
foreign import ccall "wxAuiToolBar_Clear" wxAuiToolBar_Clear :: Ptr (TAuiToolBar a) -> IO ()
auiToolBarClearTools :: AuiToolBar a -> IO ()
auiToolBarClearTools _obj
= withObjectRef "auiToolBarClearTools" _obj $ \cobj__obj ->
wxAuiToolBar_ClearTools cobj__obj
foreign import ccall "wxAuiToolBar_ClearTools" wxAuiToolBar_ClearTools :: Ptr (TAuiToolBar a) -> IO ()
auiToolBarCreate :: Window a -> Id -> Point -> Size -> Int -> IO (AuiToolBar ())
auiToolBarCreate _parent id xy _widthheight style
= withObjectResult $
withObjectPtr _parent $ \cobj__parent ->
wxAuiToolBar_Create cobj__parent (toCInt id) (toCIntPointX xy) (toCIntPointY xy) (toCIntSizeW _widthheight) (toCIntSizeH _widthheight) (toCInt style)
foreign import ccall "wxAuiToolBar_Create" wxAuiToolBar_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TAuiToolBar ()))
auiToolBarCreateDefault :: IO (AuiToolBar ())
auiToolBarCreateDefault
= withObjectResult $
wxAuiToolBar_CreateDefault
foreign import ccall "wxAuiToolBar_CreateDefault" wxAuiToolBar_CreateDefault :: IO (Ptr (TAuiToolBar ()))
auiToolBarCreateFromDefault :: AuiToolBar a -> Window b -> Id -> Point -> Size -> Int -> IO Bool
auiToolBarCreateFromDefault _obj _parent id xy _widthheight style
= withBoolResult $
withObjectRef "auiToolBarCreateFromDefault" _obj $ \cobj__obj ->
withObjectPtr _parent $ \cobj__parent ->
wxAuiToolBar_CreateFromDefault cobj__obj cobj__parent (toCInt id) (toCIntPointX xy) (toCIntPointY xy) (toCIntSizeW _widthheight) (toCIntSizeH _widthheight) (toCInt style)
foreign import ccall "wxAuiToolBar_CreateFromDefault" wxAuiToolBar_CreateFromDefault :: Ptr (TAuiToolBar a) -> Ptr (TWindow b) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO CBool
auiToolBarDelete :: AuiToolBar a -> IO ()
auiToolBarDelete
= objectDelete
auiToolBarDeleteByIndex :: AuiToolBar a -> Int -> IO Bool
auiToolBarDeleteByIndex _obj toolid
= withBoolResult $
withObjectRef "auiToolBarDeleteByIndex" _obj $ \cobj__obj ->
wxAuiToolBar_DeleteByIndex cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_DeleteByIndex" wxAuiToolBar_DeleteByIndex :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
auiToolBarDeleteTool :: AuiToolBar a -> Int -> IO Bool
auiToolBarDeleteTool _obj toolid
= withBoolResult $
withObjectRef "auiToolBarDeleteTool" _obj $ \cobj__obj ->
wxAuiToolBar_DeleteTool cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_DeleteTool" wxAuiToolBar_DeleteTool :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
auiToolBarEnableTool :: AuiToolBar a -> Int -> Bool -> IO ()
auiToolBarEnableTool _obj toolid state
= withObjectRef "auiToolBarEnableTool" _obj $ \cobj__obj ->
wxAuiToolBar_EnableTool cobj__obj (toCInt toolid) (toCBool state)
foreign import ccall "wxAuiToolBar_EnableTool" wxAuiToolBar_EnableTool :: Ptr (TAuiToolBar a) -> CInt -> CBool -> IO ()
auiToolBarEventGetClickPoint :: AuiToolBarEvent a -> IO (Point)
auiToolBarEventGetClickPoint _obj
= withWxPointResult $
withObjectRef "auiToolBarEventGetClickPoint" _obj $ \cobj__obj ->
wxAuiToolBarEvent_GetClickPoint cobj__obj
foreign import ccall "wxAuiToolBarEvent_GetClickPoint" wxAuiToolBarEvent_GetClickPoint :: Ptr (TAuiToolBarEvent a) -> IO (Ptr (TWxPoint ()))
auiToolBarEventGetItemRect :: AuiToolBarEvent a -> IO (Rect)
auiToolBarEventGetItemRect _obj
= withWxRectResult $
withObjectRef "auiToolBarEventGetItemRect" _obj $ \cobj__obj ->
wxAuiToolBarEvent_GetItemRect cobj__obj
foreign import ccall "wxAuiToolBarEvent_GetItemRect" wxAuiToolBarEvent_GetItemRect :: Ptr (TAuiToolBarEvent a) -> IO (Ptr (TWxRect ()))
auiToolBarEventGetToolId :: AuiToolBarEvent a -> IO Int
auiToolBarEventGetToolId _obj
= withIntResult $
withObjectRef "auiToolBarEventGetToolId" _obj $ \cobj__obj ->
wxAuiToolBarEvent_GetToolId cobj__obj
foreign import ccall "wxAuiToolBarEvent_GetToolId" wxAuiToolBarEvent_GetToolId :: Ptr (TAuiToolBarEvent a) -> IO CInt
auiToolBarEventIsDropDownClicked :: AuiToolBarEvent a -> IO Bool
auiToolBarEventIsDropDownClicked _obj
= withBoolResult $
withObjectRef "auiToolBarEventIsDropDownClicked" _obj $ \cobj__obj ->
wxAuiToolBarEvent_IsDropDownClicked cobj__obj
foreign import ccall "wxAuiToolBarEvent_IsDropDownClicked" wxAuiToolBarEvent_IsDropDownClicked :: Ptr (TAuiToolBarEvent a) -> IO CBool
auiToolBarFindControl :: AuiToolBar a -> Int -> IO (Control ())
auiToolBarFindControl _obj windowid
= withObjectResult $
withObjectRef "auiToolBarFindControl" _obj $ \cobj__obj ->
wxAuiToolBar_FindControl cobj__obj (toCInt windowid)
foreign import ccall "wxAuiToolBar_FindControl" wxAuiToolBar_FindControl :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TControl ()))
auiToolBarFindTool :: AuiToolBar a -> Int -> IO (AuiToolBarItem ())
auiToolBarFindTool _obj toolid
= withObjectResult $
withObjectRef "auiToolBarFindTool" _obj $ \cobj__obj ->
wxAuiToolBar_FindTool cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_FindTool" wxAuiToolBar_FindTool :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarFindToolByIndex :: AuiToolBar a -> Int -> IO (AuiToolBarItem ())
auiToolBarFindToolByIndex _obj idx
= withObjectResult $
withObjectRef "auiToolBarFindToolByIndex" _obj $ \cobj__obj ->
wxAuiToolBar_FindToolByIndex cobj__obj (toCInt idx)
foreign import ccall "wxAuiToolBar_FindToolByIndex" wxAuiToolBar_FindToolByIndex :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarFindToolByPosition :: AuiToolBar a -> Point -> IO (AuiToolBarItem ())
auiToolBarFindToolByPosition _obj xy
= withObjectResult $
withObjectRef "auiToolBarFindToolByPosition" _obj $ \cobj__obj ->
wxAuiToolBar_FindToolByPosition cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxAuiToolBar_FindToolByPosition" wxAuiToolBar_FindToolByPosition :: Ptr (TAuiToolBar a) -> CInt -> CInt -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarGetArtProvider :: AuiToolBar a -> IO (AuiToolBarArt ())
auiToolBarGetArtProvider _obj
= withObjectResult $
withObjectRef "auiToolBarGetArtProvider" _obj $ \cobj__obj ->
wxAuiToolBar_GetArtProvider cobj__obj
foreign import ccall "wxAuiToolBar_GetArtProvider" wxAuiToolBar_GetArtProvider :: Ptr (TAuiToolBar a) -> IO (Ptr (TAuiToolBarArt ()))
auiToolBarGetGripperVisible :: AuiToolBar a -> IO Bool
auiToolBarGetGripperVisible _obj
= withBoolResult $
withObjectRef "auiToolBarGetGripperVisible" _obj $ \cobj__obj ->
wxAuiToolBar_GetGripperVisible cobj__obj
foreign import ccall "wxAuiToolBar_GetGripperVisible" wxAuiToolBar_GetGripperVisible :: Ptr (TAuiToolBar a) -> IO CBool
auiToolBarGetHintSize :: AuiToolBar a -> Int -> IO (Size)
auiToolBarGetHintSize _obj dockdirection
= withWxSizeResult $
withObjectRef "auiToolBarGetHintSize" _obj $ \cobj__obj ->
wxAuiToolBar_GetHintSize cobj__obj (toCInt dockdirection)
foreign import ccall "wxAuiToolBar_GetHintSize" wxAuiToolBar_GetHintSize :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TWxSize ()))
auiToolBarGetOverflowVisible :: AuiToolBar a -> IO Bool
auiToolBarGetOverflowVisible _obj
= withBoolResult $
withObjectRef "auiToolBarGetOverflowVisible" _obj $ \cobj__obj ->
wxAuiToolBar_GetOverflowVisible cobj__obj
foreign import ccall "wxAuiToolBar_GetOverflowVisible" wxAuiToolBar_GetOverflowVisible :: Ptr (TAuiToolBar a) -> IO CBool
auiToolBarGetToolBarFits :: AuiToolBar a -> IO Bool
auiToolBarGetToolBarFits _obj
= withBoolResult $
withObjectRef "auiToolBarGetToolBarFits" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolBarFits cobj__obj
foreign import ccall "wxAuiToolBar_GetToolBarFits" wxAuiToolBar_GetToolBarFits :: Ptr (TAuiToolBar a) -> IO CBool
auiToolBarGetToolBitmap :: AuiToolBar a -> Int -> IO (Bitmap ())
auiToolBarGetToolBitmap _obj toolid
= withRefBitmap $ \pref ->
withObjectRef "auiToolBarGetToolBitmap" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolBitmap cobj__obj (toCInt toolid) pref
foreign import ccall "wxAuiToolBar_GetToolBitmap" wxAuiToolBar_GetToolBitmap :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TBitmap ()) -> IO ()
auiToolBarGetToolBitmapSize :: AuiToolBar a -> IO (Size)
auiToolBarGetToolBitmapSize _obj
= withWxSizeResult $
withObjectRef "auiToolBarGetToolBitmapSize" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolBitmapSize cobj__obj
foreign import ccall "wxAuiToolBar_GetToolBitmapSize" wxAuiToolBar_GetToolBitmapSize :: Ptr (TAuiToolBar a) -> IO (Ptr (TWxSize ()))
auiToolBarGetToolBorderPadding :: AuiToolBar a -> IO Int
auiToolBarGetToolBorderPadding _obj
= withIntResult $
withObjectRef "auiToolBarGetToolBorderPadding" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolBorderPadding cobj__obj
foreign import ccall "wxAuiToolBar_GetToolBorderPadding" wxAuiToolBar_GetToolBorderPadding :: Ptr (TAuiToolBar a) -> IO CInt
auiToolBarGetToolCount :: AuiToolBar a -> IO Int
auiToolBarGetToolCount _obj
= withIntResult $
withObjectRef "auiToolBarGetToolCount" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolCount cobj__obj
foreign import ccall "wxAuiToolBar_GetToolCount" wxAuiToolBar_GetToolCount :: Ptr (TAuiToolBar a) -> IO CInt
auiToolBarGetToolDropDown :: AuiToolBar a -> Int -> IO Bool
auiToolBarGetToolDropDown _obj toolid
= withBoolResult $
withObjectRef "auiToolBarGetToolDropDown" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolDropDown cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_GetToolDropDown" wxAuiToolBar_GetToolDropDown :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
auiToolBarGetToolEnabled :: AuiToolBar a -> Int -> IO Bool
auiToolBarGetToolEnabled _obj toolid
= withBoolResult $
withObjectRef "auiToolBarGetToolEnabled" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolEnabled cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_GetToolEnabled" wxAuiToolBar_GetToolEnabled :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
auiToolBarGetToolFits :: AuiToolBar a -> Int -> IO Bool
auiToolBarGetToolFits _obj toolid
= withBoolResult $
withObjectRef "auiToolBarGetToolFits" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolFits cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_GetToolFits" wxAuiToolBar_GetToolFits :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
auiToolBarGetToolFitsByIndex :: AuiToolBar a -> Int -> IO Bool
auiToolBarGetToolFitsByIndex _obj toolid
= withBoolResult $
withObjectRef "auiToolBarGetToolFitsByIndex" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolFitsByIndex cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_GetToolFitsByIndex" wxAuiToolBar_GetToolFitsByIndex :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
auiToolBarGetToolIndex :: AuiToolBar a -> Int -> IO Int
auiToolBarGetToolIndex _obj toolid
= withIntResult $
withObjectRef "auiToolBarGetToolIndex" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolIndex cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_GetToolIndex" wxAuiToolBar_GetToolIndex :: Ptr (TAuiToolBar a) -> CInt -> IO CInt
auiToolBarGetToolLabel :: AuiToolBar a -> Int -> IO (String)
auiToolBarGetToolLabel _obj toolid
= withManagedStringResult $
withObjectRef "auiToolBarGetToolLabel" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolLabel cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_GetToolLabel" wxAuiToolBar_GetToolLabel :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TWxString ()))
auiToolBarGetToolLongHelp :: AuiToolBar a -> Int -> IO (String)
auiToolBarGetToolLongHelp _obj toolid
= withManagedStringResult $
withObjectRef "auiToolBarGetToolLongHelp" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolLongHelp cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_GetToolLongHelp" wxAuiToolBar_GetToolLongHelp :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TWxString ()))
auiToolBarGetToolPacking :: AuiToolBar a -> IO Int
auiToolBarGetToolPacking _obj
= withIntResult $
withObjectRef "auiToolBarGetToolPacking" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolPacking cobj__obj
foreign import ccall "wxAuiToolBar_GetToolPacking" wxAuiToolBar_GetToolPacking :: Ptr (TAuiToolBar a) -> IO CInt
auiToolBarGetToolPos :: AuiToolBar a -> Int -> IO Int
auiToolBarGetToolPos _obj toolid
= withIntResult $
withObjectRef "auiToolBarGetToolPos" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolPos cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_GetToolPos" wxAuiToolBar_GetToolPos :: Ptr (TAuiToolBar a) -> CInt -> IO CInt
auiToolBarGetToolProportion :: AuiToolBar a -> Int -> IO Int
auiToolBarGetToolProportion _obj toolid
= withIntResult $
withObjectRef "auiToolBarGetToolProportion" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolProportion cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_GetToolProportion" wxAuiToolBar_GetToolProportion :: Ptr (TAuiToolBar a) -> CInt -> IO CInt
auiToolBarGetToolRect :: AuiToolBar a -> Int -> IO (Rect)
auiToolBarGetToolRect _obj toolid
= withWxRectResult $
withObjectRef "auiToolBarGetToolRect" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolRect cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_GetToolRect" wxAuiToolBar_GetToolRect :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TWxRect ()))
auiToolBarGetToolSeparation :: AuiToolBar a -> IO Int
auiToolBarGetToolSeparation _obj
= withIntResult $
withObjectRef "auiToolBarGetToolSeparation" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolSeparation cobj__obj
foreign import ccall "wxAuiToolBar_GetToolSeparation" wxAuiToolBar_GetToolSeparation :: Ptr (TAuiToolBar a) -> IO CInt
auiToolBarGetToolShortHelp :: AuiToolBar a -> Int -> IO (String)
auiToolBarGetToolShortHelp _obj toolid
= withManagedStringResult $
withObjectRef "auiToolBarGetToolShortHelp" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolShortHelp cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_GetToolShortHelp" wxAuiToolBar_GetToolShortHelp :: Ptr (TAuiToolBar a) -> CInt -> IO (Ptr (TWxString ()))
auiToolBarGetToolSticky :: AuiToolBar a -> Int -> IO Bool
auiToolBarGetToolSticky _obj toolid
= withBoolResult $
withObjectRef "auiToolBarGetToolSticky" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolSticky cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_GetToolSticky" wxAuiToolBar_GetToolSticky :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
auiToolBarGetToolTextOrientation :: AuiToolBar a -> IO Int
auiToolBarGetToolTextOrientation _obj
= withIntResult $
withObjectRef "auiToolBarGetToolTextOrientation" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolTextOrientation cobj__obj
foreign import ccall "wxAuiToolBar_GetToolTextOrientation" wxAuiToolBar_GetToolTextOrientation :: Ptr (TAuiToolBar a) -> IO CInt
auiToolBarGetToolToggled :: AuiToolBar a -> Int -> IO Bool
auiToolBarGetToolToggled _obj toolid
= withBoolResult $
withObjectRef "auiToolBarGetToolToggled" _obj $ \cobj__obj ->
wxAuiToolBar_GetToolToggled cobj__obj (toCInt toolid)
foreign import ccall "wxAuiToolBar_GetToolToggled" wxAuiToolBar_GetToolToggled :: Ptr (TAuiToolBar a) -> CInt -> IO CBool
auiToolBarGetWindowStyleFlag :: AuiToolBar a -> IO Int
auiToolBarGetWindowStyleFlag _obj
= withIntResult $
withObjectRef "auiToolBarGetWindowStyleFlag" _obj $ \cobj__obj ->
wxAuiToolBar_GetWindowStyleFlag cobj__obj
foreign import ccall "wxAuiToolBar_GetWindowStyleFlag" wxAuiToolBar_GetWindowStyleFlag :: Ptr (TAuiToolBar a) -> IO CInt
auiToolBarIsPaneValid :: AuiToolBar a -> AuiPaneInfo b -> IO Bool
auiToolBarIsPaneValid _obj _pane
= withBoolResult $
withObjectRef "auiToolBarIsPaneValid" _obj $ \cobj__obj ->
withObjectPtr _pane $ \cobj__pane ->
wxAuiToolBar_IsPaneValid cobj__obj cobj__pane
foreign import ccall "wxAuiToolBar_IsPaneValid" wxAuiToolBar_IsPaneValid :: Ptr (TAuiToolBar a) -> Ptr (TAuiPaneInfo b) -> IO CBool
auiToolBarItemArrayCreate :: IO (AuiToolBarItemArray ())
auiToolBarItemArrayCreate
= withObjectResult $
wxAuiToolBarItemArray_Create
foreign import ccall "wxAuiToolBarItemArray_Create" wxAuiToolBarItemArray_Create :: IO (Ptr (TAuiToolBarItemArray ()))
auiToolBarItemArrayDelete :: AuiToolBarItemArray a -> IO ()
auiToolBarItemArrayDelete _obj
= withObjectRef "auiToolBarItemArrayDelete" _obj $ \cobj__obj ->
wxAuiToolBarItemArray_Delete cobj__obj
foreign import ccall "wxAuiToolBarItemArray_Delete" wxAuiToolBarItemArray_Delete :: Ptr (TAuiToolBarItemArray a) -> IO ()
auiToolBarItemArrayGetCount :: AuiToolBarItemArray a -> IO Int
auiToolBarItemArrayGetCount _obj
= withIntResult $
withObjectRef "auiToolBarItemArrayGetCount" _obj $ \cobj__obj ->
wxAuiToolBarItemArray_GetCount cobj__obj
foreign import ccall "wxAuiToolBarItemArray_GetCount" wxAuiToolBarItemArray_GetCount :: Ptr (TAuiToolBarItemArray a) -> IO CInt
auiToolBarItemArrayItem :: AuiToolBarItemArray a -> Int -> IO (AuiToolBarItem ())
auiToolBarItemArrayItem _obj _idx
= withObjectResult $
withObjectRef "auiToolBarItemArrayItem" _obj $ \cobj__obj ->
wxAuiToolBarItemArray_Item cobj__obj (toCInt _idx)
foreign import ccall "wxAuiToolBarItemArray_Item" wxAuiToolBarItemArray_Item :: Ptr (TAuiToolBarItemArray a) -> CInt -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarItemAssign :: AuiToolBarItem a -> AuiToolBarItem b -> IO ()
auiToolBarItemAssign _obj _c
= withObjectRef "auiToolBarItemAssign" _obj $ \cobj__obj ->
withObjectPtr _c $ \cobj__c ->
wxAuiToolBarItem_Assign cobj__obj cobj__c
foreign import ccall "wxAuiToolBarItem_Assign" wxAuiToolBarItem_Assign :: Ptr (TAuiToolBarItem a) -> Ptr (TAuiToolBarItem b) -> IO ()
auiToolBarItemCopy :: AuiToolBarItem a -> AuiToolBarItem b -> IO (AuiToolBarItem ())
auiToolBarItemCopy _obj _c
= withObjectResult $
withObjectRef "auiToolBarItemCopy" _obj $ \cobj__obj ->
withObjectPtr _c $ \cobj__c ->
wxAuiToolBarItem_Copy cobj__obj cobj__c
foreign import ccall "wxAuiToolBarItem_Copy" wxAuiToolBarItem_Copy :: Ptr (TAuiToolBarItem a) -> Ptr (TAuiToolBarItem b) -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarItemCreate :: AuiToolBarItem a -> IO (AuiToolBarItem ())
auiToolBarItemCreate _c
= withObjectResult $
withObjectPtr _c $ \cobj__c ->
wxAuiToolBarItem_Create cobj__c
foreign import ccall "wxAuiToolBarItem_Create" wxAuiToolBarItem_Create :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TAuiToolBarItem ()))
auiToolBarItemCreateDefault :: IO (AuiToolBarItem ())
auiToolBarItemCreateDefault
= withObjectResult $
wxAuiToolBarItem_CreateDefault
foreign import ccall "wxAuiToolBarItem_CreateDefault" wxAuiToolBarItem_CreateDefault :: IO (Ptr (TAuiToolBarItem ()))
auiToolBarItemGetAlignment :: AuiToolBarItem a -> IO Int
auiToolBarItemGetAlignment _obj
= withIntResult $
withObjectRef "auiToolBarItemGetAlignment" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetAlignment cobj__obj
foreign import ccall "wxAuiToolBarItem_GetAlignment" wxAuiToolBarItem_GetAlignment :: Ptr (TAuiToolBarItem a) -> IO CInt
auiToolBarItemGetBitmap :: AuiToolBarItem a -> IO (Bitmap ())
auiToolBarItemGetBitmap _obj
= withRefBitmap $ \pref ->
withObjectRef "auiToolBarItemGetBitmap" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetBitmap cobj__obj pref
foreign import ccall "wxAuiToolBarItem_GetBitmap" wxAuiToolBarItem_GetBitmap :: Ptr (TAuiToolBarItem a) -> Ptr (TBitmap ()) -> IO ()
auiToolBarItemGetDisabledBitmap :: AuiToolBarItem a -> IO (Bitmap ())
auiToolBarItemGetDisabledBitmap _obj
= withRefBitmap $ \pref ->
withObjectRef "auiToolBarItemGetDisabledBitmap" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetDisabledBitmap cobj__obj pref
foreign import ccall "wxAuiToolBarItem_GetDisabledBitmap" wxAuiToolBarItem_GetDisabledBitmap :: Ptr (TAuiToolBarItem a) -> Ptr (TBitmap ()) -> IO ()
auiToolBarItemGetHoverBitmap :: AuiToolBarItem a -> IO (Bitmap ())
auiToolBarItemGetHoverBitmap _obj
= withRefBitmap $ \pref ->
withObjectRef "auiToolBarItemGetHoverBitmap" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetHoverBitmap cobj__obj pref
foreign import ccall "wxAuiToolBarItem_GetHoverBitmap" wxAuiToolBarItem_GetHoverBitmap :: Ptr (TAuiToolBarItem a) -> Ptr (TBitmap ()) -> IO ()
auiToolBarItemGetId :: AuiToolBarItem a -> IO Int
auiToolBarItemGetId _obj
= withIntResult $
withObjectRef "auiToolBarItemGetId" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetId cobj__obj
foreign import ccall "wxAuiToolBarItem_GetId" wxAuiToolBarItem_GetId :: Ptr (TAuiToolBarItem a) -> IO CInt
auiToolBarItemGetKind :: AuiToolBarItem a -> IO Int
auiToolBarItemGetKind _obj
= withIntResult $
withObjectRef "auiToolBarItemGetKind" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetKind cobj__obj
foreign import ccall "wxAuiToolBarItem_GetKind" wxAuiToolBarItem_GetKind :: Ptr (TAuiToolBarItem a) -> IO CInt
auiToolBarItemGetLabel :: AuiToolBarItem a -> IO (String)
auiToolBarItemGetLabel _obj
= withManagedStringResult $
withObjectRef "auiToolBarItemGetLabel" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetLabel cobj__obj
foreign import ccall "wxAuiToolBarItem_GetLabel" wxAuiToolBarItem_GetLabel :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TWxString ()))
auiToolBarItemGetLongHelp :: AuiToolBarItem a -> IO (String)
auiToolBarItemGetLongHelp _obj
= withManagedStringResult $
withObjectRef "auiToolBarItemGetLongHelp" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetLongHelp cobj__obj
foreign import ccall "wxAuiToolBarItem_GetLongHelp" wxAuiToolBarItem_GetLongHelp :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TWxString ()))
auiToolBarItemGetMinSize :: AuiToolBarItem a -> IO (Size)
auiToolBarItemGetMinSize _obj
= withWxSizeResult $
withObjectRef "auiToolBarItemGetMinSize" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetMinSize cobj__obj
foreign import ccall "wxAuiToolBarItem_GetMinSize" wxAuiToolBarItem_GetMinSize :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TWxSize ()))
auiToolBarItemGetProportion :: AuiToolBarItem a -> IO Int
auiToolBarItemGetProportion _obj
= withIntResult $
withObjectRef "auiToolBarItemGetProportion" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetProportion cobj__obj
foreign import ccall "wxAuiToolBarItem_GetProportion" wxAuiToolBarItem_GetProportion :: Ptr (TAuiToolBarItem a) -> IO CInt
auiToolBarItemGetShortHelp :: AuiToolBarItem a -> IO (String)
auiToolBarItemGetShortHelp _obj
= withManagedStringResult $
withObjectRef "auiToolBarItemGetShortHelp" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetShortHelp cobj__obj
foreign import ccall "wxAuiToolBarItem_GetShortHelp" wxAuiToolBarItem_GetShortHelp :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TWxString ()))
auiToolBarItemGetSizerItem :: AuiToolBarItem a -> IO (SizerItem ())
auiToolBarItemGetSizerItem _obj
= withObjectResult $
withObjectRef "auiToolBarItemGetSizerItem" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetSizerItem cobj__obj
foreign import ccall "wxAuiToolBarItem_GetSizerItem" wxAuiToolBarItem_GetSizerItem :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TSizerItem ()))
auiToolBarItemGetSpacerPixels :: AuiToolBarItem a -> IO Int
auiToolBarItemGetSpacerPixels _obj
= withIntResult $
withObjectRef "auiToolBarItemGetSpacerPixels" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetSpacerPixels cobj__obj
foreign import ccall "wxAuiToolBarItem_GetSpacerPixels" wxAuiToolBarItem_GetSpacerPixels :: Ptr (TAuiToolBarItem a) -> IO CInt
auiToolBarItemGetState :: AuiToolBarItem a -> IO Int
auiToolBarItemGetState _obj
= withIntResult $
withObjectRef "auiToolBarItemGetState" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetState cobj__obj
foreign import ccall "wxAuiToolBarItem_GetState" wxAuiToolBarItem_GetState :: Ptr (TAuiToolBarItem a) -> IO CInt
auiToolBarItemGetUserData :: AuiToolBarItem a -> IO Int
auiToolBarItemGetUserData _obj
= withIntResult $
withObjectRef "auiToolBarItemGetUserData" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetUserData cobj__obj
foreign import ccall "wxAuiToolBarItem_GetUserData" wxAuiToolBarItem_GetUserData :: Ptr (TAuiToolBarItem a) -> IO CInt
auiToolBarItemGetWindow :: AuiToolBarItem a -> IO (Window ())
auiToolBarItemGetWindow _obj
= withObjectResult $
withObjectRef "auiToolBarItemGetWindow" _obj $ \cobj__obj ->
wxAuiToolBarItem_GetWindow cobj__obj
foreign import ccall "wxAuiToolBarItem_GetWindow" wxAuiToolBarItem_GetWindow :: Ptr (TAuiToolBarItem a) -> IO (Ptr (TWindow ()))
auiToolBarItemHasDropDown :: AuiToolBarItem a -> IO Bool
auiToolBarItemHasDropDown _obj
= withBoolResult $
withObjectRef "auiToolBarItemHasDropDown" _obj $ \cobj__obj ->
wxAuiToolBarItem_HasDropDown cobj__obj
foreign import ccall "wxAuiToolBarItem_HasDropDown" wxAuiToolBarItem_HasDropDown :: Ptr (TAuiToolBarItem a) -> IO CBool
auiToolBarItemIsActive :: AuiToolBarItem a -> IO Bool
auiToolBarItemIsActive _obj
= withBoolResult $
withObjectRef "auiToolBarItemIsActive" _obj $ \cobj__obj ->
wxAuiToolBarItem_IsActive cobj__obj
foreign import ccall "wxAuiToolBarItem_IsActive" wxAuiToolBarItem_IsActive :: Ptr (TAuiToolBarItem a) -> IO CBool
auiToolBarItemIsSticky :: AuiToolBarItem a -> IO Bool
auiToolBarItemIsSticky _obj
= withBoolResult $
withObjectRef "auiToolBarItemIsSticky" _obj $ \cobj__obj ->
wxAuiToolBarItem_IsSticky cobj__obj
foreign import ccall "wxAuiToolBarItem_IsSticky" wxAuiToolBarItem_IsSticky :: Ptr (TAuiToolBarItem a) -> IO CBool
auiToolBarItemSetActive :: AuiToolBarItem a -> Bool -> IO ()
auiToolBarItemSetActive _obj b
= withObjectRef "auiToolBarItemSetActive" _obj $ \cobj__obj ->
wxAuiToolBarItem_SetActive cobj__obj (toCBool b)
foreign import ccall "wxAuiToolBarItem_SetActive" wxAuiToolBarItem_SetActive :: Ptr (TAuiToolBarItem a) -> CBool -> IO ()
auiToolBarItemSetAlignment :: AuiToolBarItem a -> Int -> IO ()
auiToolBarItemSetAlignment _obj l
= withObjectRef "auiToolBarItemSetAlignment" _obj $ \cobj__obj ->
wxAuiToolBarItem_SetAlignment cobj__obj (toCInt l)
foreign import ccall "wxAuiToolBarItem_SetAlignment" wxAuiToolBarItem_SetAlignment :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
auiToolBarItemSetBitmap :: AuiToolBarItem a -> Bitmap b -> IO ()
auiToolBarItemSetBitmap _obj _bmp
= withObjectRef "auiToolBarItemSetBitmap" _obj $ \cobj__obj ->
withObjectPtr _bmp $ \cobj__bmp ->
wxAuiToolBarItem_SetBitmap cobj__obj cobj__bmp
foreign import ccall "wxAuiToolBarItem_SetBitmap" wxAuiToolBarItem_SetBitmap :: Ptr (TAuiToolBarItem a) -> Ptr (TBitmap b) -> IO ()
auiToolBarItemSetDisabledBitmap :: AuiToolBarItem a -> Bitmap b -> IO ()
auiToolBarItemSetDisabledBitmap _obj _bmp
= withObjectRef "auiToolBarItemSetDisabledBitmap" _obj $ \cobj__obj ->
withObjectPtr _bmp $ \cobj__bmp ->
wxAuiToolBarItem_SetDisabledBitmap cobj__obj cobj__bmp
foreign import ccall "wxAuiToolBarItem_SetDisabledBitmap" wxAuiToolBarItem_SetDisabledBitmap :: Ptr (TAuiToolBarItem a) -> Ptr (TBitmap b) -> IO ()
auiToolBarItemSetHasDropDown :: AuiToolBarItem a -> Bool -> IO ()
auiToolBarItemSetHasDropDown _obj b
= withObjectRef "auiToolBarItemSetHasDropDown" _obj $ \cobj__obj ->
wxAuiToolBarItem_SetHasDropDown cobj__obj (toCBool b)
foreign import ccall "wxAuiToolBarItem_SetHasDropDown" wxAuiToolBarItem_SetHasDropDown :: Ptr (TAuiToolBarItem a) -> CBool -> IO ()
auiToolBarItemSetHoverBitmap :: AuiToolBarItem a -> Bitmap b -> IO ()
auiToolBarItemSetHoverBitmap _obj _bmp
= withObjectRef "auiToolBarItemSetHoverBitmap" _obj $ \cobj__obj ->
withObjectPtr _bmp $ \cobj__bmp ->
wxAuiToolBarItem_SetHoverBitmap cobj__obj cobj__bmp
foreign import ccall "wxAuiToolBarItem_SetHoverBitmap" wxAuiToolBarItem_SetHoverBitmap :: Ptr (TAuiToolBarItem a) -> Ptr (TBitmap b) -> IO ()
auiToolBarItemSetId :: AuiToolBarItem a -> Int -> IO ()
auiToolBarItemSetId _obj newid
= withObjectRef "auiToolBarItemSetId" _obj $ \cobj__obj ->
wxAuiToolBarItem_SetId cobj__obj (toCInt newid)
foreign import ccall "wxAuiToolBarItem_SetId" wxAuiToolBarItem_SetId :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
auiToolBarItemSetKind :: AuiToolBarItem a -> Int -> IO ()
auiToolBarItemSetKind _obj newkind
= withObjectRef "auiToolBarItemSetKind" _obj $ \cobj__obj ->
wxAuiToolBarItem_SetKind cobj__obj (toCInt newkind)
foreign import ccall "wxAuiToolBarItem_SetKind" wxAuiToolBarItem_SetKind :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
auiToolBarItemSetLabel :: AuiToolBarItem a -> String -> IO ()
auiToolBarItemSetLabel _obj _s
= withObjectRef "auiToolBarItemSetLabel" _obj $ \cobj__obj ->
withStringPtr _s $ \cobj__s ->
wxAuiToolBarItem_SetLabel cobj__obj cobj__s
foreign import ccall "wxAuiToolBarItem_SetLabel" wxAuiToolBarItem_SetLabel :: Ptr (TAuiToolBarItem a) -> Ptr (TWxString b) -> IO ()
auiToolBarItemSetLongHelp :: AuiToolBarItem a -> String -> IO ()
auiToolBarItemSetLongHelp _obj _s
= withObjectRef "auiToolBarItemSetLongHelp" _obj $ \cobj__obj ->
withStringPtr _s $ \cobj__s ->
wxAuiToolBarItem_SetLongHelp cobj__obj cobj__s
foreign import ccall "wxAuiToolBarItem_SetLongHelp" wxAuiToolBarItem_SetLongHelp :: Ptr (TAuiToolBarItem a) -> Ptr (TWxString b) -> IO ()
auiToolBarItemSetMinSize :: AuiToolBarItem a -> Size -> IO ()
auiToolBarItemSetMinSize _obj _widthheight
= withObjectRef "auiToolBarItemSetMinSize" _obj $ \cobj__obj ->
wxAuiToolBarItem_SetMinSize cobj__obj (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)
foreign import ccall "wxAuiToolBarItem_SetMinSize" wxAuiToolBarItem_SetMinSize :: Ptr (TAuiToolBarItem a) -> CInt -> CInt -> IO ()
auiToolBarItemSetProportion :: AuiToolBarItem a -> Int -> IO ()
auiToolBarItemSetProportion _obj p
= withObjectRef "auiToolBarItemSetProportion" _obj $ \cobj__obj ->
wxAuiToolBarItem_SetProportion cobj__obj (toCInt p)
foreign import ccall "wxAuiToolBarItem_SetProportion" wxAuiToolBarItem_SetProportion :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
auiToolBarItemSetShortHelp :: AuiToolBarItem a -> String -> IO ()
auiToolBarItemSetShortHelp _obj _s
= withObjectRef "auiToolBarItemSetShortHelp" _obj $ \cobj__obj ->
withStringPtr _s $ \cobj__s ->
wxAuiToolBarItem_SetShortHelp cobj__obj cobj__s
foreign import ccall "wxAuiToolBarItem_SetShortHelp" wxAuiToolBarItem_SetShortHelp :: Ptr (TAuiToolBarItem a) -> Ptr (TWxString b) -> IO ()
auiToolBarItemSetSizerItem :: AuiToolBarItem a -> SizerItem b -> IO ()
auiToolBarItemSetSizerItem _obj _s
= withObjectRef "auiToolBarItemSetSizerItem" _obj $ \cobj__obj ->
withObjectPtr _s $ \cobj__s ->
wxAuiToolBarItem_SetSizerItem cobj__obj cobj__s
foreign import ccall "wxAuiToolBarItem_SetSizerItem" wxAuiToolBarItem_SetSizerItem :: Ptr (TAuiToolBarItem a) -> Ptr (TSizerItem b) -> IO ()
auiToolBarItemSetSpacerPixels :: AuiToolBarItem a -> Int -> IO ()
auiToolBarItemSetSpacerPixels _obj s
= withObjectRef "auiToolBarItemSetSpacerPixels" _obj $ \cobj__obj ->
wxAuiToolBarItem_SetSpacerPixels cobj__obj (toCInt s)
foreign import ccall "wxAuiToolBarItem_SetSpacerPixels" wxAuiToolBarItem_SetSpacerPixels :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
auiToolBarItemSetState :: AuiToolBarItem a -> Int -> IO ()
auiToolBarItemSetState _obj newstate
= withObjectRef "auiToolBarItemSetState" _obj $ \cobj__obj ->
wxAuiToolBarItem_SetState cobj__obj (toCInt newstate)
foreign import ccall "wxAuiToolBarItem_SetState" wxAuiToolBarItem_SetState :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
auiToolBarItemSetSticky :: AuiToolBarItem a -> Bool -> IO ()
auiToolBarItemSetSticky _obj b
= withObjectRef "auiToolBarItemSetSticky" _obj $ \cobj__obj ->
wxAuiToolBarItem_SetSticky cobj__obj (toCBool b)
foreign import ccall "wxAuiToolBarItem_SetSticky" wxAuiToolBarItem_SetSticky :: Ptr (TAuiToolBarItem a) -> CBool -> IO ()
auiToolBarItemSetUserData :: AuiToolBarItem a -> Int -> IO ()
auiToolBarItemSetUserData _obj l
= withObjectRef "auiToolBarItemSetUserData" _obj $ \cobj__obj ->
wxAuiToolBarItem_SetUserData cobj__obj (toCInt l)
foreign import ccall "wxAuiToolBarItem_SetUserData" wxAuiToolBarItem_SetUserData :: Ptr (TAuiToolBarItem a) -> CInt -> IO ()
auiToolBarItemSetWindow :: AuiToolBarItem a -> Window b -> IO ()
auiToolBarItemSetWindow _obj _w
= withObjectRef "auiToolBarItemSetWindow" _obj $ \cobj__obj ->
withObjectPtr _w $ \cobj__w ->
wxAuiToolBarItem_SetWindow cobj__obj cobj__w
foreign import ccall "wxAuiToolBarItem_SetWindow" wxAuiToolBarItem_SetWindow :: Ptr (TAuiToolBarItem a) -> Ptr (TWindow b) -> IO ()
auiToolBarRealize :: AuiToolBar a -> IO Bool
auiToolBarRealize _obj
= withBoolResult $
withObjectRef "auiToolBarRealize" _obj $ \cobj__obj ->
wxAuiToolBar_Realize cobj__obj
foreign import ccall "wxAuiToolBar_Realize" wxAuiToolBar_Realize :: Ptr (TAuiToolBar a) -> IO CBool
auiToolBarSetArtProvider :: AuiToolBar a -> AuiToolBarArt b -> IO ()
auiToolBarSetArtProvider _obj _art
= withObjectRef "auiToolBarSetArtProvider" _obj $ \cobj__obj ->
withObjectPtr _art $ \cobj__art ->
wxAuiToolBar_SetArtProvider cobj__obj cobj__art
foreign import ccall "wxAuiToolBar_SetArtProvider" wxAuiToolBar_SetArtProvider :: Ptr (TAuiToolBar a) -> Ptr (TAuiToolBarArt b) -> IO ()
auiToolBarSetCustomOverflowItems :: AuiToolBar a -> AuiToolBarItemArray b -> AuiToolBarItemArray c -> IO ()
auiToolBarSetCustomOverflowItems _obj _prepend _append
= withObjectRef "auiToolBarSetCustomOverflowItems" _obj $ \cobj__obj ->
withObjectPtr _prepend $ \cobj__prepend ->
withObjectPtr _append $ \cobj__append ->
wxAuiToolBar_SetCustomOverflowItems cobj__obj cobj__prepend cobj__append
foreign import ccall "wxAuiToolBar_SetCustomOverflowItems" wxAuiToolBar_SetCustomOverflowItems :: Ptr (TAuiToolBar a) -> Ptr (TAuiToolBarItemArray b) -> Ptr (TAuiToolBarItemArray c) -> IO ()
auiToolBarSetFont :: AuiToolBar a -> Font b -> IO Bool
auiToolBarSetFont _obj _font
= withBoolResult $
withObjectRef "auiToolBarSetFont" _obj $ \cobj__obj ->
withObjectPtr _font $ \cobj__font ->
wxAuiToolBar_SetFont cobj__obj cobj__font
foreign import ccall "wxAuiToolBar_SetFont" wxAuiToolBar_SetFont :: Ptr (TAuiToolBar a) -> Ptr (TFont b) -> IO CBool
auiToolBarSetGripperVisible :: AuiToolBar a -> Bool -> IO ()
auiToolBarSetGripperVisible _obj visible
= withObjectRef "auiToolBarSetGripperVisible" _obj $ \cobj__obj ->
wxAuiToolBar_SetGripperVisible cobj__obj (toCBool visible)
foreign import ccall "wxAuiToolBar_SetGripperVisible" wxAuiToolBar_SetGripperVisible :: Ptr (TAuiToolBar a) -> CBool -> IO ()
auiToolBarSetMargins :: AuiToolBar a -> Size -> IO ()
auiToolBarSetMargins _obj _widthheight
= withObjectRef "auiToolBarSetMargins" _obj $ \cobj__obj ->
wxAuiToolBar_SetMargins cobj__obj (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)
foreign import ccall "wxAuiToolBar_SetMargins" wxAuiToolBar_SetMargins :: Ptr (TAuiToolBar a) -> CInt -> CInt -> IO ()
auiToolBarSetMarginsDetailed :: AuiToolBar a -> Int -> Int -> Int -> Int -> IO ()
auiToolBarSetMarginsDetailed _obj left right top bottom
= withObjectRef "auiToolBarSetMarginsDetailed" _obj $ \cobj__obj ->
wxAuiToolBar_SetMarginsDetailed cobj__obj (toCInt left) (toCInt right) (toCInt top) (toCInt bottom)
foreign import ccall "wxAuiToolBar_SetMarginsDetailed" wxAuiToolBar_SetMarginsDetailed :: Ptr (TAuiToolBar a) -> CInt -> CInt -> CInt -> CInt -> IO ()
auiToolBarSetMarginsXY :: AuiToolBar a -> Point -> IO ()
auiToolBarSetMarginsXY _obj xy
= withObjectRef "auiToolBarSetMarginsXY" _obj $ \cobj__obj ->
wxAuiToolBar_SetMarginsXY cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxAuiToolBar_SetMarginsXY" wxAuiToolBar_SetMarginsXY :: Ptr (TAuiToolBar a) -> CInt -> CInt -> IO ()
auiToolBarSetOverflowVisible :: AuiToolBar a -> Bool -> IO ()
auiToolBarSetOverflowVisible _obj visible
= withObjectRef "auiToolBarSetOverflowVisible" _obj $ \cobj__obj ->
wxAuiToolBar_SetOverflowVisible cobj__obj (toCBool visible)
foreign import ccall "wxAuiToolBar_SetOverflowVisible" wxAuiToolBar_SetOverflowVisible :: Ptr (TAuiToolBar a) -> CBool -> IO ()
auiToolBarSetToolBitmap :: AuiToolBar a -> Int -> Bitmap c -> IO ()
auiToolBarSetToolBitmap _obj toolid _bitmap
= withObjectRef "auiToolBarSetToolBitmap" _obj $ \cobj__obj ->
withObjectPtr _bitmap $ \cobj__bitmap ->
wxAuiToolBar_SetToolBitmap cobj__obj (toCInt toolid) cobj__bitmap
foreign import ccall "wxAuiToolBar_SetToolBitmap" wxAuiToolBar_SetToolBitmap :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TBitmap c) -> IO ()
auiToolBarSetToolBitmapSize :: AuiToolBar a -> Size -> IO ()
auiToolBarSetToolBitmapSize _obj _widthheight
= withObjectRef "auiToolBarSetToolBitmapSize" _obj $ \cobj__obj ->
wxAuiToolBar_SetToolBitmapSize cobj__obj (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)
foreign import ccall "wxAuiToolBar_SetToolBitmapSize" wxAuiToolBar_SetToolBitmapSize :: Ptr (TAuiToolBar a) -> CInt -> CInt -> IO ()
auiToolBarSetToolBorderPadding :: AuiToolBar a -> Int -> IO ()
auiToolBarSetToolBorderPadding _obj padding
= withObjectRef "auiToolBarSetToolBorderPadding" _obj $ \cobj__obj ->
wxAuiToolBar_SetToolBorderPadding cobj__obj (toCInt padding)
foreign import ccall "wxAuiToolBar_SetToolBorderPadding" wxAuiToolBar_SetToolBorderPadding :: Ptr (TAuiToolBar a) -> CInt -> IO ()
auiToolBarSetToolDropDown :: AuiToolBar a -> Int -> Bool -> IO ()
auiToolBarSetToolDropDown _obj toolid dropdown
= withObjectRef "auiToolBarSetToolDropDown" _obj $ \cobj__obj ->
wxAuiToolBar_SetToolDropDown cobj__obj (toCInt toolid) (toCBool dropdown)
foreign import ccall "wxAuiToolBar_SetToolDropDown" wxAuiToolBar_SetToolDropDown :: Ptr (TAuiToolBar a) -> CInt -> CBool -> IO ()
auiToolBarSetToolLabel :: AuiToolBar a -> Int -> String -> IO ()
auiToolBarSetToolLabel _obj toolid _label
= withObjectRef "auiToolBarSetToolLabel" _obj $ \cobj__obj ->
withStringPtr _label $ \cobj__label ->
wxAuiToolBar_SetToolLabel cobj__obj (toCInt toolid) cobj__label
foreign import ccall "wxAuiToolBar_SetToolLabel" wxAuiToolBar_SetToolLabel :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TWxString c) -> IO ()
auiToolBarSetToolLongHelp :: AuiToolBar a -> Int -> String -> IO ()
auiToolBarSetToolLongHelp _obj toolid _helpstring
= withObjectRef "auiToolBarSetToolLongHelp" _obj $ \cobj__obj ->
withStringPtr _helpstring $ \cobj__helpstring ->
wxAuiToolBar_SetToolLongHelp cobj__obj (toCInt toolid) cobj__helpstring
foreign import ccall "wxAuiToolBar_SetToolLongHelp" wxAuiToolBar_SetToolLongHelp :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TWxString c) -> IO ()
auiToolBarSetToolPacking :: AuiToolBar a -> Int -> IO ()
auiToolBarSetToolPacking _obj packing
= withObjectRef "auiToolBarSetToolPacking" _obj $ \cobj__obj ->
wxAuiToolBar_SetToolPacking cobj__obj (toCInt packing)
foreign import ccall "wxAuiToolBar_SetToolPacking" wxAuiToolBar_SetToolPacking :: Ptr (TAuiToolBar a) -> CInt -> IO ()
auiToolBarSetToolProportion :: AuiToolBar a -> Int -> Int -> IO ()
auiToolBarSetToolProportion _obj toolid proportion
= withObjectRef "auiToolBarSetToolProportion" _obj $ \cobj__obj ->
wxAuiToolBar_SetToolProportion cobj__obj (toCInt toolid) (toCInt proportion)
foreign import ccall "wxAuiToolBar_SetToolProportion" wxAuiToolBar_SetToolProportion :: Ptr (TAuiToolBar a) -> CInt -> CInt -> IO ()
auiToolBarSetToolSeparation :: AuiToolBar a -> Int -> IO ()
auiToolBarSetToolSeparation _obj separation
= withObjectRef "auiToolBarSetToolSeparation" _obj $ \cobj__obj ->
wxAuiToolBar_SetToolSeparation cobj__obj (toCInt separation)
foreign import ccall "wxAuiToolBar_SetToolSeparation" wxAuiToolBar_SetToolSeparation :: Ptr (TAuiToolBar a) -> CInt -> IO ()
auiToolBarSetToolShortHelp :: AuiToolBar a -> Int -> String -> IO ()
auiToolBarSetToolShortHelp _obj toolid _helpstring
= withObjectRef "auiToolBarSetToolShortHelp" _obj $ \cobj__obj ->
withStringPtr _helpstring $ \cobj__helpstring ->
wxAuiToolBar_SetToolShortHelp cobj__obj (toCInt toolid) cobj__helpstring
foreign import ccall "wxAuiToolBar_SetToolShortHelp" wxAuiToolBar_SetToolShortHelp :: Ptr (TAuiToolBar a) -> CInt -> Ptr (TWxString c) -> IO ()
auiToolBarSetToolSticky :: AuiToolBar a -> Int -> Bool -> IO ()
auiToolBarSetToolSticky _obj toolid sticky
= withObjectRef "auiToolBarSetToolSticky" _obj $ \cobj__obj ->
wxAuiToolBar_SetToolSticky cobj__obj (toCInt toolid) (toCBool sticky)
foreign import ccall "wxAuiToolBar_SetToolSticky" wxAuiToolBar_SetToolSticky :: Ptr (TAuiToolBar a) -> CInt -> CBool -> IO ()
auiToolBarSetToolTextOrientation :: AuiToolBar a -> Int -> IO ()
auiToolBarSetToolTextOrientation _obj orientation
= withObjectRef "auiToolBarSetToolTextOrientation" _obj $ \cobj__obj ->
wxAuiToolBar_SetToolTextOrientation cobj__obj (toCInt orientation)
foreign import ccall "wxAuiToolBar_SetToolTextOrientation" wxAuiToolBar_SetToolTextOrientation :: Ptr (TAuiToolBar a) -> CInt -> IO ()
auiToolBarSetWindowStyleFlag :: AuiToolBar a -> Int -> IO ()
auiToolBarSetWindowStyleFlag _obj style
= withObjectRef "auiToolBarSetWindowStyleFlag" _obj $ \cobj__obj ->
wxAuiToolBar_SetWindowStyleFlag cobj__obj (toCInt style)
foreign import ccall "wxAuiToolBar_SetWindowStyleFlag" wxAuiToolBar_SetWindowStyleFlag :: Ptr (TAuiToolBar a) -> CInt -> IO ()
auiToolBarToggleTool :: AuiToolBar a -> Int -> Bool -> IO ()
auiToolBarToggleTool _obj toolid state
= withObjectRef "auiToolBarToggleTool" _obj $ \cobj__obj ->
wxAuiToolBar_ToggleTool cobj__obj (toCInt toolid) (toCBool state)
foreign import ccall "wxAuiToolBar_ToggleTool" wxAuiToolBar_ToggleTool :: Ptr (TAuiToolBar a) -> CInt -> CBool -> IO ()
autoBufferedPaintDCCreate :: Window a -> IO (AutoBufferedPaintDC ())
autoBufferedPaintDCCreate window
= withObjectResult $
withObjectPtr window $ \cobj_window ->
wxAutoBufferedPaintDC_Create cobj_window
foreign import ccall "wxAutoBufferedPaintDC_Create" wxAutoBufferedPaintDC_Create :: Ptr (TWindow a) -> IO (Ptr (TAutoBufferedPaintDC ()))
autoBufferedPaintDCDelete :: AutoBufferedPaintDC a -> IO ()
autoBufferedPaintDCDelete
= objectDelete
bitmapAddHandler :: EvtHandler a -> IO ()
bitmapAddHandler handler
= withObjectPtr handler $ \cobj_handler ->
wxBitmap_AddHandler cobj_handler
foreign import ccall "wxBitmap_AddHandler" wxBitmap_AddHandler :: Ptr (TEvtHandler a) -> IO ()
bitmapButtonCreate :: Window a -> Id -> Bitmap c -> Rect -> Style -> IO (BitmapButton ())
bitmapButtonCreate _prt _id _bmp _lfttopwdthgt _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withObjectPtr _bmp $ \cobj__bmp ->
wxBitmapButton_Create cobj__prt (toCInt _id) cobj__bmp (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) (toCInt _stl)
foreign import ccall "wxBitmapButton_Create" wxBitmapButton_Create :: Ptr (TWindow a) -> CInt -> Ptr (TBitmap c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TBitmapButton ()))
bitmapButtonGetBitmapDisabled :: BitmapButton a -> IO (Bitmap ())
bitmapButtonGetBitmapDisabled _obj
= withRefBitmap $ \pref ->
withObjectRef "bitmapButtonGetBitmapDisabled" _obj $ \cobj__obj ->
wxBitmapButton_GetBitmapDisabled cobj__obj pref
foreign import ccall "wxBitmapButton_GetBitmapDisabled" wxBitmapButton_GetBitmapDisabled :: Ptr (TBitmapButton a) -> Ptr (TBitmap ()) -> IO ()
bitmapButtonGetBitmapFocus :: BitmapButton a -> IO (Bitmap ())
bitmapButtonGetBitmapFocus _obj
= withRefBitmap $ \pref ->
withObjectRef "bitmapButtonGetBitmapFocus" _obj $ \cobj__obj ->
wxBitmapButton_GetBitmapFocus cobj__obj pref
foreign import ccall "wxBitmapButton_GetBitmapFocus" wxBitmapButton_GetBitmapFocus :: Ptr (TBitmapButton a) -> Ptr (TBitmap ()) -> IO ()
bitmapButtonGetBitmapLabel :: BitmapButton a -> IO (Bitmap ())
bitmapButtonGetBitmapLabel _obj
= withRefBitmap $ \pref ->
withObjectRef "bitmapButtonGetBitmapLabel" _obj $ \cobj__obj ->
wxBitmapButton_GetBitmapLabel cobj__obj pref
foreign import ccall "wxBitmapButton_GetBitmapLabel" wxBitmapButton_GetBitmapLabel :: Ptr (TBitmapButton a) -> Ptr (TBitmap ()) -> IO ()
bitmapButtonGetBitmapSelected :: BitmapButton a -> IO (Bitmap ())
bitmapButtonGetBitmapSelected _obj
= withRefBitmap $ \pref ->
withObjectRef "bitmapButtonGetBitmapSelected" _obj $ \cobj__obj ->
wxBitmapButton_GetBitmapSelected cobj__obj pref
foreign import ccall "wxBitmapButton_GetBitmapSelected" wxBitmapButton_GetBitmapSelected :: Ptr (TBitmapButton a) -> Ptr (TBitmap ()) -> IO ()
bitmapButtonGetMarginX :: BitmapButton a -> IO Int
bitmapButtonGetMarginX _obj
= withIntResult $
withObjectRef "bitmapButtonGetMarginX" _obj $ \cobj__obj ->
wxBitmapButton_GetMarginX cobj__obj
foreign import ccall "wxBitmapButton_GetMarginX" wxBitmapButton_GetMarginX :: Ptr (TBitmapButton a) -> IO CInt
bitmapButtonGetMarginY :: BitmapButton a -> IO Int
bitmapButtonGetMarginY _obj
= withIntResult $
withObjectRef "bitmapButtonGetMarginY" _obj $ \cobj__obj ->
wxBitmapButton_GetMarginY cobj__obj
foreign import ccall "wxBitmapButton_GetMarginY" wxBitmapButton_GetMarginY :: Ptr (TBitmapButton a) -> IO CInt
bitmapButtonSetBitmapDisabled :: BitmapButton a -> Bitmap b -> IO ()
bitmapButtonSetBitmapDisabled _obj disabled
= withObjectRef "bitmapButtonSetBitmapDisabled" _obj $ \cobj__obj ->
withObjectPtr disabled $ \cobj_disabled ->
wxBitmapButton_SetBitmapDisabled cobj__obj cobj_disabled
foreign import ccall "wxBitmapButton_SetBitmapDisabled" wxBitmapButton_SetBitmapDisabled :: Ptr (TBitmapButton a) -> Ptr (TBitmap b) -> IO ()
bitmapButtonSetBitmapFocus :: BitmapButton a -> Bitmap b -> IO ()
bitmapButtonSetBitmapFocus _obj focus
= withObjectRef "bitmapButtonSetBitmapFocus" _obj $ \cobj__obj ->
withObjectPtr focus $ \cobj_focus ->
wxBitmapButton_SetBitmapFocus cobj__obj cobj_focus
foreign import ccall "wxBitmapButton_SetBitmapFocus" wxBitmapButton_SetBitmapFocus :: Ptr (TBitmapButton a) -> Ptr (TBitmap b) -> IO ()
bitmapButtonSetBitmapLabel :: BitmapButton a -> Bitmap b -> IO ()
bitmapButtonSetBitmapLabel _obj bitmap
= withObjectRef "bitmapButtonSetBitmapLabel" _obj $ \cobj__obj ->
withObjectPtr bitmap $ \cobj_bitmap ->
wxBitmapButton_SetBitmapLabel cobj__obj cobj_bitmap
foreign import ccall "wxBitmapButton_SetBitmapLabel" wxBitmapButton_SetBitmapLabel :: Ptr (TBitmapButton a) -> Ptr (TBitmap b) -> IO ()
bitmapButtonSetBitmapSelected :: BitmapButton a -> Bitmap b -> IO ()
bitmapButtonSetBitmapSelected _obj sel
= withObjectRef "bitmapButtonSetBitmapSelected" _obj $ \cobj__obj ->
withObjectPtr sel $ \cobj_sel ->
wxBitmapButton_SetBitmapSelected cobj__obj cobj_sel
foreign import ccall "wxBitmapButton_SetBitmapSelected" wxBitmapButton_SetBitmapSelected :: Ptr (TBitmapButton a) -> Ptr (TBitmap b) -> IO ()
bitmapButtonSetMargins :: BitmapButton a -> Point -> IO ()
bitmapButtonSetMargins _obj xy
= withObjectRef "bitmapButtonSetMargins" _obj $ \cobj__obj ->
wxBitmapButton_SetMargins cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxBitmapButton_SetMargins" wxBitmapButton_SetMargins :: Ptr (TBitmapButton a) -> CInt -> CInt -> IO ()
bitmapCleanUpHandlers :: IO ()
bitmapCleanUpHandlers
= wxBitmap_CleanUpHandlers
foreign import ccall "wxBitmap_CleanUpHandlers" wxBitmap_CleanUpHandlers :: IO ()
bitmapCreate :: Ptr a -> Int -> Size -> Int -> IO (Bitmap ())
bitmapCreate _data _type _widthheight _depth
= withManagedBitmapResult $
wxBitmap_Create _data (toCInt _type) (toCIntSizeW _widthheight) (toCIntSizeH _widthheight) (toCInt _depth)
foreign import ccall "wxBitmap_Create" wxBitmap_Create :: Ptr a -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TBitmap ()))
bitmapCreateDefault :: IO (Bitmap ())
bitmapCreateDefault
= withManagedBitmapResult $
wxBitmap_CreateDefault
foreign import ccall "wxBitmap_CreateDefault" wxBitmap_CreateDefault :: IO (Ptr (TBitmap ()))
bitmapCreateEmpty :: Size -> Int -> IO (Bitmap ())
bitmapCreateEmpty _widthheight _depth
= withManagedBitmapResult $
wxBitmap_CreateEmpty (toCIntSizeW _widthheight) (toCIntSizeH _widthheight) (toCInt _depth)
foreign import ccall "wxBitmap_CreateEmpty" wxBitmap_CreateEmpty :: CInt -> CInt -> CInt -> IO (Ptr (TBitmap ()))
bitmapCreateFromImage :: Image a -> Int -> IO (Bitmap ())
bitmapCreateFromImage image depth
= withManagedBitmapResult $
withObjectPtr image $ \cobj_image ->
wxBitmap_CreateFromImage cobj_image (toCInt depth)
foreign import ccall "wxBitmap_CreateFromImage" wxBitmap_CreateFromImage :: Ptr (TImage a) -> CInt -> IO (Ptr (TBitmap ()))
bitmapCreateFromXPM :: Bitmap a -> IO (Bitmap ())
bitmapCreateFromXPM wxdata
= withManagedBitmapResult $
withObjectRef "bitmapCreateFromXPM" wxdata $ \cobj_wxdata ->
wxBitmap_CreateFromXPM cobj_wxdata
foreign import ccall "wxBitmap_CreateFromXPM" wxBitmap_CreateFromXPM :: Ptr (TBitmap a) -> IO (Ptr (TBitmap ()))
bitmapCreateLoad :: String -> Int -> IO (Bitmap ())
bitmapCreateLoad name wxtype
= withManagedBitmapResult $
withStringPtr name $ \cobj_name ->
wxBitmap_CreateLoad cobj_name (toCInt wxtype)
foreign import ccall "wxBitmap_CreateLoad" wxBitmap_CreateLoad :: Ptr (TWxString a) -> CInt -> IO (Ptr (TBitmap ()))
bitmapDataObjectCreate :: Bitmap a -> IO (BitmapDataObject ())
bitmapDataObjectCreate _bmp
= withObjectResult $
withObjectPtr _bmp $ \cobj__bmp ->
wx_BitmapDataObject_Create cobj__bmp
foreign import ccall "BitmapDataObject_Create" wx_BitmapDataObject_Create :: Ptr (TBitmap a) -> IO (Ptr (TBitmapDataObject ()))
bitmapDataObjectCreateEmpty :: IO (BitmapDataObject ())
bitmapDataObjectCreateEmpty
= withObjectResult $
wx_BitmapDataObject_CreateEmpty
foreign import ccall "BitmapDataObject_CreateEmpty" wx_BitmapDataObject_CreateEmpty :: IO (Ptr (TBitmapDataObject ()))
bitmapDataObjectDelete :: BitmapDataObject a -> IO ()
bitmapDataObjectDelete _obj
= withObjectPtr _obj $ \cobj__obj ->
wx_BitmapDataObject_Delete cobj__obj
foreign import ccall "BitmapDataObject_Delete" wx_BitmapDataObject_Delete :: Ptr (TBitmapDataObject a) -> IO ()
bitmapDataObjectGetBitmap :: BitmapDataObject a -> IO (Bitmap ())
bitmapDataObjectGetBitmap _obj
= withRefBitmap $ \pref ->
withObjectPtr _obj $ \cobj__obj ->
wx_BitmapDataObject_GetBitmap cobj__obj pref
foreign import ccall "BitmapDataObject_GetBitmap" wx_BitmapDataObject_GetBitmap :: Ptr (TBitmapDataObject a) -> Ptr (TBitmap ()) -> IO ()
bitmapDataObjectSetBitmap :: BitmapDataObject a -> Bitmap b -> IO ()
bitmapDataObjectSetBitmap _obj _bmp
= withObjectPtr _obj $ \cobj__obj ->
withObjectPtr _bmp $ \cobj__bmp ->
wx_BitmapDataObject_SetBitmap cobj__obj cobj__bmp
foreign import ccall "BitmapDataObject_SetBitmap" wx_BitmapDataObject_SetBitmap :: Ptr (TBitmapDataObject a) -> Ptr (TBitmap b) -> IO ()
bitmapDelete :: Bitmap a -> IO ()
bitmapDelete
= objectDelete
bitmapFindHandlerByExtension :: Bitmap a -> Int -> IO (Ptr ())
bitmapFindHandlerByExtension extension wxtype
= withObjectRef "bitmapFindHandlerByExtension" extension $ \cobj_extension ->
wxBitmap_FindHandlerByExtension cobj_extension (toCInt wxtype)
foreign import ccall "wxBitmap_FindHandlerByExtension" wxBitmap_FindHandlerByExtension :: Ptr (TBitmap a) -> CInt -> IO (Ptr ())
bitmapFindHandlerByName :: String -> IO (Ptr ())
bitmapFindHandlerByName name
= withStringPtr name $ \cobj_name ->
wxBitmap_FindHandlerByName cobj_name
foreign import ccall "wxBitmap_FindHandlerByName" wxBitmap_FindHandlerByName :: Ptr (TWxString a) -> IO (Ptr ())
bitmapFindHandlerByType :: Int -> IO (Ptr ())
bitmapFindHandlerByType wxtype
= wxBitmap_FindHandlerByType (toCInt wxtype)
foreign import ccall "wxBitmap_FindHandlerByType" wxBitmap_FindHandlerByType :: CInt -> IO (Ptr ())
bitmapGetDepth :: Bitmap a -> IO Int
bitmapGetDepth _obj
= withIntResult $
withObjectRef "bitmapGetDepth" _obj $ \cobj__obj ->
wxBitmap_GetDepth cobj__obj
foreign import ccall "wxBitmap_GetDepth" wxBitmap_GetDepth :: Ptr (TBitmap a) -> IO CInt
bitmapGetHeight :: Bitmap a -> IO Int
bitmapGetHeight _obj
= withIntResult $
withObjectRef "bitmapGetHeight" _obj $ \cobj__obj ->
wxBitmap_GetHeight cobj__obj
foreign import ccall "wxBitmap_GetHeight" wxBitmap_GetHeight :: Ptr (TBitmap a) -> IO CInt
bitmapGetMask :: Bitmap a -> IO (Mask ())
bitmapGetMask _obj
= withObjectResult $
withObjectRef "bitmapGetMask" _obj $ \cobj__obj ->
wxBitmap_GetMask cobj__obj
foreign import ccall "wxBitmap_GetMask" wxBitmap_GetMask :: Ptr (TBitmap a) -> IO (Ptr (TMask ()))
bitmapGetSubBitmap :: Bitmap a -> Rect -> IO (Bitmap ())
bitmapGetSubBitmap _obj xywh
= withRefBitmap $ \pref ->
withObjectRef "bitmapGetSubBitmap" _obj $ \cobj__obj ->
wxBitmap_GetSubBitmap cobj__obj (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) pref
foreign import ccall "wxBitmap_GetSubBitmap" wxBitmap_GetSubBitmap :: Ptr (TBitmap a) -> CInt -> CInt -> CInt -> CInt -> Ptr (TBitmap ()) -> IO ()
bitmapGetWidth :: Bitmap a -> IO Int
bitmapGetWidth _obj
= withIntResult $
withObjectRef "bitmapGetWidth" _obj $ \cobj__obj ->
wxBitmap_GetWidth cobj__obj
foreign import ccall "wxBitmap_GetWidth" wxBitmap_GetWidth :: Ptr (TBitmap a) -> IO CInt
bitmapInitStandardHandlers :: IO ()
bitmapInitStandardHandlers
= wxBitmap_InitStandardHandlers
foreign import ccall "wxBitmap_InitStandardHandlers" wxBitmap_InitStandardHandlers :: IO ()
bitmapInsertHandler :: EvtHandler a -> IO ()
bitmapInsertHandler handler
= withObjectPtr handler $ \cobj_handler ->
wxBitmap_InsertHandler cobj_handler
foreign import ccall "wxBitmap_InsertHandler" wxBitmap_InsertHandler :: Ptr (TEvtHandler a) -> IO ()
bitmapIsOk :: Bitmap a -> IO Bool
bitmapIsOk _obj
= withBoolResult $
withObjectRef "bitmapIsOk" _obj $ \cobj__obj ->
wxBitmap_IsOk cobj__obj
foreign import ccall "wxBitmap_IsOk" wxBitmap_IsOk :: Ptr (TBitmap a) -> IO CBool
bitmapIsStatic :: Bitmap a -> IO Bool
bitmapIsStatic self
= withBoolResult $
withObjectPtr self $ \cobj_self ->
wxBitmap_IsStatic cobj_self
foreign import ccall "wxBitmap_IsStatic" wxBitmap_IsStatic :: Ptr (TBitmap a) -> IO CBool
bitmapLoadFile :: Bitmap a -> String -> Int -> IO Int
bitmapLoadFile _obj name wxtype
= withIntResult $
withObjectRef "bitmapLoadFile" _obj $ \cobj__obj ->
withStringPtr name $ \cobj_name ->
wxBitmap_LoadFile cobj__obj cobj_name (toCInt wxtype)
foreign import ccall "wxBitmap_LoadFile" wxBitmap_LoadFile :: Ptr (TBitmap a) -> Ptr (TWxString b) -> CInt -> IO CInt
bitmapRemoveHandler :: String -> IO Bool
bitmapRemoveHandler name
= withBoolResult $
withStringPtr name $ \cobj_name ->
wxBitmap_RemoveHandler cobj_name
foreign import ccall "wxBitmap_RemoveHandler" wxBitmap_RemoveHandler :: Ptr (TWxString a) -> IO CBool
bitmapSafeDelete :: Bitmap a -> IO ()
bitmapSafeDelete self
= withObjectPtr self $ \cobj_self ->
wxBitmap_SafeDelete cobj_self
foreign import ccall "wxBitmap_SafeDelete" wxBitmap_SafeDelete :: Ptr (TBitmap a) -> IO ()
bitmapSaveFile :: Bitmap a -> String -> Int -> Palette d -> IO Int
bitmapSaveFile _obj name wxtype cmap
= withIntResult $
withObjectRef "bitmapSaveFile" _obj $ \cobj__obj ->
withStringPtr name $ \cobj_name ->
withObjectPtr cmap $ \cobj_cmap ->
wxBitmap_SaveFile cobj__obj cobj_name (toCInt wxtype) cobj_cmap
foreign import ccall "wxBitmap_SaveFile" wxBitmap_SaveFile :: Ptr (TBitmap a) -> Ptr (TWxString b) -> CInt -> Ptr (TPalette d) -> IO CInt
bitmapSetDepth :: Bitmap a -> Int -> IO ()
bitmapSetDepth _obj d
= withObjectRef "bitmapSetDepth" _obj $ \cobj__obj ->
wxBitmap_SetDepth cobj__obj (toCInt d)
foreign import ccall "wxBitmap_SetDepth" wxBitmap_SetDepth :: Ptr (TBitmap a) -> CInt -> IO ()
bitmapSetHeight :: Bitmap a -> Int -> IO ()
bitmapSetHeight _obj h
= withObjectRef "bitmapSetHeight" _obj $ \cobj__obj ->
wxBitmap_SetHeight cobj__obj (toCInt h)
foreign import ccall "wxBitmap_SetHeight" wxBitmap_SetHeight :: Ptr (TBitmap a) -> CInt -> IO ()
bitmapSetMask :: Bitmap a -> Mask b -> IO ()
bitmapSetMask _obj mask
= withObjectRef "bitmapSetMask" _obj $ \cobj__obj ->
withObjectPtr mask $ \cobj_mask ->
wxBitmap_SetMask cobj__obj cobj_mask
foreign import ccall "wxBitmap_SetMask" wxBitmap_SetMask :: Ptr (TBitmap a) -> Ptr (TMask b) -> IO ()
bitmapSetWidth :: Bitmap a -> Int -> IO ()
bitmapSetWidth _obj w
= withObjectRef "bitmapSetWidth" _obj $ \cobj__obj ->
wxBitmap_SetWidth cobj__obj (toCInt w)
foreign import ccall "wxBitmap_SetWidth" wxBitmap_SetWidth :: Ptr (TBitmap a) -> CInt -> IO ()
bitmapToggleButtonCreate :: Window a -> Id -> Bitmap c -> Rect -> Int -> IO (BitmapToggleButton ())
bitmapToggleButtonCreate parent id _bmp xywh style
= withObjectResult $
withObjectPtr parent $ \cobj_parent ->
withObjectPtr _bmp $ \cobj__bmp ->
wxBitmapToggleButton_Create cobj_parent (toCInt id) cobj__bmp (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) (toCInt style)
foreign import ccall "wxBitmapToggleButton_Create" wxBitmapToggleButton_Create :: Ptr (TWindow a) -> CInt -> Ptr (TBitmap c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TBitmapToggleButton ()))
bitmapToggleButtonEnable :: BitmapToggleButton a -> Bool -> IO Bool
bitmapToggleButtonEnable _obj enable
= withBoolResult $
withObjectRef "bitmapToggleButtonEnable" _obj $ \cobj__obj ->
wxBitmapToggleButton_Enable cobj__obj (toCBool enable)
foreign import ccall "wxBitmapToggleButton_Enable" wxBitmapToggleButton_Enable :: Ptr (TBitmapToggleButton a) -> CBool -> IO CBool
bitmapToggleButtonGetValue :: BitmapToggleButton a -> IO Bool
bitmapToggleButtonGetValue _obj
= withBoolResult $
withObjectRef "bitmapToggleButtonGetValue" _obj $ \cobj__obj ->
wxBitmapToggleButton_GetValue cobj__obj
foreign import ccall "wxBitmapToggleButton_GetValue" wxBitmapToggleButton_GetValue :: Ptr (TBitmapToggleButton a) -> IO CBool
bitmapToggleButtonSetBitmapLabel :: BitmapToggleButton a -> Bitmap b -> IO ()
bitmapToggleButtonSetBitmapLabel _obj _bmp
= withObjectRef "bitmapToggleButtonSetBitmapLabel" _obj $ \cobj__obj ->
withObjectPtr _bmp $ \cobj__bmp ->
wxBitmapToggleButton_SetBitmapLabel cobj__obj cobj__bmp
foreign import ccall "wxBitmapToggleButton_SetBitmapLabel" wxBitmapToggleButton_SetBitmapLabel :: Ptr (TBitmapToggleButton a) -> Ptr (TBitmap b) -> IO ()
bitmapToggleButtonSetValue :: BitmapToggleButton a -> Bool -> IO ()
bitmapToggleButtonSetValue _obj state
= withObjectRef "bitmapToggleButtonSetValue" _obj $ \cobj__obj ->
wxBitmapToggleButton_SetValue cobj__obj (toCBool state)
foreign import ccall "wxBitmapToggleButton_SetValue" wxBitmapToggleButton_SetValue :: Ptr (TBitmapToggleButton a) -> CBool -> IO ()
bookCtrlBaseAddPage :: BookCtrlBase a -> Window b -> String -> Bool -> Int -> IO Bool
bookCtrlBaseAddPage _obj _page _text select imageId
= withBoolResult $
withObjectRef "bookCtrlBaseAddPage" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
withStringPtr _text $ \cobj__text ->
wxBookCtrlBase_AddPage cobj__obj cobj__page cobj__text (toCBool select) (toCInt imageId)
foreign import ccall "wxBookCtrlBase_AddPage" wxBookCtrlBase_AddPage :: Ptr (TBookCtrlBase a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> CBool -> CInt -> IO CBool
bookCtrlBaseAdvanceSelection :: BookCtrlBase a -> Bool -> IO ()
bookCtrlBaseAdvanceSelection _obj forward
= withObjectRef "bookCtrlBaseAdvanceSelection" _obj $ \cobj__obj ->
wxBookCtrlBase_AdvanceSelection cobj__obj (toCBool forward)
foreign import ccall "wxBookCtrlBase_AdvanceSelection" wxBookCtrlBase_AdvanceSelection :: Ptr (TBookCtrlBase a) -> CBool -> IO ()
bookCtrlBaseAssignImageList :: BookCtrlBase a -> ImageList b -> IO ()
bookCtrlBaseAssignImageList _obj imageList
= withObjectRef "bookCtrlBaseAssignImageList" _obj $ \cobj__obj ->
withObjectPtr imageList $ \cobj_imageList ->
wxBookCtrlBase_AssignImageList cobj__obj cobj_imageList
foreign import ccall "wxBookCtrlBase_AssignImageList" wxBookCtrlBase_AssignImageList :: Ptr (TBookCtrlBase a) -> Ptr (TImageList b) -> IO ()
bookCtrlBaseChangeSelection :: BookCtrlBase a -> Int -> IO Int
bookCtrlBaseChangeSelection _obj page
= withIntResult $
withObjectRef "bookCtrlBaseChangeSelection" _obj $ \cobj__obj ->
wxBookCtrlBase_ChangeSelection cobj__obj (toCInt page)
foreign import ccall "wxBookCtrlBase_ChangeSelection" wxBookCtrlBase_ChangeSelection :: Ptr (TBookCtrlBase a) -> CInt -> IO CInt
bookCtrlBaseCreateFromDefault :: BookCtrlBase a -> Window b -> Int -> Point -> Size -> Int -> String -> IO Bool
bookCtrlBaseCreateFromDefault _obj _parent winid xy _widthheight style _name
= withBoolResult $
withObjectRef "bookCtrlBaseCreateFromDefault" _obj $ \cobj__obj ->
withObjectPtr _parent $ \cobj__parent ->
withStringPtr _name $ \cobj__name ->
wxBookCtrlBase_CreateFromDefault cobj__obj cobj__parent (toCInt winid) (toCIntPointX xy) (toCIntPointY xy) (toCIntSizeW _widthheight) (toCIntSizeH _widthheight) (toCInt style) cobj__name
foreign import ccall "wxBookCtrlBase_CreateFromDefault" wxBookCtrlBase_CreateFromDefault :: Ptr (TBookCtrlBase a) -> Ptr (TWindow b) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (TWxString g) -> IO CBool
bookCtrlBaseDeleteAllPages :: BookCtrlBase a -> IO Bool
bookCtrlBaseDeleteAllPages _obj
= withBoolResult $
withObjectRef "bookCtrlBaseDeleteAllPages" _obj $ \cobj__obj ->
wxBookCtrlBase_DeleteAllPages cobj__obj
foreign import ccall "wxBookCtrlBase_DeleteAllPages" wxBookCtrlBase_DeleteAllPages :: Ptr (TBookCtrlBase a) -> IO CBool
bookCtrlBaseDeletePage :: BookCtrlBase a -> Int -> IO Bool
bookCtrlBaseDeletePage _obj page
= withBoolResult $
withObjectRef "bookCtrlBaseDeletePage" _obj $ \cobj__obj ->
wxBookCtrlBase_DeletePage cobj__obj (toCInt page)
foreign import ccall "wxBookCtrlBase_DeletePage" wxBookCtrlBase_DeletePage :: Ptr (TBookCtrlBase a) -> CInt -> IO CBool
bookCtrlBaseFindPage :: BookCtrlBase a -> Window b -> IO Int
bookCtrlBaseFindPage _obj _page
= withIntResult $
withObjectRef "bookCtrlBaseFindPage" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
wxBookCtrlBase_FindPage cobj__obj cobj__page
foreign import ccall "wxBookCtrlBase_FindPage" wxBookCtrlBase_FindPage :: Ptr (TBookCtrlBase a) -> Ptr (TWindow b) -> IO CInt
bookCtrlBaseGetCurrentPage :: BookCtrlBase a -> IO (Window ())
bookCtrlBaseGetCurrentPage _obj
= withObjectResult $
withObjectRef "bookCtrlBaseGetCurrentPage" _obj $ \cobj__obj ->
wxBookCtrlBase_GetCurrentPage cobj__obj
foreign import ccall "wxBookCtrlBase_GetCurrentPage" wxBookCtrlBase_GetCurrentPage :: Ptr (TBookCtrlBase a) -> IO (Ptr (TWindow ()))
bookCtrlBaseGetImageList :: BookCtrlBase a -> IO (ImageList ())
bookCtrlBaseGetImageList _obj
= withObjectResult $
withObjectRef "bookCtrlBaseGetImageList" _obj $ \cobj__obj ->
wxBookCtrlBase_GetImageList cobj__obj
foreign import ccall "wxBookCtrlBase_GetImageList" wxBookCtrlBase_GetImageList :: Ptr (TBookCtrlBase a) -> IO (Ptr (TImageList ()))
bookCtrlBaseGetPage :: BookCtrlBase a -> Int -> IO (Window ())
bookCtrlBaseGetPage _obj page
= withObjectResult $
withObjectRef "bookCtrlBaseGetPage" _obj $ \cobj__obj ->
wxBookCtrlBase_GetPage cobj__obj (toCInt page)
foreign import ccall "wxBookCtrlBase_GetPage" wxBookCtrlBase_GetPage :: Ptr (TBookCtrlBase a) -> CInt -> IO (Ptr (TWindow ()))
bookCtrlBaseGetPageCount :: BookCtrlBase a -> IO Int
bookCtrlBaseGetPageCount _obj
= withIntResult $
withObjectRef "bookCtrlBaseGetPageCount" _obj $ \cobj__obj ->
wxBookCtrlBase_GetPageCount cobj__obj
foreign import ccall "wxBookCtrlBase_GetPageCount" wxBookCtrlBase_GetPageCount :: Ptr (TBookCtrlBase a) -> IO CInt
bookCtrlBaseGetPageImage :: BookCtrlBase a -> Int -> IO Int
bookCtrlBaseGetPageImage _obj nPage
= withIntResult $
withObjectRef "bookCtrlBaseGetPageImage" _obj $ \cobj__obj ->
wxBookCtrlBase_GetPageImage cobj__obj (toCInt nPage)
foreign import ccall "wxBookCtrlBase_GetPageImage" wxBookCtrlBase_GetPageImage :: Ptr (TBookCtrlBase a) -> CInt -> IO CInt
bookCtrlBaseGetPageText :: BookCtrlBase a -> Int -> IO (String)
bookCtrlBaseGetPageText _obj nPage
= withManagedStringResult $
withObjectRef "bookCtrlBaseGetPageText" _obj $ \cobj__obj ->
wxBookCtrlBase_GetPageText cobj__obj (toCInt nPage)
foreign import ccall "wxBookCtrlBase_GetPageText" wxBookCtrlBase_GetPageText :: Ptr (TBookCtrlBase a) -> CInt -> IO (Ptr (TWxString ()))
bookCtrlBaseGetSelection :: BookCtrlBase a -> IO Int
bookCtrlBaseGetSelection _obj
= withIntResult $
withObjectRef "bookCtrlBaseGetSelection" _obj $ \cobj__obj ->
wxBookCtrlBase_GetSelection cobj__obj
foreign import ccall "wxBookCtrlBase_GetSelection" wxBookCtrlBase_GetSelection :: Ptr (TBookCtrlBase a) -> IO CInt
bookCtrlBaseHitTest :: BookCtrlBase a -> Point -> Ptr CInt -> IO Int
bookCtrlBaseHitTest _obj xy flags
= withIntResult $
withObjectRef "bookCtrlBaseHitTest" _obj $ \cobj__obj ->
wxBookCtrlBase_HitTest cobj__obj (toCIntPointX xy) (toCIntPointY xy) flags
foreign import ccall "wxBookCtrlBase_HitTest" wxBookCtrlBase_HitTest :: Ptr (TBookCtrlBase a) -> CInt -> CInt -> Ptr CInt -> IO CInt
bookCtrlBaseInsertPage :: BookCtrlBase a -> Int -> Window c -> String -> Bool -> Int -> IO Bool
bookCtrlBaseInsertPage _obj index _page _text select imageId
= withBoolResult $
withObjectRef "bookCtrlBaseInsertPage" _obj $ \cobj__obj ->
withObjectPtr _page $ \cobj__page ->
withStringPtr _text $ \cobj__text ->
wxBookCtrlBase_InsertPage cobj__obj (toCInt index) cobj__page cobj__text (toCBool select) (toCInt imageId)
foreign import ccall "wxBookCtrlBase_InsertPage" wxBookCtrlBase_InsertPage :: Ptr (TBookCtrlBase a) -> CInt -> Ptr (TWindow c) -> Ptr (TWxString d) -> CBool -> CInt -> IO CBool
bookCtrlBaseRemovePage :: BookCtrlBase a -> Int -> IO Bool
bookCtrlBaseRemovePage _obj page
= withBoolResult $
withObjectRef "bookCtrlBaseRemovePage" _obj $ \cobj__obj ->
wxBookCtrlBase_RemovePage cobj__obj (toCInt page)
foreign import ccall "wxBookCtrlBase_RemovePage" wxBookCtrlBase_RemovePage :: Ptr (TBookCtrlBase a) -> CInt -> IO CBool
bookCtrlBaseSetImageList :: BookCtrlBase a -> ImageList b -> IO ()
bookCtrlBaseSetImageList _obj imageList
= withObjectRef "bookCtrlBaseSetImageList" _obj $ \cobj__obj ->
withObjectPtr imageList $ \cobj_imageList ->
wxBookCtrlBase_SetImageList cobj__obj cobj_imageList
foreign import ccall "wxBookCtrlBase_SetImageList" wxBookCtrlBase_SetImageList :: Ptr (TBookCtrlBase a) -> Ptr (TImageList b) -> IO ()
bookCtrlBaseSetPageImage :: BookCtrlBase a -> Int -> Int -> IO Bool
bookCtrlBaseSetPageImage _obj page image
= withBoolResult $
withObjectRef "bookCtrlBaseSetPageImage" _obj $ \cobj__obj ->
wxBookCtrlBase_SetPageImage cobj__obj (toCInt page) (toCInt image)
foreign import ccall "wxBookCtrlBase_SetPageImage" wxBookCtrlBase_SetPageImage :: Ptr (TBookCtrlBase a) -> CInt -> CInt -> IO CBool
bookCtrlBaseSetPageSize :: BookCtrlBase a -> Size -> IO ()
bookCtrlBaseSetPageSize _obj _widthheight
= withObjectRef "bookCtrlBaseSetPageSize" _obj $ \cobj__obj ->
wxBookCtrlBase_SetPageSize cobj__obj (toCIntSizeW _widthheight) (toCIntSizeH _widthheight)
foreign import ccall "wxBookCtrlBase_SetPageSize" wxBookCtrlBase_SetPageSize :: Ptr (TBookCtrlBase a) -> CInt -> CInt -> IO ()
bookCtrlBaseSetPageText :: BookCtrlBase a -> Int -> String -> IO Bool
bookCtrlBaseSetPageText _obj page _text
= withBoolResult $
withObjectRef "bookCtrlBaseSetPageText" _obj $ \cobj__obj ->
withStringPtr _text $ \cobj__text ->
wxBookCtrlBase_SetPageText cobj__obj (toCInt page) cobj__text
foreign import ccall "wxBookCtrlBase_SetPageText" wxBookCtrlBase_SetPageText :: Ptr (TBookCtrlBase a) -> CInt -> Ptr (TWxString c) -> IO CBool
bookCtrlBaseSetSelection :: BookCtrlBase a -> Int -> IO Int
bookCtrlBaseSetSelection _obj page
= withIntResult $
withObjectRef "bookCtrlBaseSetSelection" _obj $ \cobj__obj ->
wxBookCtrlBase_SetSelection cobj__obj (toCInt page)
foreign import ccall "wxBookCtrlBase_SetSelection" wxBookCtrlBase_SetSelection :: Ptr (TBookCtrlBase a) -> CInt -> IO CInt
bookCtrlEventCreate :: Int -> Int -> Int -> Int -> IO (BookCtrlEvent ())
bookCtrlEventCreate commandType winid nSel nOldSel
= withObjectResult $
wxBookCtrlEvent_Create (toCInt commandType) (toCInt winid) (toCInt nSel) (toCInt nOldSel)
foreign import ccall "wxBookCtrlEvent_Create" wxBookCtrlEvent_Create :: CInt -> CInt -> CInt -> CInt -> IO (Ptr (TBookCtrlEvent ()))
bookCtrlEventGetOldSelection :: BookCtrlEvent a -> IO Int
bookCtrlEventGetOldSelection _obj
= withIntResult $
withObjectRef "bookCtrlEventGetOldSelection" _obj $ \cobj__obj ->
wxBookCtrlEvent_GetOldSelection cobj__obj
foreign import ccall "wxBookCtrlEvent_GetOldSelection" wxBookCtrlEvent_GetOldSelection :: Ptr (TBookCtrlEvent a) -> IO CInt
bookCtrlEventGetSelection :: BookCtrlEvent a -> IO Int
bookCtrlEventGetSelection _obj
= withIntResult $
withObjectRef "bookCtrlEventGetSelection" _obj $ \cobj__obj ->
wxBookCtrlEvent_GetSelection cobj__obj
foreign import ccall "wxBookCtrlEvent_GetSelection" wxBookCtrlEvent_GetSelection :: Ptr (TBookCtrlEvent a) -> IO CInt
boolPropertyCreate :: String -> String -> Bool -> IO (BoolProperty ())
boolPropertyCreate label name value
= withObjectResult $
withStringPtr label $ \cobj_label ->
withStringPtr name $ \cobj_name ->
wxBoolProperty_Create cobj_label cobj_name (toCBool value)
foreign import ccall "wxBoolProperty_Create" wxBoolProperty_Create :: Ptr (TWxString a) -> Ptr (TWxString b) -> CBool -> IO (Ptr (TBoolProperty ()))
boxSizerCalcMin :: BoxSizer a -> IO (Size)
boxSizerCalcMin _obj
= withWxSizeResult $
withObjectRef "boxSizerCalcMin" _obj $ \cobj__obj ->
wxBoxSizer_CalcMin cobj__obj
foreign import ccall "wxBoxSizer_CalcMin" wxBoxSizer_CalcMin :: Ptr (TBoxSizer a) -> IO (Ptr (TWxSize ()))
boxSizerCreate :: Int -> IO (BoxSizer ())
boxSizerCreate orient
= withObjectResult $
wxBoxSizer_Create (toCInt orient)
foreign import ccall "wxBoxSizer_Create" wxBoxSizer_Create :: CInt -> IO (Ptr (TBoxSizer ()))
boxSizerGetOrientation :: BoxSizer a -> IO Int
boxSizerGetOrientation _obj
= withIntResult $
withObjectRef "boxSizerGetOrientation" _obj $ \cobj__obj ->
wxBoxSizer_GetOrientation cobj__obj
foreign import ccall "wxBoxSizer_GetOrientation" wxBoxSizer_GetOrientation :: Ptr (TBoxSizer a) -> IO CInt
boxSizerRecalcSizes :: BoxSizer a -> IO ()
boxSizerRecalcSizes _obj
= withObjectRef "boxSizerRecalcSizes" _obj $ \cobj__obj ->
wxBoxSizer_RecalcSizes cobj__obj
foreign import ccall "wxBoxSizer_RecalcSizes" wxBoxSizer_RecalcSizes :: Ptr (TBoxSizer a) -> IO ()
brushAssign :: Brush a -> Brush b -> IO ()
brushAssign _obj brush
= withObjectRef "brushAssign" _obj $ \cobj__obj ->
withObjectPtr brush $ \cobj_brush ->
wxBrush_Assign cobj__obj cobj_brush
foreign import ccall "wxBrush_Assign" wxBrush_Assign :: Ptr (TBrush a) -> Ptr (TBrush b) -> IO ()
brushCreateDefault :: IO (Brush ())
brushCreateDefault
= withManagedBrushResult $
wxBrush_CreateDefault
foreign import ccall "wxBrush_CreateDefault" wxBrush_CreateDefault :: IO (Ptr (TBrush ()))
brushCreateFromBitmap :: Bitmap a -> IO (Brush ())
brushCreateFromBitmap bitmap
= withManagedBrushResult $
withObjectPtr bitmap $ \cobj_bitmap ->
wxBrush_CreateFromBitmap cobj_bitmap
foreign import ccall "wxBrush_CreateFromBitmap" wxBrush_CreateFromBitmap :: Ptr (TBitmap a) -> IO (Ptr (TBrush ()))
brushCreateFromColour :: Color -> Int -> IO (Brush ())
brushCreateFromColour col style
= withManagedBrushResult $
withColourPtr col $ \cobj_col ->
wxBrush_CreateFromColour cobj_col (toCInt style)
foreign import ccall "wxBrush_CreateFromColour" wxBrush_CreateFromColour :: Ptr (TColour a) -> CInt -> IO (Ptr (TBrush ()))
brushCreateFromStock :: Id -> IO (Brush ())
brushCreateFromStock id
= withManagedBrushResult $
wxBrush_CreateFromStock (toCInt id)
foreign import ccall "wxBrush_CreateFromStock" wxBrush_CreateFromStock :: CInt -> IO (Ptr (TBrush ()))
brushDelete :: Brush a -> IO ()
brushDelete
= objectDelete
brushGetColour :: Brush a -> IO (Color)
brushGetColour _obj
= withRefColour $ \pref ->
withObjectRef "brushGetColour" _obj $ \cobj__obj ->
wxBrush_GetColour cobj__obj pref
foreign import ccall "wxBrush_GetColour" wxBrush_GetColour :: Ptr (TBrush a) -> Ptr (TColour ()) -> IO ()
brushGetStipple :: Brush a -> IO (Bitmap ())
brushGetStipple _obj
= withRefBitmap $ \pref ->
withObjectRef "brushGetStipple" _obj $ \cobj__obj ->
wxBrush_GetStipple cobj__obj pref
foreign import ccall "wxBrush_GetStipple" wxBrush_GetStipple :: Ptr (TBrush a) -> Ptr (TBitmap ()) -> IO ()
brushGetStyle :: Brush a -> IO Int
brushGetStyle _obj
= withIntResult $
withObjectRef "brushGetStyle" _obj $ \cobj__obj ->
wxBrush_GetStyle cobj__obj
foreign import ccall "wxBrush_GetStyle" wxBrush_GetStyle :: Ptr (TBrush a) -> IO CInt
brushIsEqual :: Brush a -> Brush b -> IO Bool
brushIsEqual _obj brush
= withBoolResult $
withObjectRef "brushIsEqual" _obj $ \cobj__obj ->
withObjectPtr brush $ \cobj_brush ->
wxBrush_IsEqual cobj__obj cobj_brush
foreign import ccall "wxBrush_IsEqual" wxBrush_IsEqual :: Ptr (TBrush a) -> Ptr (TBrush b) -> IO CBool
brushIsOk :: Brush a -> IO Bool
brushIsOk _obj
= withBoolResult $
withObjectRef "brushIsOk" _obj $ \cobj__obj ->
wxBrush_IsOk cobj__obj
foreign import ccall "wxBrush_IsOk" wxBrush_IsOk :: Ptr (TBrush a) -> IO CBool
brushIsStatic :: Brush a -> IO Bool
brushIsStatic self
= withBoolResult $
withObjectPtr self $ \cobj_self ->
wxBrush_IsStatic cobj_self
foreign import ccall "wxBrush_IsStatic" wxBrush_IsStatic :: Ptr (TBrush a) -> IO CBool
brushSafeDelete :: Brush a -> IO ()
brushSafeDelete self
= withObjectPtr self $ \cobj_self ->
wxBrush_SafeDelete cobj_self
foreign import ccall "wxBrush_SafeDelete" wxBrush_SafeDelete :: Ptr (TBrush a) -> IO ()
brushSetColour :: Brush a -> Color -> IO ()
brushSetColour _obj col
= withObjectRef "brushSetColour" _obj $ \cobj__obj ->
withColourPtr col $ \cobj_col ->
wxBrush_SetColour cobj__obj cobj_col
foreign import ccall "wxBrush_SetColour" wxBrush_SetColour :: Ptr (TBrush a) -> Ptr (TColour b) -> IO ()
brushSetColourSingle :: Brush a -> Char -> Char -> Char -> IO ()
brushSetColourSingle _obj r g b
= withObjectRef "brushSetColourSingle" _obj $ \cobj__obj ->
wxBrush_SetColourSingle cobj__obj (toCWchar r) (toCWchar g) (toCWchar b)
foreign import ccall "wxBrush_SetColourSingle" wxBrush_SetColourSingle :: Ptr (TBrush a) -> CWchar -> CWchar -> CWchar -> IO ()
brushSetStipple :: Brush a -> Bitmap b -> IO ()
brushSetStipple _obj stipple
= withObjectRef "brushSetStipple" _obj $ \cobj__obj ->
withObjectPtr stipple $ \cobj_stipple ->
wxBrush_SetStipple cobj__obj cobj_stipple
foreign import ccall "wxBrush_SetStipple" wxBrush_SetStipple :: Ptr (TBrush a) -> Ptr (TBitmap b) -> IO ()
brushSetStyle :: Brush a -> Int -> IO ()
brushSetStyle _obj style
= withObjectRef "brushSetStyle" _obj $ \cobj__obj ->
wxBrush_SetStyle cobj__obj (toCInt style)
foreign import ccall "wxBrush_SetStyle" wxBrush_SetStyle :: Ptr (TBrush a) -> CInt -> IO ()
bufferedDCCreateByDCAndBitmap :: DC a -> Bitmap b -> Int -> IO (BufferedDC ())
bufferedDCCreateByDCAndBitmap dc bitmap style
= withObjectResult $
withObjectPtr dc $ \cobj_dc ->
withObjectPtr bitmap $ \cobj_bitmap ->
wxBufferedDC_CreateByDCAndBitmap cobj_dc cobj_bitmap (toCInt style)
foreign import ccall "wxBufferedDC_CreateByDCAndBitmap" wxBufferedDC_CreateByDCAndBitmap :: Ptr (TDC a) -> Ptr (TBitmap b) -> CInt -> IO (Ptr (TBufferedDC ()))
bufferedDCCreateByDCAndSize :: DC a -> Size -> Int -> IO (BufferedDC ())
bufferedDCCreateByDCAndSize dc widthhight style
= withObjectResult $
withObjectPtr dc $ \cobj_dc ->
wxBufferedDC_CreateByDCAndSize cobj_dc (toCIntSizeW widthhight) (toCIntSizeH widthhight) (toCInt style)
foreign import ccall "wxBufferedDC_CreateByDCAndSize" wxBufferedDC_CreateByDCAndSize :: Ptr (TDC a) -> CInt -> CInt -> CInt -> IO (Ptr (TBufferedDC ()))
bufferedDCDelete :: BufferedDC a -> IO ()
bufferedDCDelete
= objectDelete
bufferedPaintDCCreate :: Window a -> Int -> IO (BufferedPaintDC ())
bufferedPaintDCCreate window style
= withObjectResult $
withObjectPtr window $ \cobj_window ->
wxBufferedPaintDC_Create cobj_window (toCInt style)
foreign import ccall "wxBufferedPaintDC_Create" wxBufferedPaintDC_Create :: Ptr (TWindow a) -> CInt -> IO (Ptr (TBufferedPaintDC ()))
bufferedPaintDCCreateWithBitmap :: Window a -> Bitmap b -> Int -> IO (BufferedPaintDC ())
bufferedPaintDCCreateWithBitmap window bitmap style
= withObjectResult $
withObjectPtr window $ \cobj_window ->
withObjectPtr bitmap $ \cobj_bitmap ->
wxBufferedPaintDC_CreateWithBitmap cobj_window cobj_bitmap (toCInt style)
foreign import ccall "wxBufferedPaintDC_CreateWithBitmap" wxBufferedPaintDC_CreateWithBitmap :: Ptr (TWindow a) -> Ptr (TBitmap b) -> CInt -> IO (Ptr (TBufferedPaintDC ()))
bufferedPaintDCDelete :: BufferedPaintDC a -> IO ()
bufferedPaintDCDelete
= objectDelete
busyCursorCreate :: IO (BusyCursor ())
busyCursorCreate
= withObjectResult $
wxBusyCursor_Create
foreign import ccall "wxBusyCursor_Create" wxBusyCursor_Create :: IO (Ptr (TBusyCursor ()))
busyCursorCreateWithCursor :: BusyCursor a -> IO (Ptr ())
busyCursorCreateWithCursor _cur
= withObjectRef "busyCursorCreateWithCursor" _cur $ \cobj__cur ->
wxBusyCursor_CreateWithCursor cobj__cur
foreign import ccall "wxBusyCursor_CreateWithCursor" wxBusyCursor_CreateWithCursor :: Ptr (TBusyCursor a) -> IO (Ptr ())
busyCursorDelete :: BusyCursor a -> IO ()
busyCursorDelete _obj
= withObjectRef "busyCursorDelete" _obj $ \cobj__obj ->
wxBusyCursor_Delete cobj__obj
foreign import ccall "wxBusyCursor_Delete" wxBusyCursor_Delete :: Ptr (TBusyCursor a) -> IO ()
busyInfoCreate :: String -> IO (BusyInfo ())
busyInfoCreate _txt
= withObjectResult $
withStringPtr _txt $ \cobj__txt ->
wxBusyInfo_Create cobj__txt
foreign import ccall "wxBusyInfo_Create" wxBusyInfo_Create :: Ptr (TWxString a) -> IO (Ptr (TBusyInfo ()))
busyInfoDelete :: BusyInfo a -> IO ()
busyInfoDelete _obj
= withObjectRef "busyInfoDelete" _obj $ \cobj__obj ->
wxBusyInfo_Delete cobj__obj
foreign import ccall "wxBusyInfo_Delete" wxBusyInfo_Delete :: Ptr (TBusyInfo a) -> IO ()
buttonCreate :: Window a -> Id -> String -> Rect -> Style -> IO (Button ())
buttonCreate _prt _id _txt _lfttopwdthgt _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withStringPtr _txt $ \cobj__txt ->
wxButton_Create cobj__prt (toCInt _id) cobj__txt (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) (toCInt _stl)
foreign import ccall "wxButton_Create" wxButton_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TButton ()))
buttonSetBackgroundColour :: Button a -> Color -> IO Int
buttonSetBackgroundColour _obj colour
= withIntResult $
withObjectRef "buttonSetBackgroundColour" _obj $ \cobj__obj ->
withColourPtr colour $ \cobj_colour ->
wxButton_SetBackgroundColour cobj__obj cobj_colour
foreign import ccall "wxButton_SetBackgroundColour" wxButton_SetBackgroundColour :: Ptr (TButton a) -> Ptr (TColour b) -> IO CInt
buttonSetDefault :: Button a -> IO ()
buttonSetDefault _obj
= withObjectRef "buttonSetDefault" _obj $ \cobj__obj ->
wxButton_SetDefault cobj__obj
foreign import ccall "wxButton_SetDefault" wxButton_SetDefault :: Ptr (TButton a) -> IO ()
cFree :: Ptr a -> IO ()
cFree _ptr
= wx_wxCFree _ptr
foreign import ccall "wxCFree" wx_wxCFree :: Ptr a -> IO ()
calculateLayoutEventCreate :: Id -> IO (CalculateLayoutEvent ())
calculateLayoutEventCreate id
= withObjectResult $
wxCalculateLayoutEvent_Create (toCInt id)
foreign import ccall "wxCalculateLayoutEvent_Create" wxCalculateLayoutEvent_Create :: CInt -> IO (Ptr (TCalculateLayoutEvent ()))
calculateLayoutEventGetFlags :: CalculateLayoutEvent a -> IO Int
calculateLayoutEventGetFlags _obj
= withIntResult $
withObjectRef "calculateLayoutEventGetFlags" _obj $ \cobj__obj ->
wxCalculateLayoutEvent_GetFlags cobj__obj
foreign import ccall "wxCalculateLayoutEvent_GetFlags" wxCalculateLayoutEvent_GetFlags :: Ptr (TCalculateLayoutEvent a) -> IO CInt
calculateLayoutEventGetRect :: CalculateLayoutEvent a -> IO (Rect)
calculateLayoutEventGetRect _obj
= withWxRectResult $
withObjectRef "calculateLayoutEventGetRect" _obj $ \cobj__obj ->
wxCalculateLayoutEvent_GetRect cobj__obj
foreign import ccall "wxCalculateLayoutEvent_GetRect" wxCalculateLayoutEvent_GetRect :: Ptr (TCalculateLayoutEvent a) -> IO (Ptr (TWxRect ()))
calculateLayoutEventSetFlags :: CalculateLayoutEvent a -> Int -> IO ()
calculateLayoutEventSetFlags _obj flags
= withObjectRef "calculateLayoutEventSetFlags" _obj $ \cobj__obj ->
wxCalculateLayoutEvent_SetFlags cobj__obj (toCInt flags)
foreign import ccall "wxCalculateLayoutEvent_SetFlags" wxCalculateLayoutEvent_SetFlags :: Ptr (TCalculateLayoutEvent a) -> CInt -> IO ()
calculateLayoutEventSetRect :: CalculateLayoutEvent a -> Rect -> IO ()
calculateLayoutEventSetRect _obj xywh
= withObjectRef "calculateLayoutEventSetRect" _obj $ \cobj__obj ->
wxCalculateLayoutEvent_SetRect cobj__obj (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)
foreign import ccall "wxCalculateLayoutEvent_SetRect" wxCalculateLayoutEvent_SetRect :: Ptr (TCalculateLayoutEvent a) -> CInt -> CInt -> CInt -> CInt -> IO ()
calendarCtrlCreate :: Window a -> Id -> DateTime c -> Rect -> Style -> IO (CalendarCtrl ())
calendarCtrlCreate _prt _id _dat _lfttopwdthgt _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withObjectPtr _dat $ \cobj__dat ->
wxCalendarCtrl_Create cobj__prt (toCInt _id) cobj__dat (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) (toCInt _stl)
foreign import ccall "wxCalendarCtrl_Create" wxCalendarCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TDateTime c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TCalendarCtrl ()))
calendarCtrlEnableHolidayDisplay :: CalendarCtrl a -> Int -> IO ()
calendarCtrlEnableHolidayDisplay _obj display
= withObjectRef "calendarCtrlEnableHolidayDisplay" _obj $ \cobj__obj ->
wxCalendarCtrl_EnableHolidayDisplay cobj__obj (toCInt display)
foreign import ccall "wxCalendarCtrl_EnableHolidayDisplay" wxCalendarCtrl_EnableHolidayDisplay :: Ptr (TCalendarCtrl a) -> CInt -> IO ()
calendarCtrlEnableMonthChange :: CalendarCtrl a -> Bool -> IO ()
calendarCtrlEnableMonthChange _obj enable
= withObjectRef "calendarCtrlEnableMonthChange" _obj $ \cobj__obj ->
wxCalendarCtrl_EnableMonthChange cobj__obj (toCBool enable)
foreign import ccall "wxCalendarCtrl_EnableMonthChange" wxCalendarCtrl_EnableMonthChange :: Ptr (TCalendarCtrl a) -> CBool -> IO ()
calendarCtrlGetAttr :: CalendarCtrl a -> Int -> IO (Ptr ())
calendarCtrlGetAttr _obj day
= withObjectRef "calendarCtrlGetAttr" _obj $ \cobj__obj ->
wxCalendarCtrl_GetAttr cobj__obj (toCInt day)
foreign import ccall "wxCalendarCtrl_GetAttr" wxCalendarCtrl_GetAttr :: Ptr (TCalendarCtrl a) -> CInt -> IO (Ptr ())
calendarCtrlGetDate :: CalendarCtrl a -> Ptr b -> IO ()
calendarCtrlGetDate _obj date
= withObjectRef "calendarCtrlGetDate" _obj $ \cobj__obj ->
wxCalendarCtrl_GetDate cobj__obj date
foreign import ccall "wxCalendarCtrl_GetDate" wxCalendarCtrl_GetDate :: Ptr (TCalendarCtrl a) -> Ptr b -> IO ()
calendarCtrlGetHeaderColourBg :: CalendarCtrl a -> IO (Color)
calendarCtrlGetHeaderColourBg _obj
= withRefColour $ \pref ->
withObjectRef "calendarCtrlGetHeaderColourBg" _obj $ \cobj__obj ->
wxCalendarCtrl_GetHeaderColourBg cobj__obj pref
foreign import ccall "wxCalendarCtrl_GetHeaderColourBg" wxCalendarCtrl_GetHeaderColourBg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()
calendarCtrlGetHeaderColourFg :: CalendarCtrl a -> IO (Color)
calendarCtrlGetHeaderColourFg _obj
= withRefColour $ \pref ->
withObjectRef "calendarCtrlGetHeaderColourFg" _obj $ \cobj__obj ->
wxCalendarCtrl_GetHeaderColourFg cobj__obj pref
foreign import ccall "wxCalendarCtrl_GetHeaderColourFg" wxCalendarCtrl_GetHeaderColourFg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()
calendarCtrlGetHighlightColourBg :: CalendarCtrl a -> IO (Color)
calendarCtrlGetHighlightColourBg _obj
= withRefColour $ \pref ->
withObjectRef "calendarCtrlGetHighlightColourBg" _obj $ \cobj__obj ->
wxCalendarCtrl_GetHighlightColourBg cobj__obj pref
foreign import ccall "wxCalendarCtrl_GetHighlightColourBg" wxCalendarCtrl_GetHighlightColourBg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()
calendarCtrlGetHighlightColourFg :: CalendarCtrl a -> IO (Color)
calendarCtrlGetHighlightColourFg _obj
= withRefColour $ \pref ->
withObjectRef "calendarCtrlGetHighlightColourFg" _obj $ \cobj__obj ->
wxCalendarCtrl_GetHighlightColourFg cobj__obj pref
foreign import ccall "wxCalendarCtrl_GetHighlightColourFg" wxCalendarCtrl_GetHighlightColourFg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()
calendarCtrlGetHolidayColourBg :: CalendarCtrl a -> IO (Color)
calendarCtrlGetHolidayColourBg _obj
= withRefColour $ \pref ->
withObjectRef "calendarCtrlGetHolidayColourBg" _obj $ \cobj__obj ->
wxCalendarCtrl_GetHolidayColourBg cobj__obj pref
foreign import ccall "wxCalendarCtrl_GetHolidayColourBg" wxCalendarCtrl_GetHolidayColourBg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()
calendarCtrlGetHolidayColourFg :: CalendarCtrl a -> IO (Color)
calendarCtrlGetHolidayColourFg _obj
= withRefColour $ \pref ->
withObjectRef "calendarCtrlGetHolidayColourFg" _obj $ \cobj__obj ->
wxCalendarCtrl_GetHolidayColourFg cobj__obj pref
foreign import ccall "wxCalendarCtrl_GetHolidayColourFg" wxCalendarCtrl_GetHolidayColourFg :: Ptr (TCalendarCtrl a) -> Ptr (TColour ()) -> IO ()
calendarCtrlHitTest :: CalendarCtrl a -> Point -> Ptr c -> Ptr d -> IO Int
calendarCtrlHitTest _obj xy date wd
= withIntResult $
withObjectRef "calendarCtrlHitTest" _obj $ \cobj__obj ->
wxCalendarCtrl_HitTest cobj__obj (toCIntPointX xy) (toCIntPointY xy) date wd
foreign import ccall "wxCalendarCtrl_HitTest" wxCalendarCtrl_HitTest :: Ptr (TCalendarCtrl a) -> CInt -> CInt -> Ptr c -> Ptr d -> IO CInt
calendarCtrlResetAttr :: CalendarCtrl a -> Int -> IO ()
calendarCtrlResetAttr _obj day
= withObjectRef "calendarCtrlResetAttr" _obj $ \cobj__obj ->
wxCalendarCtrl_ResetAttr cobj__obj (toCInt day)
foreign import ccall "wxCalendarCtrl_ResetAttr" wxCalendarCtrl_ResetAttr :: Ptr (TCalendarCtrl a) -> CInt -> IO ()
calendarCtrlSetAttr :: CalendarCtrl a -> Int -> Ptr c -> IO ()
calendarCtrlSetAttr _obj day attr
= withObjectRef "calendarCtrlSetAttr" _obj $ \cobj__obj ->
wxCalendarCtrl_SetAttr cobj__obj (toCInt day) attr
foreign import ccall "wxCalendarCtrl_SetAttr" wxCalendarCtrl_SetAttr :: Ptr (TCalendarCtrl a) -> CInt -> Ptr c -> IO ()
calendarCtrlSetDate :: CalendarCtrl a -> Ptr b -> IO ()
calendarCtrlSetDate _obj date
= withObjectRef "calendarCtrlSetDate" _obj $ \cobj__obj ->
wxCalendarCtrl_SetDate cobj__obj date
foreign import ccall "wxCalendarCtrl_SetDate" wxCalendarCtrl_SetDate :: Ptr (TCalendarCtrl a) -> Ptr b -> IO ()
calendarCtrlSetHeaderColours :: CalendarCtrl a -> Ptr b -> Ptr c -> IO ()
calendarCtrlSetHeaderColours _obj colFg colBg
= withObjectRef "calendarCtrlSetHeaderColours" _obj $ \cobj__obj ->
wxCalendarCtrl_SetHeaderColours cobj__obj colFg colBg
foreign import ccall "wxCalendarCtrl_SetHeaderColours" wxCalendarCtrl_SetHeaderColours :: Ptr (TCalendarCtrl a) -> Ptr b -> Ptr c -> IO ()
calendarCtrlSetHighlightColours :: CalendarCtrl a -> Ptr b -> Ptr c -> IO ()
calendarCtrlSetHighlightColours _obj colFg colBg
= withObjectRef "calendarCtrlSetHighlightColours" _obj $ \cobj__obj ->
wxCalendarCtrl_SetHighlightColours cobj__obj colFg colBg
foreign import ccall "wxCalendarCtrl_SetHighlightColours" wxCalendarCtrl_SetHighlightColours :: Ptr (TCalendarCtrl a) -> Ptr b -> Ptr c -> IO ()
calendarCtrlSetHoliday :: CalendarCtrl a -> Int -> IO ()
calendarCtrlSetHoliday _obj day
= withObjectRef "calendarCtrlSetHoliday" _obj $ \cobj__obj ->
wxCalendarCtrl_SetHoliday cobj__obj (toCInt day)
foreign import ccall "wxCalendarCtrl_SetHoliday" wxCalendarCtrl_SetHoliday :: Ptr (TCalendarCtrl a) -> CInt -> IO ()
calendarCtrlSetHolidayColours :: CalendarCtrl a -> Ptr b -> Ptr c -> IO ()
calendarCtrlSetHolidayColours _obj colFg colBg
= withObjectRef "calendarCtrlSetHolidayColours" _obj $ \cobj__obj ->
wxCalendarCtrl_SetHolidayColours cobj__obj colFg colBg
foreign import ccall "wxCalendarCtrl_SetHolidayColours" wxCalendarCtrl_SetHolidayColours :: Ptr (TCalendarCtrl a) -> Ptr b -> Ptr c -> IO ()
calendarDateAttrCreate :: Ptr a -> Ptr b -> Ptr c -> Ptr d -> Int -> IO (CalendarDateAttr ())
calendarDateAttrCreate _ctxt _cbck _cbrd _fnt _brd
= withObjectResult $
wxCalendarDateAttr_Create _ctxt _cbck _cbrd _fnt (toCInt _brd)
foreign import ccall "wxCalendarDateAttr_Create" wxCalendarDateAttr_Create :: Ptr a -> Ptr b -> Ptr c -> Ptr d -> CInt -> IO (Ptr (TCalendarDateAttr ()))
calendarDateAttrCreateDefault :: IO (CalendarDateAttr ())
calendarDateAttrCreateDefault
= withObjectResult $
wxCalendarDateAttr_CreateDefault
foreign import ccall "wxCalendarDateAttr_CreateDefault" wxCalendarDateAttr_CreateDefault :: IO (Ptr (TCalendarDateAttr ()))
calendarDateAttrDelete :: CalendarDateAttr a -> IO ()
calendarDateAttrDelete _obj
= withObjectRef "calendarDateAttrDelete" _obj $ \cobj__obj ->
wxCalendarDateAttr_Delete cobj__obj
foreign import ccall "wxCalendarDateAttr_Delete" wxCalendarDateAttr_Delete :: Ptr (TCalendarDateAttr a) -> IO ()
calendarDateAttrGetBackgroundColour :: CalendarDateAttr a -> IO (Color)
calendarDateAttrGetBackgroundColour _obj
= withRefColour $ \pref ->
withObjectRef "calendarDateAttrGetBackgroundColour" _obj $ \cobj__obj ->
wxCalendarDateAttr_GetBackgroundColour cobj__obj pref
foreign import ccall "wxCalendarDateAttr_GetBackgroundColour" wxCalendarDateAttr_GetBackgroundColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour ()) -> IO ()
calendarDateAttrGetBorder :: CalendarDateAttr a -> IO Int
calendarDateAttrGetBorder _obj
= withIntResult $
withObjectRef "calendarDateAttrGetBorder" _obj $ \cobj__obj ->
wxCalendarDateAttr_GetBorder cobj__obj
foreign import ccall "wxCalendarDateAttr_GetBorder" wxCalendarDateAttr_GetBorder :: Ptr (TCalendarDateAttr a) -> IO CInt
calendarDateAttrGetBorderColour :: CalendarDateAttr a -> IO (Color)
calendarDateAttrGetBorderColour _obj
= withRefColour $ \pref ->
withObjectRef "calendarDateAttrGetBorderColour" _obj $ \cobj__obj ->
wxCalendarDateAttr_GetBorderColour cobj__obj pref
foreign import ccall "wxCalendarDateAttr_GetBorderColour" wxCalendarDateAttr_GetBorderColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour ()) -> IO ()
calendarDateAttrGetFont :: CalendarDateAttr a -> IO (Font ())
calendarDateAttrGetFont _obj
= withRefFont $ \pref ->
withObjectRef "calendarDateAttrGetFont" _obj $ \cobj__obj ->
wxCalendarDateAttr_GetFont cobj__obj pref
foreign import ccall "wxCalendarDateAttr_GetFont" wxCalendarDateAttr_GetFont :: Ptr (TCalendarDateAttr a) -> Ptr (TFont ()) -> IO ()
calendarDateAttrGetTextColour :: CalendarDateAttr a -> IO (Color)
calendarDateAttrGetTextColour _obj
= withRefColour $ \pref ->
withObjectRef "calendarDateAttrGetTextColour" _obj $ \cobj__obj ->
wxCalendarDateAttr_GetTextColour cobj__obj pref
foreign import ccall "wxCalendarDateAttr_GetTextColour" wxCalendarDateAttr_GetTextColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour ()) -> IO ()
calendarDateAttrHasBackgroundColour :: CalendarDateAttr a -> IO Bool
calendarDateAttrHasBackgroundColour _obj
= withBoolResult $
withObjectRef "calendarDateAttrHasBackgroundColour" _obj $ \cobj__obj ->
wxCalendarDateAttr_HasBackgroundColour cobj__obj
foreign import ccall "wxCalendarDateAttr_HasBackgroundColour" wxCalendarDateAttr_HasBackgroundColour :: Ptr (TCalendarDateAttr a) -> IO CBool
calendarDateAttrHasBorder :: CalendarDateAttr a -> IO Bool
calendarDateAttrHasBorder _obj
= withBoolResult $
withObjectRef "calendarDateAttrHasBorder" _obj $ \cobj__obj ->
wxCalendarDateAttr_HasBorder cobj__obj
foreign import ccall "wxCalendarDateAttr_HasBorder" wxCalendarDateAttr_HasBorder :: Ptr (TCalendarDateAttr a) -> IO CBool
calendarDateAttrHasBorderColour :: CalendarDateAttr a -> IO Bool
calendarDateAttrHasBorderColour _obj
= withBoolResult $
withObjectRef "calendarDateAttrHasBorderColour" _obj $ \cobj__obj ->
wxCalendarDateAttr_HasBorderColour cobj__obj
foreign import ccall "wxCalendarDateAttr_HasBorderColour" wxCalendarDateAttr_HasBorderColour :: Ptr (TCalendarDateAttr a) -> IO CBool
calendarDateAttrHasFont :: CalendarDateAttr a -> IO Bool
calendarDateAttrHasFont _obj
= withBoolResult $
withObjectRef "calendarDateAttrHasFont" _obj $ \cobj__obj ->
wxCalendarDateAttr_HasFont cobj__obj
foreign import ccall "wxCalendarDateAttr_HasFont" wxCalendarDateAttr_HasFont :: Ptr (TCalendarDateAttr a) -> IO CBool
calendarDateAttrHasTextColour :: CalendarDateAttr a -> IO Bool
calendarDateAttrHasTextColour _obj
= withBoolResult $
withObjectRef "calendarDateAttrHasTextColour" _obj $ \cobj__obj ->
wxCalendarDateAttr_HasTextColour cobj__obj
foreign import ccall "wxCalendarDateAttr_HasTextColour" wxCalendarDateAttr_HasTextColour :: Ptr (TCalendarDateAttr a) -> IO CBool
calendarDateAttrIsHoliday :: CalendarDateAttr a -> IO Bool
calendarDateAttrIsHoliday _obj
= withBoolResult $
withObjectRef "calendarDateAttrIsHoliday" _obj $ \cobj__obj ->
wxCalendarDateAttr_IsHoliday cobj__obj
foreign import ccall "wxCalendarDateAttr_IsHoliday" wxCalendarDateAttr_IsHoliday :: Ptr (TCalendarDateAttr a) -> IO CBool
calendarDateAttrSetBackgroundColour :: CalendarDateAttr a -> Color -> IO ()
calendarDateAttrSetBackgroundColour _obj col
= withObjectRef "calendarDateAttrSetBackgroundColour" _obj $ \cobj__obj ->
withColourPtr col $ \cobj_col ->
wxCalendarDateAttr_SetBackgroundColour cobj__obj cobj_col
foreign import ccall "wxCalendarDateAttr_SetBackgroundColour" wxCalendarDateAttr_SetBackgroundColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour b) -> IO ()
calendarDateAttrSetBorder :: CalendarDateAttr a -> Int -> IO ()
calendarDateAttrSetBorder _obj border
= withObjectRef "calendarDateAttrSetBorder" _obj $ \cobj__obj ->
wxCalendarDateAttr_SetBorder cobj__obj (toCInt border)
foreign import ccall "wxCalendarDateAttr_SetBorder" wxCalendarDateAttr_SetBorder :: Ptr (TCalendarDateAttr a) -> CInt -> IO ()
calendarDateAttrSetBorderColour :: CalendarDateAttr a -> Color -> IO ()
calendarDateAttrSetBorderColour _obj col
= withObjectRef "calendarDateAttrSetBorderColour" _obj $ \cobj__obj ->
withColourPtr col $ \cobj_col ->
wxCalendarDateAttr_SetBorderColour cobj__obj cobj_col
foreign import ccall "wxCalendarDateAttr_SetBorderColour" wxCalendarDateAttr_SetBorderColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour b) -> IO ()
calendarDateAttrSetFont :: CalendarDateAttr a -> Font b -> IO ()
calendarDateAttrSetFont _obj font
= withObjectRef "calendarDateAttrSetFont" _obj $ \cobj__obj ->
withObjectPtr font $ \cobj_font ->
wxCalendarDateAttr_SetFont cobj__obj cobj_font
foreign import ccall "wxCalendarDateAttr_SetFont" wxCalendarDateAttr_SetFont :: Ptr (TCalendarDateAttr a) -> Ptr (TFont b) -> IO ()
calendarDateAttrSetHoliday :: CalendarDateAttr a -> Int -> IO ()
calendarDateAttrSetHoliday _obj holiday
= withObjectRef "calendarDateAttrSetHoliday" _obj $ \cobj__obj ->
wxCalendarDateAttr_SetHoliday cobj__obj (toCInt holiday)
foreign import ccall "wxCalendarDateAttr_SetHoliday" wxCalendarDateAttr_SetHoliday :: Ptr (TCalendarDateAttr a) -> CInt -> IO ()
calendarDateAttrSetTextColour :: CalendarDateAttr a -> Color -> IO ()
calendarDateAttrSetTextColour _obj col
= withObjectRef "calendarDateAttrSetTextColour" _obj $ \cobj__obj ->
withColourPtr col $ \cobj_col ->
wxCalendarDateAttr_SetTextColour cobj__obj cobj_col
foreign import ccall "wxCalendarDateAttr_SetTextColour" wxCalendarDateAttr_SetTextColour :: Ptr (TCalendarDateAttr a) -> Ptr (TColour b) -> IO ()
calendarEventGetDate :: CalendarEvent a -> Ptr b -> IO ()
calendarEventGetDate _obj _dte
= withObjectRef "calendarEventGetDate" _obj $ \cobj__obj ->
wxCalendarEvent_GetDate cobj__obj _dte
foreign import ccall "wxCalendarEvent_GetDate" wxCalendarEvent_GetDate :: Ptr (TCalendarEvent a) -> Ptr b -> IO ()
calendarEventGetWeekDay :: CalendarEvent a -> IO Int
calendarEventGetWeekDay _obj
= withIntResult $
withObjectRef "calendarEventGetWeekDay" _obj $ \cobj__obj ->
wxCalendarEvent_GetWeekDay cobj__obj
foreign import ccall "wxCalendarEvent_GetWeekDay" wxCalendarEvent_GetWeekDay :: Ptr (TCalendarEvent a) -> IO CInt
caretCreate :: Window a -> Int -> Int -> IO (Caret ())
caretCreate _wnd _wth _hgt
= withObjectResult $
withObjectPtr _wnd $ \cobj__wnd ->
wxCaret_Create cobj__wnd (toCInt _wth) (toCInt _hgt)
foreign import ccall "wxCaret_Create" wxCaret_Create :: Ptr (TWindow a) -> CInt -> CInt -> IO (Ptr (TCaret ()))
caretGetBlinkTime :: IO Int
caretGetBlinkTime
= withIntResult $
wxCaret_GetBlinkTime
foreign import ccall "wxCaret_GetBlinkTime" wxCaret_GetBlinkTime :: IO CInt
caretGetPosition :: Caret a -> IO (Point)
caretGetPosition _obj
= withWxPointResult $
withObjectRef "caretGetPosition" _obj $ \cobj__obj ->
wxCaret_GetPosition cobj__obj
foreign import ccall "wxCaret_GetPosition" wxCaret_GetPosition :: Ptr (TCaret a) -> IO (Ptr (TWxPoint ()))
caretGetSize :: Caret a -> IO (Size)
caretGetSize _obj
= withWxSizeResult $
withObjectRef "caretGetSize" _obj $ \cobj__obj ->
wxCaret_GetSize cobj__obj
foreign import ccall "wxCaret_GetSize" wxCaret_GetSize :: Ptr (TCaret a) -> IO (Ptr (TWxSize ()))
caretGetWindow :: Caret a -> IO (Window ())
caretGetWindow _obj
= withObjectResult $
withObjectRef "caretGetWindow" _obj $ \cobj__obj ->
wxCaret_GetWindow cobj__obj
foreign import ccall "wxCaret_GetWindow" wxCaret_GetWindow :: Ptr (TCaret a) -> IO (Ptr (TWindow ()))
caretHide :: Caret a -> IO ()
caretHide _obj
= withObjectRef "caretHide" _obj $ \cobj__obj ->
wxCaret_Hide cobj__obj
foreign import ccall "wxCaret_Hide" wxCaret_Hide :: Ptr (TCaret a) -> IO ()
caretIsOk :: Caret a -> IO Bool
caretIsOk _obj
= withBoolResult $
withObjectRef "caretIsOk" _obj $ \cobj__obj ->
wxCaret_IsOk cobj__obj
foreign import ccall "wxCaret_IsOk" wxCaret_IsOk :: Ptr (TCaret a) -> IO CBool
caretIsVisible :: Caret a -> IO Bool
caretIsVisible _obj
= withBoolResult $
withObjectRef "caretIsVisible" _obj $ \cobj__obj ->
wxCaret_IsVisible cobj__obj
foreign import ccall "wxCaret_IsVisible" wxCaret_IsVisible :: Ptr (TCaret a) -> IO CBool
caretMove :: Caret a -> Point -> IO ()
caretMove _obj xy
= withObjectRef "caretMove" _obj $ \cobj__obj ->
wxCaret_Move cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxCaret_Move" wxCaret_Move :: Ptr (TCaret a) -> CInt -> CInt -> IO ()
caretSetBlinkTime :: Int -> IO ()
caretSetBlinkTime milliseconds
= wxCaret_SetBlinkTime (toCInt milliseconds)
foreign import ccall "wxCaret_SetBlinkTime" wxCaret_SetBlinkTime :: CInt -> IO ()
caretSetSize :: Caret a -> Size -> IO ()
caretSetSize _obj widthheight
= withObjectRef "caretSetSize" _obj $ \cobj__obj ->
wxCaret_SetSize cobj__obj (toCIntSizeW widthheight) (toCIntSizeH widthheight)
foreign import ccall "wxCaret_SetSize" wxCaret_SetSize :: Ptr (TCaret a) -> CInt -> CInt -> IO ()
caretShow :: Caret a -> IO ()
caretShow _obj
= withObjectRef "caretShow" _obj $ \cobj__obj ->
wxCaret_Show cobj__obj
foreign import ccall "wxCaret_Show" wxCaret_Show :: Ptr (TCaret a) -> IO ()
checkBoxCreate :: Window a -> Id -> String -> Rect -> Style -> IO (CheckBox ())
checkBoxCreate _prt _id _txt _lfttopwdthgt _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withStringPtr _txt $ \cobj__txt ->
wxCheckBox_Create cobj__prt (toCInt _id) cobj__txt (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) (toCInt _stl)
foreign import ccall "wxCheckBox_Create" wxCheckBox_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TCheckBox ()))
checkBoxDelete :: CheckBox a -> IO ()
checkBoxDelete
= objectDelete
checkBoxGetValue :: CheckBox a -> IO Bool
checkBoxGetValue _obj
= withBoolResult $
withObjectRef "checkBoxGetValue" _obj $ \cobj__obj ->
wxCheckBox_GetValue cobj__obj
foreign import ccall "wxCheckBox_GetValue" wxCheckBox_GetValue :: Ptr (TCheckBox a) -> IO CBool
checkBoxSetValue :: CheckBox a -> Bool -> IO ()
checkBoxSetValue _obj value
= withObjectRef "checkBoxSetValue" _obj $ \cobj__obj ->
wxCheckBox_SetValue cobj__obj (toCBool value)
foreign import ccall "wxCheckBox_SetValue" wxCheckBox_SetValue :: Ptr (TCheckBox a) -> CBool -> IO ()
checkListBoxCheck :: CheckListBox a -> Int -> Bool -> IO ()
checkListBoxCheck _obj item check
= withObjectRef "checkListBoxCheck" _obj $ \cobj__obj ->
wxCheckListBox_Check cobj__obj (toCInt item) (toCBool check)
foreign import ccall "wxCheckListBox_Check" wxCheckListBox_Check :: Ptr (TCheckListBox a) -> CInt -> CBool -> IO ()
checkListBoxCreate :: Window a -> Id -> Rect -> [String] -> Style -> IO (CheckListBox ())
checkListBoxCreate _prt _id _lfttopwdthgt nstr _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withArrayWString nstr $ \carrlen_nstr carr_nstr ->
wxCheckListBox_Create cobj__prt (toCInt _id) (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) carrlen_nstr carr_nstr (toCInt _stl)
foreign import ccall "wxCheckListBox_Create" wxCheckListBox_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO (Ptr (TCheckListBox ()))
checkListBoxDelete :: CheckListBox a -> IO ()
checkListBoxDelete
= objectDelete
checkListBoxIsChecked :: CheckListBox a -> Int -> IO Bool
checkListBoxIsChecked _obj item
= withBoolResult $
withObjectRef "checkListBoxIsChecked" _obj $ \cobj__obj ->
wxCheckListBox_IsChecked cobj__obj (toCInt item)
foreign import ccall "wxCheckListBox_IsChecked" wxCheckListBox_IsChecked :: Ptr (TCheckListBox a) -> CInt -> IO CBool
choiceAppend :: Choice a -> String -> IO ()
choiceAppend _obj item
= withObjectRef "choiceAppend" _obj $ \cobj__obj ->
withStringPtr item $ \cobj_item ->
wxChoice_Append cobj__obj cobj_item
foreign import ccall "wxChoice_Append" wxChoice_Append :: Ptr (TChoice a) -> Ptr (TWxString b) -> IO ()
choiceClear :: Choice a -> IO ()
choiceClear _obj
= withObjectRef "choiceClear" _obj $ \cobj__obj ->
wxChoice_Clear cobj__obj
foreign import ccall "wxChoice_Clear" wxChoice_Clear :: Ptr (TChoice a) -> IO ()
choiceCreate :: Window a -> Id -> Rect -> [String] -> Style -> IO (Choice ())
choiceCreate _prt _id _lfttopwdthgt nstr _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withArrayWString nstr $ \carrlen_nstr carr_nstr ->
wxChoice_Create cobj__prt (toCInt _id) (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) carrlen_nstr carr_nstr (toCInt _stl)
foreign import ccall "wxChoice_Create" wxChoice_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO (Ptr (TChoice ()))
choiceDelete :: Choice a -> Int -> IO ()
choiceDelete _obj n
= withObjectRef "choiceDelete" _obj $ \cobj__obj ->
wxChoice_Delete cobj__obj (toCInt n)
foreign import ccall "wxChoice_Delete" wxChoice_Delete :: Ptr (TChoice a) -> CInt -> IO ()
choiceFindString :: Choice a -> String -> IO Int
choiceFindString _obj s
= withIntResult $
withObjectRef "choiceFindString" _obj $ \cobj__obj ->
withStringPtr s $ \cobj_s ->
wxChoice_FindString cobj__obj cobj_s
foreign import ccall "wxChoice_FindString" wxChoice_FindString :: Ptr (TChoice a) -> Ptr (TWxString b) -> IO CInt
choiceGetCount :: Choice a -> IO Int
choiceGetCount _obj
= withIntResult $
withObjectRef "choiceGetCount" _obj $ \cobj__obj ->
wxChoice_GetCount cobj__obj
foreign import ccall "wxChoice_GetCount" wxChoice_GetCount :: Ptr (TChoice a) -> IO CInt
choiceGetSelection :: Choice a -> IO Int
choiceGetSelection _obj
= withIntResult $
withObjectRef "choiceGetSelection" _obj $ \cobj__obj ->
wxChoice_GetSelection cobj__obj
foreign import ccall "wxChoice_GetSelection" wxChoice_GetSelection :: Ptr (TChoice a) -> IO CInt
choiceGetString :: Choice a -> Int -> IO (String)
choiceGetString _obj n
= withManagedStringResult $
withObjectRef "choiceGetString" _obj $ \cobj__obj ->
wxChoice_GetString cobj__obj (toCInt n)
foreign import ccall "wxChoice_GetString" wxChoice_GetString :: Ptr (TChoice a) -> CInt -> IO (Ptr (TWxString ()))
choiceSetSelection :: Choice a -> Int -> IO ()
choiceSetSelection _obj n
= withObjectRef "choiceSetSelection" _obj $ \cobj__obj ->
wxChoice_SetSelection cobj__obj (toCInt n)
foreign import ccall "wxChoice_SetSelection" wxChoice_SetSelection :: Ptr (TChoice a) -> CInt -> IO ()
choiceSetString :: Choice a -> Int -> String -> IO ()
choiceSetString _obj n s
= withObjectRef "choiceSetString" _obj $ \cobj__obj ->
withStringPtr s $ \cobj_s ->
wxChoice_SetString cobj__obj (toCInt n) cobj_s
foreign import ccall "wxChoice_SetString" wxChoice_SetString :: Ptr (TChoice a) -> CInt -> Ptr (TWxString c) -> IO ()
classInfoCreateClassByName :: ClassInfo a -> IO (Ptr ())
classInfoCreateClassByName _inf
= withObjectRef "classInfoCreateClassByName" _inf $ \cobj__inf ->
wxClassInfo_CreateClassByName cobj__inf
foreign import ccall "wxClassInfo_CreateClassByName" wxClassInfo_CreateClassByName :: Ptr (TClassInfo a) -> IO (Ptr ())
classInfoFindClass :: String -> IO (ClassInfo ())
classInfoFindClass _txt
= withObjectResult $
withStringPtr _txt $ \cobj__txt ->
wxClassInfo_FindClass cobj__txt
foreign import ccall "wxClassInfo_FindClass" wxClassInfo_FindClass :: Ptr (TWxString a) -> IO (Ptr (TClassInfo ()))
classInfoGetBaseClassName1 :: ClassInfo a -> IO (String)
classInfoGetBaseClassName1 _obj
= withManagedStringResult $
withObjectRef "classInfoGetBaseClassName1" _obj $ \cobj__obj ->
wxClassInfo_GetBaseClassName1 cobj__obj
foreign import ccall "wxClassInfo_GetBaseClassName1" wxClassInfo_GetBaseClassName1 :: Ptr (TClassInfo a) -> IO (Ptr (TWxString ()))
classInfoGetBaseClassName2 :: ClassInfo a -> IO (String)
classInfoGetBaseClassName2 _obj
= withManagedStringResult $
withObjectRef "classInfoGetBaseClassName2" _obj $ \cobj__obj ->
wxClassInfo_GetBaseClassName2 cobj__obj
foreign import ccall "wxClassInfo_GetBaseClassName2" wxClassInfo_GetBaseClassName2 :: Ptr (TClassInfo a) -> IO (Ptr (TWxString ()))
classInfoGetClassName :: ClassInfo a -> IO (Ptr ())
classInfoGetClassName _inf
= withObjectRef "classInfoGetClassName" _inf $ \cobj__inf ->
wxClassInfo_GetClassName cobj__inf
foreign import ccall "wxClassInfo_GetClassName" wxClassInfo_GetClassName :: Ptr (TClassInfo a) -> IO (Ptr ())
classInfoGetClassNameEx :: ClassInfo a -> IO (String)
classInfoGetClassNameEx _obj
= withManagedStringResult $
withObjectRef "classInfoGetClassNameEx" _obj $ \cobj__obj ->
wxClassInfo_GetClassNameEx cobj__obj
foreign import ccall "wxClassInfo_GetClassNameEx" wxClassInfo_GetClassNameEx :: Ptr (TClassInfo a) -> IO (Ptr (TWxString ()))
classInfoGetSize :: ClassInfo a -> IO Int
classInfoGetSize _obj
= withIntResult $
withObjectRef "classInfoGetSize" _obj $ \cobj__obj ->
wxClassInfo_GetSize cobj__obj
foreign import ccall "wxClassInfo_GetSize" wxClassInfo_GetSize :: Ptr (TClassInfo a) -> IO CInt
classInfoIsKindOf :: ClassInfo a -> String -> IO Bool
classInfoIsKindOf _obj _name
= withBoolResult $
withObjectRef "classInfoIsKindOf" _obj $ \cobj__obj ->
withStringPtr _name $ \cobj__name ->
wxClassInfo_IsKindOf cobj__obj cobj__name
foreign import ccall "wxClassInfo_IsKindOf" wxClassInfo_IsKindOf :: Ptr (TClassInfo a) -> Ptr (TWxString b) -> IO CBool
classInfoIsKindOfEx :: ClassInfo a -> ClassInfo b -> IO Bool
classInfoIsKindOfEx _obj classInfo
= withBoolResult $
withObjectRef "classInfoIsKindOfEx" _obj $ \cobj__obj ->
withObjectPtr classInfo $ \cobj_classInfo ->
wxClassInfo_IsKindOfEx cobj__obj cobj_classInfo
foreign import ccall "wxClassInfo_IsKindOfEx" wxClassInfo_IsKindOfEx :: Ptr (TClassInfo a) -> Ptr (TClassInfo b) -> IO CBool
clientDCCreate :: Window a -> IO (ClientDC ())
clientDCCreate win
= withObjectResult $
withObjectPtr win $ \cobj_win ->
wxClientDC_Create cobj_win
foreign import ccall "wxClientDC_Create" wxClientDC_Create :: Ptr (TWindow a) -> IO (Ptr (TClientDC ()))
clientDCDelete :: ClientDC a -> IO ()
clientDCDelete
= objectDelete
clipboardAddData :: Clipboard a -> DataObject b -> IO Bool
clipboardAddData _obj wxdata
= withBoolResult $
withObjectRef "clipboardAddData" _obj $ \cobj__obj ->
withObjectPtr wxdata $ \cobj_wxdata ->
wxClipboard_AddData cobj__obj cobj_wxdata
foreign import ccall "wxClipboard_AddData" wxClipboard_AddData :: Ptr (TClipboard a) -> Ptr (TDataObject b) -> IO CBool
clipboardClear :: Clipboard a -> IO ()
clipboardClear _obj
= withObjectRef "clipboardClear" _obj $ \cobj__obj ->
wxClipboard_Clear cobj__obj
foreign import ccall "wxClipboard_Clear" wxClipboard_Clear :: Ptr (TClipboard a) -> IO ()
clipboardClose :: Clipboard a -> IO ()
clipboardClose _obj
= withObjectRef "clipboardClose" _obj $ \cobj__obj ->
wxClipboard_Close cobj__obj
foreign import ccall "wxClipboard_Close" wxClipboard_Close :: Ptr (TClipboard a) -> IO ()
clipboardCreate :: IO (Clipboard ())
clipboardCreate
= withObjectResult $
wxClipboard_Create
foreign import ccall "wxClipboard_Create" wxClipboard_Create :: IO (Ptr (TClipboard ()))
clipboardFlush :: Clipboard a -> IO Bool
clipboardFlush _obj
= withBoolResult $
withObjectRef "clipboardFlush" _obj $ \cobj__obj ->
wxClipboard_Flush cobj__obj
foreign import ccall "wxClipboard_Flush" wxClipboard_Flush :: Ptr (TClipboard a) -> IO CBool
clipboardGetData :: Clipboard a -> DataObject b -> IO Bool
clipboardGetData _obj wxdata
= withBoolResult $
withObjectRef "clipboardGetData" _obj $ \cobj__obj ->
withObjectPtr wxdata $ \cobj_wxdata ->
wxClipboard_GetData cobj__obj cobj_wxdata
foreign import ccall "wxClipboard_GetData" wxClipboard_GetData :: Ptr (TClipboard a) -> Ptr (TDataObject b) -> IO CBool
clipboardIsOpened :: Clipboard a -> IO Bool
clipboardIsOpened _obj
= withBoolResult $
withObjectRef "clipboardIsOpened" _obj $ \cobj__obj ->
wxClipboard_IsOpened cobj__obj
foreign import ccall "wxClipboard_IsOpened" wxClipboard_IsOpened :: Ptr (TClipboard a) -> IO CBool
clipboardIsSupported :: Clipboard a -> DataFormat b -> IO Bool
clipboardIsSupported _obj format
= withBoolResult $
withObjectRef "clipboardIsSupported" _obj $ \cobj__obj ->
withObjectPtr format $ \cobj_format ->
wxClipboard_IsSupported cobj__obj cobj_format
foreign import ccall "wxClipboard_IsSupported" wxClipboard_IsSupported :: Ptr (TClipboard a) -> Ptr (TDataFormat b) -> IO CBool
clipboardOpen :: Clipboard a -> IO Bool
clipboardOpen _obj
= withBoolResult $
withObjectRef "clipboardOpen" _obj $ \cobj__obj ->
wxClipboard_Open cobj__obj
foreign import ccall "wxClipboard_Open" wxClipboard_Open :: Ptr (TClipboard a) -> IO CBool
clipboardSetData :: Clipboard a -> DataObject b -> IO Bool
clipboardSetData _obj wxdata
= withBoolResult $
withObjectRef "clipboardSetData" _obj $ \cobj__obj ->
withObjectPtr wxdata $ \cobj_wxdata ->
wxClipboard_SetData cobj__obj cobj_wxdata
foreign import ccall "wxClipboard_SetData" wxClipboard_SetData :: Ptr (TClipboard a) -> Ptr (TDataObject b) -> IO CBool
clipboardUsePrimarySelection :: Clipboard a -> Bool -> IO ()
clipboardUsePrimarySelection _obj primary
= withObjectRef "clipboardUsePrimarySelection" _obj $ \cobj__obj ->
wxClipboard_UsePrimarySelection cobj__obj (toCBool primary)
foreign import ccall "wxClipboard_UsePrimarySelection" wxClipboard_UsePrimarySelection :: Ptr (TClipboard a) -> CBool -> IO ()
closeEventCanVeto :: CloseEvent a -> IO Bool
closeEventCanVeto _obj
= withBoolResult $
withObjectRef "closeEventCanVeto" _obj $ \cobj__obj ->
wxCloseEvent_CanVeto cobj__obj
foreign import ccall "wxCloseEvent_CanVeto" wxCloseEvent_CanVeto :: Ptr (TCloseEvent a) -> IO CBool
closeEventCopyObject :: CloseEvent a -> WxObject b -> IO ()
closeEventCopyObject _obj obj
= withObjectRef "closeEventCopyObject" _obj $ \cobj__obj ->
withObjectPtr obj $ \cobj_obj ->
wxCloseEvent_CopyObject cobj__obj cobj_obj
foreign import ccall "wxCloseEvent_CopyObject" wxCloseEvent_CopyObject :: Ptr (TCloseEvent a) -> Ptr (TWxObject b) -> IO ()
closeEventGetLoggingOff :: CloseEvent a -> IO Bool
closeEventGetLoggingOff _obj
= withBoolResult $
withObjectRef "closeEventGetLoggingOff" _obj $ \cobj__obj ->
wxCloseEvent_GetLoggingOff cobj__obj
foreign import ccall "wxCloseEvent_GetLoggingOff" wxCloseEvent_GetLoggingOff :: Ptr (TCloseEvent a) -> IO CBool
closeEventGetVeto :: CloseEvent a -> IO Bool
closeEventGetVeto _obj
= withBoolResult $
withObjectRef "closeEventGetVeto" _obj $ \cobj__obj ->
wxCloseEvent_GetVeto cobj__obj
foreign import ccall "wxCloseEvent_GetVeto" wxCloseEvent_GetVeto :: Ptr (TCloseEvent a) -> IO CBool
closeEventSetCanVeto :: CloseEvent a -> Bool -> IO ()
closeEventSetCanVeto _obj canVeto
= withObjectRef "closeEventSetCanVeto" _obj $ \cobj__obj ->
wxCloseEvent_SetCanVeto cobj__obj (toCBool canVeto)
foreign import ccall "wxCloseEvent_SetCanVeto" wxCloseEvent_SetCanVeto :: Ptr (TCloseEvent a) -> CBool -> IO ()
closeEventSetLoggingOff :: CloseEvent a -> Bool -> IO ()
closeEventSetLoggingOff _obj logOff
= withObjectRef "closeEventSetLoggingOff" _obj $ \cobj__obj ->
wxCloseEvent_SetLoggingOff cobj__obj (toCBool logOff)
foreign import ccall "wxCloseEvent_SetLoggingOff" wxCloseEvent_SetLoggingOff :: Ptr (TCloseEvent a) -> CBool -> IO ()
closeEventVeto :: CloseEvent a -> Bool -> IO ()
closeEventVeto _obj veto
= withObjectRef "closeEventVeto" _obj $ \cobj__obj ->
wxCloseEvent_Veto cobj__obj (toCBool veto)
foreign import ccall "wxCloseEvent_Veto" wxCloseEvent_Veto :: Ptr (TCloseEvent a) -> CBool -> IO ()
closureCreate :: FunPtr (Ptr fun -> Ptr state -> Ptr (TEvent evt) -> IO ()) -> Ptr b -> IO (Closure ())
closureCreate _funCEvent _data
= withObjectResult $
wxClosure_Create (toCFunPtr _funCEvent) _data
foreign import ccall "wxClosure_Create" wxClosure_Create :: Ptr (Ptr fun -> Ptr state -> Ptr (TEvent evt) -> IO ()) -> Ptr b -> IO (Ptr (TClosure ()))
closureGetData :: Closure a -> IO (Ptr ())
closureGetData _obj
= withObjectRef "closureGetData" _obj $ \cobj__obj ->
wxClosure_GetData cobj__obj
foreign import ccall "wxClosure_GetData" wxClosure_GetData :: Ptr (TClosure a) -> IO (Ptr ())
colorPickerCtrlCreate :: Window a -> Id -> Color -> Rect -> Int -> IO (ColourPickerCtrl ())
colorPickerCtrlCreate parent id colour xywh style
= withObjectResult $
withObjectPtr parent $ \cobj_parent ->
withColourPtr colour $ \cobj_colour ->
wxColorPickerCtrl_Create cobj_parent (toCInt id) cobj_colour (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) (toCInt style)
foreign import ccall "wxColorPickerCtrl_Create" wxColorPickerCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TColour c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TColourPickerCtrl ()))
colorPickerCtrlGetColour :: ColourPickerCtrl a -> IO (Color)
colorPickerCtrlGetColour self
= withRefColour $ \pref ->
withObjectPtr self $ \cobj_self ->
wxColorPickerCtrl_GetColour cobj_self pref
foreign import ccall "wxColorPickerCtrl_GetColour" wxColorPickerCtrl_GetColour :: Ptr (TColourPickerCtrl a) -> Ptr (TColour ()) -> IO ()
colorPickerCtrlSetColour :: ColourPickerCtrl a -> Color -> IO ()
colorPickerCtrlSetColour self colour
= withObjectPtr self $ \cobj_self ->
withColourPtr colour $ \cobj_colour ->
wxColorPickerCtrl_SetColour cobj_self cobj_colour
foreign import ccall "wxColorPickerCtrl_SetColour" wxColorPickerCtrl_SetColour :: Ptr (TColourPickerCtrl a) -> Ptr (TColour b) -> IO ()
comboBoxAppend :: ComboBox a -> String -> IO ()
comboBoxAppend _obj item
= withObjectRef "comboBoxAppend" _obj $ \cobj__obj ->
withStringPtr item $ \cobj_item ->
wxComboBox_Append cobj__obj cobj_item
foreign import ccall "wxComboBox_Append" wxComboBox_Append :: Ptr (TComboBox a) -> Ptr (TWxString b) -> IO ()
comboBoxAppendData :: ComboBox a -> String -> Ptr c -> IO ()
comboBoxAppendData _obj item d
= withObjectRef "comboBoxAppendData" _obj $ \cobj__obj ->
withStringPtr item $ \cobj_item ->
wxComboBox_AppendData cobj__obj cobj_item d
foreign import ccall "wxComboBox_AppendData" wxComboBox_AppendData :: Ptr (TComboBox a) -> Ptr (TWxString b) -> Ptr c -> IO ()
comboBoxClear :: ComboBox a -> IO ()
comboBoxClear _obj
= withObjectRef "comboBoxClear" _obj $ \cobj__obj ->
wxComboBox_Clear cobj__obj
foreign import ccall "wxComboBox_Clear" wxComboBox_Clear :: Ptr (TComboBox a) -> IO ()
comboBoxCopy :: ComboBox a -> IO ()
comboBoxCopy _obj
= withObjectRef "comboBoxCopy" _obj $ \cobj__obj ->
wxComboBox_Copy cobj__obj
foreign import ccall "wxComboBox_Copy" wxComboBox_Copy :: Ptr (TComboBox a) -> IO ()
comboBoxCreate :: Window a -> Id -> String -> Rect -> [String] -> Style -> IO (ComboBox ())
comboBoxCreate _prt _id _txt _lfttopwdthgt nstr _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withStringPtr _txt $ \cobj__txt ->
withArrayWString nstr $ \carrlen_nstr carr_nstr ->
wxComboBox_Create cobj__prt (toCInt _id) cobj__txt (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) carrlen_nstr carr_nstr (toCInt _stl)
foreign import ccall "wxComboBox_Create" wxComboBox_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO (Ptr (TComboBox ()))
comboBoxCut :: ComboBox a -> IO ()
comboBoxCut _obj
= withObjectRef "comboBoxCut" _obj $ \cobj__obj ->
wxComboBox_Cut cobj__obj
foreign import ccall "wxComboBox_Cut" wxComboBox_Cut :: Ptr (TComboBox a) -> IO ()
comboBoxDelete :: ComboBox a -> Int -> IO ()
comboBoxDelete _obj n
= withObjectRef "comboBoxDelete" _obj $ \cobj__obj ->
wxComboBox_Delete cobj__obj (toCInt n)
foreign import ccall "wxComboBox_Delete" wxComboBox_Delete :: Ptr (TComboBox a) -> CInt -> IO ()
comboBoxFindString :: ComboBox a -> String -> IO Int
comboBoxFindString _obj s
= withIntResult $
withObjectRef "comboBoxFindString" _obj $ \cobj__obj ->
withStringPtr s $ \cobj_s ->
wxComboBox_FindString cobj__obj cobj_s
foreign import ccall "wxComboBox_FindString" wxComboBox_FindString :: Ptr (TComboBox a) -> Ptr (TWxString b) -> IO CInt
comboBoxGetClientData :: ComboBox a -> Int -> IO (ClientData ())
comboBoxGetClientData _obj n
= withObjectResult $
withObjectRef "comboBoxGetClientData" _obj $ \cobj__obj ->
wxComboBox_GetClientData cobj__obj (toCInt n)
foreign import ccall "wxComboBox_GetClientData" wxComboBox_GetClientData :: Ptr (TComboBox a) -> CInt -> IO (Ptr (TClientData ()))
comboBoxGetCount :: ComboBox a -> IO Int
comboBoxGetCount _obj
= withIntResult $
withObjectRef "comboBoxGetCount" _obj $ \cobj__obj ->
wxComboBox_GetCount cobj__obj
foreign import ccall "wxComboBox_GetCount" wxComboBox_GetCount :: Ptr (TComboBox a) -> IO CInt
comboBoxGetInsertionPoint :: ComboBox a -> IO Int
comboBoxGetInsertionPoint _obj
= withIntResult $
withObjectRef "comboBoxGetInsertionPoint" _obj $ \cobj__obj ->
wxComboBox_GetInsertionPoint cobj__obj
foreign import ccall "wxComboBox_GetInsertionPoint" wxComboBox_GetInsertionPoint :: Ptr (TComboBox a) -> IO CInt
comboBoxGetLastPosition :: ComboBox a -> IO Int
comboBoxGetLastPosition _obj
= withIntResult $
withObjectRef "comboBoxGetLastPosition" _obj $ \cobj__obj ->
wxComboBox_GetLastPosition cobj__obj
foreign import ccall "wxComboBox_GetLastPosition" wxComboBox_GetLastPosition :: Ptr (TComboBox a) -> IO CInt
comboBoxGetSelection :: ComboBox a -> IO Int
comboBoxGetSelection _obj
= withIntResult $
withObjectRef "comboBoxGetSelection" _obj $ \cobj__obj ->
wxComboBox_GetSelection cobj__obj
foreign import ccall "wxComboBox_GetSelection" wxComboBox_GetSelection :: Ptr (TComboBox a) -> IO CInt
comboBoxGetString :: ComboBox a -> Int -> IO (String)
comboBoxGetString _obj n
= withManagedStringResult $
withObjectRef "comboBoxGetString" _obj $ \cobj__obj ->
wxComboBox_GetString cobj__obj (toCInt n)
foreign import ccall "wxComboBox_GetString" wxComboBox_GetString :: Ptr (TComboBox a) -> CInt -> IO (Ptr (TWxString ()))
comboBoxGetStringSelection :: ComboBox a -> IO (String)
comboBoxGetStringSelection _obj
= withManagedStringResult $
withObjectRef "comboBoxGetStringSelection" _obj $ \cobj__obj ->
wxComboBox_GetStringSelection cobj__obj
foreign import ccall "wxComboBox_GetStringSelection" wxComboBox_GetStringSelection :: Ptr (TComboBox a) -> IO (Ptr (TWxString ()))
comboBoxGetValue :: ComboBox a -> IO (String)
comboBoxGetValue _obj
= withManagedStringResult $
withObjectRef "comboBoxGetValue" _obj $ \cobj__obj ->
wxComboBox_GetValue cobj__obj
foreign import ccall "wxComboBox_GetValue" wxComboBox_GetValue :: Ptr (TComboBox a) -> IO (Ptr (TWxString ()))
comboBoxPaste :: ComboBox a -> IO ()
comboBoxPaste _obj
= withObjectRef "comboBoxPaste" _obj $ \cobj__obj ->
wxComboBox_Paste cobj__obj
foreign import ccall "wxComboBox_Paste" wxComboBox_Paste :: Ptr (TComboBox a) -> IO ()
comboBoxRemove :: ComboBox a -> Int -> Int -> IO ()
comboBoxRemove _obj from to
= withObjectRef "comboBoxRemove" _obj $ \cobj__obj ->
wxComboBox_Remove cobj__obj (toCInt from) (toCInt to)
foreign import ccall "wxComboBox_Remove" wxComboBox_Remove :: Ptr (TComboBox a) -> CInt -> CInt -> IO ()
comboBoxReplace :: ComboBox a -> Int -> Int -> String -> IO ()
comboBoxReplace _obj from to value
= withObjectRef "comboBoxReplace" _obj $ \cobj__obj ->
withStringPtr value $ \cobj_value ->
wxComboBox_Replace cobj__obj (toCInt from) (toCInt to) cobj_value
foreign import ccall "wxComboBox_Replace" wxComboBox_Replace :: Ptr (TComboBox a) -> CInt -> CInt -> Ptr (TWxString d) -> IO ()
comboBoxSetClientData :: ComboBox a -> Int -> ClientData c -> IO ()
comboBoxSetClientData _obj n clientData
= withObjectRef "comboBoxSetClientData" _obj $ \cobj__obj ->
withObjectPtr clientData $ \cobj_clientData ->
wxComboBox_SetClientData cobj__obj (toCInt n) cobj_clientData
foreign import ccall "wxComboBox_SetClientData" wxComboBox_SetClientData :: Ptr (TComboBox a) -> CInt -> Ptr (TClientData c) -> IO ()
comboBoxSetEditable :: ComboBox a -> Bool -> IO ()
comboBoxSetEditable _obj editable
= withObjectRef "comboBoxSetEditable" _obj $ \cobj__obj ->
wxComboBox_SetEditable cobj__obj (toCBool editable)
foreign import ccall "wxComboBox_SetEditable" wxComboBox_SetEditable :: Ptr (TComboBox a) -> CBool -> IO ()
comboBoxSetInsertionPoint :: ComboBox a -> Int -> IO ()
comboBoxSetInsertionPoint _obj pos
= withObjectRef "comboBoxSetInsertionPoint" _obj $ \cobj__obj ->
wxComboBox_SetInsertionPoint cobj__obj (toCInt pos)
foreign import ccall "wxComboBox_SetInsertionPoint" wxComboBox_SetInsertionPoint :: Ptr (TComboBox a) -> CInt -> IO ()
comboBoxSetInsertionPointEnd :: ComboBox a -> IO ()
comboBoxSetInsertionPointEnd _obj
= withObjectRef "comboBoxSetInsertionPointEnd" _obj $ \cobj__obj ->
wxComboBox_SetInsertionPointEnd cobj__obj
foreign import ccall "wxComboBox_SetInsertionPointEnd" wxComboBox_SetInsertionPointEnd :: Ptr (TComboBox a) -> IO ()
comboBoxSetSelection :: ComboBox a -> Int -> IO ()
comboBoxSetSelection _obj n
= withObjectRef "comboBoxSetSelection" _obj $ \cobj__obj ->
wxComboBox_SetSelection cobj__obj (toCInt n)
foreign import ccall "wxComboBox_SetSelection" wxComboBox_SetSelection :: Ptr (TComboBox a) -> CInt -> IO ()
comboBoxSetTextSelection :: ComboBox a -> Int -> Int -> IO ()
comboBoxSetTextSelection _obj from to
= withObjectRef "comboBoxSetTextSelection" _obj $ \cobj__obj ->
wxComboBox_SetTextSelection cobj__obj (toCInt from) (toCInt to)
foreign import ccall "wxComboBox_SetTextSelection" wxComboBox_SetTextSelection :: Ptr (TComboBox a) -> CInt -> CInt -> IO ()
comboBoxSetValue :: ComboBox a -> String -> IO ()
comboBoxSetValue _obj value
= withObjectRef "comboBoxSetValue" _obj $ \cobj__obj ->
withStringPtr value $ \cobj_value ->
wxComboBox_SetValue cobj__obj cobj_value
foreign import ccall "wxComboBox_SetValue" wxComboBox_SetValue :: Ptr (TComboBox a) -> Ptr (TWxString b) -> IO ()
commandEventCopyObject :: CommandEvent a -> Ptr b -> IO ()
commandEventCopyObject _obj objectdest
= withObjectRef "commandEventCopyObject" _obj $ \cobj__obj ->
wxCommandEvent_CopyObject cobj__obj objectdest
foreign import ccall "wxCommandEvent_CopyObject" wxCommandEvent_CopyObject :: Ptr (TCommandEvent a) -> Ptr b -> IO ()
commandEventCreate :: Int -> Id -> IO (CommandEvent ())
commandEventCreate _typ _id
= withObjectResult $
wxCommandEvent_Create (toCInt _typ) (toCInt _id)
foreign import ccall "wxCommandEvent_Create" wxCommandEvent_Create :: CInt -> CInt -> IO (Ptr (TCommandEvent ()))
commandEventDelete :: CommandEvent a -> IO ()
commandEventDelete
= objectDelete
commandEventGetClientData :: CommandEvent a -> IO (ClientData ())
commandEventGetClientData _obj
= withObjectResult $
withObjectRef "commandEventGetClientData" _obj $ \cobj__obj ->
wxCommandEvent_GetClientData cobj__obj
foreign import ccall "wxCommandEvent_GetClientData" wxCommandEvent_GetClientData :: Ptr (TCommandEvent a) -> IO (Ptr (TClientData ()))
commandEventGetClientObject :: CommandEvent a -> IO (ClientData ())
commandEventGetClientObject _obj
= withObjectResult $
withObjectRef "commandEventGetClientObject" _obj $ \cobj__obj ->
wxCommandEvent_GetClientObject cobj__obj
foreign import ccall "wxCommandEvent_GetClientObject" wxCommandEvent_GetClientObject :: Ptr (TCommandEvent a) -> IO (Ptr (TClientData ()))
commandEventGetExtraLong :: CommandEvent a -> IO Int
commandEventGetExtraLong _obj
= withIntResult $
withObjectRef "commandEventGetExtraLong" _obj $ \cobj__obj ->
wxCommandEvent_GetExtraLong cobj__obj
foreign import ccall "wxCommandEvent_GetExtraLong" wxCommandEvent_GetExtraLong :: Ptr (TCommandEvent a) -> IO CInt
commandEventGetInt :: CommandEvent a -> IO Int
commandEventGetInt _obj
= withIntResult $
withObjectRef "commandEventGetInt" _obj $ \cobj__obj ->
wxCommandEvent_GetInt cobj__obj
foreign import ccall "wxCommandEvent_GetInt" wxCommandEvent_GetInt :: Ptr (TCommandEvent a) -> IO CInt
commandEventGetSelection :: CommandEvent a -> IO Int
commandEventGetSelection _obj
= withIntResult $
withObjectRef "commandEventGetSelection" _obj $ \cobj__obj ->
wxCommandEvent_GetSelection cobj__obj
foreign import ccall "wxCommandEvent_GetSelection" wxCommandEvent_GetSelection :: Ptr (TCommandEvent a) -> IO CInt
commandEventGetString :: CommandEvent a -> IO (String)
commandEventGetString _obj
= withManagedStringResult $
withObjectRef "commandEventGetString" _obj $ \cobj__obj ->
wxCommandEvent_GetString cobj__obj
foreign import ccall "wxCommandEvent_GetString" wxCommandEvent_GetString :: Ptr (TCommandEvent a) -> IO (Ptr (TWxString ()))
commandEventIsChecked :: CommandEvent a -> IO Bool
commandEventIsChecked _obj
= withBoolResult $
withObjectRef "commandEventIsChecked" _obj $ \cobj__obj ->
wxCommandEvent_IsChecked cobj__obj
foreign import ccall "wxCommandEvent_IsChecked" wxCommandEvent_IsChecked :: Ptr (TCommandEvent a) -> IO CBool
commandEventIsSelection :: CommandEvent a -> IO Bool
commandEventIsSelection _obj
= withBoolResult $
withObjectRef "commandEventIsSelection" _obj $ \cobj__obj ->
wxCommandEvent_IsSelection cobj__obj
foreign import ccall "wxCommandEvent_IsSelection" wxCommandEvent_IsSelection :: Ptr (TCommandEvent a) -> IO CBool
commandEventSetClientData :: CommandEvent a -> ClientData b -> IO ()
commandEventSetClientData _obj clientData
= withObjectRef "commandEventSetClientData" _obj $ \cobj__obj ->
withObjectPtr clientData $ \cobj_clientData ->
wxCommandEvent_SetClientData cobj__obj cobj_clientData
foreign import ccall "wxCommandEvent_SetClientData" wxCommandEvent_SetClientData :: Ptr (TCommandEvent a) -> Ptr (TClientData b) -> IO ()
commandEventSetClientObject :: CommandEvent a -> ClientData b -> IO ()
commandEventSetClientObject _obj clientObject
= withObjectRef "commandEventSetClientObject" _obj $ \cobj__obj ->
withObjectPtr clientObject $ \cobj_clientObject ->
wxCommandEvent_SetClientObject cobj__obj cobj_clientObject
foreign import ccall "wxCommandEvent_SetClientObject" wxCommandEvent_SetClientObject :: Ptr (TCommandEvent a) -> Ptr (TClientData b) -> IO ()
commandEventSetExtraLong :: CommandEvent a -> Int -> IO ()
commandEventSetExtraLong _obj extraLong
= withObjectRef "commandEventSetExtraLong" _obj $ \cobj__obj ->
wxCommandEvent_SetExtraLong cobj__obj (toCInt extraLong)
foreign import ccall "wxCommandEvent_SetExtraLong" wxCommandEvent_SetExtraLong :: Ptr (TCommandEvent a) -> CInt -> IO ()
commandEventSetInt :: CommandEvent a -> Int -> IO ()
commandEventSetInt _obj i
= withObjectRef "commandEventSetInt" _obj $ \cobj__obj ->
wxCommandEvent_SetInt cobj__obj (toCInt i)
foreign import ccall "wxCommandEvent_SetInt" wxCommandEvent_SetInt :: Ptr (TCommandEvent a) -> CInt -> IO ()
commandEventSetString :: CommandEvent a -> String -> IO ()
commandEventSetString _obj s
= withObjectRef "commandEventSetString" _obj $ \cobj__obj ->
withStringPtr s $ \cobj_s ->
wxCommandEvent_SetString cobj__obj cobj_s
foreign import ccall "wxCommandEvent_SetString" wxCommandEvent_SetString :: Ptr (TCommandEvent a) -> Ptr (TWxString b) -> IO ()
configBaseCreate :: IO (ConfigBase ())
configBaseCreate
= withObjectResult $
wxConfigBase_Create
foreign import ccall "wxConfigBase_Create" wxConfigBase_Create :: IO (Ptr (TConfigBase ()))
configBaseDelete :: ConfigBase a -> IO ()
configBaseDelete _obj
= withObjectRef "configBaseDelete" _obj $ \cobj__obj ->
wxConfigBase_Delete cobj__obj
foreign import ccall "wxConfigBase_Delete" wxConfigBase_Delete :: Ptr (TConfigBase a) -> IO ()
configBaseDeleteAll :: ConfigBase a -> IO Bool
configBaseDeleteAll _obj
= withBoolResult $
withObjectRef "configBaseDeleteAll" _obj $ \cobj__obj ->
wxConfigBase_DeleteAll cobj__obj
foreign import ccall "wxConfigBase_DeleteAll" wxConfigBase_DeleteAll :: Ptr (TConfigBase a) -> IO CBool
configBaseDeleteEntry :: ConfigBase a -> String -> Bool -> IO Bool
configBaseDeleteEntry _obj key bDeleteGroupIfEmpty
= withBoolResult $
withObjectRef "configBaseDeleteEntry" _obj $ \cobj__obj ->
withStringPtr key $ \cobj_key ->
wxConfigBase_DeleteEntry cobj__obj cobj_key (toCBool bDeleteGroupIfEmpty)
foreign import ccall "wxConfigBase_DeleteEntry" wxConfigBase_DeleteEntry :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CBool -> IO CBool
configBaseDeleteGroup :: ConfigBase a -> String -> IO Bool
configBaseDeleteGroup _obj key
= withBoolResult $
withObjectRef "configBaseDeleteGroup" _obj $ \cobj__obj ->
withStringPtr key $ \cobj_key ->
wxConfigBase_DeleteGroup cobj__obj cobj_key
foreign import ccall "wxConfigBase_DeleteGroup" wxConfigBase_DeleteGroup :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CBool
configBaseExists :: ConfigBase a -> String -> IO Bool
configBaseExists _obj strName
= withBoolResult $
withObjectRef "configBaseExists" _obj $ \cobj__obj ->
withStringPtr strName $ \cobj_strName ->
wxConfigBase_Exists cobj__obj cobj_strName
foreign import ccall "wxConfigBase_Exists" wxConfigBase_Exists :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CBool
configBaseExpandEnvVars :: ConfigBase a -> String -> IO (String)
configBaseExpandEnvVars _obj str
= withManagedStringResult $
withObjectRef "configBaseExpandEnvVars" _obj $ \cobj__obj ->
withStringPtr str $ \cobj_str ->
wxConfigBase_ExpandEnvVars cobj__obj cobj_str
foreign import ccall "wxConfigBase_ExpandEnvVars" wxConfigBase_ExpandEnvVars :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO (Ptr (TWxString ()))
configBaseFlush :: ConfigBase a -> Bool -> IO Bool
configBaseFlush _obj bCurrentOnly
= withBoolResult $
withObjectRef "configBaseFlush" _obj $ \cobj__obj ->
wxConfigBase_Flush cobj__obj (toCBool bCurrentOnly)
foreign import ccall "wxConfigBase_Flush" wxConfigBase_Flush :: Ptr (TConfigBase a) -> CBool -> IO CBool
configBaseGet :: IO (ConfigBase ())
configBaseGet
= withObjectResult $
wxConfigBase_Get
foreign import ccall "wxConfigBase_Get" wxConfigBase_Get :: IO (Ptr (TConfigBase ()))
configBaseGetAppName :: ConfigBase a -> IO (String)
configBaseGetAppName _obj
= withManagedStringResult $
withObjectRef "configBaseGetAppName" _obj $ \cobj__obj ->
wxConfigBase_GetAppName cobj__obj
foreign import ccall "wxConfigBase_GetAppName" wxConfigBase_GetAppName :: Ptr (TConfigBase a) -> IO (Ptr (TWxString ()))
configBaseGetEntryType :: ConfigBase a -> String -> IO Int
configBaseGetEntryType _obj name
= withIntResult $
withObjectRef "configBaseGetEntryType" _obj $ \cobj__obj ->
withStringPtr name $ \cobj_name ->
wxConfigBase_GetEntryType cobj__obj cobj_name
foreign import ccall "wxConfigBase_GetEntryType" wxConfigBase_GetEntryType :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CInt
configBaseGetFirstEntry :: ConfigBase a -> Ptr b -> IO (String)
configBaseGetFirstEntry _obj lIndex
= withManagedStringResult $
withObjectRef "configBaseGetFirstEntry" _obj $ \cobj__obj ->
wxConfigBase_GetFirstEntry cobj__obj lIndex
foreign import ccall "wxConfigBase_GetFirstEntry" wxConfigBase_GetFirstEntry :: Ptr (TConfigBase a) -> Ptr b -> IO (Ptr (TWxString ()))
configBaseGetFirstGroup :: ConfigBase a -> Ptr b -> IO (String)
configBaseGetFirstGroup _obj lIndex
= withManagedStringResult $
withObjectRef "configBaseGetFirstGroup" _obj $ \cobj__obj ->
wxConfigBase_GetFirstGroup cobj__obj lIndex
foreign import ccall "wxConfigBase_GetFirstGroup" wxConfigBase_GetFirstGroup :: Ptr (TConfigBase a) -> Ptr b -> IO (Ptr (TWxString ()))
configBaseGetNextEntry :: ConfigBase a -> Ptr b -> IO (String)
configBaseGetNextEntry _obj lIndex
= withManagedStringResult $
withObjectRef "configBaseGetNextEntry" _obj $ \cobj__obj ->
wxConfigBase_GetNextEntry cobj__obj lIndex
foreign import ccall "wxConfigBase_GetNextEntry" wxConfigBase_GetNextEntry :: Ptr (TConfigBase a) -> Ptr b -> IO (Ptr (TWxString ()))
configBaseGetNextGroup :: ConfigBase a -> Ptr b -> IO (String)
configBaseGetNextGroup _obj lIndex
= withManagedStringResult $
withObjectRef "configBaseGetNextGroup" _obj $ \cobj__obj ->
wxConfigBase_GetNextGroup cobj__obj lIndex
foreign import ccall "wxConfigBase_GetNextGroup" wxConfigBase_GetNextGroup :: Ptr (TConfigBase a) -> Ptr b -> IO (Ptr (TWxString ()))
configBaseGetNumberOfEntries :: ConfigBase a -> Bool -> IO Int
configBaseGetNumberOfEntries _obj bRecursive
= withIntResult $
withObjectRef "configBaseGetNumberOfEntries" _obj $ \cobj__obj ->
wxConfigBase_GetNumberOfEntries cobj__obj (toCBool bRecursive)
foreign import ccall "wxConfigBase_GetNumberOfEntries" wxConfigBase_GetNumberOfEntries :: Ptr (TConfigBase a) -> CBool -> IO CInt
configBaseGetNumberOfGroups :: ConfigBase a -> Bool -> IO Int
configBaseGetNumberOfGroups _obj bRecursive
= withIntResult $
withObjectRef "configBaseGetNumberOfGroups" _obj $ \cobj__obj ->
wxConfigBase_GetNumberOfGroups cobj__obj (toCBool bRecursive)
foreign import ccall "wxConfigBase_GetNumberOfGroups" wxConfigBase_GetNumberOfGroups :: Ptr (TConfigBase a) -> CBool -> IO CInt
configBaseGetPath :: ConfigBase a -> IO (String)
configBaseGetPath _obj
= withManagedStringResult $
withObjectRef "configBaseGetPath" _obj $ \cobj__obj ->
wxConfigBase_GetPath cobj__obj
foreign import ccall "wxConfigBase_GetPath" wxConfigBase_GetPath :: Ptr (TConfigBase a) -> IO (Ptr (TWxString ()))
configBaseGetStyle :: ConfigBase a -> IO Int
configBaseGetStyle _obj
= withIntResult $
withObjectRef "configBaseGetStyle" _obj $ \cobj__obj ->
wxConfigBase_GetStyle cobj__obj
foreign import ccall "wxConfigBase_GetStyle" wxConfigBase_GetStyle :: Ptr (TConfigBase a) -> IO CInt
configBaseGetVendorName :: ConfigBase a -> IO (String)
configBaseGetVendorName _obj
= withManagedStringResult $
withObjectRef "configBaseGetVendorName" _obj $ \cobj__obj ->
wxConfigBase_GetVendorName cobj__obj
foreign import ccall "wxConfigBase_GetVendorName" wxConfigBase_GetVendorName :: Ptr (TConfigBase a) -> IO (Ptr (TWxString ()))
configBaseHasEntry :: ConfigBase a -> String -> IO Bool
configBaseHasEntry _obj strName
= withBoolResult $
withObjectRef "configBaseHasEntry" _obj $ \cobj__obj ->
withStringPtr strName $ \cobj_strName ->
wxConfigBase_HasEntry cobj__obj cobj_strName
foreign import ccall "wxConfigBase_HasEntry" wxConfigBase_HasEntry :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CBool
configBaseHasGroup :: ConfigBase a -> String -> IO Bool
configBaseHasGroup _obj strName
= withBoolResult $
withObjectRef "configBaseHasGroup" _obj $ \cobj__obj ->
withStringPtr strName $ \cobj_strName ->
wxConfigBase_HasGroup cobj__obj cobj_strName
foreign import ccall "wxConfigBase_HasGroup" wxConfigBase_HasGroup :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO CBool
configBaseIsExpandingEnvVars :: ConfigBase a -> IO Bool
configBaseIsExpandingEnvVars _obj
= withBoolResult $
withObjectRef "configBaseIsExpandingEnvVars" _obj $ \cobj__obj ->
wxConfigBase_IsExpandingEnvVars cobj__obj
foreign import ccall "wxConfigBase_IsExpandingEnvVars" wxConfigBase_IsExpandingEnvVars :: Ptr (TConfigBase a) -> IO CBool
configBaseIsRecordingDefaults :: ConfigBase a -> IO Bool
configBaseIsRecordingDefaults _obj
= withBoolResult $
withObjectRef "configBaseIsRecordingDefaults" _obj $ \cobj__obj ->
wxConfigBase_IsRecordingDefaults cobj__obj
foreign import ccall "wxConfigBase_IsRecordingDefaults" wxConfigBase_IsRecordingDefaults :: Ptr (TConfigBase a) -> IO CBool
configBaseReadBool :: ConfigBase a -> String -> Bool -> IO Bool
configBaseReadBool _obj key defVal
= withBoolResult $
withObjectRef "configBaseReadBool" _obj $ \cobj__obj ->
withStringPtr key $ \cobj_key ->
wxConfigBase_ReadBool cobj__obj cobj_key (toCBool defVal)
foreign import ccall "wxConfigBase_ReadBool" wxConfigBase_ReadBool :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CBool -> IO CBool
configBaseReadDouble :: ConfigBase a -> String -> Double -> IO Double
configBaseReadDouble _obj key defVal
= withObjectRef "configBaseReadDouble" _obj $ \cobj__obj ->
withStringPtr key $ \cobj_key ->
wxConfigBase_ReadDouble cobj__obj cobj_key defVal
foreign import ccall "wxConfigBase_ReadDouble" wxConfigBase_ReadDouble :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Double -> IO Double
configBaseReadInteger :: ConfigBase a -> String -> Int -> IO Int
configBaseReadInteger _obj key defVal
= withIntResult $
withObjectRef "configBaseReadInteger" _obj $ \cobj__obj ->
withStringPtr key $ \cobj_key ->
wxConfigBase_ReadInteger cobj__obj cobj_key (toCInt defVal)
foreign import ccall "wxConfigBase_ReadInteger" wxConfigBase_ReadInteger :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CInt -> IO CInt
configBaseReadString :: ConfigBase a -> String -> String -> IO (String)
configBaseReadString _obj key defVal
= withManagedStringResult $
withObjectRef "configBaseReadString" _obj $ \cobj__obj ->
withStringPtr key $ \cobj_key ->
withStringPtr defVal $ \cobj_defVal ->
wxConfigBase_ReadString cobj__obj cobj_key cobj_defVal
foreign import ccall "wxConfigBase_ReadString" wxConfigBase_ReadString :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO (Ptr (TWxString ()))
configBaseRenameEntry :: ConfigBase a -> String -> String -> IO Bool
configBaseRenameEntry _obj oldName newName
= withBoolResult $
withObjectRef "configBaseRenameEntry" _obj $ \cobj__obj ->
withStringPtr oldName $ \cobj_oldName ->
withStringPtr newName $ \cobj_newName ->
wxConfigBase_RenameEntry cobj__obj cobj_oldName cobj_newName
foreign import ccall "wxConfigBase_RenameEntry" wxConfigBase_RenameEntry :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool
configBaseRenameGroup :: ConfigBase a -> String -> String -> IO Bool
configBaseRenameGroup _obj oldName newName
= withBoolResult $
withObjectRef "configBaseRenameGroup" _obj $ \cobj__obj ->
withStringPtr oldName $ \cobj_oldName ->
withStringPtr newName $ \cobj_newName ->
wxConfigBase_RenameGroup cobj__obj cobj_oldName cobj_newName
foreign import ccall "wxConfigBase_RenameGroup" wxConfigBase_RenameGroup :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool
configBaseSet :: ConfigBase a -> IO ()
configBaseSet self
= withObjectRef "configBaseSet" self $ \cobj_self ->
wxConfigBase_Set cobj_self
foreign import ccall "wxConfigBase_Set" wxConfigBase_Set :: Ptr (TConfigBase a) -> IO ()
configBaseSetAppName :: ConfigBase a -> String -> IO ()
configBaseSetAppName _obj appName
= withObjectRef "configBaseSetAppName" _obj $ \cobj__obj ->
withStringPtr appName $ \cobj_appName ->
wxConfigBase_SetAppName cobj__obj cobj_appName
foreign import ccall "wxConfigBase_SetAppName" wxConfigBase_SetAppName :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO ()
configBaseSetExpandEnvVars :: ConfigBase a -> Bool -> IO ()
configBaseSetExpandEnvVars _obj bDoIt
= withObjectRef "configBaseSetExpandEnvVars" _obj $ \cobj__obj ->
wxConfigBase_SetExpandEnvVars cobj__obj (toCBool bDoIt)
foreign import ccall "wxConfigBase_SetExpandEnvVars" wxConfigBase_SetExpandEnvVars :: Ptr (TConfigBase a) -> CBool -> IO ()
configBaseSetPath :: ConfigBase a -> String -> IO ()
configBaseSetPath _obj strPath
= withObjectRef "configBaseSetPath" _obj $ \cobj__obj ->
withStringPtr strPath $ \cobj_strPath ->
wxConfigBase_SetPath cobj__obj cobj_strPath
foreign import ccall "wxConfigBase_SetPath" wxConfigBase_SetPath :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO ()
configBaseSetRecordDefaults :: ConfigBase a -> Bool -> IO ()
configBaseSetRecordDefaults _obj bDoIt
= withObjectRef "configBaseSetRecordDefaults" _obj $ \cobj__obj ->
wxConfigBase_SetRecordDefaults cobj__obj (toCBool bDoIt)
foreign import ccall "wxConfigBase_SetRecordDefaults" wxConfigBase_SetRecordDefaults :: Ptr (TConfigBase a) -> CBool -> IO ()
configBaseSetStyle :: ConfigBase a -> Int -> IO ()
configBaseSetStyle _obj style
= withObjectRef "configBaseSetStyle" _obj $ \cobj__obj ->
wxConfigBase_SetStyle cobj__obj (toCInt style)
foreign import ccall "wxConfigBase_SetStyle" wxConfigBase_SetStyle :: Ptr (TConfigBase a) -> CInt -> IO ()
configBaseSetVendorName :: ConfigBase a -> String -> IO ()
configBaseSetVendorName _obj vendorName
= withObjectRef "configBaseSetVendorName" _obj $ \cobj__obj ->
withStringPtr vendorName $ \cobj_vendorName ->
wxConfigBase_SetVendorName cobj__obj cobj_vendorName
foreign import ccall "wxConfigBase_SetVendorName" wxConfigBase_SetVendorName :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> IO ()
configBaseWriteBool :: ConfigBase a -> String -> Bool -> IO Bool
configBaseWriteBool _obj key value
= withBoolResult $
withObjectRef "configBaseWriteBool" _obj $ \cobj__obj ->
withStringPtr key $ \cobj_key ->
wxConfigBase_WriteBool cobj__obj cobj_key (toCBool value)
foreign import ccall "wxConfigBase_WriteBool" wxConfigBase_WriteBool :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CBool -> IO CBool
configBaseWriteDouble :: ConfigBase a -> String -> Double -> IO Bool
configBaseWriteDouble _obj key value
= withBoolResult $
withObjectRef "configBaseWriteDouble" _obj $ \cobj__obj ->
withStringPtr key $ \cobj_key ->
wxConfigBase_WriteDouble cobj__obj cobj_key value
foreign import ccall "wxConfigBase_WriteDouble" wxConfigBase_WriteDouble :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Double -> IO CBool
configBaseWriteInteger :: ConfigBase a -> String -> Int -> IO Bool
configBaseWriteInteger _obj key value
= withBoolResult $
withObjectRef "configBaseWriteInteger" _obj $ \cobj__obj ->
withStringPtr key $ \cobj_key ->
wxConfigBase_WriteInteger cobj__obj cobj_key (toCInt value)
foreign import ccall "wxConfigBase_WriteInteger" wxConfigBase_WriteInteger :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CInt -> IO CBool
configBaseWriteLong :: ConfigBase a -> String -> Int -> IO Bool
configBaseWriteLong _obj key value
= withBoolResult $
withObjectRef "configBaseWriteLong" _obj $ \cobj__obj ->
withStringPtr key $ \cobj_key ->
wxConfigBase_WriteLong cobj__obj cobj_key (toCInt value)
foreign import ccall "wxConfigBase_WriteLong" wxConfigBase_WriteLong :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> CInt -> IO CBool
configBaseWriteString :: ConfigBase a -> String -> String -> IO Bool
configBaseWriteString _obj key value
= withBoolResult $
withObjectRef "configBaseWriteString" _obj $ \cobj__obj ->
withStringPtr key $ \cobj_key ->
withStringPtr value $ \cobj_value ->
wxConfigBase_WriteString cobj__obj cobj_key cobj_value
foreign import ccall "wxConfigBase_WriteString" wxConfigBase_WriteString :: Ptr (TConfigBase a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO CBool
contextHelpBeginContextHelp :: ContextHelp a -> Window b -> IO Bool
contextHelpBeginContextHelp _obj win
= withBoolResult $
withObjectRef "contextHelpBeginContextHelp" _obj $ \cobj__obj ->
withObjectPtr win $ \cobj_win ->
wxContextHelp_BeginContextHelp cobj__obj cobj_win
foreign import ccall "wxContextHelp_BeginContextHelp" wxContextHelp_BeginContextHelp :: Ptr (TContextHelp a) -> Ptr (TWindow b) -> IO CBool
contextHelpButtonCreate :: Window a -> Id -> Rect -> Int -> IO (ContextHelpButton ())
contextHelpButtonCreate parent id xywh style
= withObjectResult $
withObjectPtr parent $ \cobj_parent ->
wxContextHelpButton_Create cobj_parent (toCInt id) (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) (toCInt style)
foreign import ccall "wxContextHelpButton_Create" wxContextHelpButton_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TContextHelpButton ()))
contextHelpCreate :: Window a -> Bool -> IO (ContextHelp ())
contextHelpCreate win beginHelp
= withObjectResult $
withObjectPtr win $ \cobj_win ->
wxContextHelp_Create cobj_win (toCBool beginHelp)
foreign import ccall "wxContextHelp_Create" wxContextHelp_Create :: Ptr (TWindow a) -> CBool -> IO (Ptr (TContextHelp ()))
contextHelpDelete :: ContextHelp a -> IO ()
contextHelpDelete
= objectDelete
contextHelpEndContextHelp :: ContextHelp a -> IO Bool
contextHelpEndContextHelp _obj
= withBoolResult $
withObjectRef "contextHelpEndContextHelp" _obj $ \cobj__obj ->
wxContextHelp_EndContextHelp cobj__obj
foreign import ccall "wxContextHelp_EndContextHelp" wxContextHelp_EndContextHelp :: Ptr (TContextHelp a) -> IO CBool
controlCommand :: Control a -> Event b -> IO ()
controlCommand _obj event
= withObjectRef "controlCommand" _obj $ \cobj__obj ->
withObjectPtr event $ \cobj_event ->
wxControl_Command cobj__obj cobj_event
foreign import ccall "wxControl_Command" wxControl_Command :: Ptr (TControl a) -> Ptr (TEvent b) -> IO ()
controlGetLabel :: Control a -> IO (String)
controlGetLabel _obj
= withManagedStringResult $
withObjectRef "controlGetLabel" _obj $ \cobj__obj ->
wxControl_GetLabel cobj__obj
foreign import ccall "wxControl_GetLabel" wxControl_GetLabel :: Ptr (TControl a) -> IO (Ptr (TWxString ()))
controlSetLabel :: Control a -> String -> IO ()
controlSetLabel _obj text
= withObjectRef "controlSetLabel" _obj $ \cobj__obj ->
withStringPtr text $ \cobj_text ->
wxControl_SetLabel cobj__obj cobj_text
foreign import ccall "wxControl_SetLabel" wxControl_SetLabel :: Ptr (TControl a) -> Ptr (TWxString b) -> IO ()
cursorCreateFromImage :: Image a -> IO (Cursor ())
cursorCreateFromImage image
= withManagedCursorResult $
withObjectPtr image $ \cobj_image ->
wx_Cursor_CreateFromImage cobj_image
foreign import ccall "Cursor_CreateFromImage" wx_Cursor_CreateFromImage :: Ptr (TImage a) -> IO (Ptr (TCursor ()))
cursorCreateFromStock :: Id -> IO (Cursor ())
cursorCreateFromStock _id
= withManagedCursorResult $
wx_Cursor_CreateFromStock (toCInt _id)
foreign import ccall "Cursor_CreateFromStock" wx_Cursor_CreateFromStock :: CInt -> IO (Ptr (TCursor ()))
cursorCreateLoad :: String -> Int -> Size -> IO (Cursor ())
cursorCreateLoad name wxtype widthheight
= withManagedCursorResult $
withStringPtr name $ \cobj_name ->
wx_Cursor_CreateLoad cobj_name (toCInt wxtype) (toCIntSizeW widthheight) (toCIntSizeH widthheight)
foreign import ccall "Cursor_CreateLoad" wx_Cursor_CreateLoad :: Ptr (TWxString a) -> CInt -> CInt -> CInt -> IO (Ptr (TCursor ()))
cursorDelete :: Cursor a -> IO ()
cursorDelete
= objectDelete
cursorIsStatic :: Cursor a -> IO Bool
cursorIsStatic self
= withBoolResult $
withObjectPtr self $ \cobj_self ->
wxCursor_IsStatic cobj_self
foreign import ccall "wxCursor_IsStatic" wxCursor_IsStatic :: Ptr (TCursor a) -> IO CBool
cursorSafeDelete :: Cursor a -> IO ()
cursorSafeDelete self
= withObjectPtr self $ \cobj_self ->
wxCursor_SafeDelete cobj_self
foreign import ccall "wxCursor_SafeDelete" wxCursor_SafeDelete :: Ptr (TCursor a) -> IO ()
dataFormatCreateFromId :: String -> IO (DataFormat ())
dataFormatCreateFromId name
= withObjectResult $
withStringPtr name $ \cobj_name ->
wxDataFormat_CreateFromId cobj_name
foreign import ccall "wxDataFormat_CreateFromId" wxDataFormat_CreateFromId :: Ptr (TWxString a) -> IO (Ptr (TDataFormat ()))
dataFormatCreateFromType :: Int -> IO (DataFormat ())
dataFormatCreateFromType typ
= withObjectResult $
wxDataFormat_CreateFromType (toCInt typ)
foreign import ccall "wxDataFormat_CreateFromType" wxDataFormat_CreateFromType :: CInt -> IO (Ptr (TDataFormat ()))
dataFormatDelete :: DataFormat a -> IO ()
dataFormatDelete _obj
= withObjectRef "dataFormatDelete" _obj $ \cobj__obj ->
wxDataFormat_Delete cobj__obj
foreign import ccall "wxDataFormat_Delete" wxDataFormat_Delete :: Ptr (TDataFormat a) -> IO ()
dataFormatGetId :: DataFormat a -> IO (String)
dataFormatGetId _obj
= withManagedStringResult $
withObjectRef "dataFormatGetId" _obj $ \cobj__obj ->
wxDataFormat_GetId cobj__obj
foreign import ccall "wxDataFormat_GetId" wxDataFormat_GetId :: Ptr (TDataFormat a) -> IO (Ptr (TWxString ()))
dataFormatGetType :: DataFormat a -> IO Int
dataFormatGetType _obj
= withIntResult $
withObjectRef "dataFormatGetType" _obj $ \cobj__obj ->
wxDataFormat_GetType cobj__obj
foreign import ccall "wxDataFormat_GetType" wxDataFormat_GetType :: Ptr (TDataFormat a) -> IO CInt
dataFormatIsEqual :: DataFormat a -> Ptr b -> IO Bool
dataFormatIsEqual _obj other
= withBoolResult $
withObjectRef "dataFormatIsEqual" _obj $ \cobj__obj ->
wxDataFormat_IsEqual cobj__obj other
foreign import ccall "wxDataFormat_IsEqual" wxDataFormat_IsEqual :: Ptr (TDataFormat a) -> Ptr b -> IO CBool
dataFormatSetId :: DataFormat a -> Ptr b -> IO ()
dataFormatSetId _obj id
= withObjectRef "dataFormatSetId" _obj $ \cobj__obj ->
wxDataFormat_SetId cobj__obj id
foreign import ccall "wxDataFormat_SetId" wxDataFormat_SetId :: Ptr (TDataFormat a) -> Ptr b -> IO ()
dataFormatSetType :: DataFormat a -> Int -> IO ()
dataFormatSetType _obj typ
= withObjectRef "dataFormatSetType" _obj $ \cobj__obj ->
wxDataFormat_SetType cobj__obj (toCInt typ)
foreign import ccall "wxDataFormat_SetType" wxDataFormat_SetType :: Ptr (TDataFormat a) -> CInt -> IO ()
dataObjectCompositeAdd :: DataObjectComposite a -> Ptr b -> Int -> IO ()
dataObjectCompositeAdd _obj _dat _preferred
= withObjectRef "dataObjectCompositeAdd" _obj $ \cobj__obj ->
wxDataObjectComposite_Add cobj__obj _dat (toCInt _preferred)
foreign import ccall "wxDataObjectComposite_Add" wxDataObjectComposite_Add :: Ptr (TDataObjectComposite a) -> Ptr b -> CInt -> IO ()
dataObjectCompositeCreate :: IO (DataObjectComposite ())
dataObjectCompositeCreate
= withObjectResult $
wxDataObjectComposite_Create
foreign import ccall "wxDataObjectComposite_Create" wxDataObjectComposite_Create :: IO (Ptr (TDataObjectComposite ()))
dataObjectCompositeDelete :: DataObjectComposite a -> IO ()
dataObjectCompositeDelete _obj
= withObjectRef "dataObjectCompositeDelete" _obj $ \cobj__obj ->
wxDataObjectComposite_Delete cobj__obj
foreign import ccall "wxDataObjectComposite_Delete" wxDataObjectComposite_Delete :: Ptr (TDataObjectComposite a) -> IO ()
datePropertyCreate :: String -> String -> DateTime c -> IO (DateProperty ())
datePropertyCreate label name value
= withObjectResult $
withStringPtr label $ \cobj_label ->
withStringPtr name $ \cobj_name ->
withObjectPtr value $ \cobj_value ->
wxDateProperty_Create cobj_label cobj_name cobj_value
foreign import ccall "wxDateProperty_Create" wxDateProperty_Create :: Ptr (TWxString a) -> Ptr (TWxString b) -> Ptr (TDateTime c) -> IO (Ptr (TDateProperty ()))
dateTimeAddDate :: DateTime a -> Ptr b -> IO (DateTime ())
dateTimeAddDate _obj diff
= withRefDateTime $ \pref ->
withObjectRef "dateTimeAddDate" _obj $ \cobj__obj ->
wxDateTime_AddDate cobj__obj diff pref
foreign import ccall "wxDateTime_AddDate" wxDateTime_AddDate :: Ptr (TDateTime a) -> Ptr b -> Ptr (TDateTime ()) -> IO ()
dateTimeAddDateValues :: DateTime a -> Int -> Int -> Int -> Int -> IO ()
dateTimeAddDateValues _obj _yrs _mnt _wek _day
= withObjectRef "dateTimeAddDateValues" _obj $ \cobj__obj ->
wxDateTime_AddDateValues cobj__obj (toCInt _yrs) (toCInt _mnt) (toCInt _wek) (toCInt _day)
foreign import ccall "wxDateTime_AddDateValues" wxDateTime_AddDateValues :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> IO ()
dateTimeAddTime :: DateTime a -> Ptr b -> IO (DateTime ())
dateTimeAddTime _obj diff
= withRefDateTime $ \pref ->
withObjectRef "dateTimeAddTime" _obj $ \cobj__obj ->
wxDateTime_AddTime cobj__obj diff pref
foreign import ccall "wxDateTime_AddTime" wxDateTime_AddTime :: Ptr (TDateTime a) -> Ptr b -> Ptr (TDateTime ()) -> IO ()
dateTimeAddTimeValues :: DateTime a -> Int -> Int -> Int -> Int -> IO ()
dateTimeAddTimeValues _obj _hrs _min _sec _mls
= withObjectRef "dateTimeAddTimeValues" _obj $ \cobj__obj ->
wxDateTime_AddTimeValues cobj__obj (toCInt _hrs) (toCInt _min) (toCInt _sec) (toCInt _mls)
foreign import ccall "wxDateTime_AddTimeValues" wxDateTime_AddTimeValues :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> IO ()
dateTimeConvertYearToBC :: Int -> IO Int
dateTimeConvertYearToBC year
= withIntResult $
wxDateTime_ConvertYearToBC (toCInt year)
foreign import ccall "wxDateTime_ConvertYearToBC" wxDateTime_ConvertYearToBC :: CInt -> IO CInt
dateTimeCreate :: IO (DateTime ())
dateTimeCreate
= withManagedDateTimeResult $
wxDateTime_Create
foreign import ccall "wxDateTime_Create" wxDateTime_Create :: IO (Ptr (TDateTime ()))
dateTimeDelete :: DateTime a -> IO ()
dateTimeDelete
= dateTimeDelete
dateTimeFormat :: DateTime a -> Ptr b -> Int -> IO (String)
dateTimeFormat _obj format tz
= withManagedStringResult $
withObjectRef "dateTimeFormat" _obj $ \cobj__obj ->
wxDateTime_Format cobj__obj format (toCInt tz)
foreign import ccall "wxDateTime_Format" wxDateTime_Format :: Ptr (TDateTime a) -> Ptr b -> CInt -> IO (Ptr (TWxString ()))
dateTimeFormatDate :: DateTime a -> IO (String)
dateTimeFormatDate _obj
= withManagedStringResult $
withObjectRef "dateTimeFormatDate" _obj $ \cobj__obj ->
wxDateTime_FormatDate cobj__obj
foreign import ccall "wxDateTime_FormatDate" wxDateTime_FormatDate :: Ptr (TDateTime a) -> IO (Ptr (TWxString ()))
dateTimeFormatISODate :: DateTime a -> IO (String)
dateTimeFormatISODate _obj
= withManagedStringResult $
withObjectRef "dateTimeFormatISODate" _obj $ \cobj__obj ->
wxDateTime_FormatISODate cobj__obj
foreign import ccall "wxDateTime_FormatISODate" wxDateTime_FormatISODate :: Ptr (TDateTime a) -> IO (Ptr (TWxString ()))
dateTimeFormatISOTime :: DateTime a -> IO (String)
dateTimeFormatISOTime _obj
= withManagedStringResult $
withObjectRef "dateTimeFormatISOTime" _obj $ \cobj__obj ->
wxDateTime_FormatISOTime cobj__obj
foreign import ccall "wxDateTime_FormatISOTime" wxDateTime_FormatISOTime :: Ptr (TDateTime a) -> IO (Ptr (TWxString ()))
dateTimeFormatTime :: DateTime a -> IO (String)
dateTimeFormatTime _obj
= withManagedStringResult $
withObjectRef "dateTimeFormatTime" _obj $ \cobj__obj ->
wxDateTime_FormatTime cobj__obj
foreign import ccall "wxDateTime_FormatTime" wxDateTime_FormatTime :: Ptr (TDateTime a) -> IO (Ptr (TWxString ()))
dateTimeGetAmString :: IO (String)
dateTimeGetAmString
= withManagedStringResult $
wxDateTime_GetAmString
foreign import ccall "wxDateTime_GetAmString" wxDateTime_GetAmString :: IO (Ptr (TWxString ()))
dateTimeGetBeginDST :: Int -> Int -> DateTime c -> IO ()
dateTimeGetBeginDST year country dt
= withObjectPtr dt $ \cobj_dt ->
wxDateTime_GetBeginDST (toCInt year) (toCInt country) cobj_dt
foreign import ccall "wxDateTime_GetBeginDST" wxDateTime_GetBeginDST :: CInt -> CInt -> Ptr (TDateTime c) -> IO ()
dateTimeGetCentury :: Int -> IO Int
dateTimeGetCentury year
= withIntResult $
wxDateTime_GetCentury (toCInt year)
foreign import ccall "wxDateTime_GetCentury" wxDateTime_GetCentury :: CInt -> IO CInt
dateTimeGetCountry :: IO Int
dateTimeGetCountry
= withIntResult $
wxDateTime_GetCountry
foreign import ccall "wxDateTime_GetCountry" wxDateTime_GetCountry :: IO CInt
dateTimeGetCurrentMonth :: Int -> IO Int
dateTimeGetCurrentMonth cal
= withIntResult $
wxDateTime_GetCurrentMonth (toCInt cal)
foreign import ccall "wxDateTime_GetCurrentMonth" wxDateTime_GetCurrentMonth :: CInt -> IO CInt
dateTimeGetCurrentYear :: Int -> IO Int
dateTimeGetCurrentYear cal
= withIntResult $
wxDateTime_GetCurrentYear (toCInt cal)
foreign import ccall "wxDateTime_GetCurrentYear" wxDateTime_GetCurrentYear :: CInt -> IO CInt
dateTimeGetDay :: DateTime a -> Int -> IO Int
dateTimeGetDay _obj tz
= withIntResult $
withObjectRef "dateTimeGetDay" _obj $ \cobj__obj ->
wxDateTime_GetDay cobj__obj (toCInt tz)
foreign import ccall "wxDateTime_GetDay" wxDateTime_GetDay :: Ptr (TDateTime a) -> CInt -> IO CInt
dateTimeGetDayOfYear :: DateTime a -> Int -> IO Int
dateTimeGetDayOfYear _obj tz
= withIntResult $
withObjectRef "dateTimeGetDayOfYear" _obj $ \cobj__obj ->
wxDateTime_GetDayOfYear cobj__obj (toCInt tz)
foreign import ccall "wxDateTime_GetDayOfYear" wxDateTime_GetDayOfYear :: Ptr (TDateTime a) -> CInt -> IO CInt
dateTimeGetEndDST :: Int -> Int -> DateTime c -> IO ()
dateTimeGetEndDST year country dt
= withObjectPtr dt $ \cobj_dt ->
wxDateTime_GetEndDST (toCInt year) (toCInt country) cobj_dt
foreign import ccall "wxDateTime_GetEndDST" wxDateTime_GetEndDST :: CInt -> CInt -> Ptr (TDateTime c) -> IO ()
dateTimeGetHour :: DateTime a -> Int -> IO Int
dateTimeGetHour _obj tz
= withIntResult $
withObjectRef "dateTimeGetHour" _obj $ \cobj__obj ->
wxDateTime_GetHour cobj__obj (toCInt tz)
foreign import ccall "wxDateTime_GetHour" wxDateTime_GetHour :: Ptr (TDateTime a) -> CInt -> IO CInt
dateTimeGetLastMonthDay :: DateTime a -> Int -> Int -> IO (DateTime ())
dateTimeGetLastMonthDay _obj month year
= withRefDateTime $ \pref ->
withObjectRef "dateTimeGetLastMonthDay" _obj $ \cobj__obj ->
wxDateTime_GetLastMonthDay cobj__obj (toCInt month) (toCInt year) pref
foreign import ccall "wxDateTime_GetLastMonthDay" wxDateTime_GetLastMonthDay :: Ptr (TDateTime a) -> CInt -> CInt -> Ptr (TDateTime ()) -> IO ()
dateTimeGetLastWeekDay :: DateTime a -> Int -> Int -> Int -> IO (DateTime ())
dateTimeGetLastWeekDay _obj weekday month year
= withRefDateTime $ \pref ->
withObjectRef "dateTimeGetLastWeekDay" _obj $ \cobj__obj ->
wxDateTime_GetLastWeekDay cobj__obj (toCInt weekday) (toCInt month) (toCInt year) pref
foreign import ccall "wxDateTime_GetLastWeekDay" wxDateTime_GetLastWeekDay :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> Ptr (TDateTime ()) -> IO ()
dateTimeGetMillisecond :: DateTime a -> Int -> IO Int
dateTimeGetMillisecond _obj tz
= withIntResult $
withObjectRef "dateTimeGetMillisecond" _obj $ \cobj__obj ->
wxDateTime_GetMillisecond cobj__obj (toCInt tz)
foreign import ccall "wxDateTime_GetMillisecond" wxDateTime_GetMillisecond :: Ptr (TDateTime a) -> CInt -> IO CInt
dateTimeGetMinute :: DateTime a -> Int -> IO Int
dateTimeGetMinute _obj tz
= withIntResult $
withObjectRef "dateTimeGetMinute" _obj $ \cobj__obj ->
wxDateTime_GetMinute cobj__obj (toCInt tz)
foreign import ccall "wxDateTime_GetMinute" wxDateTime_GetMinute :: Ptr (TDateTime a) -> CInt -> IO CInt
dateTimeGetMonth :: DateTime a -> Int -> IO Int
dateTimeGetMonth _obj tz
= withIntResult $
withObjectRef "dateTimeGetMonth" _obj $ \cobj__obj ->
wxDateTime_GetMonth cobj__obj (toCInt tz)
foreign import ccall "wxDateTime_GetMonth" wxDateTime_GetMonth :: Ptr (TDateTime a) -> CInt -> IO CInt
dateTimeGetMonthName :: Int -> Int -> IO (String)
dateTimeGetMonthName month flags
= withManagedStringResult $
wxDateTime_GetMonthName (toCInt month) (toCInt flags)
foreign import ccall "wxDateTime_GetMonthName" wxDateTime_GetMonthName :: CInt -> CInt -> IO (Ptr (TWxString ()))
dateTimeGetNextWeekDay :: DateTime a -> Int -> IO (DateTime ())
dateTimeGetNextWeekDay _obj weekday
= withRefDateTime $ \pref ->
withObjectRef "dateTimeGetNextWeekDay" _obj $ \cobj__obj ->
wxDateTime_GetNextWeekDay cobj__obj (toCInt weekday) pref
foreign import ccall "wxDateTime_GetNextWeekDay" wxDateTime_GetNextWeekDay :: Ptr (TDateTime a) -> CInt -> Ptr (TDateTime ()) -> IO ()
dateTimeGetNumberOfDays :: Int -> Int -> IO Int
dateTimeGetNumberOfDays year cal
= withIntResult $
wxDateTime_GetNumberOfDays (toCInt year) (toCInt cal)
foreign import ccall "wxDateTime_GetNumberOfDays" wxDateTime_GetNumberOfDays :: CInt -> CInt -> IO CInt
dateTimeGetNumberOfDaysMonth :: Int -> Int -> Int -> IO Int
dateTimeGetNumberOfDaysMonth month year cal
= withIntResult $
wxDateTime_GetNumberOfDaysMonth (toCInt month) (toCInt year) (toCInt cal)
foreign import ccall "wxDateTime_GetNumberOfDaysMonth" wxDateTime_GetNumberOfDaysMonth :: CInt -> CInt -> CInt -> IO CInt
dateTimeGetPmString :: IO (String)
dateTimeGetPmString
= withManagedStringResult $
wxDateTime_GetPmString
foreign import ccall "wxDateTime_GetPmString" wxDateTime_GetPmString :: IO (Ptr (TWxString ()))
dateTimeGetPrevWeekDay :: DateTime a -> Int -> IO (DateTime ())
dateTimeGetPrevWeekDay _obj weekday
= withRefDateTime $ \pref ->
withObjectRef "dateTimeGetPrevWeekDay" _obj $ \cobj__obj ->
wxDateTime_GetPrevWeekDay cobj__obj (toCInt weekday) pref
foreign import ccall "wxDateTime_GetPrevWeekDay" wxDateTime_GetPrevWeekDay :: Ptr (TDateTime a) -> CInt -> Ptr (TDateTime ()) -> IO ()
dateTimeGetSecond :: DateTime a -> Int -> IO Int
dateTimeGetSecond _obj tz
= withIntResult $
withObjectRef "dateTimeGetSecond" _obj $ \cobj__obj ->
wxDateTime_GetSecond cobj__obj (toCInt tz)
foreign import ccall "wxDateTime_GetSecond" wxDateTime_GetSecond :: Ptr (TDateTime a) -> CInt -> IO CInt
dateTimeGetTicks :: DateTime a -> IO Int
dateTimeGetTicks _obj
= withIntResult $
withObjectRef "dateTimeGetTicks" _obj $ \cobj__obj ->
wxDateTime_GetTicks cobj__obj
foreign import ccall "wxDateTime_GetTicks" wxDateTime_GetTicks :: Ptr (TDateTime a) -> IO CInt
dateTimeGetTimeNow :: IO Int
dateTimeGetTimeNow
= withIntResult $
wxDateTime_GetTimeNow
foreign import ccall "wxDateTime_GetTimeNow" wxDateTime_GetTimeNow :: IO CInt
dateTimeGetValue :: DateTime a -> Ptr b -> Ptr c -> IO ()
dateTimeGetValue _obj hilong lolong
= withObjectRef "dateTimeGetValue" _obj $ \cobj__obj ->
wxDateTime_GetValue cobj__obj hilong lolong
foreign import ccall "wxDateTime_GetValue" wxDateTime_GetValue :: Ptr (TDateTime a) -> Ptr b -> Ptr c -> IO ()
dateTimeGetWeekDay :: DateTime a -> Int -> Int -> Int -> Int -> IO (DateTime ())
dateTimeGetWeekDay _obj weekday n month year
= withRefDateTime $ \pref ->
withObjectRef "dateTimeGetWeekDay" _obj $ \cobj__obj ->
wxDateTime_GetWeekDay cobj__obj (toCInt weekday) (toCInt n) (toCInt month) (toCInt year) pref
foreign import ccall "wxDateTime_GetWeekDay" wxDateTime_GetWeekDay :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> Ptr (TDateTime ()) -> IO ()
dateTimeGetWeekDayInSameWeek :: DateTime a -> Int -> IO (DateTime ())
dateTimeGetWeekDayInSameWeek _obj weekday
= withRefDateTime $ \pref ->
withObjectRef "dateTimeGetWeekDayInSameWeek" _obj $ \cobj__obj ->
wxDateTime_GetWeekDayInSameWeek cobj__obj (toCInt weekday) pref
foreign import ccall "wxDateTime_GetWeekDayInSameWeek" wxDateTime_GetWeekDayInSameWeek :: Ptr (TDateTime a) -> CInt -> Ptr (TDateTime ()) -> IO ()
dateTimeGetWeekDayName :: Int -> Int -> IO (String)
dateTimeGetWeekDayName weekday flags
= withManagedStringResult $
wxDateTime_GetWeekDayName (toCInt weekday) (toCInt flags)
foreign import ccall "wxDateTime_GetWeekDayName" wxDateTime_GetWeekDayName :: CInt -> CInt -> IO (Ptr (TWxString ()))
dateTimeGetWeekDayTZ :: DateTime a -> Int -> IO Int
dateTimeGetWeekDayTZ _obj tz
= withIntResult $
withObjectRef "dateTimeGetWeekDayTZ" _obj $ \cobj__obj ->
wxDateTime_GetWeekDayTZ cobj__obj (toCInt tz)
foreign import ccall "wxDateTime_GetWeekDayTZ" wxDateTime_GetWeekDayTZ :: Ptr (TDateTime a) -> CInt -> IO CInt
dateTimeGetWeekOfMonth :: DateTime a -> Int -> Int -> IO Int
dateTimeGetWeekOfMonth _obj flags tz
= withIntResult $
withObjectRef "dateTimeGetWeekOfMonth" _obj $ \cobj__obj ->
wxDateTime_GetWeekOfMonth cobj__obj (toCInt flags) (toCInt tz)
foreign import ccall "wxDateTime_GetWeekOfMonth" wxDateTime_GetWeekOfMonth :: Ptr (TDateTime a) -> CInt -> CInt -> IO CInt
dateTimeGetWeekOfYear :: DateTime a -> Int -> Int -> IO Int
dateTimeGetWeekOfYear _obj flags tz
= withIntResult $
withObjectRef "dateTimeGetWeekOfYear" _obj $ \cobj__obj ->
wxDateTime_GetWeekOfYear cobj__obj (toCInt flags) (toCInt tz)
foreign import ccall "wxDateTime_GetWeekOfYear" wxDateTime_GetWeekOfYear :: Ptr (TDateTime a) -> CInt -> CInt -> IO CInt
dateTimeGetYear :: DateTime a -> Int -> IO Int
dateTimeGetYear _obj tz
= withIntResult $
withObjectRef "dateTimeGetYear" _obj $ \cobj__obj ->
wxDateTime_GetYear cobj__obj (toCInt tz)
foreign import ccall "wxDateTime_GetYear" wxDateTime_GetYear :: Ptr (TDateTime a) -> CInt -> IO CInt
dateTimeIsBetween :: DateTime a -> DateTime b -> DateTime c -> IO Bool
dateTimeIsBetween _obj t1 t2
= withBoolResult $
withObjectRef "dateTimeIsBetween" _obj $ \cobj__obj ->
withObjectPtr t1 $ \cobj_t1 ->
withObjectPtr t2 $ \cobj_t2 ->
wxDateTime_IsBetween cobj__obj cobj_t1 cobj_t2
foreign import ccall "wxDateTime_IsBetween" wxDateTime_IsBetween :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> Ptr (TDateTime c) -> IO CBool
dateTimeIsDST :: DateTime a -> Int -> IO Bool
dateTimeIsDST _obj country
= withBoolResult $
withObjectRef "dateTimeIsDST" _obj $ \cobj__obj ->
wxDateTime_IsDST cobj__obj (toCInt country)
foreign import ccall "wxDateTime_IsDST" wxDateTime_IsDST :: Ptr (TDateTime a) -> CInt -> IO CBool
dateTimeIsDSTApplicable :: Int -> Int -> IO Bool
dateTimeIsDSTApplicable year country
= withBoolResult $
wxDateTime_IsDSTApplicable (toCInt year) (toCInt country)
foreign import ccall "wxDateTime_IsDSTApplicable" wxDateTime_IsDSTApplicable :: CInt -> CInt -> IO CBool
dateTimeIsEarlierThan :: DateTime a -> Ptr b -> IO Bool
dateTimeIsEarlierThan _obj datetime
= withBoolResult $
withObjectRef "dateTimeIsEarlierThan" _obj $ \cobj__obj ->
wxDateTime_IsEarlierThan cobj__obj datetime
foreign import ccall "wxDateTime_IsEarlierThan" wxDateTime_IsEarlierThan :: Ptr (TDateTime a) -> Ptr b -> IO CBool
dateTimeIsEqualTo :: DateTime a -> Ptr b -> IO Bool
dateTimeIsEqualTo _obj datetime
= withBoolResult $
withObjectRef "dateTimeIsEqualTo" _obj $ \cobj__obj ->
wxDateTime_IsEqualTo cobj__obj datetime
foreign import ccall "wxDateTime_IsEqualTo" wxDateTime_IsEqualTo :: Ptr (TDateTime a) -> Ptr b -> IO CBool
dateTimeIsEqualUpTo :: DateTime a -> DateTime b -> Ptr c -> IO Bool
dateTimeIsEqualUpTo _obj dt ts
= withBoolResult $
withObjectRef "dateTimeIsEqualUpTo" _obj $ \cobj__obj ->
withObjectPtr dt $ \cobj_dt ->
wxDateTime_IsEqualUpTo cobj__obj cobj_dt ts
foreign import ccall "wxDateTime_IsEqualUpTo" wxDateTime_IsEqualUpTo :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> Ptr c -> IO CBool
dateTimeIsLaterThan :: DateTime a -> Ptr b -> IO Bool
dateTimeIsLaterThan _obj datetime
= withBoolResult $
withObjectRef "dateTimeIsLaterThan" _obj $ \cobj__obj ->
wxDateTime_IsLaterThan cobj__obj datetime
foreign import ccall "wxDateTime_IsLaterThan" wxDateTime_IsLaterThan :: Ptr (TDateTime a) -> Ptr b -> IO CBool
dateTimeIsLeapYear :: Int -> Int -> IO Bool
dateTimeIsLeapYear year cal
= withBoolResult $
wxDateTime_IsLeapYear (toCInt year) (toCInt cal)
foreign import ccall "wxDateTime_IsLeapYear" wxDateTime_IsLeapYear :: CInt -> CInt -> IO CBool
dateTimeIsSameDate :: DateTime a -> DateTime b -> IO Bool
dateTimeIsSameDate _obj dt
= withBoolResult $
withObjectRef "dateTimeIsSameDate" _obj $ \cobj__obj ->
withObjectPtr dt $ \cobj_dt ->
wxDateTime_IsSameDate cobj__obj cobj_dt
foreign import ccall "wxDateTime_IsSameDate" wxDateTime_IsSameDate :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> IO CBool
dateTimeIsSameTime :: DateTime a -> DateTime b -> IO Bool
dateTimeIsSameTime _obj dt
= withBoolResult $
withObjectRef "dateTimeIsSameTime" _obj $ \cobj__obj ->
withObjectPtr dt $ \cobj_dt ->
wxDateTime_IsSameTime cobj__obj cobj_dt
foreign import ccall "wxDateTime_IsSameTime" wxDateTime_IsSameTime :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> IO CBool
dateTimeIsStrictlyBetween :: DateTime a -> DateTime b -> DateTime c -> IO Bool
dateTimeIsStrictlyBetween _obj t1 t2
= withBoolResult $
withObjectRef "dateTimeIsStrictlyBetween" _obj $ \cobj__obj ->
withObjectPtr t1 $ \cobj_t1 ->
withObjectPtr t2 $ \cobj_t2 ->
wxDateTime_IsStrictlyBetween cobj__obj cobj_t1 cobj_t2
foreign import ccall "wxDateTime_IsStrictlyBetween" wxDateTime_IsStrictlyBetween :: Ptr (TDateTime a) -> Ptr (TDateTime b) -> Ptr (TDateTime c) -> IO CBool
dateTimeIsValid :: DateTime a -> IO Bool
dateTimeIsValid _obj
= withBoolResult $
withObjectRef "dateTimeIsValid" _obj $ \cobj__obj ->
wxDateTime_IsValid cobj__obj
foreign import ccall "wxDateTime_IsValid" wxDateTime_IsValid :: Ptr (TDateTime a) -> IO CBool
dateTimeIsWestEuropeanCountry :: Int -> IO Bool
dateTimeIsWestEuropeanCountry country
= withBoolResult $
wxDateTime_IsWestEuropeanCountry (toCInt country)
foreign import ccall "wxDateTime_IsWestEuropeanCountry" wxDateTime_IsWestEuropeanCountry :: CInt -> IO CBool
dateTimeIsWorkDay :: DateTime a -> Int -> IO Bool
dateTimeIsWorkDay _obj country
= withBoolResult $
withObjectRef "dateTimeIsWorkDay" _obj $ \cobj__obj ->
wxDateTime_IsWorkDay cobj__obj (toCInt country)
foreign import ccall "wxDateTime_IsWorkDay" wxDateTime_IsWorkDay :: Ptr (TDateTime a) -> CInt -> IO CBool
dateTimeMakeGMT :: DateTime a -> Int -> IO ()
dateTimeMakeGMT _obj noDST
= withObjectRef "dateTimeMakeGMT" _obj $ \cobj__obj ->
wxDateTime_MakeGMT cobj__obj (toCInt noDST)
foreign import ccall "wxDateTime_MakeGMT" wxDateTime_MakeGMT :: Ptr (TDateTime a) -> CInt -> IO ()
dateTimeMakeTimezone :: DateTime a -> Int -> Int -> IO ()
dateTimeMakeTimezone _obj tz noDST
= withObjectRef "dateTimeMakeTimezone" _obj $ \cobj__obj ->
wxDateTime_MakeTimezone cobj__obj (toCInt tz) (toCInt noDST)
foreign import ccall "wxDateTime_MakeTimezone" wxDateTime_MakeTimezone :: Ptr (TDateTime a) -> CInt -> CInt -> IO ()
dateTimeNow :: DateTime a -> IO ()
dateTimeNow dt
= withObjectRef "dateTimeNow" dt $ \cobj_dt ->
wxDateTime_Now cobj_dt
foreign import ccall "wxDateTime_Now" wxDateTime_Now :: Ptr (TDateTime a) -> IO ()
dateTimeParseDate :: DateTime a -> Ptr b -> IO (Ptr ())
dateTimeParseDate _obj date
= withObjectRef "dateTimeParseDate" _obj $ \cobj__obj ->
wxDateTime_ParseDate cobj__obj date
foreign import ccall "wxDateTime_ParseDate" wxDateTime_ParseDate :: Ptr (TDateTime a) -> Ptr b -> IO (Ptr ())
dateTimeParseDateTime :: DateTime a -> Ptr b -> IO (Ptr ())
dateTimeParseDateTime _obj datetime
= withObjectRef "dateTimeParseDateTime" _obj $ \cobj__obj ->
wxDateTime_ParseDateTime cobj__obj datetime
foreign import ccall "wxDateTime_ParseDateTime" wxDateTime_ParseDateTime :: Ptr (TDateTime a) -> Ptr b -> IO (Ptr ())
dateTimeParseFormat :: DateTime a -> Ptr b -> Ptr c -> Ptr d -> IO (Ptr ())
dateTimeParseFormat _obj date format dateDef
= withObjectRef "dateTimeParseFormat" _obj $ \cobj__obj ->
wxDateTime_ParseFormat cobj__obj date format dateDef
foreign import ccall "wxDateTime_ParseFormat" wxDateTime_ParseFormat :: Ptr (TDateTime a) -> Ptr b -> Ptr c -> Ptr d -> IO (Ptr ())
dateTimeParseRfc822Date :: DateTime a -> Ptr b -> IO (Ptr ())
dateTimeParseRfc822Date _obj date
= withObjectRef "dateTimeParseRfc822Date" _obj $ \cobj__obj ->
wxDateTime_ParseRfc822Date cobj__obj date
foreign import ccall "wxDateTime_ParseRfc822Date" wxDateTime_ParseRfc822Date :: Ptr (TDateTime a) -> Ptr b -> IO (Ptr ())
dateTimeParseTime :: DateTime a -> Time b -> IO (Ptr ())
dateTimeParseTime _obj time
= withObjectRef "dateTimeParseTime" _obj $ \cobj__obj ->
withObjectPtr time $ \cobj_time ->
wxDateTime_ParseTime cobj__obj cobj_time
foreign import ccall "wxDateTime_ParseTime" wxDateTime_ParseTime :: Ptr (TDateTime a) -> Ptr (TTime b) -> IO (Ptr ())
dateTimeResetTime :: DateTime a -> IO ()
dateTimeResetTime _obj
= withObjectRef "dateTimeResetTime" _obj $ \cobj__obj ->
wxDateTime_ResetTime cobj__obj
foreign import ccall "wxDateTime_ResetTime" wxDateTime_ResetTime :: Ptr (TDateTime a) -> IO ()
dateTimeSet :: DateTime a -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> IO ()
dateTimeSet _obj day month year hour minute second millisec
= withObjectRef "dateTimeSet" _obj $ \cobj__obj ->
wxDateTime_Set cobj__obj (toCInt day) (toCInt month) (toCInt year) (toCInt hour) (toCInt minute) (toCInt second) (toCInt millisec)
foreign import ccall "wxDateTime_Set" wxDateTime_Set :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()
dateTimeSetCountry :: Int -> IO ()
dateTimeSetCountry country
= wxDateTime_SetCountry (toCInt country)
foreign import ccall "wxDateTime_SetCountry" wxDateTime_SetCountry :: CInt -> IO ()
dateTimeSetDay :: DateTime a -> Int -> IO ()
dateTimeSetDay _obj day
= withObjectRef "dateTimeSetDay" _obj $ \cobj__obj ->
wxDateTime_SetDay cobj__obj (toCInt day)
foreign import ccall "wxDateTime_SetDay" wxDateTime_SetDay :: Ptr (TDateTime a) -> CInt -> IO ()
dateTimeSetHour :: DateTime a -> Int -> IO ()
dateTimeSetHour _obj hour
= withObjectRef "dateTimeSetHour" _obj $ \cobj__obj ->
wxDateTime_SetHour cobj__obj (toCInt hour)
foreign import ccall "wxDateTime_SetHour" wxDateTime_SetHour :: Ptr (TDateTime a) -> CInt -> IO ()
dateTimeSetMillisecond :: DateTime a -> Int -> IO ()
dateTimeSetMillisecond _obj millisecond
= withObjectRef "dateTimeSetMillisecond" _obj $ \cobj__obj ->
wxDateTime_SetMillisecond cobj__obj (toCInt millisecond)
foreign import ccall "wxDateTime_SetMillisecond" wxDateTime_SetMillisecond :: Ptr (TDateTime a) -> CInt -> IO ()
dateTimeSetMinute :: DateTime a -> Int -> IO ()
dateTimeSetMinute _obj minute
= withObjectRef "dateTimeSetMinute" _obj $ \cobj__obj ->
wxDateTime_SetMinute cobj__obj (toCInt minute)
foreign import ccall "wxDateTime_SetMinute" wxDateTime_SetMinute :: Ptr (TDateTime a) -> CInt -> IO ()
dateTimeSetMonth :: DateTime a -> Int -> IO ()
dateTimeSetMonth _obj month
= withObjectRef "dateTimeSetMonth" _obj $ \cobj__obj ->
wxDateTime_SetMonth cobj__obj (toCInt month)
foreign import ccall "wxDateTime_SetMonth" wxDateTime_SetMonth :: Ptr (TDateTime a) -> CInt -> IO ()
dateTimeSetSecond :: DateTime a -> Int -> IO ()
dateTimeSetSecond _obj second
= withObjectRef "dateTimeSetSecond" _obj $ \cobj__obj ->
wxDateTime_SetSecond cobj__obj (toCInt second)
foreign import ccall "wxDateTime_SetSecond" wxDateTime_SetSecond :: Ptr (TDateTime a) -> CInt -> IO ()
dateTimeSetTime :: DateTime a -> Int -> Int -> Int -> Int -> IO ()
dateTimeSetTime _obj hour minute second millisec
= withObjectRef "dateTimeSetTime" _obj $ \cobj__obj ->
wxDateTime_SetTime cobj__obj (toCInt hour) (toCInt minute) (toCInt second) (toCInt millisec)
foreign import ccall "wxDateTime_SetTime" wxDateTime_SetTime :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> IO ()
dateTimeSetToCurrent :: DateTime a -> IO ()
dateTimeSetToCurrent _obj
= withObjectRef "dateTimeSetToCurrent" _obj $ \cobj__obj ->
wxDateTime_SetToCurrent cobj__obj
foreign import ccall "wxDateTime_SetToCurrent" wxDateTime_SetToCurrent :: Ptr (TDateTime a) -> IO ()
dateTimeSetToLastMonthDay :: DateTime a -> Int -> Int -> IO ()
dateTimeSetToLastMonthDay _obj month year
= withObjectRef "dateTimeSetToLastMonthDay" _obj $ \cobj__obj ->
wxDateTime_SetToLastMonthDay cobj__obj (toCInt month) (toCInt year)
foreign import ccall "wxDateTime_SetToLastMonthDay" wxDateTime_SetToLastMonthDay :: Ptr (TDateTime a) -> CInt -> CInt -> IO ()
dateTimeSetToLastWeekDay :: DateTime a -> Int -> Int -> Int -> IO Bool
dateTimeSetToLastWeekDay _obj weekday month year
= withBoolResult $
withObjectRef "dateTimeSetToLastWeekDay" _obj $ \cobj__obj ->
wxDateTime_SetToLastWeekDay cobj__obj (toCInt weekday) (toCInt month) (toCInt year)
foreign import ccall "wxDateTime_SetToLastWeekDay" wxDateTime_SetToLastWeekDay :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> IO CBool
dateTimeSetToNextWeekDay :: DateTime a -> Int -> IO ()
dateTimeSetToNextWeekDay _obj weekday
= withObjectRef "dateTimeSetToNextWeekDay" _obj $ \cobj__obj ->
wxDateTime_SetToNextWeekDay cobj__obj (toCInt weekday)
foreign import ccall "wxDateTime_SetToNextWeekDay" wxDateTime_SetToNextWeekDay :: Ptr (TDateTime a) -> CInt -> IO ()
dateTimeSetToPrevWeekDay :: DateTime a -> Int -> IO ()
dateTimeSetToPrevWeekDay _obj weekday
= withObjectRef "dateTimeSetToPrevWeekDay" _obj $ \cobj__obj ->
wxDateTime_SetToPrevWeekDay cobj__obj (toCInt weekday)
foreign import ccall "wxDateTime_SetToPrevWeekDay" wxDateTime_SetToPrevWeekDay :: Ptr (TDateTime a) -> CInt -> IO ()
dateTimeSetToWeekDay :: DateTime a -> Int -> Int -> Int -> Int -> IO Bool
dateTimeSetToWeekDay _obj weekday n month year
= withBoolResult $
withObjectRef "dateTimeSetToWeekDay" _obj $ \cobj__obj ->
wxDateTime_SetToWeekDay cobj__obj (toCInt weekday) (toCInt n) (toCInt month) (toCInt year)
foreign import ccall "wxDateTime_SetToWeekDay" wxDateTime_SetToWeekDay :: Ptr (TDateTime a) -> CInt -> CInt -> CInt -> CInt -> IO CBool
dateTimeSetToWeekDayInSameWeek :: DateTime a -> Int -> IO ()
dateTimeSetToWeekDayInSameWeek _obj weekday
= withObjectRef "dateTimeSetToWeekDayInSameWeek" _obj $ \cobj__obj ->
wxDateTime_SetToWeekDayInSameWeek cobj__obj (toCInt weekday)
foreign import ccall "wxDateTime_SetToWeekDayInSameWeek" wxDateTime_SetToWeekDayInSameWeek :: Ptr (TDateTime a) -> CInt -> IO ()
dateTimeSetYear :: DateTime a -> Int -> IO ()
dateTimeSetYear _obj year
= withObjectRef "dateTimeSetYear" _obj $ \cobj__obj ->
wxDateTime_SetYear cobj__obj (toCInt year)
foreign import ccall "wxDateTime_SetYear" wxDateTime_SetYear :: Ptr (TDateTime a) -> CInt -> IO ()
dateTimeSubtractDate :: DateTime a -> Ptr b -> IO (DateTime ())
dateTimeSubtractDate _obj diff
= withRefDateTime $ \pref ->
withObjectRef "dateTimeSubtractDate" _obj $ \cobj__obj ->
wxDateTime_SubtractDate cobj__obj diff pref
foreign import ccall "wxDateTime_SubtractDate" wxDateTime_SubtractDate :: Ptr (TDateTime a) -> Ptr b -> Ptr (TDateTime ()) -> IO ()
dateTimeSubtractTime :: DateTime a -> Ptr b -> IO (DateTime ())
dateTimeSubtractTime _obj diff
= withRefDateTime $ \pref ->
withObjectRef "dateTimeSubtractTime" _obj $ \cobj__obj ->
wxDateTime_SubtractTime cobj__obj diff pref
foreign import ccall "wxDateTime_SubtractTime" wxDateTime_SubtractTime :: Ptr (TDateTime a) -> Ptr b -> Ptr (TDateTime ()) -> IO ()
dateTimeToGMT :: DateTime a -> Int -> IO ()
dateTimeToGMT _obj noDST
= withObjectRef "dateTimeToGMT" _obj $ \cobj__obj ->
wxDateTime_ToGMT cobj__obj (toCInt noDST)
foreign import ccall "wxDateTime_ToGMT" wxDateTime_ToGMT :: Ptr (TDateTime a) -> CInt -> IO ()
dateTimeToTimezone :: DateTime a -> Int -> Int -> IO ()
dateTimeToTimezone _obj tz noDST
= withObjectRef "dateTimeToTimezone" _obj $ \cobj__obj ->
wxDateTime_ToTimezone cobj__obj (toCInt tz) (toCInt noDST)
foreign import ccall "wxDateTime_ToTimezone" wxDateTime_ToTimezone :: Ptr (TDateTime a) -> CInt -> CInt -> IO ()
dateTimeToday :: DateTime a -> IO ()
dateTimeToday dt
= withObjectRef "dateTimeToday" dt $ \cobj_dt ->
wxDateTime_Today cobj_dt
foreign import ccall "wxDateTime_Today" wxDateTime_Today :: Ptr (TDateTime a) -> IO ()
dateTimeUNow :: DateTime a -> IO ()
dateTimeUNow dt
= withObjectRef "dateTimeUNow" dt $ \cobj_dt ->
wxDateTime_UNow cobj_dt
foreign import ccall "wxDateTime_UNow" wxDateTime_UNow :: Ptr (TDateTime a) -> IO ()
dateTimewxDateTime :: Int -> Int -> IO (Ptr ())
dateTimewxDateTime hilong lolong
= wxDateTime_wxDateTime (toCInt hilong) (toCInt lolong)
foreign import ccall "wxDateTime_wxDateTime" wxDateTime_wxDateTime :: CInt -> CInt -> IO (Ptr ())
dcBlit :: DC a -> Rect -> DC c -> Point -> Int -> Bool -> IO Bool
dcBlit _obj xdestydestwidthheight source xsrcysrc rop useMask
= withBoolResult $
withObjectRef "dcBlit" _obj $ \cobj__obj ->
withObjectPtr source $ \cobj_source ->
wxDC_Blit cobj__obj (toCIntRectX xdestydestwidthheight) (toCIntRectY xdestydestwidthheight)(toCIntRectW xdestydestwidthheight) (toCIntRectH xdestydestwidthheight) cobj_source (toCIntPointX xsrcysrc) (toCIntPointY xsrcysrc) (toCInt rop) (toCBool useMask)
foreign import ccall "wxDC_Blit" wxDC_Blit :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> Ptr (TDC c) -> CInt -> CInt -> CInt -> CBool -> IO CBool
dcCalcBoundingBox :: DC a -> Point -> IO ()
dcCalcBoundingBox _obj xy
= withObjectRef "dcCalcBoundingBox" _obj $ \cobj__obj ->
wxDC_CalcBoundingBox cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxDC_CalcBoundingBox" wxDC_CalcBoundingBox :: Ptr (TDC a) -> CInt -> CInt -> IO ()
dcCanDrawBitmap :: DC a -> IO Bool
dcCanDrawBitmap _obj
= withBoolResult $
withObjectRef "dcCanDrawBitmap" _obj $ \cobj__obj ->
wxDC_CanDrawBitmap cobj__obj
foreign import ccall "wxDC_CanDrawBitmap" wxDC_CanDrawBitmap :: Ptr (TDC a) -> IO CBool
dcCanGetTextExtent :: DC a -> IO Bool
dcCanGetTextExtent _obj
= withBoolResult $
withObjectRef "dcCanGetTextExtent" _obj $ \cobj__obj ->
wxDC_CanGetTextExtent cobj__obj
foreign import ccall "wxDC_CanGetTextExtent" wxDC_CanGetTextExtent :: Ptr (TDC a) -> IO CBool
dcClear :: DC a -> IO ()
dcClear _obj
= withObjectRef "dcClear" _obj $ \cobj__obj ->
wxDC_Clear cobj__obj
foreign import ccall "wxDC_Clear" wxDC_Clear :: Ptr (TDC a) -> IO ()
dcComputeScaleAndOrigin :: DC a -> IO ()
dcComputeScaleAndOrigin obj
= withObjectRef "dcComputeScaleAndOrigin" obj $ \cobj_obj ->
wxDC_ComputeScaleAndOrigin cobj_obj
foreign import ccall "wxDC_ComputeScaleAndOrigin" wxDC_ComputeScaleAndOrigin :: Ptr (TDC a) -> IO ()
dcCrossHair :: DC a -> Point -> IO ()
dcCrossHair _obj xy
= withObjectRef "dcCrossHair" _obj $ \cobj__obj ->
wxDC_CrossHair cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxDC_CrossHair" wxDC_CrossHair :: Ptr (TDC a) -> CInt -> CInt -> IO ()
dcDelete :: DC a -> IO ()
dcDelete
= objectDelete
dcDestroyClippingRegion :: DC a -> IO ()
dcDestroyClippingRegion _obj
= withObjectRef "dcDestroyClippingRegion" _obj $ \cobj__obj ->
wxDC_DestroyClippingRegion cobj__obj
foreign import ccall "wxDC_DestroyClippingRegion" wxDC_DestroyClippingRegion :: Ptr (TDC a) -> IO ()
dcDeviceToLogicalX :: DC a -> Int -> IO Int
dcDeviceToLogicalX _obj x
= withIntResult $
withObjectRef "dcDeviceToLogicalX" _obj $ \cobj__obj ->
wxDC_DeviceToLogicalX cobj__obj (toCInt x)
foreign import ccall "wxDC_DeviceToLogicalX" wxDC_DeviceToLogicalX :: Ptr (TDC a) -> CInt -> IO CInt
dcDeviceToLogicalXRel :: DC a -> Int -> IO Int
dcDeviceToLogicalXRel _obj x
= withIntResult $
withObjectRef "dcDeviceToLogicalXRel" _obj $ \cobj__obj ->
wxDC_DeviceToLogicalXRel cobj__obj (toCInt x)
foreign import ccall "wxDC_DeviceToLogicalXRel" wxDC_DeviceToLogicalXRel :: Ptr (TDC a) -> CInt -> IO CInt
dcDeviceToLogicalY :: DC a -> Int -> IO Int
dcDeviceToLogicalY _obj y
= withIntResult $
withObjectRef "dcDeviceToLogicalY" _obj $ \cobj__obj ->
wxDC_DeviceToLogicalY cobj__obj (toCInt y)
foreign import ccall "wxDC_DeviceToLogicalY" wxDC_DeviceToLogicalY :: Ptr (TDC a) -> CInt -> IO CInt
dcDeviceToLogicalYRel :: DC a -> Int -> IO Int
dcDeviceToLogicalYRel _obj y
= withIntResult $
withObjectRef "dcDeviceToLogicalYRel" _obj $ \cobj__obj ->
wxDC_DeviceToLogicalYRel cobj__obj (toCInt y)
foreign import ccall "wxDC_DeviceToLogicalYRel" wxDC_DeviceToLogicalYRel :: Ptr (TDC a) -> CInt -> IO CInt
dcDrawArc :: DC a -> Point -> Point -> Point -> IO ()
dcDrawArc _obj x1y1 x2y2 xcyc
= withObjectRef "dcDrawArc" _obj $ \cobj__obj ->
wxDC_DrawArc cobj__obj (toCIntPointX x1y1) (toCIntPointY x1y1) (toCIntPointX x2y2) (toCIntPointY x2y2) (toCIntPointX xcyc) (toCIntPointY xcyc)
foreign import ccall "wxDC_DrawArc" wxDC_DrawArc :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()
dcDrawBitmap :: DC a -> Bitmap b -> Point -> Bool -> IO ()
dcDrawBitmap _obj bmp xy useMask
= withObjectRef "dcDrawBitmap" _obj $ \cobj__obj ->
withObjectPtr bmp $ \cobj_bmp ->
wxDC_DrawBitmap cobj__obj cobj_bmp (toCIntPointX xy) (toCIntPointY xy) (toCBool useMask)
foreign import ccall "wxDC_DrawBitmap" wxDC_DrawBitmap :: Ptr (TDC a) -> Ptr (TBitmap b) -> CInt -> CInt -> CBool -> IO ()
dcDrawCheckMark :: DC a -> Rect -> IO ()
dcDrawCheckMark _obj xywidthheight
= withObjectRef "dcDrawCheckMark" _obj $ \cobj__obj ->
wxDC_DrawCheckMark cobj__obj (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)
foreign import ccall "wxDC_DrawCheckMark" wxDC_DrawCheckMark :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()
dcDrawCircle :: DC a -> Point -> Int -> IO ()
dcDrawCircle _obj xy radius
= withObjectRef "dcDrawCircle" _obj $ \cobj__obj ->
wxDC_DrawCircle cobj__obj (toCIntPointX xy) (toCIntPointY xy) (toCInt radius)
foreign import ccall "wxDC_DrawCircle" wxDC_DrawCircle :: Ptr (TDC a) -> CInt -> CInt -> CInt -> IO ()
dcDrawEllipse :: DC a -> Rect -> IO ()
dcDrawEllipse _obj xywidthheight
= withObjectRef "dcDrawEllipse" _obj $ \cobj__obj ->
wxDC_DrawEllipse cobj__obj (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)
foreign import ccall "wxDC_DrawEllipse" wxDC_DrawEllipse :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()
dcDrawEllipticArc :: DC a -> Rect -> Double -> Double -> IO ()
dcDrawEllipticArc _obj xywh sa ea
= withObjectRef "dcDrawEllipticArc" _obj $ \cobj__obj ->
wxDC_DrawEllipticArc cobj__obj (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) sa ea
foreign import ccall "wxDC_DrawEllipticArc" wxDC_DrawEllipticArc :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> Double -> Double -> IO ()
dcDrawIcon :: DC a -> Icon b -> Point -> IO ()
dcDrawIcon _obj icon xy
= withObjectRef "dcDrawIcon" _obj $ \cobj__obj ->
withObjectPtr icon $ \cobj_icon ->
wxDC_DrawIcon cobj__obj cobj_icon (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxDC_DrawIcon" wxDC_DrawIcon :: Ptr (TDC a) -> Ptr (TIcon b) -> CInt -> CInt -> IO ()
dcDrawLabel :: DC a -> String -> Rect -> Int -> Int -> IO ()
dcDrawLabel _obj str xywh align indexAccel
= withObjectRef "dcDrawLabel" _obj $ \cobj__obj ->
withStringPtr str $ \cobj_str ->
wxDC_DrawLabel cobj__obj cobj_str (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) (toCInt align) (toCInt indexAccel)
foreign import ccall "wxDC_DrawLabel" wxDC_DrawLabel :: Ptr (TDC a) -> Ptr (TWxString b) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()
dcDrawLabelBitmap :: DC a -> String -> Bitmap c -> Rect -> Int -> Int -> IO (Rect)
dcDrawLabelBitmap _obj str bmp xywh align indexAccel
= withWxRectResult $
withObjectRef "dcDrawLabelBitmap" _obj $ \cobj__obj ->
withStringPtr str $ \cobj_str ->
withObjectPtr bmp $ \cobj_bmp ->
wxDC_DrawLabelBitmap cobj__obj cobj_str cobj_bmp (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) (toCInt align) (toCInt indexAccel)
foreign import ccall "wxDC_DrawLabelBitmap" wxDC_DrawLabelBitmap :: Ptr (TDC a) -> Ptr (TWxString b) -> Ptr (TBitmap c) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWxRect ()))
dcDrawLine :: DC a -> Point -> Point -> IO ()
dcDrawLine _obj x1y1 x2y2
= withObjectRef "dcDrawLine" _obj $ \cobj__obj ->
wxDC_DrawLine cobj__obj (toCIntPointX x1y1) (toCIntPointY x1y1) (toCIntPointX x2y2) (toCIntPointY x2y2)
foreign import ccall "wxDC_DrawLine" wxDC_DrawLine :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()
dcDrawLines :: DC a -> Int -> Ptr c -> Ptr d -> Point -> IO ()
dcDrawLines _obj n x y xoffsetyoffset
= withObjectRef "dcDrawLines" _obj $ \cobj__obj ->
wxDC_DrawLines cobj__obj (toCInt n) x y (toCIntPointX xoffsetyoffset) (toCIntPointY xoffsetyoffset)
foreign import ccall "wxDC_DrawLines" wxDC_DrawLines :: Ptr (TDC a) -> CInt -> Ptr c -> Ptr d -> CInt -> CInt -> IO ()
dcDrawPoint :: DC a -> Point -> IO ()
dcDrawPoint _obj xy
= withObjectRef "dcDrawPoint" _obj $ \cobj__obj ->
wxDC_DrawPoint cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxDC_DrawPoint" wxDC_DrawPoint :: Ptr (TDC a) -> CInt -> CInt -> IO ()
dcDrawPolyPolygon :: DC a -> Int -> Ptr c -> Ptr d -> Ptr e -> Point -> Int -> IO ()
dcDrawPolyPolygon _obj n count x y xoffsetyoffset fillStyle
= withObjectRef "dcDrawPolyPolygon" _obj $ \cobj__obj ->
wxDC_DrawPolyPolygon cobj__obj (toCInt n) count x y (toCIntPointX xoffsetyoffset) (toCIntPointY xoffsetyoffset) (toCInt fillStyle)
foreign import ccall "wxDC_DrawPolyPolygon" wxDC_DrawPolyPolygon :: Ptr (TDC a) -> CInt -> Ptr c -> Ptr d -> Ptr e -> CInt -> CInt -> CInt -> IO ()
dcDrawPolygon :: DC a -> Int -> Ptr c -> Ptr d -> Point -> Int -> IO ()
dcDrawPolygon _obj n x y xoffsetyoffset fillStyle
= withObjectRef "dcDrawPolygon" _obj $ \cobj__obj ->
wxDC_DrawPolygon cobj__obj (toCInt n) x y (toCIntPointX xoffsetyoffset) (toCIntPointY xoffsetyoffset) (toCInt fillStyle)
foreign import ccall "wxDC_DrawPolygon" wxDC_DrawPolygon :: Ptr (TDC a) -> CInt -> Ptr c -> Ptr d -> CInt -> CInt -> CInt -> IO ()
dcDrawRectangle :: DC a -> Rect -> IO ()
dcDrawRectangle _obj xywidthheight
= withObjectRef "dcDrawRectangle" _obj $ \cobj__obj ->
wxDC_DrawRectangle cobj__obj (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)
foreign import ccall "wxDC_DrawRectangle" wxDC_DrawRectangle :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()
dcDrawRotatedText :: DC a -> String -> Point -> Double -> IO ()
dcDrawRotatedText _obj text xy angle
= withObjectRef "dcDrawRotatedText" _obj $ \cobj__obj ->
withStringPtr text $ \cobj_text ->
wxDC_DrawRotatedText cobj__obj cobj_text (toCIntPointX xy) (toCIntPointY xy) angle
foreign import ccall "wxDC_DrawRotatedText" wxDC_DrawRotatedText :: Ptr (TDC a) -> Ptr (TWxString b) -> CInt -> CInt -> Double -> IO ()
dcDrawRoundedRectangle :: DC a -> Rect -> Double -> IO ()
dcDrawRoundedRectangle _obj xywidthheight radius
= withObjectRef "dcDrawRoundedRectangle" _obj $ \cobj__obj ->
wxDC_DrawRoundedRectangle cobj__obj (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight) radius
foreign import ccall "wxDC_DrawRoundedRectangle" wxDC_DrawRoundedRectangle :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> Double -> IO ()
dcDrawText :: DC a -> String -> Point -> IO ()
dcDrawText _obj text xy
= withObjectRef "dcDrawText" _obj $ \cobj__obj ->
withStringPtr text $ \cobj_text ->
wxDC_DrawText cobj__obj cobj_text (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxDC_DrawText" wxDC_DrawText :: Ptr (TDC a) -> Ptr (TWxString b) -> CInt -> CInt -> IO ()
dcEndDoc :: DC a -> IO ()
dcEndDoc _obj
= withObjectRef "dcEndDoc" _obj $ \cobj__obj ->
wxDC_EndDoc cobj__obj
foreign import ccall "wxDC_EndDoc" wxDC_EndDoc :: Ptr (TDC a) -> IO ()
dcEndPage :: DC a -> IO ()
dcEndPage _obj
= withObjectRef "dcEndPage" _obj $ \cobj__obj ->
wxDC_EndPage cobj__obj
foreign import ccall "wxDC_EndPage" wxDC_EndPage :: Ptr (TDC a) -> IO ()
dcFloodFill :: DC a -> Point -> Color -> Int -> IO ()
dcFloodFill _obj xy col style
= withObjectRef "dcFloodFill" _obj $ \cobj__obj ->
withColourPtr col $ \cobj_col ->
wxDC_FloodFill cobj__obj (toCIntPointX xy) (toCIntPointY xy) cobj_col (toCInt style)
foreign import ccall "wxDC_FloodFill" wxDC_FloodFill :: Ptr (TDC a) -> CInt -> CInt -> Ptr (TColour c) -> CInt -> IO ()
dcGetBackground :: DC a -> IO (Brush ())
dcGetBackground _obj
= withRefBrush $ \pref ->
withObjectRef "dcGetBackground" _obj $ \cobj__obj ->
wxDC_GetBackground cobj__obj pref
foreign import ccall "wxDC_GetBackground" wxDC_GetBackground :: Ptr (TDC a) -> Ptr (TBrush ()) -> IO ()
dcGetBackgroundMode :: DC a -> IO Int
dcGetBackgroundMode _obj
= withIntResult $
withObjectRef "dcGetBackgroundMode" _obj $ \cobj__obj ->
wxDC_GetBackgroundMode cobj__obj
foreign import ccall "wxDC_GetBackgroundMode" wxDC_GetBackgroundMode :: Ptr (TDC a) -> IO CInt
dcGetBrush :: DC a -> IO (Brush ())
dcGetBrush _obj
= withRefBrush $ \pref ->
withObjectRef "dcGetBrush" _obj $ \cobj__obj ->
wxDC_GetBrush cobj__obj pref
foreign import ccall "wxDC_GetBrush" wxDC_GetBrush :: Ptr (TDC a) -> Ptr (TBrush ()) -> IO ()
dcGetCharHeight :: DC a -> IO Int
dcGetCharHeight _obj
= withIntResult $
withObjectRef "dcGetCharHeight" _obj $ \cobj__obj ->
wxDC_GetCharHeight cobj__obj
foreign import ccall "wxDC_GetCharHeight" wxDC_GetCharHeight :: Ptr (TDC a) -> IO CInt
dcGetCharWidth :: DC a -> IO Int
dcGetCharWidth _obj
= withIntResult $
withObjectRef "dcGetCharWidth" _obj $ \cobj__obj ->
wxDC_GetCharWidth cobj__obj
foreign import ccall "wxDC_GetCharWidth" wxDC_GetCharWidth :: Ptr (TDC a) -> IO CInt
dcGetClippingBox :: DC a -> IO Rect
dcGetClippingBox _obj
= withRectResult $ \px py pw ph ->
withObjectRef "dcGetClippingBox" _obj $ \cobj__obj ->
wxDC_GetClippingBox cobj__obj px py pw ph
foreign import ccall "wxDC_GetClippingBox" wxDC_GetClippingBox :: Ptr (TDC a) -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO ()
dcGetDepth :: DC a -> IO Int
dcGetDepth _obj
= withIntResult $
withObjectRef "dcGetDepth" _obj $ \cobj__obj ->
wxDC_GetDepth cobj__obj
foreign import ccall "wxDC_GetDepth" wxDC_GetDepth :: Ptr (TDC a) -> IO CInt
dcGetDeviceOrigin :: DC a -> IO Point
dcGetDeviceOrigin _obj
= withPointResult $ \px py ->
withObjectRef "dcGetDeviceOrigin" _obj $ \cobj__obj ->
wxDC_GetDeviceOrigin cobj__obj px py
foreign import ccall "wxDC_GetDeviceOrigin" wxDC_GetDeviceOrigin :: Ptr (TDC a) -> Ptr CInt -> Ptr CInt -> IO ()
dcGetFont :: DC a -> IO (Font ())
dcGetFont _obj
= withRefFont $ \pref ->
withObjectRef "dcGetFont" _obj $ \cobj__obj ->
wxDC_GetFont cobj__obj pref
foreign import ccall "wxDC_GetFont" wxDC_GetFont :: Ptr (TDC a) -> Ptr (TFont ()) -> IO ()
dcGetLogicalFunction :: DC a -> IO Int
dcGetLogicalFunction _obj
= withIntResult $
withObjectRef "dcGetLogicalFunction" _obj $ \cobj__obj ->
wxDC_GetLogicalFunction cobj__obj
foreign import ccall "wxDC_GetLogicalFunction" wxDC_GetLogicalFunction :: Ptr (TDC a) -> IO CInt
dcGetLogicalOrigin :: DC a -> IO Point
dcGetLogicalOrigin _obj
= withPointResult $ \px py ->
withObjectRef "dcGetLogicalOrigin" _obj $ \cobj__obj ->
wxDC_GetLogicalOrigin cobj__obj px py
foreign import ccall "wxDC_GetLogicalOrigin" wxDC_GetLogicalOrigin :: Ptr (TDC a) -> Ptr CInt -> Ptr CInt -> IO ()
dcGetLogicalScale :: DC a -> IO (Size2D Double)
dcGetLogicalScale _obj
= withSizeDoubleResult $ \pw ph ->
withObjectRef "dcGetLogicalScale" _obj $ \cobj__obj ->
wxDC_GetLogicalScale cobj__obj pw ph
foreign import ccall "wxDC_GetLogicalScale" wxDC_GetLogicalScale :: Ptr (TDC a) -> Ptr CDouble -> Ptr CDouble -> IO ()
dcGetMapMode :: DC a -> IO Int
dcGetMapMode _obj
= withIntResult $
withObjectRef "dcGetMapMode" _obj $ \cobj__obj ->
wxDC_GetMapMode cobj__obj
foreign import ccall "wxDC_GetMapMode" wxDC_GetMapMode :: Ptr (TDC a) -> IO CInt
dcGetMultiLineTextExtent :: DC a -> String -> Ptr c -> Ptr d -> Ptr e -> Font f -> IO ()
dcGetMultiLineTextExtent self string w h heightLine theFont
= withObjectRef "dcGetMultiLineTextExtent" self $ \cobj_self ->
withStringPtr string $ \cobj_string ->
withObjectPtr theFont $ \cobj_theFont ->
wxDC_GetMultiLineTextExtent cobj_self cobj_string w h heightLine cobj_theFont
foreign import ccall "wxDC_GetMultiLineTextExtent" wxDC_GetMultiLineTextExtent :: Ptr (TDC a) -> Ptr (TWxString b) -> Ptr c -> Ptr d -> Ptr e -> Ptr (TFont f) -> IO ()
dcGetPPI :: DC a -> IO (Size)
dcGetPPI _obj
= withWxSizeResult $
withObjectRef "dcGetPPI" _obj $ \cobj__obj ->
wxDC_GetPPI cobj__obj
foreign import ccall "wxDC_GetPPI" wxDC_GetPPI :: Ptr (TDC a) -> IO (Ptr (TWxSize ()))
dcGetPen :: DC a -> IO (Pen ())
dcGetPen _obj
= withRefPen $ \pref ->
withObjectRef "dcGetPen" _obj $ \cobj__obj ->
wxDC_GetPen cobj__obj pref
foreign import ccall "wxDC_GetPen" wxDC_GetPen :: Ptr (TDC a) -> Ptr (TPen ()) -> IO ()
dcGetPixel :: DC a -> Point -> Color -> IO Bool
dcGetPixel _obj xy col
= withBoolResult $
withObjectRef "dcGetPixel" _obj $ \cobj__obj ->
withColourPtr col $ \cobj_col ->
wxDC_GetPixel cobj__obj (toCIntPointX xy) (toCIntPointY xy) cobj_col
foreign import ccall "wxDC_GetPixel" wxDC_GetPixel :: Ptr (TDC a) -> CInt -> CInt -> Ptr (TColour c) -> IO CBool
dcGetPixel2 :: DC a -> Point -> IO (Color)
dcGetPixel2 _obj xy
= withRefColour $ \pref ->
withObjectRef "dcGetPixel2" _obj $ \cobj__obj ->
wxDC_GetPixel2 cobj__obj (toCIntPointX xy) (toCIntPointY xy) pref
foreign import ccall "wxDC_GetPixel2" wxDC_GetPixel2 :: Ptr (TDC a) -> CInt -> CInt -> Ptr (TColour ()) -> IO ()
dcGetSize :: DC a -> IO (Size)
dcGetSize _obj
= withWxSizeResult $
withObjectRef "dcGetSize" _obj $ \cobj__obj ->
wxDC_GetSize cobj__obj
foreign import ccall "wxDC_GetSize" wxDC_GetSize :: Ptr (TDC a) -> IO (Ptr (TWxSize ()))
dcGetSizeMM :: DC a -> IO (Size)
dcGetSizeMM _obj
= withWxSizeResult $
withObjectRef "dcGetSizeMM" _obj $ \cobj__obj ->
wxDC_GetSizeMM cobj__obj
foreign import ccall "wxDC_GetSizeMM" wxDC_GetSizeMM :: Ptr (TDC a) -> IO (Ptr (TWxSize ()))
dcGetTextBackground :: DC a -> IO (Color)
dcGetTextBackground _obj
= withRefColour $ \pref ->
withObjectRef "dcGetTextBackground" _obj $ \cobj__obj ->
wxDC_GetTextBackground cobj__obj pref
foreign import ccall "wxDC_GetTextBackground" wxDC_GetTextBackground :: Ptr (TDC a) -> Ptr (TColour ()) -> IO ()
dcGetTextExtent :: DC a -> String -> Ptr c -> Ptr d -> Ptr e -> Ptr f -> Font g -> IO ()
dcGetTextExtent self string w h descent externalLeading theFont
= withObjectRef "dcGetTextExtent" self $ \cobj_self ->
withStringPtr string $ \cobj_string ->
withObjectPtr theFont $ \cobj_theFont ->
wxDC_GetTextExtent cobj_self cobj_string w h descent externalLeading cobj_theFont
foreign import ccall "wxDC_GetTextExtent" wxDC_GetTextExtent :: Ptr (TDC a) -> Ptr (TWxString b) -> Ptr c -> Ptr d -> Ptr e -> Ptr f -> Ptr (TFont g) -> IO ()
dcGetTextForeground :: DC a -> IO (Color)
dcGetTextForeground _obj
= withRefColour $ \pref ->
withObjectRef "dcGetTextForeground" _obj $ \cobj__obj ->
wxDC_GetTextForeground cobj__obj pref
foreign import ccall "wxDC_GetTextForeground" wxDC_GetTextForeground :: Ptr (TDC a) -> Ptr (TColour ()) -> IO ()
dcGetUserScale :: DC a -> IO (Size2D Double)
dcGetUserScale _obj
= withSizeDoubleResult $ \pw ph ->
withObjectRef "dcGetUserScale" _obj $ \cobj__obj ->
wxDC_GetUserScale cobj__obj pw ph
foreign import ccall "wxDC_GetUserScale" wxDC_GetUserScale :: Ptr (TDC a) -> Ptr CDouble -> Ptr CDouble -> IO ()
dcGetUserScaleX :: DC a -> IO Double
dcGetUserScaleX dc
= withObjectRef "dcGetUserScaleX" dc $ \cobj_dc ->
wxDC_GetUserScaleX cobj_dc
foreign import ccall "wxDC_GetUserScaleX" wxDC_GetUserScaleX :: Ptr (TDC a) -> IO Double
dcGetUserScaleY :: DC a -> IO Double
dcGetUserScaleY dc
= withObjectRef "dcGetUserScaleY" dc $ \cobj_dc ->
wxDC_GetUserScaleY cobj_dc
foreign import ccall "wxDC_GetUserScaleY" wxDC_GetUserScaleY :: Ptr (TDC a) -> IO Double
dcIsOk :: DC a -> IO Bool
dcIsOk _obj
= withBoolResult $
withObjectRef "dcIsOk" _obj $ \cobj__obj ->
wxDC_IsOk cobj__obj
foreign import ccall "wxDC_IsOk" wxDC_IsOk :: Ptr (TDC a) -> IO CBool
dcLogicalToDeviceX :: DC a -> Int -> IO Int
dcLogicalToDeviceX _obj x
= withIntResult $
withObjectRef "dcLogicalToDeviceX" _obj $ \cobj__obj ->
wxDC_LogicalToDeviceX cobj__obj (toCInt x)
foreign import ccall "wxDC_LogicalToDeviceX" wxDC_LogicalToDeviceX :: Ptr (TDC a) -> CInt -> IO CInt
dcLogicalToDeviceXRel :: DC a -> Int -> IO Int
dcLogicalToDeviceXRel _obj x
= withIntResult $
withObjectRef "dcLogicalToDeviceXRel" _obj $ \cobj__obj ->
wxDC_LogicalToDeviceXRel cobj__obj (toCInt x)
foreign import ccall "wxDC_LogicalToDeviceXRel" wxDC_LogicalToDeviceXRel :: Ptr (TDC a) -> CInt -> IO CInt
dcLogicalToDeviceY :: DC a -> Int -> IO Int
dcLogicalToDeviceY _obj y
= withIntResult $
withObjectRef "dcLogicalToDeviceY" _obj $ \cobj__obj ->
wxDC_LogicalToDeviceY cobj__obj (toCInt y)
foreign import ccall "wxDC_LogicalToDeviceY" wxDC_LogicalToDeviceY :: Ptr (TDC a) -> CInt -> IO CInt
dcLogicalToDeviceYRel :: DC a -> Int -> IO Int
dcLogicalToDeviceYRel _obj y
= withIntResult $
withObjectRef "dcLogicalToDeviceYRel" _obj $ \cobj__obj ->
wxDC_LogicalToDeviceYRel cobj__obj (toCInt y)
foreign import ccall "wxDC_LogicalToDeviceYRel" wxDC_LogicalToDeviceYRel :: Ptr (TDC a) -> CInt -> IO CInt
dcMaxX :: DC a -> IO Int
dcMaxX _obj
= withIntResult $
withObjectRef "dcMaxX" _obj $ \cobj__obj ->
wxDC_MaxX cobj__obj
foreign import ccall "wxDC_MaxX" wxDC_MaxX :: Ptr (TDC a) -> IO CInt
dcMaxY :: DC a -> IO Int
dcMaxY _obj
= withIntResult $
withObjectRef "dcMaxY" _obj $ \cobj__obj ->
wxDC_MaxY cobj__obj
foreign import ccall "wxDC_MaxY" wxDC_MaxY :: Ptr (TDC a) -> IO CInt
dcMinX :: DC a -> IO Int
dcMinX _obj
= withIntResult $
withObjectRef "dcMinX" _obj $ \cobj__obj ->
wxDC_MinX cobj__obj
foreign import ccall "wxDC_MinX" wxDC_MinX :: Ptr (TDC a) -> IO CInt
dcMinY :: DC a -> IO Int
dcMinY _obj
= withIntResult $
withObjectRef "dcMinY" _obj $ \cobj__obj ->
wxDC_MinY cobj__obj
foreign import ccall "wxDC_MinY" wxDC_MinY :: Ptr (TDC a) -> IO CInt
dcResetBoundingBox :: DC a -> IO ()
dcResetBoundingBox _obj
= withObjectRef "dcResetBoundingBox" _obj $ \cobj__obj ->
wxDC_ResetBoundingBox cobj__obj
foreign import ccall "wxDC_ResetBoundingBox" wxDC_ResetBoundingBox :: Ptr (TDC a) -> IO ()
dcSetAxisOrientation :: DC a -> Bool -> Bool -> IO ()
dcSetAxisOrientation _obj xLeftRight yBottomUp
= withObjectRef "dcSetAxisOrientation" _obj $ \cobj__obj ->
wxDC_SetAxisOrientation cobj__obj (toCBool xLeftRight) (toCBool yBottomUp)
foreign import ccall "wxDC_SetAxisOrientation" wxDC_SetAxisOrientation :: Ptr (TDC a) -> CBool -> CBool -> IO ()
dcSetBackground :: DC a -> Brush b -> IO ()
dcSetBackground _obj brush
= withObjectRef "dcSetBackground" _obj $ \cobj__obj ->
withObjectPtr brush $ \cobj_brush ->
wxDC_SetBackground cobj__obj cobj_brush
foreign import ccall "wxDC_SetBackground" wxDC_SetBackground :: Ptr (TDC a) -> Ptr (TBrush b) -> IO ()
dcSetBackgroundMode :: DC a -> Int -> IO ()
dcSetBackgroundMode _obj mode
= withObjectRef "dcSetBackgroundMode" _obj $ \cobj__obj ->
wxDC_SetBackgroundMode cobj__obj (toCInt mode)
foreign import ccall "wxDC_SetBackgroundMode" wxDC_SetBackgroundMode :: Ptr (TDC a) -> CInt -> IO ()
dcSetBrush :: DC a -> Brush b -> IO ()
dcSetBrush _obj brush
= withObjectRef "dcSetBrush" _obj $ \cobj__obj ->
withObjectPtr brush $ \cobj_brush ->
wxDC_SetBrush cobj__obj cobj_brush
foreign import ccall "wxDC_SetBrush" wxDC_SetBrush :: Ptr (TDC a) -> Ptr (TBrush b) -> IO ()
dcSetClippingRegion :: DC a -> Rect -> IO ()
dcSetClippingRegion _obj xywidthheight
= withObjectRef "dcSetClippingRegion" _obj $ \cobj__obj ->
wxDC_SetClippingRegion cobj__obj (toCIntRectX xywidthheight) (toCIntRectY xywidthheight)(toCIntRectW xywidthheight) (toCIntRectH xywidthheight)
foreign import ccall "wxDC_SetClippingRegion" wxDC_SetClippingRegion :: Ptr (TDC a) -> CInt -> CInt -> CInt -> CInt -> IO ()
dcSetClippingRegionFromRegion :: DC a -> Region b -> IO ()
dcSetClippingRegionFromRegion _obj region
= withObjectRef "dcSetClippingRegionFromRegion" _obj $ \cobj__obj ->
withObjectPtr region $ \cobj_region ->
wxDC_SetClippingRegionFromRegion cobj__obj cobj_region
foreign import ccall "wxDC_SetClippingRegionFromRegion" wxDC_SetClippingRegionFromRegion :: Ptr (TDC a) -> Ptr (TRegion b) -> IO ()
dcSetDeviceClippingRegion :: DC a -> Region b -> IO ()
dcSetDeviceClippingRegion _obj region
= withObjectRef "dcSetDeviceClippingRegion" _obj $ \cobj__obj ->
withObjectPtr region $ \cobj_region ->
wxDC_SetDeviceClippingRegion cobj__obj cobj_region
foreign import ccall "wxDC_SetDeviceClippingRegion" wxDC_SetDeviceClippingRegion :: Ptr (TDC a) -> Ptr (TRegion b) -> IO ()
dcSetDeviceOrigin :: DC a -> Point -> IO ()
dcSetDeviceOrigin _obj xy
= withObjectRef "dcSetDeviceOrigin" _obj $ \cobj__obj ->
wxDC_SetDeviceOrigin cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxDC_SetDeviceOrigin" wxDC_SetDeviceOrigin :: Ptr (TDC a) -> CInt -> CInt -> IO ()
dcSetFont :: DC a -> Font b -> IO ()
dcSetFont _obj font
= withObjectRef "dcSetFont" _obj $ \cobj__obj ->
withObjectPtr font $ \cobj_font ->
wxDC_SetFont cobj__obj cobj_font
foreign import ccall "wxDC_SetFont" wxDC_SetFont :: Ptr (TDC a) -> Ptr (TFont b) -> IO ()
dcSetLogicalFunction :: DC a -> Int -> IO ()
dcSetLogicalFunction _obj function
= withObjectRef "dcSetLogicalFunction" _obj $ \cobj__obj ->
wxDC_SetLogicalFunction cobj__obj (toCInt function)
foreign import ccall "wxDC_SetLogicalFunction" wxDC_SetLogicalFunction :: Ptr (TDC a) -> CInt -> IO ()
dcSetLogicalOrigin :: DC a -> Point -> IO ()
dcSetLogicalOrigin _obj xy
= withObjectRef "dcSetLogicalOrigin" _obj $ \cobj__obj ->
wxDC_SetLogicalOrigin cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxDC_SetLogicalOrigin" wxDC_SetLogicalOrigin :: Ptr (TDC a) -> CInt -> CInt -> IO ()
dcSetLogicalScale :: DC a -> Double -> Double -> IO ()
dcSetLogicalScale _obj x y
= withObjectRef "dcSetLogicalScale" _obj $ \cobj__obj ->
wxDC_SetLogicalScale cobj__obj x y
foreign import ccall "wxDC_SetLogicalScale" wxDC_SetLogicalScale :: Ptr (TDC a) -> Double -> Double -> IO ()
dcSetMapMode :: DC a -> Int -> IO ()
dcSetMapMode _obj mode
= withObjectRef "dcSetMapMode" _obj $ \cobj__obj ->
wxDC_SetMapMode cobj__obj (toCInt mode)
foreign import ccall "wxDC_SetMapMode" wxDC_SetMapMode :: Ptr (TDC a) -> CInt -> IO ()
dcSetPalette :: DC a -> Palette b -> IO ()
dcSetPalette _obj palette
= withObjectRef "dcSetPalette" _obj $ \cobj__obj ->
withObjectPtr palette $ \cobj_palette ->
wxDC_SetPalette cobj__obj cobj_palette
foreign import ccall "wxDC_SetPalette" wxDC_SetPalette :: Ptr (TDC a) -> Ptr (TPalette b) -> IO ()
dcSetPen :: DC a -> Pen b -> IO ()
dcSetPen _obj pen
= withObjectRef "dcSetPen" _obj $ \cobj__obj ->
withObjectPtr pen $ \cobj_pen ->
wxDC_SetPen cobj__obj cobj_pen
foreign import ccall "wxDC_SetPen" wxDC_SetPen :: Ptr (TDC a) -> Ptr (TPen b) -> IO ()
dcSetTextBackground :: DC a -> Color -> IO ()
dcSetTextBackground _obj colour
= withObjectRef "dcSetTextBackground" _obj $ \cobj__obj ->
withColourPtr colour $ \cobj_colour ->
wxDC_SetTextBackground cobj__obj cobj_colour
foreign import ccall "wxDC_SetTextBackground" wxDC_SetTextBackground :: Ptr (TDC a) -> Ptr (TColour b) -> IO ()
dcSetTextForeground :: DC a -> Color -> IO ()
dcSetTextForeground _obj colour
= withObjectRef "dcSetTextForeground" _obj $ \cobj__obj ->
withColourPtr colour $ \cobj_colour ->
wxDC_SetTextForeground cobj__obj cobj_colour
foreign import ccall "wxDC_SetTextForeground" wxDC_SetTextForeground :: Ptr (TDC a) -> Ptr (TColour b) -> IO ()
dcSetUserScale :: DC a -> Double -> Double -> IO ()
dcSetUserScale _obj x y
= withObjectRef "dcSetUserScale" _obj $ \cobj__obj ->
wxDC_SetUserScale cobj__obj x y
foreign import ccall "wxDC_SetUserScale" wxDC_SetUserScale :: Ptr (TDC a) -> Double -> Double -> IO ()
dcStartDoc :: DC a -> String -> IO Bool
dcStartDoc _obj msg
= withBoolResult $
withObjectRef "dcStartDoc" _obj $ \cobj__obj ->
withStringPtr msg $ \cobj_msg ->
wxDC_StartDoc cobj__obj cobj_msg
foreign import ccall "wxDC_StartDoc" wxDC_StartDoc :: Ptr (TDC a) -> Ptr (TWxString b) -> IO CBool
dcStartPage :: DC a -> IO ()
dcStartPage _obj
= withObjectRef "dcStartPage" _obj $ \cobj__obj ->
wxDC_StartPage cobj__obj
foreign import ccall "wxDC_StartPage" wxDC_StartPage :: Ptr (TDC a) -> IO ()
dialogCreate :: Window a -> Id -> String -> Rect -> Style -> IO (Dialog ())
dialogCreate _prt _id _txt _lfttopwdthgt _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withStringPtr _txt $ \cobj__txt ->
wxDialog_Create cobj__prt (toCInt _id) cobj__txt (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) (toCInt _stl)
foreign import ccall "wxDialog_Create" wxDialog_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TDialog ()))
dialogEndModal :: Dialog a -> Int -> IO ()
dialogEndModal _obj retCode
= withObjectRef "dialogEndModal" _obj $ \cobj__obj ->
wxDialog_EndModal cobj__obj (toCInt retCode)
foreign import ccall "wxDialog_EndModal" wxDialog_EndModal :: Ptr (TDialog a) -> CInt -> IO ()
dialogGetReturnCode :: Dialog a -> IO Int
dialogGetReturnCode _obj
= withIntResult $
withObjectRef "dialogGetReturnCode" _obj $ \cobj__obj ->
wxDialog_GetReturnCode cobj__obj
foreign import ccall "wxDialog_GetReturnCode" wxDialog_GetReturnCode :: Ptr (TDialog a) -> IO CInt
dialogIsModal :: Dialog a -> IO Bool
dialogIsModal _obj
= withBoolResult $
withObjectRef "dialogIsModal" _obj $ \cobj__obj ->
wxDialog_IsModal cobj__obj
foreign import ccall "wxDialog_IsModal" wxDialog_IsModal :: Ptr (TDialog a) -> IO CBool
dialogSetReturnCode :: Dialog a -> Int -> IO ()
dialogSetReturnCode _obj returnCode
= withObjectRef "dialogSetReturnCode" _obj $ \cobj__obj ->
wxDialog_SetReturnCode cobj__obj (toCInt returnCode)
foreign import ccall "wxDialog_SetReturnCode" wxDialog_SetReturnCode :: Ptr (TDialog a) -> CInt -> IO ()
dialogShowModal :: Dialog a -> IO Int
dialogShowModal _obj
= withIntResult $
withObjectRef "dialogShowModal" _obj $ \cobj__obj ->
wxDialog_ShowModal cobj__obj
foreign import ccall "wxDialog_ShowModal" wxDialog_ShowModal :: Ptr (TDialog a) -> IO CInt
dirDialogCreate :: Window a -> String -> String -> Point -> Style -> IO (DirDialog ())
dirDialogCreate _prt _msg _dir _lfttop _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withStringPtr _msg $ \cobj__msg ->
withStringPtr _dir $ \cobj__dir ->
wxDirDialog_Create cobj__prt cobj__msg cobj__dir (toCIntPointX _lfttop) (toCIntPointY _lfttop) (toCInt _stl)
foreign import ccall "wxDirDialog_Create" wxDirDialog_Create :: Ptr (TWindow a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> IO (Ptr (TDirDialog ()))
dirDialogGetMessage :: DirDialog a -> IO (String)
dirDialogGetMessage _obj
= withManagedStringResult $
withObjectRef "dirDialogGetMessage" _obj $ \cobj__obj ->
wxDirDialog_GetMessage cobj__obj
foreign import ccall "wxDirDialog_GetMessage" wxDirDialog_GetMessage :: Ptr (TDirDialog a) -> IO (Ptr (TWxString ()))
dirDialogGetPath :: DirDialog a -> IO (String)
dirDialogGetPath _obj
= withManagedStringResult $
withObjectRef "dirDialogGetPath" _obj $ \cobj__obj ->
wxDirDialog_GetPath cobj__obj
foreign import ccall "wxDirDialog_GetPath" wxDirDialog_GetPath :: Ptr (TDirDialog a) -> IO (Ptr (TWxString ()))
dirDialogGetStyle :: DirDialog a -> IO Int
dirDialogGetStyle _obj
= withIntResult $
withObjectRef "dirDialogGetStyle" _obj $ \cobj__obj ->
wxDirDialog_GetStyle cobj__obj
foreign import ccall "wxDirDialog_GetStyle" wxDirDialog_GetStyle :: Ptr (TDirDialog a) -> IO CInt
dirDialogSetMessage :: DirDialog a -> String -> IO ()
dirDialogSetMessage _obj msg
= withObjectRef "dirDialogSetMessage" _obj $ \cobj__obj ->
withStringPtr msg $ \cobj_msg ->
wxDirDialog_SetMessage cobj__obj cobj_msg
foreign import ccall "wxDirDialog_SetMessage" wxDirDialog_SetMessage :: Ptr (TDirDialog a) -> Ptr (TWxString b) -> IO ()
dirDialogSetPath :: DirDialog a -> String -> IO ()
dirDialogSetPath _obj pth
= withObjectRef "dirDialogSetPath" _obj $ \cobj__obj ->
withStringPtr pth $ \cobj_pth ->
wxDirDialog_SetPath cobj__obj cobj_pth
foreign import ccall "wxDirDialog_SetPath" wxDirDialog_SetPath :: Ptr (TDirDialog a) -> Ptr (TWxString b) -> IO ()
dirDialogSetStyle :: DirDialog a -> Int -> IO ()
dirDialogSetStyle _obj style
= withObjectRef "dirDialogSetStyle" _obj $ \cobj__obj ->
wxDirDialog_SetStyle cobj__obj (toCInt style)
foreign import ccall "wxDirDialog_SetStyle" wxDirDialog_SetStyle :: Ptr (TDirDialog a) -> CInt -> IO ()
dragIcon :: Icon a -> Point -> IO (DragImage ())
dragIcon icon xy
= withObjectResult $
withObjectPtr icon $ \cobj_icon ->
wx_wxDragIcon cobj_icon (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxDragIcon" wx_wxDragIcon :: Ptr (TIcon a) -> CInt -> CInt -> IO (Ptr (TDragImage ()))
dragImageBeginDrag :: DragImage a -> Point -> Window c -> Window d -> IO Bool
dragImageBeginDrag self xy window boundingWindow
= withBoolResult $
withObjectRef "dragImageBeginDrag" self $ \cobj_self ->
withObjectPtr window $ \cobj_window ->
withObjectPtr boundingWindow $ \cobj_boundingWindow ->
wxDragImage_BeginDrag cobj_self (toCIntPointX xy) (toCIntPointY xy) cobj_window cobj_boundingWindow
foreign import ccall "wxDragImage_BeginDrag" wxDragImage_BeginDrag :: Ptr (TDragImage a) -> CInt -> CInt -> Ptr (TWindow c) -> Ptr (TWindow d) -> IO CBool
dragImageBeginDragFullScreen :: DragImage a -> Point -> Window c -> Bool -> Rect -> IO Bool
dragImageBeginDragFullScreen self xposypos window fullScreen rect
= withBoolResult $
withObjectRef "dragImageBeginDragFullScreen" self $ \cobj_self ->
withObjectPtr window $ \cobj_window ->
withWxRectPtr rect $ \cobj_rect ->
wxDragImage_BeginDragFullScreen cobj_self (toCIntPointX xposypos) (toCIntPointY xposypos) cobj_window (toCBool fullScreen) cobj_rect
foreign import ccall "wxDragImage_BeginDragFullScreen" wxDragImage_BeginDragFullScreen :: Ptr (TDragImage a) -> CInt -> CInt -> Ptr (TWindow c) -> CBool -> Ptr (TWxRect e) -> IO CBool
dragImageCreate :: Bitmap a -> Point -> IO (DragImage ())
dragImageCreate image xy
= withObjectResult $
withObjectPtr image $ \cobj_image ->
wxDragImage_Create cobj_image (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxDragImage_Create" wxDragImage_Create :: Ptr (TBitmap a) -> CInt -> CInt -> IO (Ptr (TDragImage ()))
dragImageDelete :: DragImage a -> IO ()
dragImageDelete
= objectDelete
dragImageEndDrag :: DragImage a -> IO ()
dragImageEndDrag self
= withObjectRef "dragImageEndDrag" self $ \cobj_self ->
wxDragImage_EndDrag cobj_self
foreign import ccall "wxDragImage_EndDrag" wxDragImage_EndDrag :: Ptr (TDragImage a) -> IO ()
dragImageHide :: DragImage a -> IO Bool
dragImageHide self
= withBoolResult $
withObjectRef "dragImageHide" self $ \cobj_self ->
wxDragImage_Hide cobj_self
foreign import ccall "wxDragImage_Hide" wxDragImage_Hide :: Ptr (TDragImage a) -> IO CBool
dragImageMove :: DragImage a -> Point -> IO Bool
dragImageMove self xy
= withBoolResult $
withObjectRef "dragImageMove" self $ \cobj_self ->
wxDragImage_Move cobj_self (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxDragImage_Move" wxDragImage_Move :: Ptr (TDragImage a) -> CInt -> CInt -> IO CBool
dragImageShow :: DragImage a -> IO Bool
dragImageShow self
= withBoolResult $
withObjectRef "dragImageShow" self $ \cobj_self ->
wxDragImage_Show cobj_self
foreign import ccall "wxDragImage_Show" wxDragImage_Show :: Ptr (TDragImage a) -> IO CBool
dragListItem :: ListCtrl a -> Id -> IO (DragImage ())
dragListItem treeCtrl id
= withObjectResult $
withObjectPtr treeCtrl $ \cobj_treeCtrl ->
wx_wxDragListItem cobj_treeCtrl (toCInt id)
foreign import ccall "wxDragListItem" wx_wxDragListItem :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TDragImage ()))
dragString :: String -> Point -> IO (DragImage ())
dragString test xy
= withObjectResult $
withStringPtr test $ \cobj_test ->
wx_wxDragString cobj_test (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxDragString" wx_wxDragString :: Ptr (TWxString a) -> CInt -> CInt -> IO (Ptr (TDragImage ()))
dragTreeItem :: TreeCtrl a -> TreeItem -> IO (DragImage ())
dragTreeItem treeCtrl id
= withObjectResult $
withObjectPtr treeCtrl $ \cobj_treeCtrl ->
withTreeItemIdPtr id $ \cobj_id ->
wx_wxDragTreeItem cobj_treeCtrl cobj_id
foreign import ccall "wxDragTreeItem" wx_wxDragTreeItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO (Ptr (TDragImage ()))
drawControlCreate :: Window a -> Id -> Rect -> Style -> IO (DrawControl ())
drawControlCreate _prt _id _lfttopwdthgt _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
wxDrawControl_Create cobj__prt (toCInt _id) (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) (toCInt _stl)
foreign import ccall "wxDrawControl_Create" wxDrawControl_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TDrawControl ()))
drawWindowCreate :: Window a -> Id -> Rect -> Style -> IO (DrawWindow ())
drawWindowCreate _prt _id _lfttopwdthgt _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
wxDrawWindow_Create cobj__prt (toCInt _id) (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) (toCInt _stl)
foreign import ccall "wxDrawWindow_Create" wxDrawWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TDrawWindow ()))
dropSourceCreate :: DataObject a -> Window b -> Ptr c -> Ptr d -> Ptr e -> IO (DropSource ())
dropSourceCreate wxdata win copy move none
= withObjectResult $
withObjectPtr wxdata $ \cobj_wxdata ->
withObjectPtr win $ \cobj_win ->
wx_DropSource_Create cobj_wxdata cobj_win copy move none
foreign import ccall "DropSource_Create" wx_DropSource_Create :: Ptr (TDataObject a) -> Ptr (TWindow b) -> Ptr c -> Ptr d -> Ptr e -> IO (Ptr (TDropSource ()))
dropSourceDelete :: DropSource a -> IO ()
dropSourceDelete _obj
= withObjectPtr _obj $ \cobj__obj ->
wx_DropSource_Delete cobj__obj
foreign import ccall "DropSource_Delete" wx_DropSource_Delete :: Ptr (TDropSource a) -> IO ()
dropSourceDoDragDrop :: DropSource a -> Int -> IO Int
dropSourceDoDragDrop _obj _move
= withIntResult $
withObjectPtr _obj $ \cobj__obj ->
wx_DropSource_DoDragDrop cobj__obj (toCInt _move)
foreign import ccall "DropSource_DoDragDrop" wx_DropSource_DoDragDrop :: Ptr (TDropSource a) -> CInt -> IO CInt
dropTargetGetData :: DropTarget a -> IO ()
dropTargetGetData _obj
= withObjectRef "dropTargetGetData" _obj $ \cobj__obj ->
wxDropTarget_GetData cobj__obj
foreign import ccall "wxDropTarget_GetData" wxDropTarget_GetData :: Ptr (TDropTarget a) -> IO ()
dropTargetSetDataObject :: DropTarget a -> DataObject b -> IO ()
dropTargetSetDataObject _obj _dat
= withObjectRef "dropTargetSetDataObject" _obj $ \cobj__obj ->
withObjectPtr _dat $ \cobj__dat ->
wxDropTarget_SetDataObject cobj__obj cobj__dat
foreign import ccall "wxDropTarget_SetDataObject" wxDropTarget_SetDataObject :: Ptr (TDropTarget a) -> Ptr (TDataObject b) -> IO ()
encodingConverterConvert :: EncodingConverter a -> Ptr b -> Ptr c -> IO ()
encodingConverterConvert _obj input output
= withObjectRef "encodingConverterConvert" _obj $ \cobj__obj ->
wxEncodingConverter_Convert cobj__obj input output
foreign import ccall "wxEncodingConverter_Convert" wxEncodingConverter_Convert :: Ptr (TEncodingConverter a) -> Ptr b -> Ptr c -> IO ()
encodingConverterCreate :: IO (EncodingConverter ())
encodingConverterCreate
= withObjectResult $
wxEncodingConverter_Create
foreign import ccall "wxEncodingConverter_Create" wxEncodingConverter_Create :: IO (Ptr (TEncodingConverter ()))
encodingConverterDelete :: EncodingConverter a -> IO ()
encodingConverterDelete
= objectDelete
encodingConverterGetAllEquivalents :: EncodingConverter a -> Int -> List c -> IO Int
encodingConverterGetAllEquivalents _obj enc _lst
= withIntResult $
withObjectRef "encodingConverterGetAllEquivalents" _obj $ \cobj__obj ->
withObjectPtr _lst $ \cobj__lst ->
wxEncodingConverter_GetAllEquivalents cobj__obj (toCInt enc) cobj__lst
foreign import ccall "wxEncodingConverter_GetAllEquivalents" wxEncodingConverter_GetAllEquivalents :: Ptr (TEncodingConverter a) -> CInt -> Ptr (TList c) -> IO CInt
encodingConverterGetPlatformEquivalents :: EncodingConverter a -> Int -> Int -> List d -> IO Int
encodingConverterGetPlatformEquivalents _obj enc platform _lst
= withIntResult $
withObjectRef "encodingConverterGetPlatformEquivalents" _obj $ \cobj__obj ->
withObjectPtr _lst $ \cobj__lst ->
wxEncodingConverter_GetPlatformEquivalents cobj__obj (toCInt enc) (toCInt platform) cobj__lst
foreign import ccall "wxEncodingConverter_GetPlatformEquivalents" wxEncodingConverter_GetPlatformEquivalents :: Ptr (TEncodingConverter a) -> CInt -> CInt -> Ptr (TList d) -> IO CInt
encodingConverterInit :: EncodingConverter a -> Int -> Int -> Int -> IO Int
encodingConverterInit _obj inputenc outputenc method
= withIntResult $
withObjectRef "encodingConverterInit" _obj $ \cobj__obj ->
wxEncodingConverter_Init cobj__obj (toCInt inputenc) (toCInt outputenc) (toCInt method)
foreign import ccall "wxEncodingConverter_Init" wxEncodingConverter_Init :: Ptr (TEncodingConverter a) -> CInt -> CInt -> CInt -> IO CInt
eraseEventCopyObject :: EraseEvent a -> Ptr b -> IO ()
eraseEventCopyObject _obj obj
= withObjectRef "eraseEventCopyObject" _obj $ \cobj__obj ->
wxEraseEvent_CopyObject cobj__obj obj
foreign import ccall "wxEraseEvent_CopyObject" wxEraseEvent_CopyObject :: Ptr (TEraseEvent a) -> Ptr b -> IO ()
eraseEventGetDC :: EraseEvent a -> IO (DC ())
eraseEventGetDC _obj
= withObjectResult $
withObjectRef "eraseEventGetDC" _obj $ \cobj__obj ->
wxEraseEvent_GetDC cobj__obj
foreign import ccall "wxEraseEvent_GetDC" wxEraseEvent_GetDC :: Ptr (TEraseEvent a) -> IO (Ptr (TDC ()))
eventCopyObject :: Event a -> Ptr b -> IO ()
eventCopyObject _obj objectdest
= withObjectRef "eventCopyObject" _obj $ \cobj__obj ->
wxEvent_CopyObject cobj__obj objectdest
foreign import ccall "wxEvent_CopyObject" wxEvent_CopyObject :: Ptr (TEvent a) -> Ptr b -> IO ()
eventGetEventObject :: Event a -> IO (WxObject ())
eventGetEventObject _obj
= withObjectResult $
withObjectRef "eventGetEventObject" _obj $ \cobj__obj ->
wxEvent_GetEventObject cobj__obj
foreign import ccall "wxEvent_GetEventObject" wxEvent_GetEventObject :: Ptr (TEvent a) -> IO (Ptr (TWxObject ()))
eventGetEventType :: Event a -> IO Int
eventGetEventType _obj
= withIntResult $
withObjectRef "eventGetEventType" _obj $ \cobj__obj ->
wxEvent_GetEventType cobj__obj
foreign import ccall "wxEvent_GetEventType" wxEvent_GetEventType :: Ptr (TEvent a) -> IO CInt
eventGetId :: Event a -> IO Int
eventGetId _obj
= withIntResult $
withObjectRef "eventGetId" _obj $ \cobj__obj ->
wxEvent_GetId cobj__obj
foreign import ccall "wxEvent_GetId" wxEvent_GetId :: Ptr (TEvent a) -> IO CInt
eventGetSkipped :: Event a -> IO Bool
eventGetSkipped _obj
= withBoolResult $
withObjectRef "eventGetSkipped" _obj $ \cobj__obj ->
wxEvent_GetSkipped cobj__obj
foreign import ccall "wxEvent_GetSkipped" wxEvent_GetSkipped :: Ptr (TEvent a) -> IO CBool
eventGetTimestamp :: Event a -> IO Int
eventGetTimestamp _obj
= withIntResult $
withObjectRef "eventGetTimestamp" _obj $ \cobj__obj ->
wxEvent_GetTimestamp cobj__obj
foreign import ccall "wxEvent_GetTimestamp" wxEvent_GetTimestamp :: Ptr (TEvent a) -> IO CInt
eventIsCommandEvent :: Event a -> IO Bool
eventIsCommandEvent _obj
= withBoolResult $
withObjectRef "eventIsCommandEvent" _obj $ \cobj__obj ->
wxEvent_IsCommandEvent cobj__obj
foreign import ccall "wxEvent_IsCommandEvent" wxEvent_IsCommandEvent :: Ptr (TEvent a) -> IO CBool
eventNewEventType :: IO Int
eventNewEventType
= withIntResult $
wxEvent_NewEventType
foreign import ccall "wxEvent_NewEventType" wxEvent_NewEventType :: IO CInt
eventSetEventObject :: Event a -> WxObject b -> IO ()
eventSetEventObject _obj obj
= withObjectRef "eventSetEventObject" _obj $ \cobj__obj ->
withObjectPtr obj $ \cobj_obj ->
wxEvent_SetEventObject cobj__obj cobj_obj
foreign import ccall "wxEvent_SetEventObject" wxEvent_SetEventObject :: Ptr (TEvent a) -> Ptr (TWxObject b) -> IO ()
eventSetEventType :: Event a -> Int -> IO ()
eventSetEventType _obj typ
= withObjectRef "eventSetEventType" _obj $ \cobj__obj ->
wxEvent_SetEventType cobj__obj (toCInt typ)
foreign import ccall "wxEvent_SetEventType" wxEvent_SetEventType :: Ptr (TEvent a) -> CInt -> IO ()
eventSetId :: Event a -> Int -> IO ()
eventSetId _obj id
= withObjectRef "eventSetId" _obj $ \cobj__obj ->
wxEvent_SetId cobj__obj (toCInt id)
foreign import ccall "wxEvent_SetId" wxEvent_SetId :: Ptr (TEvent a) -> CInt -> IO ()
eventSetTimestamp :: Event a -> Int -> IO ()
eventSetTimestamp _obj ts
= withObjectRef "eventSetTimestamp" _obj $ \cobj__obj ->
wxEvent_SetTimestamp cobj__obj (toCInt ts)
foreign import ccall "wxEvent_SetTimestamp" wxEvent_SetTimestamp :: Ptr (TEvent a) -> CInt -> IO ()
eventSkip :: Event a -> IO ()
eventSkip _obj
= withObjectRef "eventSkip" _obj $ \cobj__obj ->
wxEvent_Skip cobj__obj
foreign import ccall "wxEvent_Skip" wxEvent_Skip :: Ptr (TEvent a) -> IO ()
evtHandlerAddPendingEvent :: EvtHandler a -> Event b -> IO ()
evtHandlerAddPendingEvent _obj event
= withObjectRef "evtHandlerAddPendingEvent" _obj $ \cobj__obj ->
withObjectPtr event $ \cobj_event ->
wxEvtHandler_AddPendingEvent cobj__obj cobj_event
foreign import ccall "wxEvtHandler_AddPendingEvent" wxEvtHandler_AddPendingEvent :: Ptr (TEvtHandler a) -> Ptr (TEvent b) -> IO ()
evtHandlerConnect :: EvtHandler a -> Int -> Int -> Int -> Ptr e -> IO Int
evtHandlerConnect _obj first last wxtype wxdata
= withIntResult $
withObjectRef "evtHandlerConnect" _obj $ \cobj__obj ->
wxEvtHandler_Connect cobj__obj (toCInt first) (toCInt last) (toCInt wxtype) wxdata
foreign import ccall "wxEvtHandler_Connect" wxEvtHandler_Connect :: Ptr (TEvtHandler a) -> CInt -> CInt -> CInt -> Ptr e -> IO CInt
evtHandlerCreate :: IO (EvtHandler ())
evtHandlerCreate
= withObjectResult $
wxEvtHandler_Create
foreign import ccall "wxEvtHandler_Create" wxEvtHandler_Create :: IO (Ptr (TEvtHandler ()))
evtHandlerDelete :: EvtHandler a -> IO ()
evtHandlerDelete
= objectDelete
evtHandlerDisconnect :: EvtHandler a -> Int -> Int -> Int -> Id -> IO Int
evtHandlerDisconnect _obj first last wxtype id
= withIntResult $
withObjectRef "evtHandlerDisconnect" _obj $ \cobj__obj ->
wxEvtHandler_Disconnect cobj__obj (toCInt first) (toCInt last) (toCInt wxtype) (toCInt id)
foreign import ccall "wxEvtHandler_Disconnect" wxEvtHandler_Disconnect :: Ptr (TEvtHandler a) -> CInt -> CInt -> CInt -> CInt -> IO CInt
evtHandlerGetClientClosure :: EvtHandler a -> IO (Closure ())
evtHandlerGetClientClosure _obj
= withObjectResult $
withObjectRef "evtHandlerGetClientClosure" _obj $ \cobj__obj ->
wxEvtHandler_GetClientClosure cobj__obj
foreign import ccall "wxEvtHandler_GetClientClosure" wxEvtHandler_GetClientClosure :: Ptr (TEvtHandler a) -> IO (Ptr (TClosure ()))
evtHandlerGetClosure :: EvtHandler a -> Id -> Int -> IO (Closure ())
evtHandlerGetClosure _obj id wxtype
= withObjectResult $
withObjectRef "evtHandlerGetClosure" _obj $ \cobj__obj ->
wxEvtHandler_GetClosure cobj__obj (toCInt id) (toCInt wxtype)
foreign import ccall "wxEvtHandler_GetClosure" wxEvtHandler_GetClosure :: Ptr (TEvtHandler a) -> CInt -> CInt -> IO (Ptr (TClosure ()))
evtHandlerGetEvtHandlerEnabled :: EvtHandler a -> IO Bool
evtHandlerGetEvtHandlerEnabled _obj
= withBoolResult $
withObjectRef "evtHandlerGetEvtHandlerEnabled" _obj $ \cobj__obj ->
wxEvtHandler_GetEvtHandlerEnabled cobj__obj
foreign import ccall "wxEvtHandler_GetEvtHandlerEnabled" wxEvtHandler_GetEvtHandlerEnabled :: Ptr (TEvtHandler a) -> IO CBool
evtHandlerGetNextHandler :: EvtHandler a -> IO (EvtHandler ())
evtHandlerGetNextHandler _obj
= withObjectResult $
withObjectRef "evtHandlerGetNextHandler" _obj $ \cobj__obj ->
wxEvtHandler_GetNextHandler cobj__obj
foreign import ccall "wxEvtHandler_GetNextHandler" wxEvtHandler_GetNextHandler :: Ptr (TEvtHandler a) -> IO (Ptr (TEvtHandler ()))
evtHandlerGetPreviousHandler :: EvtHandler a -> IO (EvtHandler ())
evtHandlerGetPreviousHandler _obj
= withObjectResult $
withObjectRef "evtHandlerGetPreviousHandler" _obj $ \cobj__obj ->
wxEvtHandler_GetPreviousHandler cobj__obj
foreign import ccall "wxEvtHandler_GetPreviousHandler" wxEvtHandler_GetPreviousHandler :: Ptr (TEvtHandler a) -> IO (Ptr (TEvtHandler ()))
evtHandlerProcessEvent :: EvtHandler a -> Event b -> IO Bool
evtHandlerProcessEvent _obj event
= withBoolResult $
withObjectRef "evtHandlerProcessEvent" _obj $ \cobj__obj ->
withObjectPtr event $ \cobj_event ->
wxEvtHandler_ProcessEvent cobj__obj cobj_event
foreign import ccall "wxEvtHandler_ProcessEvent" wxEvtHandler_ProcessEvent :: Ptr (TEvtHandler a) -> Ptr (TEvent b) -> IO CBool
evtHandlerProcessPendingEvents :: EvtHandler a -> IO ()
evtHandlerProcessPendingEvents _obj
= withObjectRef "evtHandlerProcessPendingEvents" _obj $ \cobj__obj ->
wxEvtHandler_ProcessPendingEvents cobj__obj
foreign import ccall "wxEvtHandler_ProcessPendingEvents" wxEvtHandler_ProcessPendingEvents :: Ptr (TEvtHandler a) -> IO ()
evtHandlerSetClientClosure :: EvtHandler a -> Closure b -> IO ()
evtHandlerSetClientClosure _obj closure
= withObjectRef "evtHandlerSetClientClosure" _obj $ \cobj__obj ->
withObjectPtr closure $ \cobj_closure ->
wxEvtHandler_SetClientClosure cobj__obj cobj_closure
foreign import ccall "wxEvtHandler_SetClientClosure" wxEvtHandler_SetClientClosure :: Ptr (TEvtHandler a) -> Ptr (TClosure b) -> IO ()
evtHandlerSetEvtHandlerEnabled :: EvtHandler a -> Bool -> IO ()
evtHandlerSetEvtHandlerEnabled _obj enabled
= withObjectRef "evtHandlerSetEvtHandlerEnabled" _obj $ \cobj__obj ->
wxEvtHandler_SetEvtHandlerEnabled cobj__obj (toCBool enabled)
foreign import ccall "wxEvtHandler_SetEvtHandlerEnabled" wxEvtHandler_SetEvtHandlerEnabled :: Ptr (TEvtHandler a) -> CBool -> IO ()
evtHandlerSetNextHandler :: EvtHandler a -> EvtHandler b -> IO ()
evtHandlerSetNextHandler _obj handler
= withObjectRef "evtHandlerSetNextHandler" _obj $ \cobj__obj ->
withObjectPtr handler $ \cobj_handler ->
wxEvtHandler_SetNextHandler cobj__obj cobj_handler
foreign import ccall "wxEvtHandler_SetNextHandler" wxEvtHandler_SetNextHandler :: Ptr (TEvtHandler a) -> Ptr (TEvtHandler b) -> IO ()
evtHandlerSetPreviousHandler :: EvtHandler a -> EvtHandler b -> IO ()
evtHandlerSetPreviousHandler _obj handler
= withObjectRef "evtHandlerSetPreviousHandler" _obj $ \cobj__obj ->
withObjectPtr handler $ \cobj_handler ->
wxEvtHandler_SetPreviousHandler cobj__obj cobj_handler
foreign import ccall "wxEvtHandler_SetPreviousHandler" wxEvtHandler_SetPreviousHandler :: Ptr (TEvtHandler a) -> Ptr (TEvtHandler b) -> IO ()
fileConfigCreate :: InputStream a -> IO (FileConfig ())
fileConfigCreate inp
= withObjectResult $
withObjectPtr inp $ \cobj_inp ->
wxFileConfig_Create cobj_inp
foreign import ccall "wxFileConfig_Create" wxFileConfig_Create :: Ptr (TInputStream a) -> IO (Ptr (TFileConfig ()))
fileDataObjectAddFile :: FileDataObject a -> String -> IO ()
fileDataObjectAddFile _obj _fle
= withObjectPtr _obj $ \cobj__obj ->
withStringPtr _fle $ \cobj__fle ->
wx_FileDataObject_AddFile cobj__obj cobj__fle
foreign import ccall "FileDataObject_AddFile" wx_FileDataObject_AddFile :: Ptr (TFileDataObject a) -> Ptr (TWxString b) -> IO ()
fileDataObjectCreate :: [String] -> IO (FileDataObject ())
fileDataObjectCreate _cntlst
= withObjectResult $
withArrayWString _cntlst $ \carrlen__cntlst carr__cntlst ->
wx_FileDataObject_Create carrlen__cntlst carr__cntlst
foreign import ccall "FileDataObject_Create" wx_FileDataObject_Create :: CInt -> Ptr (Ptr CWchar) -> IO (Ptr (TFileDataObject ()))
fileDataObjectDelete :: FileDataObject a -> IO ()
fileDataObjectDelete _obj
= withObjectPtr _obj $ \cobj__obj ->
wx_FileDataObject_Delete cobj__obj
foreign import ccall "FileDataObject_Delete" wx_FileDataObject_Delete :: Ptr (TFileDataObject a) -> IO ()
fileDataObjectGetFilenames :: FileDataObject a -> IO [String]
fileDataObjectGetFilenames _obj
= withArrayWStringResult $ \arr ->
withObjectPtr _obj $ \cobj__obj ->
wx_FileDataObject_GetFilenames cobj__obj arr
foreign import ccall "FileDataObject_GetFilenames" wx_FileDataObject_GetFilenames :: Ptr (TFileDataObject a) -> Ptr (Ptr CWchar) -> IO CInt
fileDialogCreate :: Window a -> String -> String -> String -> String -> Point -> Style -> IO (FileDialog ())
fileDialogCreate _prt _msg _dir _fle _wcd _lfttop _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withStringPtr _msg $ \cobj__msg ->
withStringPtr _dir $ \cobj__dir ->
withStringPtr _fle $ \cobj__fle ->
withStringPtr _wcd $ \cobj__wcd ->
wxFileDialog_Create cobj__prt cobj__msg cobj__dir cobj__fle cobj__wcd (toCIntPointX _lfttop) (toCIntPointY _lfttop) (toCInt _stl)
foreign import ccall "wxFileDialog_Create" wxFileDialog_Create :: Ptr (TWindow a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> Ptr (TWxString d) -> Ptr (TWxString e) -> CInt -> CInt -> CInt -> IO (Ptr (TFileDialog ()))
fileDialogGetDirectory :: FileDialog a -> IO (String)
fileDialogGetDirectory _obj
= withManagedStringResult $
withObjectRef "fileDialogGetDirectory" _obj $ \cobj__obj ->
wxFileDialog_GetDirectory cobj__obj
foreign import ccall "wxFileDialog_GetDirectory" wxFileDialog_GetDirectory :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))
fileDialogGetFilename :: FileDialog a -> IO (String)
fileDialogGetFilename _obj
= withManagedStringResult $
withObjectRef "fileDialogGetFilename" _obj $ \cobj__obj ->
wxFileDialog_GetFilename cobj__obj
foreign import ccall "wxFileDialog_GetFilename" wxFileDialog_GetFilename :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))
fileDialogGetFilenames :: FileDialog a -> IO [String]
fileDialogGetFilenames _obj
= withArrayWStringResult $ \arr ->
withObjectRef "fileDialogGetFilenames" _obj $ \cobj__obj ->
wxFileDialog_GetFilenames cobj__obj arr
foreign import ccall "wxFileDialog_GetFilenames" wxFileDialog_GetFilenames :: Ptr (TFileDialog a) -> Ptr (Ptr CWchar) -> IO CInt
fileDialogGetFilterIndex :: FileDialog a -> IO Int
fileDialogGetFilterIndex _obj
= withIntResult $
withObjectRef "fileDialogGetFilterIndex" _obj $ \cobj__obj ->
wxFileDialog_GetFilterIndex cobj__obj
foreign import ccall "wxFileDialog_GetFilterIndex" wxFileDialog_GetFilterIndex :: Ptr (TFileDialog a) -> IO CInt
fileDialogGetMessage :: FileDialog a -> IO (String)
fileDialogGetMessage _obj
= withManagedStringResult $
withObjectRef "fileDialogGetMessage" _obj $ \cobj__obj ->
wxFileDialog_GetMessage cobj__obj
foreign import ccall "wxFileDialog_GetMessage" wxFileDialog_GetMessage :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))
fileDialogGetPath :: FileDialog a -> IO (String)
fileDialogGetPath _obj
= withManagedStringResult $
withObjectRef "fileDialogGetPath" _obj $ \cobj__obj ->
wxFileDialog_GetPath cobj__obj
foreign import ccall "wxFileDialog_GetPath" wxFileDialog_GetPath :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))
fileDialogGetPaths :: FileDialog a -> IO [String]
fileDialogGetPaths _obj
= withArrayWStringResult $ \arr ->
withObjectRef "fileDialogGetPaths" _obj $ \cobj__obj ->
wxFileDialog_GetPaths cobj__obj arr
foreign import ccall "wxFileDialog_GetPaths" wxFileDialog_GetPaths :: Ptr (TFileDialog a) -> Ptr (Ptr CWchar) -> IO CInt
fileDialogGetStyle :: FileDialog a -> IO Int
fileDialogGetStyle _obj
= withIntResult $
withObjectRef "fileDialogGetStyle" _obj $ \cobj__obj ->
wxFileDialog_GetStyle cobj__obj
foreign import ccall "wxFileDialog_GetStyle" wxFileDialog_GetStyle :: Ptr (TFileDialog a) -> IO CInt
fileDialogGetWildcard :: FileDialog a -> IO (String)
fileDialogGetWildcard _obj
= withManagedStringResult $
withObjectRef "fileDialogGetWildcard" _obj $ \cobj__obj ->
wxFileDialog_GetWildcard cobj__obj
foreign import ccall "wxFileDialog_GetWildcard" wxFileDialog_GetWildcard :: Ptr (TFileDialog a) -> IO (Ptr (TWxString ()))
fileDialogSetDirectory :: FileDialog a -> String -> IO ()
fileDialogSetDirectory _obj dir
= withObjectRef "fileDialogSetDirectory" _obj $ \cobj__obj ->
withStringPtr dir $ \cobj_dir ->
wxFileDialog_SetDirectory cobj__obj cobj_dir
foreign import ccall "wxFileDialog_SetDirectory" wxFileDialog_SetDirectory :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()
fileDialogSetFilename :: FileDialog a -> String -> IO ()
fileDialogSetFilename _obj name
= withObjectRef "fileDialogSetFilename" _obj $ \cobj__obj ->
withStringPtr name $ \cobj_name ->
wxFileDialog_SetFilename cobj__obj cobj_name
foreign import ccall "wxFileDialog_SetFilename" wxFileDialog_SetFilename :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()
fileDialogSetFilterIndex :: FileDialog a -> Int -> IO ()
fileDialogSetFilterIndex _obj filterIndex
= withObjectRef "fileDialogSetFilterIndex" _obj $ \cobj__obj ->
wxFileDialog_SetFilterIndex cobj__obj (toCInt filterIndex)
foreign import ccall "wxFileDialog_SetFilterIndex" wxFileDialog_SetFilterIndex :: Ptr (TFileDialog a) -> CInt -> IO ()
fileDialogSetMessage :: FileDialog a -> String -> IO ()
fileDialogSetMessage _obj message
= withObjectRef "fileDialogSetMessage" _obj $ \cobj__obj ->
withStringPtr message $ \cobj_message ->
wxFileDialog_SetMessage cobj__obj cobj_message
foreign import ccall "wxFileDialog_SetMessage" wxFileDialog_SetMessage :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()
fileDialogSetPath :: FileDialog a -> String -> IO ()
fileDialogSetPath _obj path
= withObjectRef "fileDialogSetPath" _obj $ \cobj__obj ->
withStringPtr path $ \cobj_path ->
wxFileDialog_SetPath cobj__obj cobj_path
foreign import ccall "wxFileDialog_SetPath" wxFileDialog_SetPath :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()
fileDialogSetStyle :: FileDialog a -> Int -> IO ()
fileDialogSetStyle _obj style
= withObjectRef "fileDialogSetStyle" _obj $ \cobj__obj ->
wxFileDialog_SetStyle cobj__obj (toCInt style)
foreign import ccall "wxFileDialog_SetStyle" wxFileDialog_SetStyle :: Ptr (TFileDialog a) -> CInt -> IO ()
fileDialogSetWildcard :: FileDialog a -> String -> IO ()
fileDialogSetWildcard _obj wildCard
= withObjectRef "fileDialogSetWildcard" _obj $ \cobj__obj ->
withStringPtr wildCard $ \cobj_wildCard ->
wxFileDialog_SetWildcard cobj__obj cobj_wildCard
foreign import ccall "wxFileDialog_SetWildcard" wxFileDialog_SetWildcard :: Ptr (TFileDialog a) -> Ptr (TWxString b) -> IO ()
fileHistoryAddFileToHistory :: FileHistory a -> String -> IO ()
fileHistoryAddFileToHistory _obj file
= withObjectRef "fileHistoryAddFileToHistory" _obj $ \cobj__obj ->
withStringPtr file $ \cobj_file ->
wxFileHistory_AddFileToHistory cobj__obj cobj_file
foreign import ccall "wxFileHistory_AddFileToHistory" wxFileHistory_AddFileToHistory :: Ptr (TFileHistory a) -> Ptr (TWxString b) -> IO ()
fileHistoryAddFilesToMenu :: FileHistory a -> Menu b -> IO ()
fileHistoryAddFilesToMenu _obj menu
= withObjectRef "fileHistoryAddFilesToMenu" _obj $ \cobj__obj ->
withObjectPtr menu $ \cobj_menu ->
wxFileHistory_AddFilesToMenu cobj__obj cobj_menu
foreign import ccall "wxFileHistory_AddFilesToMenu" wxFileHistory_AddFilesToMenu :: Ptr (TFileHistory a) -> Ptr (TMenu b) -> IO ()
fileHistoryCreate :: Int -> IO (FileHistory ())
fileHistoryCreate maxFiles
= withObjectResult $
wxFileHistory_Create (toCInt maxFiles)
foreign import ccall "wxFileHistory_Create" wxFileHistory_Create :: CInt -> IO (Ptr (TFileHistory ()))
fileHistoryDelete :: FileHistory a -> IO ()
fileHistoryDelete
= objectDelete
fileHistoryGetCount :: FileHistory a -> IO Int
fileHistoryGetCount _obj
= withIntResult $
withObjectRef "fileHistoryGetCount" _obj $ \cobj__obj ->
wxFileHistory_GetCount cobj__obj
foreign import ccall "wxFileHistory_GetCount" wxFileHistory_GetCount :: Ptr (TFileHistory a) -> IO CInt
fileHistoryGetHistoryFile :: FileHistory a -> Int -> IO (String)
fileHistoryGetHistoryFile _obj i
= withManagedStringResult $
withObjectRef "fileHistoryGetHistoryFile" _obj $ \cobj__obj ->
wxFileHistory_GetHistoryFile cobj__obj (toCInt i)
foreign import ccall "wxFileHistory_GetHistoryFile" wxFileHistory_GetHistoryFile :: Ptr (TFileHistory a) -> CInt -> IO (Ptr (TWxString ()))
fileHistoryGetMaxFiles :: FileHistory a -> IO Int
fileHistoryGetMaxFiles _obj
= withIntResult $
withObjectRef "fileHistoryGetMaxFiles" _obj $ \cobj__obj ->
wxFileHistory_GetMaxFiles cobj__obj
foreign import ccall "wxFileHistory_GetMaxFiles" wxFileHistory_GetMaxFiles :: Ptr (TFileHistory a) -> IO CInt
fileHistoryGetMenus :: FileHistory a -> IO [Menu ()]
fileHistoryGetMenus _obj
= withArrayObjectResult $ \arr ->
withObjectRef "fileHistoryGetMenus" _obj $ \cobj__obj ->
wxFileHistory_GetMenus cobj__obj arr
foreign import ccall "wxFileHistory_GetMenus" wxFileHistory_GetMenus :: Ptr (TFileHistory a) -> Ptr (Ptr (TMenu ())) -> IO CInt
fileHistoryLoad :: FileHistory a -> ConfigBase b -> IO ()
fileHistoryLoad _obj config
= withObjectRef "fileHistoryLoad" _obj $ \cobj__obj ->
withObjectPtr config $ \cobj_config ->
wxFileHistory_Load cobj__obj cobj_config
foreign import ccall "wxFileHistory_Load" wxFileHistory_Load :: Ptr (TFileHistory a) -> Ptr (TConfigBase b) -> IO ()
fileHistoryRemoveFileFromHistory :: FileHistory a -> Int -> IO ()
fileHistoryRemoveFileFromHistory _obj i
= withObjectRef "fileHistoryRemoveFileFromHistory" _obj $ \cobj__obj ->
wxFileHistory_RemoveFileFromHistory cobj__obj (toCInt i)
foreign import ccall "wxFileHistory_RemoveFileFromHistory" wxFileHistory_RemoveFileFromHistory :: Ptr (TFileHistory a) -> CInt -> IO ()
fileHistoryRemoveMenu :: FileHistory a -> Menu b -> IO ()
fileHistoryRemoveMenu _obj menu
= withObjectRef "fileHistoryRemoveMenu" _obj $ \cobj__obj ->
withObjectPtr menu $ \cobj_menu ->
wxFileHistory_RemoveMenu cobj__obj cobj_menu
foreign import ccall "wxFileHistory_RemoveMenu" wxFileHistory_RemoveMenu :: Ptr (TFileHistory a) -> Ptr (TMenu b) -> IO ()
fileHistorySave :: FileHistory a -> ConfigBase b -> IO ()
fileHistorySave _obj config
= withObjectRef "fileHistorySave" _obj $ \cobj__obj ->
withObjectPtr config $ \cobj_config ->
wxFileHistory_Save cobj__obj cobj_config
foreign import ccall "wxFileHistory_Save" wxFileHistory_Save :: Ptr (TFileHistory a) -> Ptr (TConfigBase b) -> IO ()
fileHistoryUseMenu :: FileHistory a -> Menu b -> IO ()
fileHistoryUseMenu _obj menu
= withObjectRef "fileHistoryUseMenu" _obj $ \cobj__obj ->
withObjectPtr menu $ \cobj_menu ->
wxFileHistory_UseMenu cobj__obj cobj_menu
foreign import ccall "wxFileHistory_UseMenu" wxFileHistory_UseMenu :: Ptr (TFileHistory a) -> Ptr (TMenu b) -> IO ()
fileInputStreamCreate :: String -> IO (FileInputStream ())
fileInputStreamCreate ofileName
= withObjectResult $
withStringPtr ofileName $ \cobj_ofileName ->
wxFileInputStream_Create cobj_ofileName
foreign import ccall "wxFileInputStream_Create" wxFileInputStream_Create :: Ptr (TWxString a) -> IO (Ptr (TFileInputStream ()))
fileInputStreamDelete :: FileInputStream a -> IO ()
fileInputStreamDelete self
= withObjectRef "fileInputStreamDelete" self $ \cobj_self ->
wxFileInputStream_Delete cobj_self
foreign import ccall "wxFileInputStream_Delete" wxFileInputStream_Delete :: Ptr (TFileInputStream a) -> IO ()
fileInputStreamIsOk :: FileInputStream a -> IO Bool
fileInputStreamIsOk self
= withBoolResult $
withObjectRef "fileInputStreamIsOk" self $ \cobj_self ->
wxFileInputStream_IsOk cobj_self
foreign import ccall "wxFileInputStream_IsOk" wxFileInputStream_IsOk :: Ptr (TFileInputStream a) -> IO CBool
fileOutputStreamCreate :: String -> IO (FileOutputStream ())
fileOutputStreamCreate ofileName
= withObjectResult $
withStringPtr ofileName $ \cobj_ofileName ->
wxFileOutputStream_Create cobj_ofileName
foreign import ccall "wxFileOutputStream_Create" wxFileOutputStream_Create :: Ptr (TWxString a) -> IO (Ptr (TFileOutputStream ()))
fileOutputStreamDelete :: FileOutputStream a -> IO ()
fileOutputStreamDelete self
= withObjectRef "fileOutputStreamDelete" self $ \cobj_self ->
wxFileOutputStream_Delete cobj_self
foreign import ccall "wxFileOutputStream_Delete" wxFileOutputStream_Delete :: Ptr (TFileOutputStream a) -> IO ()
fileOutputStreamIsOk :: FileOutputStream a -> IO Bool
fileOutputStreamIsOk self
= withBoolResult $
withObjectRef "fileOutputStreamIsOk" self $ \cobj_self ->
wxFileOutputStream_IsOk cobj_self
foreign import ccall "wxFileOutputStream_IsOk" wxFileOutputStream_IsOk :: Ptr (TFileOutputStream a) -> IO CBool
filePropertyCreate :: String -> String -> String -> IO (FileProperty ())
filePropertyCreate label name value
= withObjectResult $
withStringPtr label $ \cobj_label ->
withStringPtr name $ \cobj_name ->
withStringPtr value $ \cobj_value ->
wxFileProperty_Create cobj_label cobj_name cobj_value
foreign import ccall "wxFileProperty_Create" wxFileProperty_Create :: Ptr (TWxString a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO (Ptr (TFileProperty ()))
fileTypeDelete :: FileType a -> IO ()
fileTypeDelete _obj
= withObjectRef "fileTypeDelete" _obj $ \cobj__obj ->
wxFileType_Delete cobj__obj
foreign import ccall "wxFileType_Delete" wxFileType_Delete :: Ptr (TFileType a) -> IO ()
fileTypeExpandCommand :: FileType a -> Ptr b -> Ptr c -> IO (String)
fileTypeExpandCommand _obj _cmd _params
= withManagedStringResult $
withObjectRef "fileTypeExpandCommand" _obj $ \cobj__obj ->
wxFileType_ExpandCommand cobj__obj _cmd _params
foreign import ccall "wxFileType_ExpandCommand" wxFileType_ExpandCommand :: Ptr (TFileType a) -> Ptr b -> Ptr c -> IO (Ptr (TWxString ()))
fileTypeGetDescription :: FileType a -> IO (String)
fileTypeGetDescription _obj
= withManagedStringResult $
withObjectRef "fileTypeGetDescription" _obj $ \cobj__obj ->
wxFileType_GetDescription cobj__obj
foreign import ccall "wxFileType_GetDescription" wxFileType_GetDescription :: Ptr (TFileType a) -> IO (Ptr (TWxString ()))
fileTypeGetExtensions :: FileType a -> List b -> IO Int
fileTypeGetExtensions _obj _lst
= withIntResult $
withObjectRef "fileTypeGetExtensions" _obj $ \cobj__obj ->
withObjectPtr _lst $ \cobj__lst ->
wxFileType_GetExtensions cobj__obj cobj__lst
foreign import ccall "wxFileType_GetExtensions" wxFileType_GetExtensions :: Ptr (TFileType a) -> Ptr (TList b) -> IO CInt
fileTypeGetIcon :: FileType a -> Icon b -> IO Int
fileTypeGetIcon _obj icon
= withIntResult $
withObjectRef "fileTypeGetIcon" _obj $ \cobj__obj ->
withObjectPtr icon $ \cobj_icon ->
wxFileType_GetIcon cobj__obj cobj_icon
foreign import ccall "wxFileType_GetIcon" wxFileType_GetIcon :: Ptr (TFileType a) -> Ptr (TIcon b) -> IO CInt
fileTypeGetMimeType :: FileType a -> IO (String)
fileTypeGetMimeType _obj
= withManagedStringResult $
withObjectRef "fileTypeGetMimeType" _obj $ \cobj__obj ->
wxFileType_GetMimeType cobj__obj
foreign import ccall "wxFileType_GetMimeType" wxFileType_GetMimeType :: Ptr (TFileType a) -> IO (Ptr (TWxString ()))
fileTypeGetMimeTypes :: FileType a -> List b -> IO Int
fileTypeGetMimeTypes _obj _lst
= withIntResult $
withObjectRef "fileTypeGetMimeTypes" _obj $ \cobj__obj ->
withObjectPtr _lst $ \cobj__lst ->
wxFileType_GetMimeTypes cobj__obj cobj__lst
foreign import ccall "wxFileType_GetMimeTypes" wxFileType_GetMimeTypes :: Ptr (TFileType a) -> Ptr (TList b) -> IO CInt
fileTypeGetOpenCommand :: FileType a -> Ptr b -> Ptr c -> IO Int
fileTypeGetOpenCommand _obj _buf _params
= withIntResult $
withObjectRef "fileTypeGetOpenCommand" _obj $ \cobj__obj ->
wxFileType_GetOpenCommand cobj__obj _buf _params
foreign import ccall "wxFileType_GetOpenCommand" wxFileType_GetOpenCommand :: Ptr (TFileType a) -> Ptr b -> Ptr c -> IO CInt
fileTypeGetPrintCommand :: FileType a -> Ptr b -> Ptr c -> IO Int
fileTypeGetPrintCommand _obj _buf _params
= withIntResult $
withObjectRef "fileTypeGetPrintCommand" _obj $ \cobj__obj ->
wxFileType_GetPrintCommand cobj__obj _buf _params
foreign import ccall "wxFileType_GetPrintCommand" wxFileType_GetPrintCommand :: Ptr (TFileType a) -> Ptr b -> Ptr c -> IO CInt
findDialogEventGetFindString :: FindDialogEvent a -> Ptr b -> IO Int
findDialogEventGetFindString _obj _ref
= withIntResult $
withObjectRef "findDialogEventGetFindString" _obj $ \cobj__obj ->
wxFindDialogEvent_GetFindString cobj__obj _ref
foreign import ccall "wxFindDialogEvent_GetFindString" wxFindDialogEvent_GetFindString :: Ptr (TFindDialogEvent a) -> Ptr b -> IO CInt
findDialogEventGetFlags :: FindDialogEvent a -> IO Int
findDialogEventGetFlags _obj
= withIntResult $
withObjectRef "findDialogEventGetFlags" _obj $ \cobj__obj ->
wxFindDialogEvent_GetFlags cobj__obj
foreign import ccall "wxFindDialogEvent_GetFlags" wxFindDialogEvent_GetFlags :: Ptr (TFindDialogEvent a) -> IO CInt
findDialogEventGetReplaceString :: FindDialogEvent a -> Ptr b -> IO Int
findDialogEventGetReplaceString _obj _ref
= withIntResult $
withObjectRef "findDialogEventGetReplaceString" _obj $ \cobj__obj ->
wxFindDialogEvent_GetReplaceString cobj__obj _ref
foreign import ccall "wxFindDialogEvent_GetReplaceString" wxFindDialogEvent_GetReplaceString :: Ptr (TFindDialogEvent a) -> Ptr b -> IO CInt
findReplaceDataCreate :: Int -> IO (FindReplaceData ())
findReplaceDataCreate flags
= withObjectResult $
wxFindReplaceData_Create (toCInt flags)
foreign import ccall "wxFindReplaceData_Create" wxFindReplaceData_Create :: CInt -> IO (Ptr (TFindReplaceData ()))
findReplaceDataCreateDefault :: IO (FindReplaceData ())
findReplaceDataCreateDefault
= withObjectResult $
wxFindReplaceData_CreateDefault
foreign import ccall "wxFindReplaceData_CreateDefault" wxFindReplaceData_CreateDefault :: IO (Ptr (TFindReplaceData ()))
findReplaceDataDelete :: FindReplaceData a -> IO ()
findReplaceDataDelete
= objectDelete
findReplaceDataGetFindString :: FindReplaceData a -> IO (String)
findReplaceDataGetFindString _obj
= withManagedStringResult $
withObjectRef "findReplaceDataGetFindString" _obj $ \cobj__obj ->
wxFindReplaceData_GetFindString cobj__obj
foreign import ccall "wxFindReplaceData_GetFindString" wxFindReplaceData_GetFindString :: Ptr (TFindReplaceData a) -> IO (Ptr (TWxString ()))
findReplaceDataGetFlags :: FindReplaceData a -> IO Int
findReplaceDataGetFlags _obj
= withIntResult $
withObjectRef "findReplaceDataGetFlags" _obj $ \cobj__obj ->
wxFindReplaceData_GetFlags cobj__obj
foreign import ccall "wxFindReplaceData_GetFlags" wxFindReplaceData_GetFlags :: Ptr (TFindReplaceData a) -> IO CInt
findReplaceDataGetReplaceString :: FindReplaceData a -> IO (String)
findReplaceDataGetReplaceString _obj
= withManagedStringResult $
withObjectRef "findReplaceDataGetReplaceString" _obj $ \cobj__obj ->
wxFindReplaceData_GetReplaceString cobj__obj
foreign import ccall "wxFindReplaceData_GetReplaceString" wxFindReplaceData_GetReplaceString :: Ptr (TFindReplaceData a) -> IO (Ptr (TWxString ()))
findReplaceDataSetFindString :: FindReplaceData a -> String -> IO ()
findReplaceDataSetFindString _obj str
= withObjectRef "findReplaceDataSetFindString" _obj $ \cobj__obj ->
withStringPtr str $ \cobj_str ->
wxFindReplaceData_SetFindString cobj__obj cobj_str
foreign import ccall "wxFindReplaceData_SetFindString" wxFindReplaceData_SetFindString :: Ptr (TFindReplaceData a) -> Ptr (TWxString b) -> IO ()
findReplaceDataSetFlags :: FindReplaceData a -> Int -> IO ()
findReplaceDataSetFlags _obj flags
= withObjectRef "findReplaceDataSetFlags" _obj $ \cobj__obj ->
wxFindReplaceData_SetFlags cobj__obj (toCInt flags)
foreign import ccall "wxFindReplaceData_SetFlags" wxFindReplaceData_SetFlags :: Ptr (TFindReplaceData a) -> CInt -> IO ()
findReplaceDataSetReplaceString :: FindReplaceData a -> String -> IO ()
findReplaceDataSetReplaceString _obj str
= withObjectRef "findReplaceDataSetReplaceString" _obj $ \cobj__obj ->
withStringPtr str $ \cobj_str ->
wxFindReplaceData_SetReplaceString cobj__obj cobj_str
foreign import ccall "wxFindReplaceData_SetReplaceString" wxFindReplaceData_SetReplaceString :: Ptr (TFindReplaceData a) -> Ptr (TWxString b) -> IO ()
findReplaceDialogCreate :: Window a -> FindReplaceData b -> String -> Int -> IO (FindReplaceDialog ())
findReplaceDialogCreate parent wxdata title style
= withObjectResult $
withObjectPtr parent $ \cobj_parent ->
withObjectPtr wxdata $ \cobj_wxdata ->
withStringPtr title $ \cobj_title ->
wxFindReplaceDialog_Create cobj_parent cobj_wxdata cobj_title (toCInt style)
foreign import ccall "wxFindReplaceDialog_Create" wxFindReplaceDialog_Create :: Ptr (TWindow a) -> Ptr (TFindReplaceData b) -> Ptr (TWxString c) -> CInt -> IO (Ptr (TFindReplaceDialog ()))
findReplaceDialogGetData :: FindReplaceDialog a -> IO (FindReplaceData ())
findReplaceDialogGetData _obj
= withObjectResult $
withObjectRef "findReplaceDialogGetData" _obj $ \cobj__obj ->
wxFindReplaceDialog_GetData cobj__obj
foreign import ccall "wxFindReplaceDialog_GetData" wxFindReplaceDialog_GetData :: Ptr (TFindReplaceDialog a) -> IO (Ptr (TFindReplaceData ()))
findReplaceDialogSetData :: FindReplaceDialog a -> FindReplaceData b -> IO ()
findReplaceDialogSetData _obj wxdata
= withObjectRef "findReplaceDialogSetData" _obj $ \cobj__obj ->
withObjectPtr wxdata $ \cobj_wxdata ->
wxFindReplaceDialog_SetData cobj__obj cobj_wxdata
foreign import ccall "wxFindReplaceDialog_SetData" wxFindReplaceDialog_SetData :: Ptr (TFindReplaceDialog a) -> Ptr (TFindReplaceData b) -> IO ()
flexGridSizerAddGrowableCol :: FlexGridSizer a -> Int -> IO ()
flexGridSizerAddGrowableCol _obj idx
= withObjectRef "flexGridSizerAddGrowableCol" _obj $ \cobj__obj ->
wxFlexGridSizer_AddGrowableCol cobj__obj (toCInt idx)
foreign import ccall "wxFlexGridSizer_AddGrowableCol" wxFlexGridSizer_AddGrowableCol :: Ptr (TFlexGridSizer a) -> CInt -> IO ()
flexGridSizerAddGrowableRow :: FlexGridSizer a -> Int -> IO ()
flexGridSizerAddGrowableRow _obj idx
= withObjectRef "flexGridSizerAddGrowableRow" _obj $ \cobj__obj ->
wxFlexGridSizer_AddGrowableRow cobj__obj (toCInt idx)
foreign import ccall "wxFlexGridSizer_AddGrowableRow" wxFlexGridSizer_AddGrowableRow :: Ptr (TFlexGridSizer a) -> CInt -> IO ()
flexGridSizerCalcMin :: FlexGridSizer a -> IO (Size)
flexGridSizerCalcMin _obj
= withWxSizeResult $
withObjectRef "flexGridSizerCalcMin" _obj $ \cobj__obj ->
wxFlexGridSizer_CalcMin cobj__obj
foreign import ccall "wxFlexGridSizer_CalcMin" wxFlexGridSizer_CalcMin :: Ptr (TFlexGridSizer a) -> IO (Ptr (TWxSize ()))
flexGridSizerCreate :: Int -> Int -> Int -> Int -> IO (FlexGridSizer ())
flexGridSizerCreate rows cols vgap hgap
= withObjectResult $
wxFlexGridSizer_Create (toCInt rows) (toCInt cols) (toCInt vgap) (toCInt hgap)
foreign import ccall "wxFlexGridSizer_Create" wxFlexGridSizer_Create :: CInt -> CInt -> CInt -> CInt -> IO (Ptr (TFlexGridSizer ()))
flexGridSizerRecalcSizes :: FlexGridSizer a -> IO ()
flexGridSizerRecalcSizes _obj
= withObjectRef "flexGridSizerRecalcSizes" _obj $ \cobj__obj ->
wxFlexGridSizer_RecalcSizes cobj__obj
foreign import ccall "wxFlexGridSizer_RecalcSizes" wxFlexGridSizer_RecalcSizes :: Ptr (TFlexGridSizer a) -> IO ()
flexGridSizerRemoveGrowableCol :: FlexGridSizer a -> Int -> IO ()
flexGridSizerRemoveGrowableCol _obj idx
= withObjectRef "flexGridSizerRemoveGrowableCol" _obj $ \cobj__obj ->
wxFlexGridSizer_RemoveGrowableCol cobj__obj (toCInt idx)
foreign import ccall "wxFlexGridSizer_RemoveGrowableCol" wxFlexGridSizer_RemoveGrowableCol :: Ptr (TFlexGridSizer a) -> CInt -> IO ()
flexGridSizerRemoveGrowableRow :: FlexGridSizer a -> Int -> IO ()
flexGridSizerRemoveGrowableRow _obj idx
= withObjectRef "flexGridSizerRemoveGrowableRow" _obj $ \cobj__obj ->
wxFlexGridSizer_RemoveGrowableRow cobj__obj (toCInt idx)
foreign import ccall "wxFlexGridSizer_RemoveGrowableRow" wxFlexGridSizer_RemoveGrowableRow :: Ptr (TFlexGridSizer a) -> CInt -> IO ()
floatPropertyCreate :: String -> String -> Float -> IO (FloatProperty ())
floatPropertyCreate label name value
= withObjectResult $
withStringPtr label $ \cobj_label ->
withStringPtr name $ \cobj_name ->
wxFloatProperty_Create cobj_label cobj_name value
foreign import ccall "wxFloatProperty_Create" wxFloatProperty_Create :: Ptr (TWxString a) -> Ptr (TWxString b) -> Float -> IO (Ptr (TFloatProperty ()))
fontCreate :: Int -> Int -> Int -> Int -> Bool -> String -> Int -> IO (Font ())
fontCreate pointSize family style weight underlined face enc
= withManagedFontResult $
withStringPtr face $ \cobj_face ->
wxFont_Create (toCInt pointSize) (toCInt family) (toCInt style) (toCInt weight) (toCBool underlined) cobj_face (toCInt enc)
foreign import ccall "wxFont_Create" wxFont_Create :: CInt -> CInt -> CInt -> CInt -> CBool -> Ptr (TWxString f) -> CInt -> IO (Ptr (TFont ()))
fontCreateDefault :: IO (Font ())
fontCreateDefault
= withManagedFontResult $
wxFont_CreateDefault
foreign import ccall "wxFont_CreateDefault" wxFont_CreateDefault :: IO (Ptr (TFont ()))
fontCreateFromStock :: Id -> IO (Font ())
fontCreateFromStock id
= withManagedFontResult $
wxFont_CreateFromStock (toCInt id)
foreign import ccall "wxFont_CreateFromStock" wxFont_CreateFromStock :: CInt -> IO (Ptr (TFont ()))
fontDataCreate :: IO (FontData ())
fontDataCreate
= withManagedObjectResult $
wxFontData_Create
foreign import ccall "wxFontData_Create" wxFontData_Create :: IO (Ptr (TFontData ()))
fontDataDelete :: FontData a -> IO ()
fontDataDelete
= objectDelete
fontDataEnableEffects :: FontData a -> Bool -> IO ()
fontDataEnableEffects _obj flag
= withObjectRef "fontDataEnableEffects" _obj $ \cobj__obj ->
wxFontData_EnableEffects cobj__obj (toCBool flag)
foreign import ccall "wxFontData_EnableEffects" wxFontData_EnableEffects :: Ptr (TFontData a) -> CBool -> IO ()
fontDataGetAllowSymbols :: FontData a -> IO Bool
fontDataGetAllowSymbols _obj
= withBoolResult $
withObjectRef "fontDataGetAllowSymbols" _obj $ \cobj__obj ->
wxFontData_GetAllowSymbols cobj__obj
foreign import ccall "wxFontData_GetAllowSymbols" wxFontData_GetAllowSymbols :: Ptr (TFontData a) -> IO CBool
fontDataGetChosenFont :: FontData a -> IO (Font ())
fontDataGetChosenFont _obj
= withRefFont $ \pref ->
withObjectRef "fontDataGetChosenFont" _obj $ \cobj__obj ->
wxFontData_GetChosenFont cobj__obj pref
foreign import ccall "wxFontData_GetChosenFont" wxFontData_GetChosenFont :: Ptr (TFontData a) -> Ptr (TFont ()) -> IO ()
fontDataGetColour :: FontData a -> IO (Color)
fontDataGetColour _obj
= withRefColour $ \pref ->
withObjectRef "fontDataGetColour" _obj $ \cobj__obj ->
wxFontData_GetColour cobj__obj pref
foreign import ccall "wxFontData_GetColour" wxFontData_GetColour :: Ptr (TFontData a) -> Ptr (TColour ()) -> IO ()
fontDataGetEnableEffects :: FontData a -> IO Bool
fontDataGetEnableEffects _obj
= withBoolResult $
withObjectRef "fontDataGetEnableEffects" _obj $ \cobj__obj ->
wxFontData_GetEnableEffects cobj__obj
foreign import ccall "wxFontData_GetEnableEffects" wxFontData_GetEnableEffects :: Ptr (TFontData a) -> IO CBool
fontDataGetEncoding :: FontData a -> IO Int
fontDataGetEncoding _obj
= withIntResult $
withObjectRef "fontDataGetEncoding" _obj $ \cobj__obj ->
wxFontData_GetEncoding cobj__obj
foreign import ccall "wxFontData_GetEncoding" wxFontData_GetEncoding :: Ptr (TFontData a) -> IO CInt
fontDataGetInitialFont :: FontData a -> IO (Font ())
fontDataGetInitialFont _obj
= withRefFont $ \pref ->
withObjectRef "fontDataGetInitialFont" _obj $ \cobj__obj ->
wxFontData_GetInitialFont cobj__obj pref
foreign import ccall "wxFontData_GetInitialFont" wxFontData_GetInitialFont :: Ptr (TFontData a) -> Ptr (TFont ()) -> IO ()
fontDataGetShowHelp :: FontData a -> IO Int
fontDataGetShowHelp _obj
= withIntResult $
withObjectRef "fontDataGetShowHelp" _obj $ \cobj__obj ->
wxFontData_GetShowHelp cobj__obj
foreign import ccall "wxFontData_GetShowHelp" wxFontData_GetShowHelp :: Ptr (TFontData a) -> IO CInt
fontDataSetAllowSymbols :: FontData a -> Bool -> IO ()
fontDataSetAllowSymbols _obj flag
= withObjectRef "fontDataSetAllowSymbols" _obj $ \cobj__obj ->
wxFontData_SetAllowSymbols cobj__obj (toCBool flag)
foreign import ccall "wxFontData_SetAllowSymbols" wxFontData_SetAllowSymbols :: Ptr (TFontData a) -> CBool -> IO ()
fontDataSetChosenFont :: FontData a -> Font b -> IO ()
fontDataSetChosenFont _obj font
= withObjectRef "fontDataSetChosenFont" _obj $ \cobj__obj ->
withObjectPtr font $ \cobj_font ->
wxFontData_SetChosenFont cobj__obj cobj_font
foreign import ccall "wxFontData_SetChosenFont" wxFontData_SetChosenFont :: Ptr (TFontData a) -> Ptr (TFont b) -> IO ()
fontDataSetColour :: FontData a -> Color -> IO ()
fontDataSetColour _obj colour
= withObjectRef "fontDataSetColour" _obj $ \cobj__obj ->
withColourPtr colour $ \cobj_colour ->
wxFontData_SetColour cobj__obj cobj_colour
foreign import ccall "wxFontData_SetColour" wxFontData_SetColour :: Ptr (TFontData a) -> Ptr (TColour b) -> IO ()
fontDataSetEncoding :: FontData a -> Int -> IO ()
fontDataSetEncoding _obj encoding
= withObjectRef "fontDataSetEncoding" _obj $ \cobj__obj ->
wxFontData_SetEncoding cobj__obj (toCInt encoding)
foreign import ccall "wxFontData_SetEncoding" wxFontData_SetEncoding :: Ptr (TFontData a) -> CInt -> IO ()
fontDataSetInitialFont :: FontData a -> Font b -> IO ()
fontDataSetInitialFont _obj font
= withObjectRef "fontDataSetInitialFont" _obj $ \cobj__obj ->
withObjectPtr font $ \cobj_font ->
wxFontData_SetInitialFont cobj__obj cobj_font
foreign import ccall "wxFontData_SetInitialFont" wxFontData_SetInitialFont :: Ptr (TFontData a) -> Ptr (TFont b) -> IO ()
fontDataSetRange :: FontData a -> Int -> Int -> IO ()
fontDataSetRange _obj minRange maxRange
= withObjectRef "fontDataSetRange" _obj $ \cobj__obj ->
wxFontData_SetRange cobj__obj (toCInt minRange) (toCInt maxRange)
foreign import ccall "wxFontData_SetRange" wxFontData_SetRange :: Ptr (TFontData a) -> CInt -> CInt -> IO ()
fontDataSetShowHelp :: FontData a -> Bool -> IO ()
fontDataSetShowHelp _obj flag
= withObjectRef "fontDataSetShowHelp" _obj $ \cobj__obj ->
wxFontData_SetShowHelp cobj__obj (toCBool flag)
foreign import ccall "wxFontData_SetShowHelp" wxFontData_SetShowHelp :: Ptr (TFontData a) -> CBool -> IO ()
fontDelete :: Font a -> IO ()
fontDelete
= objectDelete
fontDialogCreate :: Window a -> FontData b -> IO (FontDialog ())
fontDialogCreate _prt fnt
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withObjectPtr fnt $ \cobj_fnt ->
wxFontDialog_Create cobj__prt cobj_fnt
foreign import ccall "wxFontDialog_Create" wxFontDialog_Create :: Ptr (TWindow a) -> Ptr (TFontData b) -> IO (Ptr (TFontDialog ()))
fontDialogGetFontData :: FontDialog a -> IO (FontData ())
fontDialogGetFontData _obj
= withRefFontData $ \pref ->
withObjectRef "fontDialogGetFontData" _obj $ \cobj__obj ->
wxFontDialog_GetFontData cobj__obj pref
foreign import ccall "wxFontDialog_GetFontData" wxFontDialog_GetFontData :: Ptr (TFontDialog a) -> Ptr (TFontData ()) -> IO ()
fontEnumeratorCreate :: Ptr a -> Ptr b -> IO (FontEnumerator ())
fontEnumeratorCreate _obj _fnc
= withObjectResult $
wxFontEnumerator_Create _obj _fnc
foreign import ccall "wxFontEnumerator_Create" wxFontEnumerator_Create :: Ptr a -> Ptr b -> IO (Ptr (TFontEnumerator ()))
fontEnumeratorDelete :: FontEnumerator a -> IO ()
fontEnumeratorDelete _obj
= withObjectRef "fontEnumeratorDelete" _obj $ \cobj__obj ->
wxFontEnumerator_Delete cobj__obj
foreign import ccall "wxFontEnumerator_Delete" wxFontEnumerator_Delete :: Ptr (TFontEnumerator a) -> IO ()
fontEnumeratorEnumerateEncodings :: FontEnumerator a -> String -> IO Bool
fontEnumeratorEnumerateEncodings _obj facename
= withBoolResult $
withObjectRef "fontEnumeratorEnumerateEncodings" _obj $ \cobj__obj ->
withStringPtr facename $ \cobj_facename ->
wxFontEnumerator_EnumerateEncodings cobj__obj cobj_facename
foreign import ccall "wxFontEnumerator_EnumerateEncodings" wxFontEnumerator_EnumerateEncodings :: Ptr (TFontEnumerator a) -> Ptr (TWxString b) -> IO CBool
fontEnumeratorEnumerateFacenames :: FontEnumerator a -> Int -> Int -> IO Bool
fontEnumeratorEnumerateFacenames _obj encoding fixedWidthOnly
= withBoolResult $
withObjectRef "fontEnumeratorEnumerateFacenames" _obj $ \cobj__obj ->
wxFontEnumerator_EnumerateFacenames cobj__obj (toCInt encoding) (toCInt fixedWidthOnly)
foreign import ccall "wxFontEnumerator_EnumerateFacenames" wxFontEnumerator_EnumerateFacenames :: Ptr (TFontEnumerator a) -> CInt -> CInt -> IO CBool
fontGetDefaultEncoding :: Font a -> IO Int
fontGetDefaultEncoding _obj
= withIntResult $
withObjectRef "fontGetDefaultEncoding" _obj $ \cobj__obj ->
wxFont_GetDefaultEncoding cobj__obj
foreign import ccall "wxFont_GetDefaultEncoding" wxFont_GetDefaultEncoding :: Ptr (TFont a) -> IO CInt
fontGetEncoding :: Font a -> IO Int
fontGetEncoding _obj
= withIntResult $
withObjectRef "fontGetEncoding" _obj $ \cobj__obj ->
wxFont_GetEncoding cobj__obj
foreign import ccall "wxFont_GetEncoding" wxFont_GetEncoding :: Ptr (TFont a) -> IO CInt
fontGetFaceName :: Font a -> IO (String)
fontGetFaceName _obj
= withManagedStringResult $
withObjectRef "fontGetFaceName" _obj $ \cobj__obj ->
wxFont_GetFaceName cobj__obj
foreign import ccall "wxFont_GetFaceName" wxFont_GetFaceName :: Ptr (TFont a) -> IO (Ptr (TWxString ()))
fontGetFamily :: Font a -> IO Int
fontGetFamily _obj
= withIntResult $
withObjectRef "fontGetFamily" _obj $ \cobj__obj ->
wxFont_GetFamily cobj__obj
foreign import ccall "wxFont_GetFamily" wxFont_GetFamily :: Ptr (TFont a) -> IO CInt
fontGetFamilyString :: Font a -> IO (String)
fontGetFamilyString _obj
= withManagedStringResult $
withObjectRef "fontGetFamilyString" _obj $ \cobj__obj ->
wxFont_GetFamilyString cobj__obj
foreign import ccall "wxFont_GetFamilyString" wxFont_GetFamilyString :: Ptr (TFont a) -> IO (Ptr (TWxString ()))
fontGetPointSize :: Font a -> IO Int
fontGetPointSize _obj
= withIntResult $
withObjectRef "fontGetPointSize" _obj $ \cobj__obj ->
wxFont_GetPointSize cobj__obj
foreign import ccall "wxFont_GetPointSize" wxFont_GetPointSize :: Ptr (TFont a) -> IO CInt
fontGetStyle :: Font a -> IO Int
fontGetStyle _obj
= withIntResult $
withObjectRef "fontGetStyle" _obj $ \cobj__obj ->
wxFont_GetStyle cobj__obj
foreign import ccall "wxFont_GetStyle" wxFont_GetStyle :: Ptr (TFont a) -> IO CInt
fontGetStyleString :: Font a -> IO (String)
fontGetStyleString _obj
= withManagedStringResult $
withObjectRef "fontGetStyleString" _obj $ \cobj__obj ->
wxFont_GetStyleString cobj__obj
foreign import ccall "wxFont_GetStyleString" wxFont_GetStyleString :: Ptr (TFont a) -> IO (Ptr (TWxString ()))
fontGetUnderlined :: Font a -> IO Int
fontGetUnderlined _obj
= withIntResult $
withObjectRef "fontGetUnderlined" _obj $ \cobj__obj ->
wxFont_GetUnderlined cobj__obj
foreign import ccall "wxFont_GetUnderlined" wxFont_GetUnderlined :: Ptr (TFont a) -> IO CInt
fontGetWeight :: Font a -> IO Int
fontGetWeight _obj
= withIntResult $
withObjectRef "fontGetWeight" _obj $ \cobj__obj ->
wxFont_GetWeight cobj__obj
foreign import ccall "wxFont_GetWeight" wxFont_GetWeight :: Ptr (TFont a) -> IO CInt
fontGetWeightString :: Font a -> IO (String)
fontGetWeightString _obj
= withManagedStringResult $
withObjectRef "fontGetWeightString" _obj $ \cobj__obj ->
wxFont_GetWeightString cobj__obj
foreign import ccall "wxFont_GetWeightString" wxFont_GetWeightString :: Ptr (TFont a) -> IO (Ptr (TWxString ()))
fontIsOk :: Font a -> IO Bool
fontIsOk _obj
= withBoolResult $
withObjectRef "fontIsOk" _obj $ \cobj__obj ->
wxFont_IsOk cobj__obj
foreign import ccall "wxFont_IsOk" wxFont_IsOk :: Ptr (TFont a) -> IO CBool
fontIsStatic :: Font a -> IO Bool
fontIsStatic self
= withBoolResult $
withObjectPtr self $ \cobj_self ->
wxFont_IsStatic cobj_self
foreign import ccall "wxFont_IsStatic" wxFont_IsStatic :: Ptr (TFont a) -> IO CBool
fontMapperCreate :: IO (FontMapper ())
fontMapperCreate
= withObjectResult $
wxFontMapper_Create
foreign import ccall "wxFontMapper_Create" wxFontMapper_Create :: IO (Ptr (TFontMapper ()))
fontMapperGetAltForEncoding :: FontMapper a -> Int -> Ptr c -> String -> IO Bool
fontMapperGetAltForEncoding _obj encoding altencoding _buf
= withBoolResult $
withObjectRef "fontMapperGetAltForEncoding" _obj $ \cobj__obj ->
withStringPtr _buf $ \cobj__buf ->
wxFontMapper_GetAltForEncoding cobj__obj (toCInt encoding) altencoding cobj__buf
foreign import ccall "wxFontMapper_GetAltForEncoding" wxFontMapper_GetAltForEncoding :: Ptr (TFontMapper a) -> CInt -> Ptr c -> Ptr (TWxString d) -> IO CBool
fontMapperIsEncodingAvailable :: FontMapper a -> Int -> String -> IO Bool
fontMapperIsEncodingAvailable _obj encoding _buf
= withBoolResult $
withObjectRef "fontMapperIsEncodingAvailable" _obj $ \cobj__obj ->
withStringPtr _buf $ \cobj__buf ->
wxFontMapper_IsEncodingAvailable cobj__obj (toCInt encoding) cobj__buf
foreign import ccall "wxFontMapper_IsEncodingAvailable" wxFontMapper_IsEncodingAvailable :: Ptr (TFontMapper a) -> CInt -> Ptr (TWxString c) -> IO CBool
fontSafeDelete :: Font a -> IO ()
fontSafeDelete self
= withObjectPtr self $ \cobj_self ->
wxFont_SafeDelete cobj_self
foreign import ccall "wxFont_SafeDelete" wxFont_SafeDelete :: Ptr (TFont a) -> IO ()
fontSetDefaultEncoding :: Font a -> Int -> IO ()
fontSetDefaultEncoding _obj encoding
= withObjectRef "fontSetDefaultEncoding" _obj $ \cobj__obj ->
wxFont_SetDefaultEncoding cobj__obj (toCInt encoding)
foreign import ccall "wxFont_SetDefaultEncoding" wxFont_SetDefaultEncoding :: Ptr (TFont a) -> CInt -> IO ()
fontSetEncoding :: Font a -> Int -> IO ()
fontSetEncoding _obj encoding
= withObjectRef "fontSetEncoding" _obj $ \cobj__obj ->
wxFont_SetEncoding cobj__obj (toCInt encoding)
foreign import ccall "wxFont_SetEncoding" wxFont_SetEncoding :: Ptr (TFont a) -> CInt -> IO ()
fontSetFaceName :: Font a -> String -> IO ()
fontSetFaceName _obj faceName
= withObjectRef "fontSetFaceName" _obj $ \cobj__obj ->
withStringPtr faceName $ \cobj_faceName ->
wxFont_SetFaceName cobj__obj cobj_faceName
foreign import ccall "wxFont_SetFaceName" wxFont_SetFaceName :: Ptr (TFont a) -> Ptr (TWxString b) -> IO ()
fontSetFamily :: Font a -> Int -> IO ()
fontSetFamily _obj family
= withObjectRef "fontSetFamily" _obj $ \cobj__obj ->
wxFont_SetFamily cobj__obj (toCInt family)
foreign import ccall "wxFont_SetFamily" wxFont_SetFamily :: Ptr (TFont a) -> CInt -> IO ()
fontSetPointSize :: Font a -> Int -> IO ()
fontSetPointSize _obj pointSize
= withObjectRef "fontSetPointSize" _obj $ \cobj__obj ->
wxFont_SetPointSize cobj__obj (toCInt pointSize)
foreign import ccall "wxFont_SetPointSize" wxFont_SetPointSize :: Ptr (TFont a) -> CInt -> IO ()
fontSetStyle :: Font a -> Int -> IO ()
fontSetStyle _obj style
= withObjectRef "fontSetStyle" _obj $ \cobj__obj ->
wxFont_SetStyle cobj__obj (toCInt style)
foreign import ccall "wxFont_SetStyle" wxFont_SetStyle :: Ptr (TFont a) -> CInt -> IO ()
fontSetUnderlined :: Font a -> Int -> IO ()
fontSetUnderlined _obj underlined
= withObjectRef "fontSetUnderlined" _obj $ \cobj__obj ->
wxFont_SetUnderlined cobj__obj (toCInt underlined)
foreign import ccall "wxFont_SetUnderlined" wxFont_SetUnderlined :: Ptr (TFont a) -> CInt -> IO ()
fontSetWeight :: Font a -> Int -> IO ()
fontSetWeight _obj weight
= withObjectRef "fontSetWeight" _obj $ \cobj__obj ->
wxFont_SetWeight cobj__obj (toCInt weight)
foreign import ccall "wxFont_SetWeight" wxFont_SetWeight :: Ptr (TFont a) -> CInt -> IO ()
frameCentre :: Frame a -> Int -> IO ()
frameCentre self orientation
= withObjectRef "frameCentre" self $ \cobj_self ->
wxFrame_Centre cobj_self (toCInt orientation)
foreign import ccall "wxFrame_Centre" wxFrame_Centre :: Ptr (TFrame a) -> CInt -> IO ()
frameCreate :: Window a -> Id -> String -> Rect -> Style -> IO (Frame ())
frameCreate _prt _id _txt _lfttopwdthgt _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withStringPtr _txt $ \cobj__txt ->
wxFrame_Create cobj__prt (toCInt _id) cobj__txt (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) (toCInt _stl)
foreign import ccall "wxFrame_Create" wxFrame_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TFrame ()))
frameCreateStatusBar :: Frame a -> Int -> Int -> IO (StatusBar ())
frameCreateStatusBar _obj number style
= withObjectResult $
withObjectRef "frameCreateStatusBar" _obj $ \cobj__obj ->
wxFrame_CreateStatusBar cobj__obj (toCInt number) (toCInt style)
foreign import ccall "wxFrame_CreateStatusBar" wxFrame_CreateStatusBar :: Ptr (TFrame a) -> CInt -> CInt -> IO (Ptr (TStatusBar ()))
frameCreateToolBar :: Frame a -> Int -> IO (ToolBar ())
frameCreateToolBar _obj style
= withObjectResult $
withObjectRef "frameCreateToolBar" _obj $ \cobj__obj ->
wxFrame_CreateToolBar cobj__obj (toCInt style)
foreign import ccall "wxFrame_CreateToolBar" wxFrame_CreateToolBar :: Ptr (TFrame a) -> CInt -> IO (Ptr (TToolBar ()))
frameGetClientAreaOriginleft :: Frame a -> IO Int
frameGetClientAreaOriginleft _obj
= withIntResult $
withObjectRef "frameGetClientAreaOriginleft" _obj $ \cobj__obj ->
wxFrame_GetClientAreaOrigin_left cobj__obj
foreign import ccall "wxFrame_GetClientAreaOrigin_left" wxFrame_GetClientAreaOrigin_left :: Ptr (TFrame a) -> IO CInt
frameGetClientAreaOrigintop :: Frame a -> IO Int
frameGetClientAreaOrigintop _obj
= withIntResult $
withObjectRef "frameGetClientAreaOrigintop" _obj $ \cobj__obj ->
wxFrame_GetClientAreaOrigin_top cobj__obj
foreign import ccall "wxFrame_GetClientAreaOrigin_top" wxFrame_GetClientAreaOrigin_top :: Ptr (TFrame a) -> IO CInt
frameGetMenuBar :: Frame a -> IO (MenuBar ())
frameGetMenuBar _obj
= withObjectResult $
withObjectRef "frameGetMenuBar" _obj $ \cobj__obj ->
wxFrame_GetMenuBar cobj__obj
foreign import ccall "wxFrame_GetMenuBar" wxFrame_GetMenuBar :: Ptr (TFrame a) -> IO (Ptr (TMenuBar ()))
frameGetStatusBar :: Frame a -> IO (StatusBar ())
frameGetStatusBar _obj
= withObjectResult $
withObjectRef "frameGetStatusBar" _obj $ \cobj__obj ->
wxFrame_GetStatusBar cobj__obj
foreign import ccall "wxFrame_GetStatusBar" wxFrame_GetStatusBar :: Ptr (TFrame a) -> IO (Ptr (TStatusBar ()))
frameGetTitle :: Frame a -> IO (String)
frameGetTitle _obj
= withManagedStringResult $
withObjectRef "frameGetTitle" _obj $ \cobj__obj ->
wxFrame_GetTitle cobj__obj
foreign import ccall "wxFrame_GetTitle" wxFrame_GetTitle :: Ptr (TFrame a) -> IO (Ptr (TWxString ()))
frameGetToolBar :: Frame a -> IO (ToolBar ())
frameGetToolBar _obj
= withObjectResult $
withObjectRef "frameGetToolBar" _obj $ \cobj__obj ->
wxFrame_GetToolBar cobj__obj
foreign import ccall "wxFrame_GetToolBar" wxFrame_GetToolBar :: Ptr (TFrame a) -> IO (Ptr (TToolBar ()))
frameIsFullScreen :: Frame a -> IO Bool
frameIsFullScreen self
= withBoolResult $
withObjectRef "frameIsFullScreen" self $ \cobj_self ->
wxFrame_IsFullScreen cobj_self
foreign import ccall "wxFrame_IsFullScreen" wxFrame_IsFullScreen :: Ptr (TFrame a) -> IO CBool
frameRestore :: Frame a -> IO ()
frameRestore _obj
= withObjectRef "frameRestore" _obj $ \cobj__obj ->
wxFrame_Restore cobj__obj
foreign import ccall "wxFrame_Restore" wxFrame_Restore :: Ptr (TFrame a) -> IO ()
frameSetMenuBar :: Frame a -> MenuBar b -> IO ()
frameSetMenuBar _obj menubar
= withObjectRef "frameSetMenuBar" _obj $ \cobj__obj ->
withObjectPtr menubar $ \cobj_menubar ->
wxFrame_SetMenuBar cobj__obj cobj_menubar
foreign import ccall "wxFrame_SetMenuBar" wxFrame_SetMenuBar :: Ptr (TFrame a) -> Ptr (TMenuBar b) -> IO ()
frameSetShape :: Frame a -> Region b -> IO Bool
frameSetShape self region
= withBoolResult $
withObjectRef "frameSetShape" self $ \cobj_self ->
withObjectPtr region $ \cobj_region ->
wxFrame_SetShape cobj_self cobj_region
foreign import ccall "wxFrame_SetShape" wxFrame_SetShape :: Ptr (TFrame a) -> Ptr (TRegion b) -> IO CBool
frameSetStatusBar :: Frame a -> StatusBar b -> IO ()
frameSetStatusBar _obj statBar
= withObjectRef "frameSetStatusBar" _obj $ \cobj__obj ->
withObjectPtr statBar $ \cobj_statBar ->
wxFrame_SetStatusBar cobj__obj cobj_statBar
foreign import ccall "wxFrame_SetStatusBar" wxFrame_SetStatusBar :: Ptr (TFrame a) -> Ptr (TStatusBar b) -> IO ()
frameSetStatusText :: Frame a -> String -> Int -> IO ()
frameSetStatusText _obj _txt _number
= withObjectRef "frameSetStatusText" _obj $ \cobj__obj ->
withStringPtr _txt $ \cobj__txt ->
wxFrame_SetStatusText cobj__obj cobj__txt (toCInt _number)
foreign import ccall "wxFrame_SetStatusText" wxFrame_SetStatusText :: Ptr (TFrame a) -> Ptr (TWxString b) -> CInt -> IO ()
frameSetStatusWidths :: Frame a -> Int -> Ptr c -> IO ()
frameSetStatusWidths _obj _n _widthsfield
= withObjectRef "frameSetStatusWidths" _obj $ \cobj__obj ->
wxFrame_SetStatusWidths cobj__obj (toCInt _n) _widthsfield
foreign import ccall "wxFrame_SetStatusWidths" wxFrame_SetStatusWidths :: Ptr (TFrame a) -> CInt -> Ptr c -> IO ()
frameSetTitle :: Frame a -> String -> IO ()
frameSetTitle _frame _txt
= withObjectRef "frameSetTitle" _frame $ \cobj__frame ->
withStringPtr _txt $ \cobj__txt ->
wxFrame_SetTitle cobj__frame cobj__txt
foreign import ccall "wxFrame_SetTitle" wxFrame_SetTitle :: Ptr (TFrame a) -> Ptr (TWxString b) -> IO ()
frameSetToolBar :: Frame a -> ToolBar b -> IO ()
frameSetToolBar _obj _toolbar
= withObjectRef "frameSetToolBar" _obj $ \cobj__obj ->
withObjectPtr _toolbar $ \cobj__toolbar ->
wxFrame_SetToolBar cobj__obj cobj__toolbar
foreign import ccall "wxFrame_SetToolBar" wxFrame_SetToolBar :: Ptr (TFrame a) -> Ptr (TToolBar b) -> IO ()
frameShowFullScreen :: Frame a -> Bool -> Int -> IO Bool
frameShowFullScreen self show style
= withBoolResult $
withObjectRef "frameShowFullScreen" self $ \cobj_self ->
wxFrame_ShowFullScreen cobj_self (toCBool show) (toCInt style)
foreign import ccall "wxFrame_ShowFullScreen" wxFrame_ShowFullScreen :: Ptr (TFrame a) -> CBool -> CInt -> IO CBool
gaugeCreate :: Window a -> Id -> Int -> Rect -> Style -> IO (Gauge ())
gaugeCreate _prt _id _rng _lfttopwdthgt _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
wxGauge_Create cobj__prt (toCInt _id) (toCInt _rng) (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) (toCInt _stl)
foreign import ccall "wxGauge_Create" wxGauge_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TGauge ()))
gaugeGetBezelFace :: Gauge a -> IO Int
gaugeGetBezelFace _obj
= withIntResult $
withObjectRef "gaugeGetBezelFace" _obj $ \cobj__obj ->
wxGauge_GetBezelFace cobj__obj
foreign import ccall "wxGauge_GetBezelFace" wxGauge_GetBezelFace :: Ptr (TGauge a) -> IO CInt
gaugeGetRange :: Gauge a -> IO Int
gaugeGetRange _obj
= withIntResult $
withObjectRef "gaugeGetRange" _obj $ \cobj__obj ->
wxGauge_GetRange cobj__obj
foreign import ccall "wxGauge_GetRange" wxGauge_GetRange :: Ptr (TGauge a) -> IO CInt
gaugeGetShadowWidth :: Gauge a -> IO Int
gaugeGetShadowWidth _obj
= withIntResult $
withObjectRef "gaugeGetShadowWidth" _obj $ \cobj__obj ->
wxGauge_GetShadowWidth cobj__obj
foreign import ccall "wxGauge_GetShadowWidth" wxGauge_GetShadowWidth :: Ptr (TGauge a) -> IO CInt
gaugeGetValue :: Gauge a -> IO Int
gaugeGetValue _obj
= withIntResult $
withObjectRef "gaugeGetValue" _obj $ \cobj__obj ->
wxGauge_GetValue cobj__obj
foreign import ccall "wxGauge_GetValue" wxGauge_GetValue :: Ptr (TGauge a) -> IO CInt
gaugeSetBezelFace :: Gauge a -> Int -> IO ()
gaugeSetBezelFace _obj w
= withObjectRef "gaugeSetBezelFace" _obj $ \cobj__obj ->
wxGauge_SetBezelFace cobj__obj (toCInt w)
foreign import ccall "wxGauge_SetBezelFace" wxGauge_SetBezelFace :: Ptr (TGauge a) -> CInt -> IO ()
gaugeSetRange :: Gauge a -> Int -> IO ()
gaugeSetRange _obj r
= withObjectRef "gaugeSetRange" _obj $ \cobj__obj ->
wxGauge_SetRange cobj__obj (toCInt r)
foreign import ccall "wxGauge_SetRange" wxGauge_SetRange :: Ptr (TGauge a) -> CInt -> IO ()
gaugeSetShadowWidth :: Gauge a -> Int -> IO ()
gaugeSetShadowWidth _obj w
= withObjectRef "gaugeSetShadowWidth" _obj $ \cobj__obj ->
wxGauge_SetShadowWidth cobj__obj (toCInt w)
foreign import ccall "wxGauge_SetShadowWidth" wxGauge_SetShadowWidth :: Ptr (TGauge a) -> CInt -> IO ()
gaugeSetValue :: Gauge a -> Int -> IO ()
gaugeSetValue _obj pos
= withObjectRef "gaugeSetValue" _obj $ \cobj__obj ->
wxGauge_SetValue cobj__obj (toCInt pos)
foreign import ccall "wxGauge_SetValue" wxGauge_SetValue :: Ptr (TGauge a) -> CInt -> IO ()
gcdcCreate :: WindowDC a -> IO (GCDC ())
gcdcCreate dc
= withObjectResult $
withObjectPtr dc $ \cobj_dc ->
wxGcdc_Create cobj_dc
foreign import ccall "wxGcdc_Create" wxGcdc_Create :: Ptr (TWindowDC a) -> IO (Ptr (TGCDC ()))
gcdcCreateFromMemory :: MemoryDC a -> IO (GCDC ())
gcdcCreateFromMemory dc
= withObjectResult $
withObjectPtr dc $ \cobj_dc ->
wxGcdc_CreateFromMemory cobj_dc
foreign import ccall "wxGcdc_CreateFromMemory" wxGcdc_CreateFromMemory :: Ptr (TMemoryDC a) -> IO (Ptr (TGCDC ()))
gcdcCreateFromPrinter :: PrinterDC a -> IO (GCDC ())
gcdcCreateFromPrinter dc
= withObjectResult $
withObjectPtr dc $ \cobj_dc ->
wxGcdc_CreateFromPrinter cobj_dc
foreign import ccall "wxGcdc_CreateFromPrinter" wxGcdc_CreateFromPrinter :: Ptr (TPrinterDC a) -> IO (Ptr (TGCDC ()))
gcdcDelete :: GCDC a -> IO ()
gcdcDelete self
= withObjectPtr self $ \cobj_self ->
wxGcdc_Delete cobj_self
foreign import ccall "wxGcdc_Delete" wxGcdc_Delete :: Ptr (TGCDC a) -> IO ()
gcdcGetGraphicsContext :: GCDC a -> IO (GraphicsContext ())
gcdcGetGraphicsContext self
= withObjectResult $
withObjectPtr self $ \cobj_self ->
wxGcdc_GetGraphicsContext cobj_self
foreign import ccall "wxGcdc_GetGraphicsContext" wxGcdc_GetGraphicsContext :: Ptr (TGCDC a) -> IO (Ptr (TGraphicsContext ()))
gcdcSetGraphicsContext :: GCDC a -> GraphicsContext b -> IO ()
gcdcSetGraphicsContext self gc
= withObjectPtr self $ \cobj_self ->
withObjectPtr gc $ \cobj_gc ->
wxGcdc_SetGraphicsContext cobj_self cobj_gc
foreign import ccall "wxGcdc_SetGraphicsContext" wxGcdc_SetGraphicsContext :: Ptr (TGCDC a) -> Ptr (TGraphicsContext b) -> IO ()
genericDragIcon :: Icon a -> IO (GenericDragImage ())
genericDragIcon icon
= withObjectResult $
withObjectPtr icon $ \cobj_icon ->
wx_wxGenericDragIcon cobj_icon
foreign import ccall "wxGenericDragIcon" wx_wxGenericDragIcon :: Ptr (TIcon a) -> IO (Ptr (TGenericDragImage ()))
genericDragImageCreate :: Cursor a -> IO (GenericDragImage ())
genericDragImageCreate cursor
= withObjectResult $
withObjectPtr cursor $ \cobj_cursor ->
wxGenericDragImage_Create cobj_cursor
foreign import ccall "wxGenericDragImage_Create" wxGenericDragImage_Create :: Ptr (TCursor a) -> IO (Ptr (TGenericDragImage ()))
genericDragImageDoDrawImage :: GenericDragImage a -> DC b -> Point -> IO Bool
genericDragImageDoDrawImage self dc xy
= withBoolResult $
withObjectRef "genericDragImageDoDrawImage" self $ \cobj_self ->
withObjectPtr dc $ \cobj_dc ->
wxGenericDragImage_DoDrawImage cobj_self cobj_dc (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxGenericDragImage_DoDrawImage" wxGenericDragImage_DoDrawImage :: Ptr (TGenericDragImage a) -> Ptr (TDC b) -> CInt -> CInt -> IO CBool
genericDragImageGetImageRect :: GenericDragImage a -> Point -> IO (Rect)
genericDragImageGetImageRect self xposypos
= withWxRectResult $
withObjectRef "genericDragImageGetImageRect" self $ \cobj_self ->
wxGenericDragImage_GetImageRect cobj_self (toCIntPointX xposypos) (toCIntPointY xposypos)
foreign import ccall "wxGenericDragImage_GetImageRect" wxGenericDragImage_GetImageRect :: Ptr (TGenericDragImage a) -> CInt -> CInt -> IO (Ptr (TWxRect ()))
genericDragImageUpdateBackingFromWindow :: GenericDragImage a -> DC b -> MemoryDC c -> Rect -> Rect -> IO Bool
genericDragImageUpdateBackingFromWindow self windowDC destDC xywh xdestydestwidthheight
= withBoolResult $
withObjectRef "genericDragImageUpdateBackingFromWindow" self $ \cobj_self ->
withObjectPtr windowDC $ \cobj_windowDC ->
withObjectPtr destDC $ \cobj_destDC ->
wxGenericDragImage_UpdateBackingFromWindow cobj_self cobj_windowDC cobj_destDC (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) (toCIntRectX xdestydestwidthheight) (toCIntRectY xdestydestwidthheight)(toCIntRectW xdestydestwidthheight) (toCIntRectH xdestydestwidthheight)
foreign import ccall "wxGenericDragImage_UpdateBackingFromWindow" wxGenericDragImage_UpdateBackingFromWindow :: Ptr (TGenericDragImage a) -> Ptr (TDC b) -> Ptr (TMemoryDC c) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO CBool
genericDragListItem :: ListCtrl a -> Id -> IO (GenericDragImage ())
genericDragListItem treeCtrl id
= withObjectResult $
withObjectPtr treeCtrl $ \cobj_treeCtrl ->
wx_wxGenericDragListItem cobj_treeCtrl (toCInt id)
foreign import ccall "wxGenericDragListItem" wx_wxGenericDragListItem :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TGenericDragImage ()))
genericDragString :: String -> IO (GenericDragImage ())
genericDragString test
= withObjectResult $
withStringPtr test $ \cobj_test ->
wx_wxGenericDragString cobj_test
foreign import ccall "wxGenericDragString" wx_wxGenericDragString :: Ptr (TWxString a) -> IO (Ptr (TGenericDragImage ()))
genericDragTreeItem :: TreeCtrl a -> TreeItem -> IO (GenericDragImage ())
genericDragTreeItem treeCtrl id
= withObjectResult $
withObjectPtr treeCtrl $ \cobj_treeCtrl ->
withTreeItemIdPtr id $ \cobj_id ->
wx_wxGenericDragTreeItem cobj_treeCtrl cobj_id
foreign import ccall "wxGenericDragTreeItem" wx_wxGenericDragTreeItem :: Ptr (TTreeCtrl a) -> Ptr (TTreeItemId b) -> IO (Ptr (TGenericDragImage ()))
getApplicationDir :: IO (String)
getApplicationDir
= withManagedStringResult $
wx_wxGetApplicationDir
foreign import ccall "wxGetApplicationDir" wx_wxGetApplicationDir :: IO (Ptr (TWxString ()))
getApplicationPath :: IO (String)
getApplicationPath
= withManagedStringResult $
wx_wxGetApplicationPath
foreign import ccall "wxGetApplicationPath" wx_wxGetApplicationPath :: IO (Ptr (TWxString ()))
getColourFromUser :: Window a -> Color -> IO (Color)
getColourFromUser parent colInit
= withRefColour $ \pref ->
withObjectPtr parent $ \cobj_parent ->
withColourPtr colInit $ \cobj_colInit ->
wx_wxGetColourFromUser cobj_parent cobj_colInit pref
foreign import ccall "wxGetColourFromUser" wx_wxGetColourFromUser :: Ptr (TWindow a) -> Ptr (TColour b) -> Ptr (TColour ()) -> IO ()
getELJLocale :: IO (WXCLocale ())
getELJLocale
= withObjectResult $
wx_wxGetELJLocale
foreign import ccall "wxGetELJLocale" wx_wxGetELJLocale :: IO (Ptr (TWXCLocale ()))
getELJTranslation :: String -> IO (Ptr ())
getELJTranslation sz
= withCWString sz $ \cstr_sz ->
wx_wxGetELJTranslation cstr_sz
foreign import ccall "wxGetELJTranslation" wx_wxGetELJTranslation :: CWString -> IO (Ptr ())
getFontFromUser :: Window a -> Font b -> IO (Font ())
getFontFromUser parent fontInit
= withRefFont $ \pref ->
withObjectPtr parent $ \cobj_parent ->
withObjectPtr fontInit $ \cobj_fontInit ->
wx_wxGetFontFromUser cobj_parent cobj_fontInit pref
foreign import ccall "wxGetFontFromUser" wx_wxGetFontFromUser :: Ptr (TWindow a) -> Ptr (TFont b) -> Ptr (TFont ()) -> IO ()
getNumberFromUser :: String -> String -> String -> Int -> Int -> Int -> Window g -> Point -> IO Int
getNumberFromUser message prompt caption value min max parent xy
= withIntResult $
withStringPtr message $ \cobj_message ->
withStringPtr prompt $ \cobj_prompt ->
withStringPtr caption $ \cobj_caption ->
withObjectPtr parent $ \cobj_parent ->
wx_wxGetNumberFromUser cobj_message cobj_prompt cobj_caption (toCInt value) (toCInt min) (toCInt max) cobj_parent (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxGetNumberFromUser" wx_wxGetNumberFromUser :: Ptr (TWxString a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> Ptr (TWindow g) -> CInt -> CInt -> IO CInt
getPasswordFromUser :: String -> String -> String -> Window d -> IO String
getPasswordFromUser message caption defaultText parent
= withWStringResult $ \buffer ->
withCWString message $ \cstr_message ->
withCWString caption $ \cstr_caption ->
withCWString defaultText $ \cstr_defaultText ->
withObjectPtr parent $ \cobj_parent ->
wx_wxGetPasswordFromUser cstr_message cstr_caption cstr_defaultText cobj_parent buffer
foreign import ccall "wxGetPasswordFromUser" wx_wxGetPasswordFromUser :: CWString -> CWString -> CWString -> Ptr (TWindow d) -> Ptr CWchar -> IO CInt
getTextFromUser :: String -> String -> String -> Window d -> Point -> Bool -> IO String
getTextFromUser message caption defaultText parent xy center
= withWStringResult $ \buffer ->
withCWString message $ \cstr_message ->
withCWString caption $ \cstr_caption ->
withCWString defaultText $ \cstr_defaultText ->
withObjectPtr parent $ \cobj_parent ->
wx_wxGetTextFromUser cstr_message cstr_caption cstr_defaultText cobj_parent (toCIntPointX xy) (toCIntPointY xy) (toCBool center) buffer
foreign import ccall "wxGetTextFromUser" wx_wxGetTextFromUser :: CWString -> CWString -> CWString -> Ptr (TWindow d) -> CInt -> CInt -> CBool -> Ptr CWchar -> IO CInt
glCanvasCreate :: Window a -> Int -> Ptr CInt -> Rect -> Style -> String -> Palette g -> IO (GLCanvas ())
glCanvasCreate parent windowID attributes xywh _stl title palette
= withObjectResult $
withObjectPtr parent $ \cobj_parent ->
withStringPtr title $ \cobj_title ->
withObjectPtr palette $ \cobj_palette ->
wxGLCanvas_Create cobj_parent (toCInt windowID) attributes (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) (toCInt _stl) cobj_title cobj_palette
foreign import ccall "wxGLCanvas_Create" wxGLCanvas_Create :: Ptr (TWindow a) -> CInt -> Ptr CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (TWxString f) -> Ptr (TPalette g) -> IO (Ptr (TGLCanvas ()))
glCanvasIsDisplaySupported :: Ptr CInt -> IO Bool
glCanvasIsDisplaySupported attributes
= withBoolResult $
wxGLCanvas_IsDisplaySupported attributes
foreign import ccall "wxGLCanvas_IsDisplaySupported" wxGLCanvas_IsDisplaySupported :: Ptr CInt -> IO CBool
glCanvasIsExtensionSupported :: String -> IO Bool
glCanvasIsExtensionSupported extension
= withBoolResult $
withStringPtr extension $ \cobj_extension ->
wxGLCanvas_IsExtensionSupported cobj_extension
foreign import ccall "wxGLCanvas_IsExtensionSupported" wxGLCanvas_IsExtensionSupported :: Ptr (TWxString a) -> IO CBool
glCanvasSetColour :: GLCanvas a -> Color -> IO Bool
glCanvasSetColour self colour
= withBoolResult $
withObjectRef "glCanvasSetColour" self $ \cobj_self ->
withColourPtr colour $ \cobj_colour ->
wxGLCanvas_SetColour cobj_self cobj_colour
foreign import ccall "wxGLCanvas_SetColour" wxGLCanvas_SetColour :: Ptr (TGLCanvas a) -> Ptr (TColour b) -> IO CBool
glCanvasSetCurrent :: GLCanvas a -> GLContext b -> IO Bool
glCanvasSetCurrent self ctxt
= withBoolResult $
withObjectRef "glCanvasSetCurrent" self $ \cobj_self ->
withObjectPtr ctxt $ \cobj_ctxt ->
wxGLCanvas_SetCurrent cobj_self cobj_ctxt
foreign import ccall "wxGLCanvas_SetCurrent" wxGLCanvas_SetCurrent :: Ptr (TGLCanvas a) -> Ptr (TGLContext b) -> IO CBool
glCanvasSwapBuffers :: GLCanvas a -> IO Bool
glCanvasSwapBuffers self
= withBoolResult $
withObjectRef "glCanvasSwapBuffers" self $ \cobj_self ->
wxGLCanvas_SwapBuffers cobj_self
foreign import ccall "wxGLCanvas_SwapBuffers" wxGLCanvas_SwapBuffers :: Ptr (TGLCanvas a) -> IO CBool
glContextCreate :: GLCanvas a -> GLContext b -> IO (GLContext ())
glContextCreate win other
= withObjectResult $
withObjectPtr win $ \cobj_win ->
withObjectPtr other $ \cobj_other ->
wxGLContext_Create cobj_win cobj_other
foreign import ccall "wxGLContext_Create" wxGLContext_Create :: Ptr (TGLCanvas a) -> Ptr (TGLContext b) -> IO (Ptr (TGLContext ()))
glContextCreateFromNull :: GLCanvas a -> IO (GLContext ())
glContextCreateFromNull win
= withObjectResult $
withObjectPtr win $ \cobj_win ->
wxGLContext_CreateFromNull cobj_win
foreign import ccall "wxGLContext_CreateFromNull" wxGLContext_CreateFromNull :: Ptr (TGLCanvas a) -> IO (Ptr (TGLContext ()))
glContextSetCurrent :: GLContext a -> GLCanvas b -> IO Bool
glContextSetCurrent self win
= withBoolResult $
withObjectRef "glContextSetCurrent" self $ \cobj_self ->
withObjectPtr win $ \cobj_win ->
wxGLContext_SetCurrent cobj_self cobj_win
foreign import ccall "wxGLContext_SetCurrent" wxGLContext_SetCurrent :: Ptr (TGLContext a) -> Ptr (TGLCanvas b) -> IO CBool
graphicsBrushCreate :: IO (GraphicsBrush ())
graphicsBrushCreate
= withObjectResult $
wxGraphicsBrush_Create
foreign import ccall "wxGraphicsBrush_Create" wxGraphicsBrush_Create :: IO (Ptr (TGraphicsBrush ()))
graphicsBrushDelete :: GraphicsBrush a -> IO ()
graphicsBrushDelete
= objectDelete
graphicsContextClip :: GraphicsContext a -> Region b -> IO ()
graphicsContextClip self region
= withObjectRef "graphicsContextClip" self $ \cobj_self ->
withObjectPtr region $ \cobj_region ->
wxGraphicsContext_Clip cobj_self cobj_region
foreign import ccall "wxGraphicsContext_Clip" wxGraphicsContext_Clip :: Ptr (TGraphicsContext a) -> Ptr (TRegion b) -> IO ()
graphicsContextClipByRectangle :: GraphicsContext a -> (Rect2D Double) -> IO ()
graphicsContextClipByRectangle self xywh
= withObjectRef "graphicsContextClipByRectangle" self $ \cobj_self ->
wxGraphicsContext_ClipByRectangle cobj_self (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)
foreign import ccall "wxGraphicsContext_ClipByRectangle" wxGraphicsContext_ClipByRectangle :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
graphicsContextConcatTransform :: GraphicsContext a -> GraphicsMatrix b -> IO ()
graphicsContextConcatTransform self path
= withObjectRef "graphicsContextConcatTransform" self $ \cobj_self ->
withObjectPtr path $ \cobj_path ->
wxGraphicsContext_ConcatTransform cobj_self cobj_path
foreign import ccall "wxGraphicsContext_ConcatTransform" wxGraphicsContext_ConcatTransform :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsMatrix b) -> IO ()
graphicsContextCreate :: WindowDC a -> IO (GraphicsContext ())
graphicsContextCreate dc
= withObjectResult $
withObjectPtr dc $ \cobj_dc ->
wxGraphicsContext_Create cobj_dc
foreign import ccall "wxGraphicsContext_Create" wxGraphicsContext_Create :: Ptr (TWindowDC a) -> IO (Ptr (TGraphicsContext ()))
graphicsContextCreateDefaultMatrix :: GraphicsContext a -> IO (GraphicsMatrix ())
graphicsContextCreateDefaultMatrix self
= withObjectResult $
withObjectRef "graphicsContextCreateDefaultMatrix" self $ \cobj_self ->
wxGraphicsContext_CreateDefaultMatrix cobj_self
foreign import ccall "wxGraphicsContext_CreateDefaultMatrix" wxGraphicsContext_CreateDefaultMatrix :: Ptr (TGraphicsContext a) -> IO (Ptr (TGraphicsMatrix ()))
graphicsContextCreateFromMemory :: MemoryDC a -> IO (GraphicsContext ())
graphicsContextCreateFromMemory dc
= withObjectResult $
withObjectPtr dc $ \cobj_dc ->
wxGraphicsContext_CreateFromMemory cobj_dc
foreign import ccall "wxGraphicsContext_CreateFromMemory" wxGraphicsContext_CreateFromMemory :: Ptr (TMemoryDC a) -> IO (Ptr (TGraphicsContext ()))
graphicsContextCreateFromNative :: GraphicsContext a -> IO (GraphicsContext ())
graphicsContextCreateFromNative context
= withObjectResult $
withObjectRef "graphicsContextCreateFromNative" context $ \cobj_context ->
wxGraphicsContext_CreateFromNative cobj_context
foreign import ccall "wxGraphicsContext_CreateFromNative" wxGraphicsContext_CreateFromNative :: Ptr (TGraphicsContext a) -> IO (Ptr (TGraphicsContext ()))
graphicsContextCreateFromNativeWindow :: Window a -> IO (GraphicsContext ())
graphicsContextCreateFromNativeWindow window
= withObjectResult $
withObjectPtr window $ \cobj_window ->
wxGraphicsContext_CreateFromNativeWindow cobj_window
foreign import ccall "wxGraphicsContext_CreateFromNativeWindow" wxGraphicsContext_CreateFromNativeWindow :: Ptr (TWindow a) -> IO (Ptr (TGraphicsContext ()))
graphicsContextCreateFromPrinter :: PrinterDC a -> IO (GraphicsContext ())
graphicsContextCreateFromPrinter dc
= withObjectResult $
withObjectPtr dc $ \cobj_dc ->
wxGraphicsContext_CreateFromPrinter cobj_dc
foreign import ccall "wxGraphicsContext_CreateFromPrinter" wxGraphicsContext_CreateFromPrinter :: Ptr (TPrinterDC a) -> IO (Ptr (TGraphicsContext ()))
graphicsContextCreateFromWindow :: Window a -> IO (GraphicsContext ())
graphicsContextCreateFromWindow window
= withObjectResult $
withObjectPtr window $ \cobj_window ->
wxGraphicsContext_CreateFromWindow cobj_window
foreign import ccall "wxGraphicsContext_CreateFromWindow" wxGraphicsContext_CreateFromWindow :: Ptr (TWindow a) -> IO (Ptr (TGraphicsContext ()))
graphicsContextCreateMatrix :: GraphicsContext a -> Double -> Double -> Double -> Double -> Double -> Double -> IO (GraphicsMatrix ())
graphicsContextCreateMatrix self a b c d tx ty
= withObjectResult $
withObjectRef "graphicsContextCreateMatrix" self $ \cobj_self ->
wxGraphicsContext_CreateMatrix cobj_self a b c d tx ty
foreign import ccall "wxGraphicsContext_CreateMatrix" wxGraphicsContext_CreateMatrix :: Ptr (TGraphicsContext a) -> Double -> Double -> Double -> Double -> Double -> Double -> IO (Ptr (TGraphicsMatrix ()))
graphicsContextCreatePath :: GraphicsContext a -> IO (GraphicsPath ())
graphicsContextCreatePath self
= withObjectResult $
withObjectRef "graphicsContextCreatePath" self $ \cobj_self ->
wxGraphicsContext_CreatePath cobj_self
foreign import ccall "wxGraphicsContext_CreatePath" wxGraphicsContext_CreatePath :: Ptr (TGraphicsContext a) -> IO (Ptr (TGraphicsPath ()))
graphicsContextDelete :: GraphicsContext a -> IO ()
graphicsContextDelete
= objectDelete
graphicsContextDrawBitmap :: GraphicsContext a -> Bitmap b -> (Rect2D Double) -> IO ()
graphicsContextDrawBitmap self bmp xywh
= withObjectRef "graphicsContextDrawBitmap" self $ \cobj_self ->
withObjectPtr bmp $ \cobj_bmp ->
wxGraphicsContext_DrawBitmap cobj_self cobj_bmp (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)
foreign import ccall "wxGraphicsContext_DrawBitmap" wxGraphicsContext_DrawBitmap :: Ptr (TGraphicsContext a) -> Ptr (TBitmap b) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
graphicsContextDrawEllipse :: GraphicsContext a -> (Rect2D Double) -> IO ()
graphicsContextDrawEllipse self xywh
= withObjectRef "graphicsContextDrawEllipse" self $ \cobj_self ->
wxGraphicsContext_DrawEllipse cobj_self (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)
foreign import ccall "wxGraphicsContext_DrawEllipse" wxGraphicsContext_DrawEllipse :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
graphicsContextDrawIcon :: GraphicsContext a -> Icon b -> (Rect2D Double) -> IO ()
graphicsContextDrawIcon self icon xywh
= withObjectRef "graphicsContextDrawIcon" self $ \cobj_self ->
withObjectPtr icon $ \cobj_icon ->
wxGraphicsContext_DrawIcon cobj_self cobj_icon (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)
foreign import ccall "wxGraphicsContext_DrawIcon" wxGraphicsContext_DrawIcon :: Ptr (TGraphicsContext a) -> Ptr (TIcon b) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
graphicsContextDrawLines :: GraphicsContext a -> Int -> Ptr c -> Ptr d -> Int -> IO ()
graphicsContextDrawLines self n x y style
= withObjectRef "graphicsContextDrawLines" self $ \cobj_self ->
wxGraphicsContext_DrawLines cobj_self (toCInt n) x y (toCInt style)
foreign import ccall "wxGraphicsContext_DrawLines" wxGraphicsContext_DrawLines :: Ptr (TGraphicsContext a) -> CInt -> Ptr c -> Ptr d -> CInt -> IO ()
graphicsContextDrawPath :: GraphicsContext a -> GraphicsPath b -> Int -> IO ()
graphicsContextDrawPath self path style
= withObjectRef "graphicsContextDrawPath" self $ \cobj_self ->
withObjectPtr path $ \cobj_path ->
wxGraphicsContext_DrawPath cobj_self cobj_path (toCInt style)
foreign import ccall "wxGraphicsContext_DrawPath" wxGraphicsContext_DrawPath :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsPath b) -> CInt -> IO ()
graphicsContextDrawRectangle :: GraphicsContext a -> (Rect2D Double) -> IO ()
graphicsContextDrawRectangle self xywh
= withObjectRef "graphicsContextDrawRectangle" self $ \cobj_self ->
wxGraphicsContext_DrawRectangle cobj_self (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)
foreign import ccall "wxGraphicsContext_DrawRectangle" wxGraphicsContext_DrawRectangle :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
graphicsContextDrawRoundedRectangle :: GraphicsContext a -> (Rect2D Double) -> Double -> IO ()
graphicsContextDrawRoundedRectangle self xywh radius
= withObjectRef "graphicsContextDrawRoundedRectangle" self $ \cobj_self ->
wxGraphicsContext_DrawRoundedRectangle cobj_self (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh) radius
foreign import ccall "wxGraphicsContext_DrawRoundedRectangle" wxGraphicsContext_DrawRoundedRectangle :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> Double -> IO ()
graphicsContextDrawText :: GraphicsContext a -> String -> (Point2 Double) -> IO ()
graphicsContextDrawText self text xy
= withObjectRef "graphicsContextDrawText" self $ \cobj_self ->
withStringPtr text $ \cobj_text ->
wxGraphicsContext_DrawText cobj_self cobj_text (toCDoublePointX xy) (toCDoublePointY xy)
foreign import ccall "wxGraphicsContext_DrawText" wxGraphicsContext_DrawText :: Ptr (TGraphicsContext a) -> Ptr (TWxString b) -> CDouble -> CDouble -> IO ()
graphicsContextDrawTextWithAngle :: GraphicsContext a -> String -> (Point2 Double) -> Double -> IO ()
graphicsContextDrawTextWithAngle self text xy radius
= withObjectRef "graphicsContextDrawTextWithAngle" self $ \cobj_self ->
withStringPtr text $ \cobj_text ->
wxGraphicsContext_DrawTextWithAngle cobj_self cobj_text (toCDoublePointX xy) (toCDoublePointY xy) radius
foreign import ccall "wxGraphicsContext_DrawTextWithAngle" wxGraphicsContext_DrawTextWithAngle :: Ptr (TGraphicsContext a) -> Ptr (TWxString b) -> CDouble -> CDouble -> Double -> IO ()
graphicsContextFillPath :: GraphicsContext a -> GraphicsPath b -> Int -> IO ()
graphicsContextFillPath self path style
= withObjectRef "graphicsContextFillPath" self $ \cobj_self ->
withObjectPtr path $ \cobj_path ->
wxGraphicsContext_FillPath cobj_self cobj_path (toCInt style)
foreign import ccall "wxGraphicsContext_FillPath" wxGraphicsContext_FillPath :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsPath b) -> CInt -> IO ()
graphicsContextGetNativeContext :: GraphicsContext a -> IO (Ptr ())
graphicsContextGetNativeContext self
= withObjectRef "graphicsContextGetNativeContext" self $ \cobj_self ->
wxGraphicsContext_GetNativeContext cobj_self
foreign import ccall "wxGraphicsContext_GetNativeContext" wxGraphicsContext_GetNativeContext :: Ptr (TGraphicsContext a) -> IO (Ptr ())
graphicsContextGetTextExtent :: GraphicsContext a -> String -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> IO ()
graphicsContextGetTextExtent self text width height descent externalLeading
= withObjectRef "graphicsContextGetTextExtent" self $ \cobj_self ->
withStringPtr text $ \cobj_text ->
wxGraphicsContext_GetTextExtent cobj_self cobj_text width height descent externalLeading
foreign import ccall "wxGraphicsContext_GetTextExtent" wxGraphicsContext_GetTextExtent :: Ptr (TGraphicsContext a) -> Ptr (TWxString b) -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> IO ()
graphicsContextPopState :: GraphicsContext a -> IO ()
graphicsContextPopState self
= withObjectRef "graphicsContextPopState" self $ \cobj_self ->
wxGraphicsContext_PopState cobj_self
foreign import ccall "wxGraphicsContext_PopState" wxGraphicsContext_PopState :: Ptr (TGraphicsContext a) -> IO ()
graphicsContextPushState :: GraphicsContext a -> IO ()
graphicsContextPushState self
= withObjectRef "graphicsContextPushState" self $ \cobj_self ->
wxGraphicsContext_PushState cobj_self
foreign import ccall "wxGraphicsContext_PushState" wxGraphicsContext_PushState :: Ptr (TGraphicsContext a) -> IO ()
graphicsContextResetClip :: GraphicsContext a -> IO ()
graphicsContextResetClip self
= withObjectRef "graphicsContextResetClip" self $ \cobj_self ->
wxGraphicsContext_ResetClip cobj_self
foreign import ccall "wxGraphicsContext_ResetClip" wxGraphicsContext_ResetClip :: Ptr (TGraphicsContext a) -> IO ()
graphicsContextRotate :: GraphicsContext a -> Double -> IO ()
graphicsContextRotate self angle
= withObjectRef "graphicsContextRotate" self $ \cobj_self ->
wxGraphicsContext_Rotate cobj_self angle
foreign import ccall "wxGraphicsContext_Rotate" wxGraphicsContext_Rotate :: Ptr (TGraphicsContext a) -> Double -> IO ()
graphicsContextScale :: GraphicsContext a -> (Size2D Double) -> IO ()
graphicsContextScale self xScaleyScale
= withObjectRef "graphicsContextScale" self $ \cobj_self ->
wxGraphicsContext_Scale cobj_self (toCDoubleSizeW xScaleyScale) (toCDoubleSizeH xScaleyScale)
foreign import ccall "wxGraphicsContext_Scale" wxGraphicsContext_Scale :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> IO ()
graphicsContextSetBrush :: GraphicsContext a -> Brush b -> IO ()
graphicsContextSetBrush self brush
= withObjectRef "graphicsContextSetBrush" self $ \cobj_self ->
withObjectPtr brush $ \cobj_brush ->
wxGraphicsContext_SetBrush cobj_self cobj_brush
foreign import ccall "wxGraphicsContext_SetBrush" wxGraphicsContext_SetBrush :: Ptr (TGraphicsContext a) -> Ptr (TBrush b) -> IO ()
graphicsContextSetFont :: GraphicsContext a -> Font b -> Color -> IO ()
graphicsContextSetFont self font colour
= withObjectRef "graphicsContextSetFont" self $ \cobj_self ->
withObjectPtr font $ \cobj_font ->
withColourPtr colour $ \cobj_colour ->
wxGraphicsContext_SetFont cobj_self cobj_font cobj_colour
foreign import ccall "wxGraphicsContext_SetFont" wxGraphicsContext_SetFont :: Ptr (TGraphicsContext a) -> Ptr (TFont b) -> Ptr (TColour c) -> IO ()
graphicsContextSetGraphicsBrush :: GraphicsContext a -> GraphicsBrush b -> IO ()
graphicsContextSetGraphicsBrush self brush
= withObjectRef "graphicsContextSetGraphicsBrush" self $ \cobj_self ->
withObjectPtr brush $ \cobj_brush ->
wxGraphicsContext_SetGraphicsBrush cobj_self cobj_brush
foreign import ccall "wxGraphicsContext_SetGraphicsBrush" wxGraphicsContext_SetGraphicsBrush :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsBrush b) -> IO ()
graphicsContextSetGraphicsFont :: GraphicsContext a -> GraphicsFont b -> IO ()
graphicsContextSetGraphicsFont self font
= withObjectRef "graphicsContextSetGraphicsFont" self $ \cobj_self ->
withObjectPtr font $ \cobj_font ->
wxGraphicsContext_SetGraphicsFont cobj_self cobj_font
foreign import ccall "wxGraphicsContext_SetGraphicsFont" wxGraphicsContext_SetGraphicsFont :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsFont b) -> IO ()
graphicsContextSetGraphicsPen :: GraphicsContext a -> GraphicsPen b -> IO ()
graphicsContextSetGraphicsPen self pen
= withObjectRef "graphicsContextSetGraphicsPen" self $ \cobj_self ->
withObjectPtr pen $ \cobj_pen ->
wxGraphicsContext_SetGraphicsPen cobj_self cobj_pen
foreign import ccall "wxGraphicsContext_SetGraphicsPen" wxGraphicsContext_SetGraphicsPen :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsPen b) -> IO ()
graphicsContextSetPen :: GraphicsContext a -> Pen b -> IO ()
graphicsContextSetPen self pen
= withObjectRef "graphicsContextSetPen" self $ \cobj_self ->
withObjectPtr pen $ \cobj_pen ->
wxGraphicsContext_SetPen cobj_self cobj_pen
foreign import ccall "wxGraphicsContext_SetPen" wxGraphicsContext_SetPen :: Ptr (TGraphicsContext a) -> Ptr (TPen b) -> IO ()
graphicsContextSetTransform :: GraphicsContext a -> GraphicsMatrix b -> IO ()
graphicsContextSetTransform self path
= withObjectRef "graphicsContextSetTransform" self $ \cobj_self ->
withObjectPtr path $ \cobj_path ->
wxGraphicsContext_SetTransform cobj_self cobj_path
foreign import ccall "wxGraphicsContext_SetTransform" wxGraphicsContext_SetTransform :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsMatrix b) -> IO ()
graphicsContextStrokeLine :: GraphicsContext a -> (Point2 Double) -> (Point2 Double) -> IO ()
graphicsContextStrokeLine self x1y1 x2y2
= withObjectRef "graphicsContextStrokeLine" self $ \cobj_self ->
wxGraphicsContext_StrokeLine cobj_self (toCDoublePointX x1y1) (toCDoublePointY x1y1) (toCDoublePointX x2y2) (toCDoublePointY x2y2)
foreign import ccall "wxGraphicsContext_StrokeLine" wxGraphicsContext_StrokeLine :: Ptr (TGraphicsContext a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
graphicsContextStrokeLines :: GraphicsContext a -> Int -> Ptr c -> Ptr d -> Int -> IO ()
graphicsContextStrokeLines self n x y style
= withObjectRef "graphicsContextStrokeLines" self $ \cobj_self ->
wxGraphicsContext_StrokeLines cobj_self (toCInt n) x y (toCInt style)
foreign import ccall "wxGraphicsContext_StrokeLines" wxGraphicsContext_StrokeLines :: Ptr (TGraphicsContext a) -> CInt -> Ptr c -> Ptr d -> CInt -> IO ()
graphicsContextStrokePath :: GraphicsContext a -> GraphicsPath b -> IO ()
graphicsContextStrokePath self path
= withObjectRef "graphicsContextStrokePath" self $ \cobj_self ->
withObjectPtr path $ \cobj_path ->
wxGraphicsContext_StrokePath cobj_self cobj_path
foreign import ccall "wxGraphicsContext_StrokePath" wxGraphicsContext_StrokePath :: Ptr (TGraphicsContext a) -> Ptr (TGraphicsPath b) -> IO ()
graphicsContextTranslate :: GraphicsContext a -> Double -> Double -> IO ()
graphicsContextTranslate self dx dy
= withObjectRef "graphicsContextTranslate" self $ \cobj_self ->
wxGraphicsContext_Translate cobj_self dx dy
foreign import ccall "wxGraphicsContext_Translate" wxGraphicsContext_Translate :: Ptr (TGraphicsContext a) -> Double -> Double -> IO ()
graphicsFontCreate :: IO (GraphicsFont ())
graphicsFontCreate
= withObjectResult $
wxGraphicsFont_Create
foreign import ccall "wxGraphicsFont_Create" wxGraphicsFont_Create :: IO (Ptr (TGraphicsFont ()))
graphicsFontDelete :: GraphicsFont a -> IO ()
graphicsFontDelete
= objectDelete
graphicsMatrixConcat :: GraphicsMatrix a -> GraphicsMatrix b -> IO ()
graphicsMatrixConcat self t
= withObjectRef "graphicsMatrixConcat" self $ \cobj_self ->
withObjectPtr t $ \cobj_t ->
wxGraphicsMatrix_Concat cobj_self cobj_t
foreign import ccall "wxGraphicsMatrix_Concat" wxGraphicsMatrix_Concat :: Ptr (TGraphicsMatrix a) -> Ptr (TGraphicsMatrix b) -> IO ()
graphicsMatrixCreate :: IO (GraphicsMatrix ())
graphicsMatrixCreate
= withObjectResult $
wxGraphicsMatrix_Create
foreign import ccall "wxGraphicsMatrix_Create" wxGraphicsMatrix_Create :: IO (Ptr (TGraphicsMatrix ()))
graphicsMatrixDelete :: GraphicsMatrix a -> IO ()
graphicsMatrixDelete
= objectDelete
graphicsMatrixGet :: GraphicsMatrix a -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> IO ()
graphicsMatrixGet self a b c d tx ty
= withObjectRef "graphicsMatrixGet" self $ \cobj_self ->
wxGraphicsMatrix_Get cobj_self a b c d tx ty
foreign import ccall "wxGraphicsMatrix_Get" wxGraphicsMatrix_Get :: Ptr (TGraphicsMatrix a) -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> IO ()
graphicsMatrixGetNativeMatrix :: GraphicsMatrix a -> IO (Ptr ())
graphicsMatrixGetNativeMatrix self
= withObjectRef "graphicsMatrixGetNativeMatrix" self $ \cobj_self ->
wxGraphicsMatrix_GetNativeMatrix cobj_self
foreign import ccall "wxGraphicsMatrix_GetNativeMatrix" wxGraphicsMatrix_GetNativeMatrix :: Ptr (TGraphicsMatrix a) -> IO (Ptr ())
graphicsMatrixInvert :: GraphicsMatrix a -> IO ()
graphicsMatrixInvert self
= withObjectRef "graphicsMatrixInvert" self $ \cobj_self ->
wxGraphicsMatrix_Invert cobj_self
foreign import ccall "wxGraphicsMatrix_Invert" wxGraphicsMatrix_Invert :: Ptr (TGraphicsMatrix a) -> IO ()
graphicsMatrixIsEqual :: GraphicsMatrix a -> GraphicsMatrix b -> IO Bool
graphicsMatrixIsEqual self t
= withBoolResult $
withObjectRef "graphicsMatrixIsEqual" self $ \cobj_self ->
withObjectPtr t $ \cobj_t ->
wxGraphicsMatrix_IsEqual cobj_self cobj_t
foreign import ccall "wxGraphicsMatrix_IsEqual" wxGraphicsMatrix_IsEqual :: Ptr (TGraphicsMatrix a) -> Ptr (TGraphicsMatrix b) -> IO CBool
graphicsMatrixIsIdentity :: GraphicsMatrix a -> IO Bool
graphicsMatrixIsIdentity self
= withBoolResult $
withObjectRef "graphicsMatrixIsIdentity" self $ \cobj_self ->
wxGraphicsMatrix_IsIdentity cobj_self
foreign import ccall "wxGraphicsMatrix_IsIdentity" wxGraphicsMatrix_IsIdentity :: Ptr (TGraphicsMatrix a) -> IO CBool
graphicsMatrixRotate :: GraphicsMatrix a -> Double -> IO ()
graphicsMatrixRotate self angle
= withObjectRef "graphicsMatrixRotate" self $ \cobj_self ->
wxGraphicsMatrix_Rotate cobj_self angle
foreign import ccall "wxGraphicsMatrix_Rotate" wxGraphicsMatrix_Rotate :: Ptr (TGraphicsMatrix a) -> Double -> IO ()
graphicsMatrixScale :: GraphicsMatrix a -> (Size2D Double) -> IO ()
graphicsMatrixScale self xScaleyScale
= withObjectRef "graphicsMatrixScale" self $ \cobj_self ->
wxGraphicsMatrix_Scale cobj_self (toCDoubleSizeW xScaleyScale) (toCDoubleSizeH xScaleyScale)
foreign import ccall "wxGraphicsMatrix_Scale" wxGraphicsMatrix_Scale :: Ptr (TGraphicsMatrix a) -> CDouble -> CDouble -> IO ()
graphicsMatrixSet :: GraphicsMatrix a -> Double -> Double -> Double -> Double -> Double -> Double -> IO ()
graphicsMatrixSet self a b c d tx ty
= withObjectRef "graphicsMatrixSet" self $ \cobj_self ->
wxGraphicsMatrix_Set cobj_self a b c d tx ty
foreign import ccall "wxGraphicsMatrix_Set" wxGraphicsMatrix_Set :: Ptr (TGraphicsMatrix a) -> Double -> Double -> Double -> Double -> Double -> Double -> IO ()
graphicsMatrixTransformDistance :: GraphicsMatrix a -> Ptr Double -> Ptr Double -> IO ()
graphicsMatrixTransformDistance self dx dy
= withObjectRef "graphicsMatrixTransformDistance" self $ \cobj_self ->
wxGraphicsMatrix_TransformDistance cobj_self dx dy
foreign import ccall "wxGraphicsMatrix_TransformDistance" wxGraphicsMatrix_TransformDistance :: Ptr (TGraphicsMatrix a) -> Ptr Double -> Ptr Double -> IO ()
graphicsMatrixTransformPoint :: GraphicsMatrix a -> IO (Point2 Double)
graphicsMatrixTransformPoint self
= withPointDoubleResult $ \px py ->
withObjectRef "graphicsMatrixTransformPoint" self $ \cobj_self ->
wxGraphicsMatrix_TransformPoint cobj_self px py
foreign import ccall "wxGraphicsMatrix_TransformPoint" wxGraphicsMatrix_TransformPoint :: Ptr (TGraphicsMatrix a) -> Ptr CDouble -> Ptr CDouble -> IO ()
graphicsMatrixTranslate :: GraphicsMatrix a -> Double -> Double -> IO ()
graphicsMatrixTranslate self dx dy
= withObjectRef "graphicsMatrixTranslate" self $ \cobj_self ->
wxGraphicsMatrix_Translate cobj_self dx dy
foreign import ccall "wxGraphicsMatrix_Translate" wxGraphicsMatrix_Translate :: Ptr (TGraphicsMatrix a) -> Double -> Double -> IO ()
graphicsObjectGetRenderer :: IO (GraphicsRenderer ())
graphicsObjectGetRenderer
= withObjectResult $
wxGraphicsObject_GetRenderer
foreign import ccall "wxGraphicsObject_GetRenderer" wxGraphicsObject_GetRenderer :: IO (Ptr (TGraphicsRenderer ()))
graphicsObjectIsNull :: GraphicsObject a -> IO Bool
graphicsObjectIsNull self
= withBoolResult $
withObjectRef "graphicsObjectIsNull" self $ \cobj_self ->
wxGraphicsObject_IsNull cobj_self
foreign import ccall "wxGraphicsObject_IsNull" wxGraphicsObject_IsNull :: Ptr (TGraphicsObject a) -> IO CBool
graphicsPathAddArc :: GraphicsPath a -> (Point2 Double) -> Double -> Double -> Double -> Bool -> IO ()
graphicsPathAddArc self xy r startAngle endAngle clockwise
= withObjectRef "graphicsPathAddArc" self $ \cobj_self ->
wxGraphicsPath_AddArc cobj_self (toCDoublePointX xy) (toCDoublePointY xy) r startAngle endAngle (toCBool clockwise)
foreign import ccall "wxGraphicsPath_AddArc" wxGraphicsPath_AddArc :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> Double -> Double -> Double -> CBool -> IO ()
graphicsPathAddArcToPoint :: GraphicsPath a -> (Point2 Double) -> (Point2 Double) -> Double -> IO ()
graphicsPathAddArcToPoint self x1y1 x2y2 r
= withObjectRef "graphicsPathAddArcToPoint" self $ \cobj_self ->
wxGraphicsPath_AddArcToPoint cobj_self (toCDoublePointX x1y1) (toCDoublePointY x1y1) (toCDoublePointX x2y2) (toCDoublePointY x2y2) r
foreign import ccall "wxGraphicsPath_AddArcToPoint" wxGraphicsPath_AddArcToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> Double -> IO ()
graphicsPathAddCircle :: GraphicsPath a -> (Point2 Double) -> Double -> IO ()
graphicsPathAddCircle self xy r
= withObjectRef "graphicsPathAddCircle" self $ \cobj_self ->
wxGraphicsPath_AddCircle cobj_self (toCDoublePointX xy) (toCDoublePointY xy) r
foreign import ccall "wxGraphicsPath_AddCircle" wxGraphicsPath_AddCircle :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> Double -> IO ()
graphicsPathAddCurveToPoint :: GraphicsPath a -> (Point2 Double) -> (Point2 Double) -> (Point2 Double) -> IO ()
graphicsPathAddCurveToPoint self cx1cy1 cx2cy2 xy
= withObjectRef "graphicsPathAddCurveToPoint" self $ \cobj_self ->
wxGraphicsPath_AddCurveToPoint cobj_self (toCDoublePointX cx1cy1) (toCDoublePointY cx1cy1) (toCDoublePointX cx2cy2) (toCDoublePointY cx2cy2) (toCDoublePointX xy) (toCDoublePointY xy)
foreign import ccall "wxGraphicsPath_AddCurveToPoint" wxGraphicsPath_AddCurveToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
graphicsPathAddEllipse :: GraphicsPath a -> (Rect2D Double) -> IO ()
graphicsPathAddEllipse self xywh
= withObjectRef "graphicsPathAddEllipse" self $ \cobj_self ->
wxGraphicsPath_AddEllipse cobj_self (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)
foreign import ccall "wxGraphicsPath_AddEllipse" wxGraphicsPath_AddEllipse :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
graphicsPathAddLineToPoint :: GraphicsPath a -> (Point2 Double) -> IO ()
graphicsPathAddLineToPoint self xy
= withObjectRef "graphicsPathAddLineToPoint" self $ \cobj_self ->
wxGraphicsPath_AddLineToPoint cobj_self (toCDoublePointX xy) (toCDoublePointY xy)
foreign import ccall "wxGraphicsPath_AddLineToPoint" wxGraphicsPath_AddLineToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> IO ()
graphicsPathAddPath :: GraphicsPath a -> (Point2 Double) -> GraphicsPath c -> IO ()
graphicsPathAddPath self xy path
= withObjectRef "graphicsPathAddPath" self $ \cobj_self ->
withObjectPtr path $ \cobj_path ->
wxGraphicsPath_AddPath cobj_self (toCDoublePointX xy) (toCDoublePointY xy) cobj_path
foreign import ccall "wxGraphicsPath_AddPath" wxGraphicsPath_AddPath :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> Ptr (TGraphicsPath c) -> IO ()
graphicsPathAddQuadCurveToPoint :: GraphicsPath a -> (Point2 Double) -> (Point2 Double) -> IO ()
graphicsPathAddQuadCurveToPoint self cxcy xy
= withObjectRef "graphicsPathAddQuadCurveToPoint" self $ \cobj_self ->
wxGraphicsPath_AddQuadCurveToPoint cobj_self (toCDoublePointX cxcy) (toCDoublePointY cxcy) (toCDoublePointX xy) (toCDoublePointY xy)
foreign import ccall "wxGraphicsPath_AddQuadCurveToPoint" wxGraphicsPath_AddQuadCurveToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
graphicsPathAddRectangle :: GraphicsPath a -> (Rect2D Double) -> IO ()
graphicsPathAddRectangle self xywh
= withObjectRef "graphicsPathAddRectangle" self $ \cobj_self ->
wxGraphicsPath_AddRectangle cobj_self (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh)
foreign import ccall "wxGraphicsPath_AddRectangle" wxGraphicsPath_AddRectangle :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> IO ()
graphicsPathAddRoundedRectangle :: GraphicsPath a -> (Rect2D Double) -> Double -> IO ()
graphicsPathAddRoundedRectangle self xywh radius
= withObjectRef "graphicsPathAddRoundedRectangle" self $ \cobj_self ->
wxGraphicsPath_AddRoundedRectangle cobj_self (toCDoubleRectX xywh) (toCDoubleRectY xywh)(toCDoubleRectW xywh) (toCDoubleRectH xywh) radius
foreign import ccall "wxGraphicsPath_AddRoundedRectangle" wxGraphicsPath_AddRoundedRectangle :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CDouble -> CDouble -> Double -> IO ()
graphicsPathCloseSubpath :: GraphicsPath a -> IO ()
graphicsPathCloseSubpath self
= withObjectRef "graphicsPathCloseSubpath" self $ \cobj_self ->
wxGraphicsPath_CloseSubpath cobj_self
foreign import ccall "wxGraphicsPath_CloseSubpath" wxGraphicsPath_CloseSubpath :: Ptr (TGraphicsPath a) -> IO ()
graphicsPathContains :: GraphicsPath a -> (Point2 Double) -> Int -> IO ()
graphicsPathContains self xy style
= withObjectRef "graphicsPathContains" self $ \cobj_self ->
wxGraphicsPath_Contains cobj_self (toCDoublePointX xy) (toCDoublePointY xy) (toCInt style)
foreign import ccall "wxGraphicsPath_Contains" wxGraphicsPath_Contains :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> CInt -> IO ()
graphicsPathDelete :: GraphicsPath a -> IO ()
graphicsPathDelete
= objectDelete
graphicsPathGetBox :: GraphicsPath a -> IO (Rect2D Double)
graphicsPathGetBox self
= withRectDoubleResult $ \px py pw ph ->
withObjectRef "graphicsPathGetBox" self $ \cobj_self ->
wxGraphicsPath_GetBox cobj_self px py pw ph
foreign import ccall "wxGraphicsPath_GetBox" wxGraphicsPath_GetBox :: Ptr (TGraphicsPath a) -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO ()
graphicsPathGetCurrentPoint :: GraphicsPath a -> IO (Point2 Double)
graphicsPathGetCurrentPoint self
= withPointDoubleResult $ \px py ->
withObjectRef "graphicsPathGetCurrentPoint" self $ \cobj_self ->
wxGraphicsPath_GetCurrentPoint cobj_self px py
foreign import ccall "wxGraphicsPath_GetCurrentPoint" wxGraphicsPath_GetCurrentPoint :: Ptr (TGraphicsPath a) -> Ptr CDouble -> Ptr CDouble -> IO ()
graphicsPathGetNativePath :: GraphicsPath a -> IO (Ptr ())
graphicsPathGetNativePath self
= withObjectRef "graphicsPathGetNativePath" self $ \cobj_self ->
wxGraphicsPath_GetNativePath cobj_self
foreign import ccall "wxGraphicsPath_GetNativePath" wxGraphicsPath_GetNativePath :: Ptr (TGraphicsPath a) -> IO (Ptr ())
graphicsPathMoveToPoint :: GraphicsPath a -> (Point2 Double) -> IO ()
graphicsPathMoveToPoint self xy
= withObjectRef "graphicsPathMoveToPoint" self $ \cobj_self ->
wxGraphicsPath_MoveToPoint cobj_self (toCDoublePointX xy) (toCDoublePointY xy)
foreign import ccall "wxGraphicsPath_MoveToPoint" wxGraphicsPath_MoveToPoint :: Ptr (TGraphicsPath a) -> CDouble -> CDouble -> IO ()
graphicsPathTransform :: GraphicsPath a -> GraphicsMatrix b -> IO ()
graphicsPathTransform self matrix
= withObjectRef "graphicsPathTransform" self $ \cobj_self ->
withObjectPtr matrix $ \cobj_matrix ->
wxGraphicsPath_Transform cobj_self cobj_matrix
foreign import ccall "wxGraphicsPath_Transform" wxGraphicsPath_Transform :: Ptr (TGraphicsPath a) -> Ptr (TGraphicsMatrix b) -> IO ()
graphicsPathUnGetNativePath :: GraphicsPath a -> IO ()
graphicsPathUnGetNativePath p
= withObjectRef "graphicsPathUnGetNativePath" p $ \cobj_p ->
wxGraphicsPath_UnGetNativePath cobj_p
foreign import ccall "wxGraphicsPath_UnGetNativePath" wxGraphicsPath_UnGetNativePath :: Ptr (TGraphicsPath a) -> IO ()
graphicsPenCreate :: IO (GraphicsPen ())
graphicsPenCreate
= withObjectResult $
wxGraphicsPen_Create
foreign import ccall "wxGraphicsPen_Create" wxGraphicsPen_Create :: IO (Ptr (TGraphicsPen ()))
graphicsPenDelete :: GraphicsPen a -> IO ()
graphicsPenDelete
= objectDelete
graphicsRendererCreateContext :: WindowDC a -> IO (GraphicsContext ())
graphicsRendererCreateContext dc
= withObjectResult $
withObjectPtr dc $ \cobj_dc ->
wxGraphicsRenderer_CreateContext cobj_dc
foreign import ccall "wxGraphicsRenderer_CreateContext" wxGraphicsRenderer_CreateContext :: Ptr (TWindowDC a) -> IO (Ptr (TGraphicsContext ()))
graphicsRendererCreateContextFromNativeContext :: GraphicsRenderer a -> IO (GraphicsContext ())
graphicsRendererCreateContextFromNativeContext context
= withObjectResult $
withObjectRef "graphicsRendererCreateContextFromNativeContext" context $ \cobj_context ->
wxGraphicsRenderer_CreateContextFromNativeContext cobj_context
foreign import ccall "wxGraphicsRenderer_CreateContextFromNativeContext" wxGraphicsRenderer_CreateContextFromNativeContext :: Ptr (TGraphicsRenderer a) -> IO (Ptr (TGraphicsContext ()))
graphicsRendererCreateContextFromNativeWindow :: Window a -> IO (GraphicsContext ())
graphicsRendererCreateContextFromNativeWindow window
= withObjectResult $
withObjectPtr window $ \cobj_window ->
wxGraphicsRenderer_CreateContextFromNativeWindow cobj_window
foreign import ccall "wxGraphicsRenderer_CreateContextFromNativeWindow" wxGraphicsRenderer_CreateContextFromNativeWindow :: Ptr (TWindow a) -> IO (Ptr (TGraphicsContext ()))
graphicsRendererCreateContextFromWindow :: Window a -> IO (GraphicsContext ())
graphicsRendererCreateContextFromWindow window
= withObjectResult $
withObjectPtr window $ \cobj_window ->
wxGraphicsRenderer_CreateContextFromWindow cobj_window
foreign import ccall "wxGraphicsRenderer_CreateContextFromWindow" wxGraphicsRenderer_CreateContextFromWindow :: Ptr (TWindow a) -> IO (Ptr (TGraphicsContext ()))
graphicsRendererCreatePath :: GraphicsRenderer a -> IO (GraphicsPath ())
graphicsRendererCreatePath self
= withObjectResult $
withObjectRef "graphicsRendererCreatePath" self $ \cobj_self ->
wxGraphicsRenderer_CreatePath cobj_self
foreign import ccall "wxGraphicsRenderer_CreatePath" wxGraphicsRenderer_CreatePath :: Ptr (TGraphicsRenderer a) -> IO (Ptr (TGraphicsPath ()))
graphicsRendererDelete :: GraphicsRenderer a -> IO ()
graphicsRendererDelete
= objectDelete
graphicsRendererGetDefaultRenderer :: GraphicsRenderer a -> IO (GraphicsRenderer ())
graphicsRendererGetDefaultRenderer self
= withObjectResult $
withObjectRef "graphicsRendererGetDefaultRenderer" self $ \cobj_self ->
wxGraphicsRenderer_GetDefaultRenderer cobj_self
foreign import ccall "wxGraphicsRenderer_GetDefaultRenderer" wxGraphicsRenderer_GetDefaultRenderer :: Ptr (TGraphicsRenderer a) -> IO (Ptr (TGraphicsRenderer ()))
gridAppendCols :: Grid a -> Int -> Bool -> IO Bool
gridAppendCols _obj numCols updateLabels
= withBoolResult $
withObjectRef "gridAppendCols" _obj $ \cobj__obj ->
wxGrid_AppendCols cobj__obj (toCInt numCols) (toCBool updateLabels)
foreign import ccall "wxGrid_AppendCols" wxGrid_AppendCols :: Ptr (TGrid a) -> CInt -> CBool -> IO CBool
gridAppendRows :: Grid a -> Int -> Bool -> IO Bool
gridAppendRows _obj numRows updateLabels
= withBoolResult $
withObjectRef "gridAppendRows" _obj $ \cobj__obj ->
wxGrid_AppendRows cobj__obj (toCInt numRows) (toCBool updateLabels)
foreign import ccall "wxGrid_AppendRows" wxGrid_AppendRows :: Ptr (TGrid a) -> CInt -> CBool -> IO CBool
gridAutoSize :: Grid a -> IO ()
gridAutoSize _obj
= withObjectRef "gridAutoSize" _obj $ \cobj__obj ->
wxGrid_AutoSize cobj__obj
foreign import ccall "wxGrid_AutoSize" wxGrid_AutoSize :: Ptr (TGrid a) -> IO ()
gridAutoSizeColumn :: Grid a -> Int -> Bool -> IO ()
gridAutoSizeColumn _obj col setAsMin
= withObjectRef "gridAutoSizeColumn" _obj $ \cobj__obj ->
wxGrid_AutoSizeColumn cobj__obj (toCInt col) (toCBool setAsMin)
foreign import ccall "wxGrid_AutoSizeColumn" wxGrid_AutoSizeColumn :: Ptr (TGrid a) -> CInt -> CBool -> IO ()
gridAutoSizeColumns :: Grid a -> Bool -> IO ()
gridAutoSizeColumns _obj setAsMin
= withObjectRef "gridAutoSizeColumns" _obj $ \cobj__obj ->
wxGrid_AutoSizeColumns cobj__obj (toCBool setAsMin)
foreign import ccall "wxGrid_AutoSizeColumns" wxGrid_AutoSizeColumns :: Ptr (TGrid a) -> CBool -> IO ()
gridAutoSizeRow :: Grid a -> Int -> Bool -> IO ()
gridAutoSizeRow _obj row setAsMin
= withObjectRef "gridAutoSizeRow" _obj $ \cobj__obj ->
wxGrid_AutoSizeRow cobj__obj (toCInt row) (toCBool setAsMin)
foreign import ccall "wxGrid_AutoSizeRow" wxGrid_AutoSizeRow :: Ptr (TGrid a) -> CInt -> CBool -> IO ()
gridAutoSizeRows :: Grid a -> Bool -> IO ()
gridAutoSizeRows _obj setAsMin
= withObjectRef "gridAutoSizeRows" _obj $ \cobj__obj ->
wxGrid_AutoSizeRows cobj__obj (toCBool setAsMin)
foreign import ccall "wxGrid_AutoSizeRows" wxGrid_AutoSizeRows :: Ptr (TGrid a) -> CBool -> IO ()
gridBeginBatch :: Grid a -> IO ()
gridBeginBatch _obj
= withObjectRef "gridBeginBatch" _obj $ \cobj__obj ->
wxGrid_BeginBatch cobj__obj
foreign import ccall "wxGrid_BeginBatch" wxGrid_BeginBatch :: Ptr (TGrid a) -> IO ()
gridBlockToDeviceRect :: Grid a -> Int -> Int -> Int -> Int -> IO (Rect)
gridBlockToDeviceRect _obj top left bottom right
= withWxRectResult $
withObjectRef "gridBlockToDeviceRect" _obj $ \cobj__obj ->
wxGrid_BlockToDeviceRect cobj__obj (toCInt top) (toCInt left) (toCInt bottom) (toCInt right)
foreign import ccall "wxGrid_BlockToDeviceRect" wxGrid_BlockToDeviceRect :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TWxRect ()))
gridCanDragColSize :: Grid a -> Int -> IO Bool
gridCanDragColSize _obj col
= withBoolResult $
withObjectRef "gridCanDragColSize" _obj $ \cobj__obj ->
wxGrid_CanDragColSize cobj__obj (toCInt col)
foreign import ccall "wxGrid_CanDragColSize" wxGrid_CanDragColSize :: Ptr (TGrid a) -> CInt -> IO CBool
gridCanDragGridSize :: Grid a -> IO Bool
gridCanDragGridSize _obj
= withBoolResult $
withObjectRef "gridCanDragGridSize" _obj $ \cobj__obj ->
wxGrid_CanDragGridSize cobj__obj
foreign import ccall "wxGrid_CanDragGridSize" wxGrid_CanDragGridSize :: Ptr (TGrid a) -> IO CBool
gridCanDragRowSize :: Grid a -> Int -> IO Bool
gridCanDragRowSize _obj row
= withBoolResult $
withObjectRef "gridCanDragRowSize" _obj $ \cobj__obj ->
wxGrid_CanDragRowSize cobj__obj (toCInt row)
foreign import ccall "wxGrid_CanDragRowSize" wxGrid_CanDragRowSize :: Ptr (TGrid a) -> CInt -> IO CBool
gridCanEnableCellControl :: Grid a -> IO Bool
gridCanEnableCellControl _obj
= withBoolResult $
withObjectRef "gridCanEnableCellControl" _obj $ \cobj__obj ->
wxGrid_CanEnableCellControl cobj__obj
foreign import ccall "wxGrid_CanEnableCellControl" wxGrid_CanEnableCellControl :: Ptr (TGrid a) -> IO CBool
gridCellAttrCtor :: IO (GridCellAttr ())
gridCellAttrCtor
= withObjectResult $
wxGridCellAttr_Ctor
foreign import ccall "wxGridCellAttr_Ctor" wxGridCellAttr_Ctor :: IO (Ptr (TGridCellAttr ()))
gridCellAttrDecRef :: GridCellAttr a -> IO ()
gridCellAttrDecRef _obj
= withObjectRef "gridCellAttrDecRef" _obj $ \cobj__obj ->
wxGridCellAttr_DecRef cobj__obj
foreign import ccall "wxGridCellAttr_DecRef" wxGridCellAttr_DecRef :: Ptr (TGridCellAttr a) -> IO ()
gridCellAttrGetAlignment :: GridCellAttr a -> IO Size
gridCellAttrGetAlignment _obj
= withSizeResult $ \pw ph ->
withObjectRef "gridCellAttrGetAlignment" _obj $ \cobj__obj ->
wxGridCellAttr_GetAlignment cobj__obj pw ph
foreign import ccall "wxGridCellAttr_GetAlignment" wxGridCellAttr_GetAlignment :: Ptr (TGridCellAttr a) -> Ptr CInt -> Ptr CInt -> IO ()
gridCellAttrGetBackgroundColour :: GridCellAttr a -> IO (Color)
gridCellAttrGetBackgroundColour _obj
= withRefColour $ \pref ->
withObjectRef "gridCellAttrGetBackgroundColour" _obj $ \cobj__obj ->
wxGridCellAttr_GetBackgroundColour cobj__obj pref
foreign import ccall "wxGridCellAttr_GetBackgroundColour" wxGridCellAttr_GetBackgroundColour :: Ptr (TGridCellAttr a) -> Ptr (TColour ()) -> IO ()
gridCellAttrGetEditor :: GridCellAttr a -> Grid b -> Int -> Int -> IO (GridCellEditor ())
gridCellAttrGetEditor _obj grid row col
= withObjectResult $
withObjectRef "gridCellAttrGetEditor" _obj $ \cobj__obj ->
withObjectPtr grid $ \cobj_grid ->
wxGridCellAttr_GetEditor cobj__obj cobj_grid (toCInt row) (toCInt col)
foreign import ccall "wxGridCellAttr_GetEditor" wxGridCellAttr_GetEditor :: Ptr (TGridCellAttr a) -> Ptr (TGrid b) -> CInt -> CInt -> IO (Ptr (TGridCellEditor ()))
gridCellAttrGetFont :: GridCellAttr a -> IO (Font ())
gridCellAttrGetFont _obj
= withRefFont $ \pref ->
withObjectRef "gridCellAttrGetFont" _obj $ \cobj__obj ->
wxGridCellAttr_GetFont cobj__obj pref
foreign import ccall "wxGridCellAttr_GetFont" wxGridCellAttr_GetFont :: Ptr (TGridCellAttr a) -> Ptr (TFont ()) -> IO ()
gridCellAttrGetRenderer :: GridCellAttr a -> Grid b -> Int -> Int -> IO (GridCellRenderer ())
gridCellAttrGetRenderer _obj grid row col
= withObjectResult $
withObjectRef "gridCellAttrGetRenderer" _obj $ \cobj__obj ->
withObjectPtr grid $ \cobj_grid ->
wxGridCellAttr_GetRenderer cobj__obj cobj_grid (toCInt row) (toCInt col)
foreign import ccall "wxGridCellAttr_GetRenderer" wxGridCellAttr_GetRenderer :: Ptr (TGridCellAttr a) -> Ptr (TGrid b) -> CInt -> CInt -> IO (Ptr (TGridCellRenderer ()))
gridCellAttrGetTextColour :: GridCellAttr a -> IO (Color)
gridCellAttrGetTextColour _obj
= withRefColour $ \pref ->
withObjectRef "gridCellAttrGetTextColour" _obj $ \cobj__obj ->
wxGridCellAttr_GetTextColour cobj__obj pref
foreign import ccall "wxGridCellAttr_GetTextColour" wxGridCellAttr_GetTextColour :: Ptr (TGridCellAttr a) -> Ptr (TColour ()) -> IO ()
gridCellAttrHasAlignment :: GridCellAttr a -> IO Bool
gridCellAttrHasAlignment _obj
= withBoolResult $
withObjectRef "gridCellAttrHasAlignment" _obj $ \cobj__obj ->
wxGridCellAttr_HasAlignment cobj__obj
foreign import ccall "wxGridCellAttr_HasAlignment" wxGridCellAttr_HasAlignment :: Ptr (TGridCellAttr a) -> IO CBool
gridCellAttrHasBackgroundColour :: GridCellAttr a -> IO Bool
gridCellAttrHasBackgroundColour _obj
= withBoolResult $
withObjectRef "gridCellAttrHasBackgroundColour" _obj $ \cobj__obj ->
wxGridCellAttr_HasBackgroundColour cobj__obj
foreign import ccall "wxGridCellAttr_HasBackgroundColour" wxGridCellAttr_HasBackgroundColour :: Ptr (TGridCellAttr a) -> IO CBool
gridCellAttrHasEditor :: GridCellAttr a -> IO Bool
gridCellAttrHasEditor _obj
= withBoolResult $
withObjectRef "gridCellAttrHasEditor" _obj $ \cobj__obj ->
wxGridCellAttr_HasEditor cobj__obj
foreign import ccall "wxGridCellAttr_HasEditor" wxGridCellAttr_HasEditor :: Ptr (TGridCellAttr a) -> IO CBool
gridCellAttrHasFont :: GridCellAttr a -> IO Bool
gridCellAttrHasFont _obj
= withBoolResult $
withObjectRef "gridCellAttrHasFont" _obj $ \cobj__obj ->
wxGridCellAttr_HasFont cobj__obj
foreign import ccall "wxGridCellAttr_HasFont" wxGridCellAttr_HasFont :: Ptr (TGridCellAttr a) -> IO CBool
gridCellAttrHasRenderer :: GridCellAttr a -> IO Bool
gridCellAttrHasRenderer _obj
= withBoolResult $
withObjectRef "gridCellAttrHasRenderer" _obj $ \cobj__obj ->
wxGridCellAttr_HasRenderer cobj__obj
foreign import ccall "wxGridCellAttr_HasRenderer" wxGridCellAttr_HasRenderer :: Ptr (TGridCellAttr a) -> IO CBool
gridCellAttrHasTextColour :: GridCellAttr a -> IO Bool
gridCellAttrHasTextColour _obj
= withBoolResult $
withObjectRef "gridCellAttrHasTextColour" _obj $ \cobj__obj ->
wxGridCellAttr_HasTextColour cobj__obj
foreign import ccall "wxGridCellAttr_HasTextColour" wxGridCellAttr_HasTextColour :: Ptr (TGridCellAttr a) -> IO CBool
gridCellAttrIncRef :: GridCellAttr a -> IO ()
gridCellAttrIncRef _obj
= withObjectRef "gridCellAttrIncRef" _obj $ \cobj__obj ->
wxGridCellAttr_IncRef cobj__obj
foreign import ccall "wxGridCellAttr_IncRef" wxGridCellAttr_IncRef :: Ptr (TGridCellAttr a) -> IO ()
gridCellAttrIsReadOnly :: GridCellAttr a -> IO Bool
gridCellAttrIsReadOnly _obj
= withBoolResult $
withObjectRef "gridCellAttrIsReadOnly" _obj $ \cobj__obj ->
wxGridCellAttr_IsReadOnly cobj__obj
foreign import ccall "wxGridCellAttr_IsReadOnly" wxGridCellAttr_IsReadOnly :: Ptr (TGridCellAttr a) -> IO CBool
gridCellAttrSetAlignment :: GridCellAttr a -> Int -> Int -> IO ()
gridCellAttrSetAlignment _obj hAlign vAlign
= withObjectRef "gridCellAttrSetAlignment" _obj $ \cobj__obj ->
wxGridCellAttr_SetAlignment cobj__obj (toCInt hAlign) (toCInt vAlign)
foreign import ccall "wxGridCellAttr_SetAlignment" wxGridCellAttr_SetAlignment :: Ptr (TGridCellAttr a) -> CInt -> CInt -> IO ()
gridCellAttrSetBackgroundColour :: GridCellAttr a -> Color -> IO ()
gridCellAttrSetBackgroundColour _obj colBack
= withObjectRef "gridCellAttrSetBackgroundColour" _obj $ \cobj__obj ->
withColourPtr colBack $ \cobj_colBack ->
wxGridCellAttr_SetBackgroundColour cobj__obj cobj_colBack
foreign import ccall "wxGridCellAttr_SetBackgroundColour" wxGridCellAttr_SetBackgroundColour :: Ptr (TGridCellAttr a) -> Ptr (TColour b) -> IO ()
gridCellAttrSetDefAttr :: GridCellAttr a -> GridCellAttr b -> IO ()
gridCellAttrSetDefAttr _obj defAttr
= withObjectRef "gridCellAttrSetDefAttr" _obj $ \cobj__obj ->
withObjectPtr defAttr $ \cobj_defAttr ->
wxGridCellAttr_SetDefAttr cobj__obj cobj_defAttr
foreign import ccall "wxGridCellAttr_SetDefAttr" wxGridCellAttr_SetDefAttr :: Ptr (TGridCellAttr a) -> Ptr (TGridCellAttr b) -> IO ()
gridCellAttrSetEditor :: GridCellAttr a -> GridCellEditor b -> IO ()
gridCellAttrSetEditor _obj editor
= withObjectRef "gridCellAttrSetEditor" _obj $ \cobj__obj ->
withObjectPtr editor $ \cobj_editor ->
wxGridCellAttr_SetEditor cobj__obj cobj_editor
foreign import ccall "wxGridCellAttr_SetEditor" wxGridCellAttr_SetEditor :: Ptr (TGridCellAttr a) -> Ptr (TGridCellEditor b) -> IO ()
gridCellAttrSetFont :: GridCellAttr a -> Font b -> IO ()
gridCellAttrSetFont _obj font
= withObjectRef "gridCellAttrSetFont" _obj $ \cobj__obj ->
withObjectPtr font $ \cobj_font ->
wxGridCellAttr_SetFont cobj__obj cobj_font
foreign import ccall "wxGridCellAttr_SetFont" wxGridCellAttr_SetFont :: Ptr (TGridCellAttr a) -> Ptr (TFont b) -> IO ()
gridCellAttrSetReadOnly :: GridCellAttr a -> Bool -> IO ()
gridCellAttrSetReadOnly _obj isReadOnly
= withObjectRef "gridCellAttrSetReadOnly" _obj $ \cobj__obj ->
wxGridCellAttr_SetReadOnly cobj__obj (toCBool isReadOnly)
foreign import ccall "wxGridCellAttr_SetReadOnly" wxGridCellAttr_SetReadOnly :: Ptr (TGridCellAttr a) -> CBool -> IO ()
gridCellAttrSetRenderer :: GridCellAttr a -> GridCellRenderer b -> IO ()
gridCellAttrSetRenderer _obj renderer
= withObjectRef "gridCellAttrSetRenderer" _obj $ \cobj__obj ->
withObjectPtr renderer $ \cobj_renderer ->
wxGridCellAttr_SetRenderer cobj__obj cobj_renderer
foreign import ccall "wxGridCellAttr_SetRenderer" wxGridCellAttr_SetRenderer :: Ptr (TGridCellAttr a) -> Ptr (TGridCellRenderer b) -> IO ()
gridCellAttrSetTextColour :: GridCellAttr a -> Color -> IO ()
gridCellAttrSetTextColour _obj colText
= withObjectRef "gridCellAttrSetTextColour" _obj $ \cobj__obj ->
withColourPtr colText $ \cobj_colText ->
wxGridCellAttr_SetTextColour cobj__obj cobj_colText
foreign import ccall "wxGridCellAttr_SetTextColour" wxGridCellAttr_SetTextColour :: Ptr (TGridCellAttr a) -> Ptr (TColour b) -> IO ()
gridCellAutoWrapStringRendererCtor :: IO (GridCellAutoWrapStringRenderer ())
gridCellAutoWrapStringRendererCtor
= withObjectResult $
wxGridCellAutoWrapStringRenderer_Ctor
foreign import ccall "wxGridCellAutoWrapStringRenderer_Ctor" wxGridCellAutoWrapStringRenderer_Ctor :: IO (Ptr (TGridCellAutoWrapStringRenderer ()))
gridCellBoolEditorCtor :: IO (GridCellBoolEditor ())
gridCellBoolEditorCtor
= withObjectResult $
wxGridCellBoolEditor_Ctor
foreign import ccall "wxGridCellBoolEditor_Ctor" wxGridCellBoolEditor_Ctor :: IO (Ptr (TGridCellBoolEditor ()))
gridCellChoiceEditorCtor :: [String] -> Bool -> IO (GridCellChoiceEditor ())
gridCellChoiceEditorCtor countchoices allowOthers
= withObjectResult $
withArrayWString countchoices $ \carrlen_countchoices carr_countchoices ->
wxGridCellChoiceEditor_Ctor carrlen_countchoices carr_countchoices (toCBool allowOthers)
foreign import ccall "wxGridCellChoiceEditor_Ctor" wxGridCellChoiceEditor_Ctor :: CInt -> Ptr (Ptr CWchar) -> CBool -> IO (Ptr (TGridCellChoiceEditor ()))
gridCellCoordsArrayCreate :: IO (GridCellCoordsArray ())
gridCellCoordsArrayCreate
= withManagedGridCellCoordsArrayResult $
wxGridCellCoordsArray_Create
foreign import ccall "wxGridCellCoordsArray_Create" wxGridCellCoordsArray_Create :: IO (Ptr (TGridCellCoordsArray ()))
gridCellCoordsArrayDelete :: GridCellCoordsArray a -> IO ()
gridCellCoordsArrayDelete
= gridCellCoordsArrayDelete
gridCellCoordsArrayGetCount :: GridCellCoordsArray a -> IO Int
gridCellCoordsArrayGetCount _obj
= withIntResult $
withObjectRef "gridCellCoordsArrayGetCount" _obj $ \cobj__obj ->
wxGridCellCoordsArray_GetCount cobj__obj
foreign import ccall "wxGridCellCoordsArray_GetCount" wxGridCellCoordsArray_GetCount :: Ptr (TGridCellCoordsArray a) -> IO CInt
gridCellCoordsArrayItem :: GridCellCoordsArray a -> Int -> IO Point
gridCellCoordsArrayItem _obj _idx
= withPointResult $ \px py ->
withObjectRef "gridCellCoordsArrayItem" _obj $ \cobj__obj ->
wxGridCellCoordsArray_Item cobj__obj (toCInt _idx) px py
foreign import ccall "wxGridCellCoordsArray_Item" wxGridCellCoordsArray_Item :: Ptr (TGridCellCoordsArray a) -> CInt -> Ptr CInt -> Ptr CInt -> IO ()
gridCellEditorBeginEdit :: GridCellEditor a -> Int -> Int -> Grid d -> IO ()
gridCellEditorBeginEdit _obj row col grid
= withObjectRef "gridCellEditorBeginEdit" _obj $ \cobj__obj ->
withObjectPtr grid $ \cobj_grid ->
wxGridCellEditor_BeginEdit cobj__obj (toCInt row) (toCInt col) cobj_grid
foreign import ccall "wxGridCellEditor_BeginEdit" wxGridCellEditor_BeginEdit :: Ptr (TGridCellEditor a) -> CInt -> CInt -> Ptr (TGrid d) -> IO ()
gridCellEditorCreate :: GridCellEditor a -> Window b -> Id -> EvtHandler d -> IO ()
gridCellEditorCreate _obj parent id evtHandler
= withObjectPtr _obj $ \cobj__obj ->
withObjectPtr parent $ \cobj_parent ->
withObjectPtr evtHandler $ \cobj_evtHandler ->
wxGridCellEditor_Create cobj__obj cobj_parent (toCInt id) cobj_evtHandler
foreign import ccall "wxGridCellEditor_Create" wxGridCellEditor_Create :: Ptr (TGridCellEditor a) -> Ptr (TWindow b) -> CInt -> Ptr (TEvtHandler d) -> IO ()
gridCellEditorDestroy :: GridCellEditor a -> IO ()
gridCellEditorDestroy _obj
= withObjectRef "gridCellEditorDestroy" _obj $ \cobj__obj ->
wxGridCellEditor_Destroy cobj__obj
foreign import ccall "wxGridCellEditor_Destroy" wxGridCellEditor_Destroy :: Ptr (TGridCellEditor a) -> IO ()
gridCellEditorEndEdit :: GridCellEditor a -> Int -> Int -> Grid d -> String -> String -> IO Int
gridCellEditorEndEdit _obj row col grid oldStr newStr
= withIntResult $
withObjectRef "gridCellEditorEndEdit" _obj $ \cobj__obj ->
withObjectPtr grid $ \cobj_grid ->
withStringPtr oldStr $ \cobj_oldStr ->
withStringPtr newStr $ \cobj_newStr ->
wxGridCellEditor_EndEdit cobj__obj (toCInt row) (toCInt col) cobj_grid cobj_oldStr cobj_newStr
foreign import ccall "wxGridCellEditor_EndEdit" wxGridCellEditor_EndEdit :: Ptr (TGridCellEditor a) -> CInt -> CInt -> Ptr (TGrid d) -> Ptr (TWxString e) -> Ptr (TWxString f) -> IO CInt
gridCellEditorGetControl :: GridCellEditor a -> IO (Control ())
gridCellEditorGetControl _obj
= withObjectResult $
withObjectRef "gridCellEditorGetControl" _obj $ \cobj__obj ->
wxGridCellEditor_GetControl cobj__obj
foreign import ccall "wxGridCellEditor_GetControl" wxGridCellEditor_GetControl :: Ptr (TGridCellEditor a) -> IO (Ptr (TControl ()))
gridCellEditorHandleReturn :: GridCellEditor a -> Event b -> IO ()
gridCellEditorHandleReturn _obj event
= withObjectRef "gridCellEditorHandleReturn" _obj $ \cobj__obj ->
withObjectPtr event $ \cobj_event ->
wxGridCellEditor_HandleReturn cobj__obj cobj_event
foreign import ccall "wxGridCellEditor_HandleReturn" wxGridCellEditor_HandleReturn :: Ptr (TGridCellEditor a) -> Ptr (TEvent b) -> IO ()
gridCellEditorIsAcceptedKey :: GridCellEditor a -> Event b -> IO Bool
gridCellEditorIsAcceptedKey _obj event
= withBoolResult $
withObjectRef "gridCellEditorIsAcceptedKey" _obj $ \cobj__obj ->
withObjectPtr event $ \cobj_event ->
wxGridCellEditor_IsAcceptedKey cobj__obj cobj_event
foreign import ccall "wxGridCellEditor_IsAcceptedKey" wxGridCellEditor_IsAcceptedKey :: Ptr (TGridCellEditor a) -> Ptr (TEvent b) -> IO CBool
gridCellEditorIsCreated :: GridCellEditor a -> IO Bool
gridCellEditorIsCreated _obj
= withBoolResult $
withObjectRef "gridCellEditorIsCreated" _obj $ \cobj__obj ->
wxGridCellEditor_IsCreated cobj__obj
foreign import ccall "wxGridCellEditor_IsCreated" wxGridCellEditor_IsCreated :: Ptr (TGridCellEditor a) -> IO CBool
gridCellEditorPaintBackground :: GridCellEditor a -> DC b -> Rect -> GridCellAttr d -> IO ()
gridCellEditorPaintBackground _obj dc xywh attr
= withObjectRef "gridCellEditorPaintBackground" _obj $ \cobj__obj ->
withObjectPtr dc $ \cobj_dc ->
withObjectPtr attr $ \cobj_attr ->
wxGridCellEditor_PaintBackground cobj__obj cobj_dc (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) cobj_attr
foreign import ccall "wxGridCellEditor_PaintBackground" wxGridCellEditor_PaintBackground :: Ptr (TGridCellEditor a) -> Ptr (TDC b) -> CInt -> CInt -> CInt -> CInt -> Ptr (TGridCellAttr d) -> IO ()
gridCellEditorReset :: GridCellEditor a -> IO ()
gridCellEditorReset _obj
= withObjectRef "gridCellEditorReset" _obj $ \cobj__obj ->
wxGridCellEditor_Reset cobj__obj
foreign import ccall "wxGridCellEditor_Reset" wxGridCellEditor_Reset :: Ptr (TGridCellEditor a) -> IO ()
gridCellEditorSetControl :: GridCellEditor a -> Control b -> IO ()
gridCellEditorSetControl _obj control
= withObjectRef "gridCellEditorSetControl" _obj $ \cobj__obj ->
withObjectPtr control $ \cobj_control ->
wxGridCellEditor_SetControl cobj__obj cobj_control
foreign import ccall "wxGridCellEditor_SetControl" wxGridCellEditor_SetControl :: Ptr (TGridCellEditor a) -> Ptr (TControl b) -> IO ()
gridCellEditorSetParameters :: GridCellEditor a -> String -> IO ()
gridCellEditorSetParameters _obj params
= withObjectRef "gridCellEditorSetParameters" _obj $ \cobj__obj ->
withStringPtr params $ \cobj_params ->
wxGridCellEditor_SetParameters cobj__obj cobj_params
foreign import ccall "wxGridCellEditor_SetParameters" wxGridCellEditor_SetParameters :: Ptr (TGridCellEditor a) -> Ptr (TWxString b) -> IO ()
gridCellEditorSetSize :: GridCellEditor a -> Rect -> IO ()
gridCellEditorSetSize _obj xywh
= withObjectRef "gridCellEditorSetSize" _obj $ \cobj__obj ->
wxGridCellEditor_SetSize cobj__obj (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh)
foreign import ccall "wxGridCellEditor_SetSize" wxGridCellEditor_SetSize :: Ptr (TGridCellEditor a) -> CInt -> CInt -> CInt -> CInt -> IO ()
gridCellEditorShow :: GridCellEditor a -> Bool -> GridCellAttr c -> IO ()
gridCellEditorShow _obj show attr
= withObjectRef "gridCellEditorShow" _obj $ \cobj__obj ->
withObjectPtr attr $ \cobj_attr ->
wxGridCellEditor_Show cobj__obj (toCBool show) cobj_attr
foreign import ccall "wxGridCellEditor_Show" wxGridCellEditor_Show :: Ptr (TGridCellEditor a) -> CBool -> Ptr (TGridCellAttr c) -> IO ()
gridCellEditorStartingClick :: GridCellEditor a -> IO ()
gridCellEditorStartingClick _obj
= withObjectRef "gridCellEditorStartingClick" _obj $ \cobj__obj ->
wxGridCellEditor_StartingClick cobj__obj
foreign import ccall "wxGridCellEditor_StartingClick" wxGridCellEditor_StartingClick :: Ptr (TGridCellEditor a) -> IO ()
gridCellEditorStartingKey :: GridCellEditor a -> Event b -> IO ()
gridCellEditorStartingKey _obj event
= withObjectRef "gridCellEditorStartingKey" _obj $ \cobj__obj ->
withObjectPtr event $ \cobj_event ->
wxGridCellEditor_StartingKey cobj__obj cobj_event
foreign import ccall "wxGridCellEditor_StartingKey" wxGridCellEditor_StartingKey :: Ptr (TGridCellEditor a) -> Ptr (TEvent b) -> IO ()
gridCellFloatEditorCtor :: Int -> Int -> IO (GridCellFloatEditor ())
gridCellFloatEditorCtor width precision
= withObjectResult $
wxGridCellFloatEditor_Ctor (toCInt width) (toCInt precision)
foreign import ccall "wxGridCellFloatEditor_Ctor" wxGridCellFloatEditor_Ctor :: CInt -> CInt -> IO (Ptr (TGridCellFloatEditor ()))
gridCellNumberEditorCtor :: Int -> Int -> IO (GridCellNumberEditor ())
gridCellNumberEditorCtor min max
= withObjectResult $
wxGridCellNumberEditor_Ctor (toCInt min) (toCInt max)
foreign import ccall "wxGridCellNumberEditor_Ctor" wxGridCellNumberEditor_Ctor :: CInt -> CInt -> IO (Ptr (TGridCellNumberEditor ()))
gridCellNumberRendererCtor :: IO (GridCellNumberRenderer ())
gridCellNumberRendererCtor
= withObjectResult $
wxGridCellNumberRenderer_Ctor
foreign import ccall "wxGridCellNumberRenderer_Ctor" wxGridCellNumberRenderer_Ctor :: IO (Ptr (TGridCellNumberRenderer ()))
gridCellTextEditorCtor :: IO (GridCellTextEditor ())
gridCellTextEditorCtor
= withObjectResult $
wxGridCellTextEditor_Ctor
foreign import ccall "wxGridCellTextEditor_Ctor" wxGridCellTextEditor_Ctor :: IO (Ptr (TGridCellTextEditor ()))
gridCellTextEnterEditorCtor :: IO (GridCellTextEnterEditor ())
gridCellTextEnterEditorCtor
= withObjectResult $
wxGridCellTextEnterEditor_Ctor
foreign import ccall "wxGridCellTextEnterEditor_Ctor" wxGridCellTextEnterEditor_Ctor :: IO (Ptr (TGridCellTextEnterEditor ()))
gridCellToRect :: Grid a -> Int -> Int -> IO (Rect)
gridCellToRect _obj row col
= withWxRectResult $
withObjectRef "gridCellToRect" _obj $ \cobj__obj ->
wxGrid_CellToRect cobj__obj (toCInt row) (toCInt col)
foreign import ccall "wxGrid_CellToRect" wxGrid_CellToRect :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TWxRect ()))
gridClearGrid :: Grid a -> IO ()
gridClearGrid _obj
= withObjectRef "gridClearGrid" _obj $ \cobj__obj ->
wxGrid_ClearGrid cobj__obj
foreign import ccall "wxGrid_ClearGrid" wxGrid_ClearGrid :: Ptr (TGrid a) -> IO ()
gridClearSelection :: Grid a -> IO ()
gridClearSelection _obj
= withObjectRef "gridClearSelection" _obj $ \cobj__obj ->
wxGrid_ClearSelection cobj__obj
foreign import ccall "wxGrid_ClearSelection" wxGrid_ClearSelection :: Ptr (TGrid a) -> IO ()
gridCreate :: Window a -> Id -> Rect -> Style -> IO (Grid ())
gridCreate _prt _id _lfttopwdthgt _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
wxGrid_Create cobj__prt (toCInt _id) (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) (toCInt _stl)
foreign import ccall "wxGrid_Create" wxGrid_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TGrid ()))
gridCreateGrid :: Grid a -> Int -> Int -> Int -> IO ()
gridCreateGrid _obj rows cols selmode
= withObjectRef "gridCreateGrid" _obj $ \cobj__obj ->
wxGrid_CreateGrid cobj__obj (toCInt rows) (toCInt cols) (toCInt selmode)
foreign import ccall "wxGrid_CreateGrid" wxGrid_CreateGrid :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> IO ()
gridDeleteCols :: Grid a -> Int -> Int -> Bool -> IO Bool
gridDeleteCols _obj pos numCols updateLabels
= withBoolResult $
withObjectRef "gridDeleteCols" _obj $ \cobj__obj ->
wxGrid_DeleteCols cobj__obj (toCInt pos) (toCInt numCols) (toCBool updateLabels)
foreign import ccall "wxGrid_DeleteCols" wxGrid_DeleteCols :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool
gridDeleteRows :: Grid a -> Int -> Int -> Bool -> IO Bool
gridDeleteRows _obj pos numRows updateLabels
= withBoolResult $
withObjectRef "gridDeleteRows" _obj $ \cobj__obj ->
wxGrid_DeleteRows cobj__obj (toCInt pos) (toCInt numRows) (toCBool updateLabels)
foreign import ccall "wxGrid_DeleteRows" wxGrid_DeleteRows :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool
gridDisableCellEditControl :: Grid a -> IO ()
gridDisableCellEditControl _obj
= withObjectRef "gridDisableCellEditControl" _obj $ \cobj__obj ->
wxGrid_DisableCellEditControl cobj__obj
foreign import ccall "wxGrid_DisableCellEditControl" wxGrid_DisableCellEditControl :: Ptr (TGrid a) -> IO ()
gridDisableDragColSize :: Grid a -> IO ()
gridDisableDragColSize _obj
= withObjectRef "gridDisableDragColSize" _obj $ \cobj__obj ->
wxGrid_DisableDragColSize cobj__obj
foreign import ccall "wxGrid_DisableDragColSize" wxGrid_DisableDragColSize :: Ptr (TGrid a) -> IO ()
gridDisableDragGridSize :: Grid a -> IO ()
gridDisableDragGridSize _obj
= withObjectRef "gridDisableDragGridSize" _obj $ \cobj__obj ->
wxGrid_DisableDragGridSize cobj__obj
foreign import ccall "wxGrid_DisableDragGridSize" wxGrid_DisableDragGridSize :: Ptr (TGrid a) -> IO ()
gridDisableDragRowSize :: Grid a -> IO ()
gridDisableDragRowSize _obj
= withObjectRef "gridDisableDragRowSize" _obj $ \cobj__obj ->
wxGrid_DisableDragRowSize cobj__obj
foreign import ccall "wxGrid_DisableDragRowSize" wxGrid_DisableDragRowSize :: Ptr (TGrid a) -> IO ()
gridDrawAllGridLines :: Grid a -> DC b -> Region c -> IO ()
gridDrawAllGridLines _obj dc reg
= withObjectRef "gridDrawAllGridLines" _obj $ \cobj__obj ->
withObjectPtr dc $ \cobj_dc ->
withObjectPtr reg $ \cobj_reg ->
wxGrid_DrawAllGridLines cobj__obj cobj_dc cobj_reg
foreign import ccall "wxGrid_DrawAllGridLines" wxGrid_DrawAllGridLines :: Ptr (TGrid a) -> Ptr (TDC b) -> Ptr (TRegion c) -> IO ()
gridDrawCell :: Grid a -> DC b -> Int -> Int -> IO ()
gridDrawCell _obj dc _row _col
= withObjectRef "gridDrawCell" _obj $ \cobj__obj ->
withObjectPtr dc $ \cobj_dc ->
wxGrid_DrawCell cobj__obj cobj_dc (toCInt _row) (toCInt _col)
foreign import ccall "wxGrid_DrawCell" wxGrid_DrawCell :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> CInt -> IO ()
gridDrawCellBorder :: Grid a -> DC b -> Int -> Int -> IO ()
gridDrawCellBorder _obj dc _row _col
= withObjectRef "gridDrawCellBorder" _obj $ \cobj__obj ->
withObjectPtr dc $ \cobj_dc ->
wxGrid_DrawCellBorder cobj__obj cobj_dc (toCInt _row) (toCInt _col)
foreign import ccall "wxGrid_DrawCellBorder" wxGrid_DrawCellBorder :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> CInt -> IO ()
gridDrawCellHighlight :: Grid a -> DC b -> GridCellAttr c -> IO ()
gridDrawCellHighlight _obj dc attr
= withObjectRef "gridDrawCellHighlight" _obj $ \cobj__obj ->
withObjectPtr dc $ \cobj_dc ->
withObjectPtr attr $ \cobj_attr ->
wxGrid_DrawCellHighlight cobj__obj cobj_dc cobj_attr
foreign import ccall "wxGrid_DrawCellHighlight" wxGrid_DrawCellHighlight :: Ptr (TGrid a) -> Ptr (TDC b) -> Ptr (TGridCellAttr c) -> IO ()
gridDrawColLabel :: Grid a -> DC b -> Int -> IO ()
gridDrawColLabel _obj dc col
= withObjectRef "gridDrawColLabel" _obj $ \cobj__obj ->
withObjectPtr dc $ \cobj_dc ->
wxGrid_DrawColLabel cobj__obj cobj_dc (toCInt col)
foreign import ccall "wxGrid_DrawColLabel" wxGrid_DrawColLabel :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> IO ()
gridDrawColLabels :: Grid a -> DC b -> IO ()
gridDrawColLabels _obj dc
= withObjectRef "gridDrawColLabels" _obj $ \cobj__obj ->
withObjectPtr dc $ \cobj_dc ->
wxGrid_DrawColLabels cobj__obj cobj_dc
foreign import ccall "wxGrid_DrawColLabels" wxGrid_DrawColLabels :: Ptr (TGrid a) -> Ptr (TDC b) -> IO ()
gridDrawGridSpace :: Grid a -> DC b -> IO ()
gridDrawGridSpace _obj dc
= withObjectRef "gridDrawGridSpace" _obj $ \cobj__obj ->
withObjectPtr dc $ \cobj_dc ->
wxGrid_DrawGridSpace cobj__obj cobj_dc
foreign import ccall "wxGrid_DrawGridSpace" wxGrid_DrawGridSpace :: Ptr (TGrid a) -> Ptr (TDC b) -> IO ()
gridDrawRowLabel :: Grid a -> DC b -> Int -> IO ()
gridDrawRowLabel _obj dc row
= withObjectRef "gridDrawRowLabel" _obj $ \cobj__obj ->
withObjectPtr dc $ \cobj_dc ->
wxGrid_DrawRowLabel cobj__obj cobj_dc (toCInt row)
foreign import ccall "wxGrid_DrawRowLabel" wxGrid_DrawRowLabel :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> IO ()
gridDrawRowLabels :: Grid a -> DC b -> IO ()
gridDrawRowLabels _obj dc
= withObjectRef "gridDrawRowLabels" _obj $ \cobj__obj ->
withObjectPtr dc $ \cobj_dc ->
wxGrid_DrawRowLabels cobj__obj cobj_dc
foreign import ccall "wxGrid_DrawRowLabels" wxGrid_DrawRowLabels :: Ptr (TGrid a) -> Ptr (TDC b) -> IO ()
gridDrawTextRectangle :: Grid a -> DC b -> String -> Rect -> Int -> Int -> IO ()
gridDrawTextRectangle _obj dc txt xywh horizontalAlignment verticalAlignment
= withObjectRef "gridDrawTextRectangle" _obj $ \cobj__obj ->
withObjectPtr dc $ \cobj_dc ->
withStringPtr txt $ \cobj_txt ->
wxGrid_DrawTextRectangle cobj__obj cobj_dc cobj_txt (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) (toCInt horizontalAlignment) (toCInt verticalAlignment)
foreign import ccall "wxGrid_DrawTextRectangle" wxGrid_DrawTextRectangle :: Ptr (TGrid a) -> Ptr (TDC b) -> Ptr (TWxString c) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO ()
gridEditorCreatedEventGetCol :: GridEditorCreatedEvent a -> IO Int
gridEditorCreatedEventGetCol _obj
= withIntResult $
withObjectRef "gridEditorCreatedEventGetCol" _obj $ \cobj__obj ->
wxGridEditorCreatedEvent_GetCol cobj__obj
foreign import ccall "wxGridEditorCreatedEvent_GetCol" wxGridEditorCreatedEvent_GetCol :: Ptr (TGridEditorCreatedEvent a) -> IO CInt
gridEditorCreatedEventGetControl :: GridEditorCreatedEvent a -> IO (Control ())
gridEditorCreatedEventGetControl _obj
= withObjectResult $
withObjectRef "gridEditorCreatedEventGetControl" _obj $ \cobj__obj ->
wxGridEditorCreatedEvent_GetControl cobj__obj
foreign import ccall "wxGridEditorCreatedEvent_GetControl" wxGridEditorCreatedEvent_GetControl :: Ptr (TGridEditorCreatedEvent a) -> IO (Ptr (TControl ()))
gridEditorCreatedEventGetRow :: GridEditorCreatedEvent a -> IO Int
gridEditorCreatedEventGetRow _obj
= withIntResult $
withObjectRef "gridEditorCreatedEventGetRow" _obj $ \cobj__obj ->
wxGridEditorCreatedEvent_GetRow cobj__obj
foreign import ccall "wxGridEditorCreatedEvent_GetRow" wxGridEditorCreatedEvent_GetRow :: Ptr (TGridEditorCreatedEvent a) -> IO CInt
gridEditorCreatedEventSetCol :: GridEditorCreatedEvent a -> Int -> IO ()
gridEditorCreatedEventSetCol _obj col
= withObjectRef "gridEditorCreatedEventSetCol" _obj $ \cobj__obj ->
wxGridEditorCreatedEvent_SetCol cobj__obj (toCInt col)
foreign import ccall "wxGridEditorCreatedEvent_SetCol" wxGridEditorCreatedEvent_SetCol :: Ptr (TGridEditorCreatedEvent a) -> CInt -> IO ()
gridEditorCreatedEventSetControl :: GridEditorCreatedEvent a -> Control b -> IO ()
gridEditorCreatedEventSetControl _obj ctrl
= withObjectRef "gridEditorCreatedEventSetControl" _obj $ \cobj__obj ->
withObjectPtr ctrl $ \cobj_ctrl ->
wxGridEditorCreatedEvent_SetControl cobj__obj cobj_ctrl
foreign import ccall "wxGridEditorCreatedEvent_SetControl" wxGridEditorCreatedEvent_SetControl :: Ptr (TGridEditorCreatedEvent a) -> Ptr (TControl b) -> IO ()
gridEditorCreatedEventSetRow :: GridEditorCreatedEvent a -> Int -> IO ()
gridEditorCreatedEventSetRow _obj row
= withObjectRef "gridEditorCreatedEventSetRow" _obj $ \cobj__obj ->
wxGridEditorCreatedEvent_SetRow cobj__obj (toCInt row)
foreign import ccall "wxGridEditorCreatedEvent_SetRow" wxGridEditorCreatedEvent_SetRow :: Ptr (TGridEditorCreatedEvent a) -> CInt -> IO ()
gridEnableCellEditControl :: Grid a -> Bool -> IO ()
gridEnableCellEditControl _obj enable
= withObjectRef "gridEnableCellEditControl" _obj $ \cobj__obj ->
wxGrid_EnableCellEditControl cobj__obj (toCBool enable)
foreign import ccall "wxGrid_EnableCellEditControl" wxGrid_EnableCellEditControl :: Ptr (TGrid a) -> CBool -> IO ()
gridEnableDragColSize :: Grid a -> Bool -> IO ()
gridEnableDragColSize _obj enable
= withObjectRef "gridEnableDragColSize" _obj $ \cobj__obj ->
wxGrid_EnableDragColSize cobj__obj (toCBool enable)
foreign import ccall "wxGrid_EnableDragColSize" wxGrid_EnableDragColSize :: Ptr (TGrid a) -> CBool -> IO ()
gridEnableDragGridSize :: Grid a -> Bool -> IO ()
gridEnableDragGridSize _obj enable
= withObjectRef "gridEnableDragGridSize" _obj $ \cobj__obj ->
wxGrid_EnableDragGridSize cobj__obj (toCBool enable)
foreign import ccall "wxGrid_EnableDragGridSize" wxGrid_EnableDragGridSize :: Ptr (TGrid a) -> CBool -> IO ()
gridEnableDragRowSize :: Grid a -> Bool -> IO ()
gridEnableDragRowSize _obj enable
= withObjectRef "gridEnableDragRowSize" _obj $ \cobj__obj ->
wxGrid_EnableDragRowSize cobj__obj (toCBool enable)
foreign import ccall "wxGrid_EnableDragRowSize" wxGrid_EnableDragRowSize :: Ptr (TGrid a) -> CBool -> IO ()
gridEnableEditing :: Grid a -> Bool -> IO ()
gridEnableEditing _obj edit
= withObjectRef "gridEnableEditing" _obj $ \cobj__obj ->
wxGrid_EnableEditing cobj__obj (toCBool edit)
foreign import ccall "wxGrid_EnableEditing" wxGrid_EnableEditing :: Ptr (TGrid a) -> CBool -> IO ()
gridEnableGridLines :: Grid a -> Bool -> IO ()
gridEnableGridLines _obj enable
= withObjectRef "gridEnableGridLines" _obj $ \cobj__obj ->
wxGrid_EnableGridLines cobj__obj (toCBool enable)
foreign import ccall "wxGrid_EnableGridLines" wxGrid_EnableGridLines :: Ptr (TGrid a) -> CBool -> IO ()
gridEndBatch :: Grid a -> IO ()
gridEndBatch _obj
= withObjectRef "gridEndBatch" _obj $ \cobj__obj ->
wxGrid_EndBatch cobj__obj
foreign import ccall "wxGrid_EndBatch" wxGrid_EndBatch :: Ptr (TGrid a) -> IO ()
gridEventAltDown :: GridEvent a -> IO Bool
gridEventAltDown _obj
= withBoolResult $
withObjectRef "gridEventAltDown" _obj $ \cobj__obj ->
wxGridEvent_AltDown cobj__obj
foreign import ccall "wxGridEvent_AltDown" wxGridEvent_AltDown :: Ptr (TGridEvent a) -> IO CBool
gridEventControlDown :: GridEvent a -> IO Bool
gridEventControlDown _obj
= withBoolResult $
withObjectRef "gridEventControlDown" _obj $ \cobj__obj ->
wxGridEvent_ControlDown cobj__obj
foreign import ccall "wxGridEvent_ControlDown" wxGridEvent_ControlDown :: Ptr (TGridEvent a) -> IO CBool
gridEventGetCol :: GridEvent a -> IO Int
gridEventGetCol _obj
= withIntResult $
withObjectRef "gridEventGetCol" _obj $ \cobj__obj ->
wxGridEvent_GetCol cobj__obj
foreign import ccall "wxGridEvent_GetCol" wxGridEvent_GetCol :: Ptr (TGridEvent a) -> IO CInt
gridEventGetPosition :: GridEvent a -> IO (Point)
gridEventGetPosition _obj
= withWxPointResult $
withObjectRef "gridEventGetPosition" _obj $ \cobj__obj ->
wxGridEvent_GetPosition cobj__obj
foreign import ccall "wxGridEvent_GetPosition" wxGridEvent_GetPosition :: Ptr (TGridEvent a) -> IO (Ptr (TWxPoint ()))
gridEventGetRow :: GridEvent a -> IO Int
gridEventGetRow _obj
= withIntResult $
withObjectRef "gridEventGetRow" _obj $ \cobj__obj ->
wxGridEvent_GetRow cobj__obj
foreign import ccall "wxGridEvent_GetRow" wxGridEvent_GetRow :: Ptr (TGridEvent a) -> IO CInt
gridEventMetaDown :: GridEvent a -> IO Bool
gridEventMetaDown _obj
= withBoolResult $
withObjectRef "gridEventMetaDown" _obj $ \cobj__obj ->
wxGridEvent_MetaDown cobj__obj
foreign import ccall "wxGridEvent_MetaDown" wxGridEvent_MetaDown :: Ptr (TGridEvent a) -> IO CBool
gridEventSelecting :: GridEvent a -> IO Bool
gridEventSelecting _obj
= withBoolResult $
withObjectRef "gridEventSelecting" _obj $ \cobj__obj ->
wxGridEvent_Selecting cobj__obj
foreign import ccall "wxGridEvent_Selecting" wxGridEvent_Selecting :: Ptr (TGridEvent a) -> IO CBool
gridEventShiftDown :: GridEvent a -> IO Bool
gridEventShiftDown _obj
= withBoolResult $
withObjectRef "gridEventShiftDown" _obj $ \cobj__obj ->
wxGridEvent_ShiftDown cobj__obj
foreign import ccall "wxGridEvent_ShiftDown" wxGridEvent_ShiftDown :: Ptr (TGridEvent a) -> IO CBool
gridGetBatchCount :: Grid a -> IO Int
gridGetBatchCount _obj
= withIntResult $
withObjectRef "gridGetBatchCount" _obj $ \cobj__obj ->
wxGrid_GetBatchCount cobj__obj
foreign import ccall "wxGrid_GetBatchCount" wxGrid_GetBatchCount :: Ptr (TGrid a) -> IO CInt
gridGetCellAlignment :: Grid a -> Int -> Int -> IO Size
gridGetCellAlignment _obj row col
= withSizeResult $ \pw ph ->
withObjectRef "gridGetCellAlignment" _obj $ \cobj__obj ->
wxGrid_GetCellAlignment cobj__obj (toCInt row) (toCInt col) pw ph
foreign import ccall "wxGrid_GetCellAlignment" wxGrid_GetCellAlignment :: Ptr (TGrid a) -> CInt -> CInt -> Ptr CInt -> Ptr CInt -> IO ()
gridGetCellBackgroundColour :: Grid a -> Int -> Int -> Color -> IO ()
gridGetCellBackgroundColour _obj row col colour
= withObjectRef "gridGetCellBackgroundColour" _obj $ \cobj__obj ->
withColourPtr colour $ \cobj_colour ->
wxGrid_GetCellBackgroundColour cobj__obj (toCInt row) (toCInt col) cobj_colour
foreign import ccall "wxGrid_GetCellBackgroundColour" wxGrid_GetCellBackgroundColour :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TColour d) -> IO ()
gridGetCellEditor :: Grid a -> Int -> Int -> IO (GridCellEditor ())
gridGetCellEditor _obj row col
= withObjectResult $
withObjectRef "gridGetCellEditor" _obj $ \cobj__obj ->
wxGrid_GetCellEditor cobj__obj (toCInt row) (toCInt col)
foreign import ccall "wxGrid_GetCellEditor" wxGrid_GetCellEditor :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TGridCellEditor ()))
gridGetCellFont :: Grid a -> Int -> Int -> Font d -> IO ()
gridGetCellFont _obj row col font
= withObjectRef "gridGetCellFont" _obj $ \cobj__obj ->
withObjectPtr font $ \cobj_font ->
wxGrid_GetCellFont cobj__obj (toCInt row) (toCInt col) cobj_font
foreign import ccall "wxGrid_GetCellFont" wxGrid_GetCellFont :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TFont d) -> IO ()
gridGetCellHighlightColour :: Grid a -> IO (Color)
gridGetCellHighlightColour _obj
= withRefColour $ \pref ->
withObjectRef "gridGetCellHighlightColour" _obj $ \cobj__obj ->
wxGrid_GetCellHighlightColour cobj__obj pref
foreign import ccall "wxGrid_GetCellHighlightColour" wxGrid_GetCellHighlightColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
gridGetCellRenderer :: Grid a -> Int -> Int -> IO (GridCellRenderer ())
gridGetCellRenderer _obj row col
= withObjectResult $
withObjectRef "gridGetCellRenderer" _obj $ \cobj__obj ->
wxGrid_GetCellRenderer cobj__obj (toCInt row) (toCInt col)
foreign import ccall "wxGrid_GetCellRenderer" wxGrid_GetCellRenderer :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TGridCellRenderer ()))
gridGetCellSize :: Grid a -> Int -> Int -> IO Size
gridGetCellSize _obj row col
= withSizeResult $ \pw ph ->
withObjectRef "gridGetCellSize" _obj $ \cobj__obj ->
wxGrid_GetCellSize cobj__obj (toCInt row) (toCInt col) pw ph
foreign import ccall "wxGrid_GetCellSize" wxGrid_GetCellSize :: Ptr (TGrid a) -> CInt -> CInt -> Ptr CInt -> Ptr CInt -> IO ()
gridGetCellTextColour :: Grid a -> Int -> Int -> Color -> IO ()
gridGetCellTextColour _obj row col colour
= withObjectRef "gridGetCellTextColour" _obj $ \cobj__obj ->
withColourPtr colour $ \cobj_colour ->
wxGrid_GetCellTextColour cobj__obj (toCInt row) (toCInt col) cobj_colour
foreign import ccall "wxGrid_GetCellTextColour" wxGrid_GetCellTextColour :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TColour d) -> IO ()
gridGetCellValue :: Grid a -> Int -> Int -> IO (String)
gridGetCellValue _obj row col
= withManagedStringResult $
withObjectRef "gridGetCellValue" _obj $ \cobj__obj ->
wxGrid_GetCellValue cobj__obj (toCInt row) (toCInt col)
foreign import ccall "wxGrid_GetCellValue" wxGrid_GetCellValue :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TWxString ()))
gridGetColLabelAlignment :: Grid a -> IO Size
gridGetColLabelAlignment _obj
= withSizeResult $ \pw ph ->
withObjectRef "gridGetColLabelAlignment" _obj $ \cobj__obj ->
wxGrid_GetColLabelAlignment cobj__obj pw ph
foreign import ccall "wxGrid_GetColLabelAlignment" wxGrid_GetColLabelAlignment :: Ptr (TGrid a) -> Ptr CInt -> Ptr CInt -> IO ()
gridGetColLabelSize :: Grid a -> IO Int
gridGetColLabelSize _obj
= withIntResult $
withObjectRef "gridGetColLabelSize" _obj $ \cobj__obj ->
wxGrid_GetColLabelSize cobj__obj
foreign import ccall "wxGrid_GetColLabelSize" wxGrid_GetColLabelSize :: Ptr (TGrid a) -> IO CInt
gridGetColLabelValue :: Grid a -> Int -> IO (String)
gridGetColLabelValue _obj col
= withManagedStringResult $
withObjectRef "gridGetColLabelValue" _obj $ \cobj__obj ->
wxGrid_GetColLabelValue cobj__obj (toCInt col)
foreign import ccall "wxGrid_GetColLabelValue" wxGrid_GetColLabelValue :: Ptr (TGrid a) -> CInt -> IO (Ptr (TWxString ()))
gridGetColSize :: Grid a -> Int -> IO Int
gridGetColSize _obj col
= withIntResult $
withObjectRef "gridGetColSize" _obj $ \cobj__obj ->
wxGrid_GetColSize cobj__obj (toCInt col)
foreign import ccall "wxGrid_GetColSize" wxGrid_GetColSize :: Ptr (TGrid a) -> CInt -> IO CInt
gridGetDefaultCellAlignment :: Grid a -> IO Size
gridGetDefaultCellAlignment _obj
= withSizeResult $ \pw ph ->
withObjectRef "gridGetDefaultCellAlignment" _obj $ \cobj__obj ->
wxGrid_GetDefaultCellAlignment cobj__obj pw ph
foreign import ccall "wxGrid_GetDefaultCellAlignment" wxGrid_GetDefaultCellAlignment :: Ptr (TGrid a) -> Ptr CInt -> Ptr CInt -> IO ()
gridGetDefaultCellBackgroundColour :: Grid a -> IO (Color)
gridGetDefaultCellBackgroundColour _obj
= withRefColour $ \pref ->
withObjectRef "gridGetDefaultCellBackgroundColour" _obj $ \cobj__obj ->
wxGrid_GetDefaultCellBackgroundColour cobj__obj pref
foreign import ccall "wxGrid_GetDefaultCellBackgroundColour" wxGrid_GetDefaultCellBackgroundColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
gridGetDefaultCellFont :: Grid a -> IO (Font ())
gridGetDefaultCellFont _obj
= withRefFont $ \pref ->
withObjectRef "gridGetDefaultCellFont" _obj $ \cobj__obj ->
wxGrid_GetDefaultCellFont cobj__obj pref
foreign import ccall "wxGrid_GetDefaultCellFont" wxGrid_GetDefaultCellFont :: Ptr (TGrid a) -> Ptr (TFont ()) -> IO ()
gridGetDefaultCellTextColour :: Grid a -> IO (Color)
gridGetDefaultCellTextColour _obj
= withRefColour $ \pref ->
withObjectRef "gridGetDefaultCellTextColour" _obj $ \cobj__obj ->
wxGrid_GetDefaultCellTextColour cobj__obj pref
foreign import ccall "wxGrid_GetDefaultCellTextColour" wxGrid_GetDefaultCellTextColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
gridGetDefaultColLabelSize :: Grid a -> IO Int
gridGetDefaultColLabelSize _obj
= withIntResult $
withObjectRef "gridGetDefaultColLabelSize" _obj $ \cobj__obj ->
wxGrid_GetDefaultColLabelSize cobj__obj
foreign import ccall "wxGrid_GetDefaultColLabelSize" wxGrid_GetDefaultColLabelSize :: Ptr (TGrid a) -> IO CInt
gridGetDefaultColSize :: Grid a -> IO Int
gridGetDefaultColSize _obj
= withIntResult $
withObjectRef "gridGetDefaultColSize" _obj $ \cobj__obj ->
wxGrid_GetDefaultColSize cobj__obj
foreign import ccall "wxGrid_GetDefaultColSize" wxGrid_GetDefaultColSize :: Ptr (TGrid a) -> IO CInt
gridGetDefaultEditor :: Grid a -> IO (GridCellEditor ())
gridGetDefaultEditor _obj
= withObjectResult $
withObjectRef "gridGetDefaultEditor" _obj $ \cobj__obj ->
wxGrid_GetDefaultEditor cobj__obj
foreign import ccall "wxGrid_GetDefaultEditor" wxGrid_GetDefaultEditor :: Ptr (TGrid a) -> IO (Ptr (TGridCellEditor ()))
gridGetDefaultEditorForCell :: Grid a -> Int -> Int -> IO (GridCellEditor ())
gridGetDefaultEditorForCell _obj row col
= withObjectResult $
withObjectRef "gridGetDefaultEditorForCell" _obj $ \cobj__obj ->
wxGrid_GetDefaultEditorForCell cobj__obj (toCInt row) (toCInt col)
foreign import ccall "wxGrid_GetDefaultEditorForCell" wxGrid_GetDefaultEditorForCell :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TGridCellEditor ()))
gridGetDefaultEditorForType :: Grid a -> String -> IO (GridCellEditor ())
gridGetDefaultEditorForType _obj typeName
= withObjectResult $
withObjectRef "gridGetDefaultEditorForType" _obj $ \cobj__obj ->
withStringPtr typeName $ \cobj_typeName ->
wxGrid_GetDefaultEditorForType cobj__obj cobj_typeName
foreign import ccall "wxGrid_GetDefaultEditorForType" wxGrid_GetDefaultEditorForType :: Ptr (TGrid a) -> Ptr (TWxString b) -> IO (Ptr (TGridCellEditor ()))
gridGetDefaultRenderer :: Grid a -> IO (GridCellRenderer ())
gridGetDefaultRenderer _obj
= withObjectResult $
withObjectRef "gridGetDefaultRenderer" _obj $ \cobj__obj ->
wxGrid_GetDefaultRenderer cobj__obj
foreign import ccall "wxGrid_GetDefaultRenderer" wxGrid_GetDefaultRenderer :: Ptr (TGrid a) -> IO (Ptr (TGridCellRenderer ()))
gridGetDefaultRendererForCell :: Grid a -> Int -> Int -> IO (GridCellRenderer ())
gridGetDefaultRendererForCell _obj row col
= withObjectResult $
withObjectRef "gridGetDefaultRendererForCell" _obj $ \cobj__obj ->
wxGrid_GetDefaultRendererForCell cobj__obj (toCInt row) (toCInt col)
foreign import ccall "wxGrid_GetDefaultRendererForCell" wxGrid_GetDefaultRendererForCell :: Ptr (TGrid a) -> CInt -> CInt -> IO (Ptr (TGridCellRenderer ()))
gridGetDefaultRendererForType :: Grid a -> String -> IO (GridCellRenderer ())
gridGetDefaultRendererForType _obj typeName
= withObjectResult $
withObjectRef "gridGetDefaultRendererForType" _obj $ \cobj__obj ->
withStringPtr typeName $ \cobj_typeName ->
wxGrid_GetDefaultRendererForType cobj__obj cobj_typeName
foreign import ccall "wxGrid_GetDefaultRendererForType" wxGrid_GetDefaultRendererForType :: Ptr (TGrid a) -> Ptr (TWxString b) -> IO (Ptr (TGridCellRenderer ()))
gridGetDefaultRowLabelSize :: Grid a -> IO Int
gridGetDefaultRowLabelSize _obj
= withIntResult $
withObjectRef "gridGetDefaultRowLabelSize" _obj $ \cobj__obj ->
wxGrid_GetDefaultRowLabelSize cobj__obj
foreign import ccall "wxGrid_GetDefaultRowLabelSize" wxGrid_GetDefaultRowLabelSize :: Ptr (TGrid a) -> IO CInt
gridGetDefaultRowSize :: Grid a -> IO Int
gridGetDefaultRowSize _obj
= withIntResult $
withObjectRef "gridGetDefaultRowSize" _obj $ \cobj__obj ->
wxGrid_GetDefaultRowSize cobj__obj
foreign import ccall "wxGrid_GetDefaultRowSize" wxGrid_GetDefaultRowSize :: Ptr (TGrid a) -> IO CInt
gridGetGridCursorCol :: Grid a -> IO Int
gridGetGridCursorCol _obj
= withIntResult $
withObjectRef "gridGetGridCursorCol" _obj $ \cobj__obj ->
wxGrid_GetGridCursorCol cobj__obj
foreign import ccall "wxGrid_GetGridCursorCol" wxGrid_GetGridCursorCol :: Ptr (TGrid a) -> IO CInt
gridGetGridCursorRow :: Grid a -> IO Int
gridGetGridCursorRow _obj
= withIntResult $
withObjectRef "gridGetGridCursorRow" _obj $ \cobj__obj ->
wxGrid_GetGridCursorRow cobj__obj
foreign import ccall "wxGrid_GetGridCursorRow" wxGrid_GetGridCursorRow :: Ptr (TGrid a) -> IO CInt
gridGetGridLineColour :: Grid a -> IO (Color)
gridGetGridLineColour _obj
= withRefColour $ \pref ->
withObjectRef "gridGetGridLineColour" _obj $ \cobj__obj ->
wxGrid_GetGridLineColour cobj__obj pref
foreign import ccall "wxGrid_GetGridLineColour" wxGrid_GetGridLineColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
gridGetLabelBackgroundColour :: Grid a -> IO (Color)
gridGetLabelBackgroundColour _obj
= withRefColour $ \pref ->
withObjectRef "gridGetLabelBackgroundColour" _obj $ \cobj__obj ->
wxGrid_GetLabelBackgroundColour cobj__obj pref
foreign import ccall "wxGrid_GetLabelBackgroundColour" wxGrid_GetLabelBackgroundColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
gridGetLabelFont :: Grid a -> IO (Font ())
gridGetLabelFont _obj
= withRefFont $ \pref ->
withObjectRef "gridGetLabelFont" _obj $ \cobj__obj ->
wxGrid_GetLabelFont cobj__obj pref
foreign import ccall "wxGrid_GetLabelFont" wxGrid_GetLabelFont :: Ptr (TGrid a) -> Ptr (TFont ()) -> IO ()
gridGetLabelTextColour :: Grid a -> IO (Color)
gridGetLabelTextColour _obj
= withRefColour $ \pref ->
withObjectRef "gridGetLabelTextColour" _obj $ \cobj__obj ->
wxGrid_GetLabelTextColour cobj__obj pref
foreign import ccall "wxGrid_GetLabelTextColour" wxGrid_GetLabelTextColour :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
gridGetNumberCols :: Grid a -> IO Int
gridGetNumberCols _obj
= withIntResult $
withObjectRef "gridGetNumberCols" _obj $ \cobj__obj ->
wxGrid_GetNumberCols cobj__obj
foreign import ccall "wxGrid_GetNumberCols" wxGrid_GetNumberCols :: Ptr (TGrid a) -> IO CInt
gridGetNumberRows :: Grid a -> IO Int
gridGetNumberRows _obj
= withIntResult $
withObjectRef "gridGetNumberRows" _obj $ \cobj__obj ->
wxGrid_GetNumberRows cobj__obj
foreign import ccall "wxGrid_GetNumberRows" wxGrid_GetNumberRows :: Ptr (TGrid a) -> IO CInt
gridGetRowLabelAlignment :: Grid a -> IO Size
gridGetRowLabelAlignment _obj
= withSizeResult $ \pw ph ->
withObjectRef "gridGetRowLabelAlignment" _obj $ \cobj__obj ->
wxGrid_GetRowLabelAlignment cobj__obj pw ph
foreign import ccall "wxGrid_GetRowLabelAlignment" wxGrid_GetRowLabelAlignment :: Ptr (TGrid a) -> Ptr CInt -> Ptr CInt -> IO ()
gridGetRowLabelSize :: Grid a -> IO Int
gridGetRowLabelSize _obj
= withIntResult $
withObjectRef "gridGetRowLabelSize" _obj $ \cobj__obj ->
wxGrid_GetRowLabelSize cobj__obj
foreign import ccall "wxGrid_GetRowLabelSize" wxGrid_GetRowLabelSize :: Ptr (TGrid a) -> IO CInt
gridGetRowLabelValue :: Grid a -> Int -> IO (String)
gridGetRowLabelValue _obj row
= withManagedStringResult $
withObjectRef "gridGetRowLabelValue" _obj $ \cobj__obj ->
wxGrid_GetRowLabelValue cobj__obj (toCInt row)
foreign import ccall "wxGrid_GetRowLabelValue" wxGrid_GetRowLabelValue :: Ptr (TGrid a) -> CInt -> IO (Ptr (TWxString ()))
gridGetRowSize :: Grid a -> Int -> IO Int
gridGetRowSize _obj row
= withIntResult $
withObjectRef "gridGetRowSize" _obj $ \cobj__obj ->
wxGrid_GetRowSize cobj__obj (toCInt row)
foreign import ccall "wxGrid_GetRowSize" wxGrid_GetRowSize :: Ptr (TGrid a) -> CInt -> IO CInt
gridGetSelectedCells :: Grid a -> IO (GridCellCoordsArray ())
gridGetSelectedCells _obj
= withRefGridCellCoordsArray $ \pref ->
withObjectRef "gridGetSelectedCells" _obj $ \cobj__obj ->
wxGrid_GetSelectedCells cobj__obj pref
foreign import ccall "wxGrid_GetSelectedCells" wxGrid_GetSelectedCells :: Ptr (TGrid a) -> Ptr (TGridCellCoordsArray ()) -> IO ()
gridGetSelectedCols :: Grid a -> IO [Int]
gridGetSelectedCols _obj
= withArrayIntResult $ \arr ->
withObjectRef "gridGetSelectedCols" _obj $ \cobj__obj ->
wxGrid_GetSelectedCols cobj__obj arr
foreign import ccall "wxGrid_GetSelectedCols" wxGrid_GetSelectedCols :: Ptr (TGrid a) -> Ptr CInt -> IO CInt
gridGetSelectedRows :: Grid a -> IO [Int]
gridGetSelectedRows _obj
= withArrayIntResult $ \arr ->
withObjectRef "gridGetSelectedRows" _obj $ \cobj__obj ->
wxGrid_GetSelectedRows cobj__obj arr
foreign import ccall "wxGrid_GetSelectedRows" wxGrid_GetSelectedRows :: Ptr (TGrid a) -> Ptr CInt -> IO CInt
gridGetSelectionBackground :: Grid a -> IO (Color)
gridGetSelectionBackground _obj
= withRefColour $ \pref ->
withObjectRef "gridGetSelectionBackground" _obj $ \cobj__obj ->
wxGrid_GetSelectionBackground cobj__obj pref
foreign import ccall "wxGrid_GetSelectionBackground" wxGrid_GetSelectionBackground :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
gridGetSelectionBlockBottomRight :: Grid a -> IO (GridCellCoordsArray ())
gridGetSelectionBlockBottomRight _obj
= withRefGridCellCoordsArray $ \pref ->
withObjectRef "gridGetSelectionBlockBottomRight" _obj $ \cobj__obj ->
wxGrid_GetSelectionBlockBottomRight cobj__obj pref
foreign import ccall "wxGrid_GetSelectionBlockBottomRight" wxGrid_GetSelectionBlockBottomRight :: Ptr (TGrid a) -> Ptr (TGridCellCoordsArray ()) -> IO ()
gridGetSelectionBlockTopLeft :: Grid a -> IO (GridCellCoordsArray ())
gridGetSelectionBlockTopLeft _obj
= withRefGridCellCoordsArray $ \pref ->
withObjectRef "gridGetSelectionBlockTopLeft" _obj $ \cobj__obj ->
wxGrid_GetSelectionBlockTopLeft cobj__obj pref
foreign import ccall "wxGrid_GetSelectionBlockTopLeft" wxGrid_GetSelectionBlockTopLeft :: Ptr (TGrid a) -> Ptr (TGridCellCoordsArray ()) -> IO ()
gridGetSelectionForeground :: Grid a -> IO (Color)
gridGetSelectionForeground _obj
= withRefColour $ \pref ->
withObjectRef "gridGetSelectionForeground" _obj $ \cobj__obj ->
wxGrid_GetSelectionForeground cobj__obj pref
foreign import ccall "wxGrid_GetSelectionForeground" wxGrid_GetSelectionForeground :: Ptr (TGrid a) -> Ptr (TColour ()) -> IO ()
gridGetTable :: Grid a -> IO (GridTableBase ())
gridGetTable _obj
= withObjectResult $
withObjectRef "gridGetTable" _obj $ \cobj__obj ->
wxGrid_GetTable cobj__obj
foreign import ccall "wxGrid_GetTable" wxGrid_GetTable :: Ptr (TGrid a) -> IO (Ptr (TGridTableBase ()))
gridGetTextBoxSize :: Grid a -> DC b -> [String] -> IO Size
gridGetTextBoxSize _obj dc countlines
= withSizeResult $ \pw ph ->
withObjectRef "gridGetTextBoxSize" _obj $ \cobj__obj ->
withObjectPtr dc $ \cobj_dc ->
withArrayWString countlines $ \carrlen_countlines carr_countlines ->
wxGrid_GetTextBoxSize cobj__obj cobj_dc carrlen_countlines carr_countlines pw ph
foreign import ccall "wxGrid_GetTextBoxSize" wxGrid_GetTextBoxSize :: Ptr (TGrid a) -> Ptr (TDC b) -> CInt -> Ptr (Ptr CWchar) -> Ptr CInt -> Ptr CInt -> IO ()
gridGridLinesEnabled :: Grid a -> IO Int
gridGridLinesEnabled _obj
= withIntResult $
withObjectRef "gridGridLinesEnabled" _obj $ \cobj__obj ->
wxGrid_GridLinesEnabled cobj__obj
foreign import ccall "wxGrid_GridLinesEnabled" wxGrid_GridLinesEnabled :: Ptr (TGrid a) -> IO CInt
gridHideCellEditControl :: Grid a -> IO ()
gridHideCellEditControl _obj
= withObjectRef "gridHideCellEditControl" _obj $ \cobj__obj ->
wxGrid_HideCellEditControl cobj__obj
foreign import ccall "wxGrid_HideCellEditControl" wxGrid_HideCellEditControl :: Ptr (TGrid a) -> IO ()
gridInsertCols :: Grid a -> Int -> Int -> Bool -> IO Bool
gridInsertCols _obj pos numCols updateLabels
= withBoolResult $
withObjectRef "gridInsertCols" _obj $ \cobj__obj ->
wxGrid_InsertCols cobj__obj (toCInt pos) (toCInt numCols) (toCBool updateLabels)
foreign import ccall "wxGrid_InsertCols" wxGrid_InsertCols :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool
gridInsertRows :: Grid a -> Int -> Int -> Bool -> IO Bool
gridInsertRows _obj pos numRows updateLabels
= withBoolResult $
withObjectRef "gridInsertRows" _obj $ \cobj__obj ->
wxGrid_InsertRows cobj__obj (toCInt pos) (toCInt numRows) (toCBool updateLabels)
foreign import ccall "wxGrid_InsertRows" wxGrid_InsertRows :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool
gridIsCellEditControlEnabled :: Grid a -> IO Bool
gridIsCellEditControlEnabled _obj
= withBoolResult $
withObjectRef "gridIsCellEditControlEnabled" _obj $ \cobj__obj ->
wxGrid_IsCellEditControlEnabled cobj__obj
foreign import ccall "wxGrid_IsCellEditControlEnabled" wxGrid_IsCellEditControlEnabled :: Ptr (TGrid a) -> IO CBool
gridIsCellEditControlShown :: Grid a -> IO Bool
gridIsCellEditControlShown _obj
= withBoolResult $
withObjectRef "gridIsCellEditControlShown" _obj $ \cobj__obj ->
wxGrid_IsCellEditControlShown cobj__obj
foreign import ccall "wxGrid_IsCellEditControlShown" wxGrid_IsCellEditControlShown :: Ptr (TGrid a) -> IO CBool
gridIsCurrentCellReadOnly :: Grid a -> IO Bool
gridIsCurrentCellReadOnly _obj
= withBoolResult $
withObjectRef "gridIsCurrentCellReadOnly" _obj $ \cobj__obj ->
wxGrid_IsCurrentCellReadOnly cobj__obj
foreign import ccall "wxGrid_IsCurrentCellReadOnly" wxGrid_IsCurrentCellReadOnly :: Ptr (TGrid a) -> IO CBool
gridIsEditable :: Grid a -> IO Bool
gridIsEditable _obj
= withBoolResult $
withObjectRef "gridIsEditable" _obj $ \cobj__obj ->
wxGrid_IsEditable cobj__obj
foreign import ccall "wxGrid_IsEditable" wxGrid_IsEditable :: Ptr (TGrid a) -> IO CBool
gridIsInSelection :: Grid a -> Int -> Int -> IO Bool
gridIsInSelection _obj row col
= withBoolResult $
withObjectRef "gridIsInSelection" _obj $ \cobj__obj ->
wxGrid_IsInSelection cobj__obj (toCInt row) (toCInt col)
foreign import ccall "wxGrid_IsInSelection" wxGrid_IsInSelection :: Ptr (TGrid a) -> CInt -> CInt -> IO CBool
gridIsReadOnly :: Grid a -> Int -> Int -> IO Bool
gridIsReadOnly _obj row col
= withBoolResult $
withObjectRef "gridIsReadOnly" _obj $ \cobj__obj ->
wxGrid_IsReadOnly cobj__obj (toCInt row) (toCInt col)
foreign import ccall "wxGrid_IsReadOnly" wxGrid_IsReadOnly :: Ptr (TGrid a) -> CInt -> CInt -> IO CBool
gridIsSelection :: Grid a -> IO Bool
gridIsSelection _obj
= withBoolResult $
withObjectRef "gridIsSelection" _obj $ \cobj__obj ->
wxGrid_IsSelection cobj__obj
foreign import ccall "wxGrid_IsSelection" wxGrid_IsSelection :: Ptr (TGrid a) -> IO CBool
gridIsVisible :: Grid a -> Int -> Int -> Bool -> IO Bool
gridIsVisible _obj row col wholeCellVisible
= withBoolResult $
withObjectRef "gridIsVisible" _obj $ \cobj__obj ->
wxGrid_IsVisible cobj__obj (toCInt row) (toCInt col) (toCBool wholeCellVisible)
foreign import ccall "wxGrid_IsVisible" wxGrid_IsVisible :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO CBool
gridMakeCellVisible :: Grid a -> Int -> Int -> IO ()
gridMakeCellVisible _obj row col
= withObjectRef "gridMakeCellVisible" _obj $ \cobj__obj ->
wxGrid_MakeCellVisible cobj__obj (toCInt row) (toCInt col)
foreign import ccall "wxGrid_MakeCellVisible" wxGrid_MakeCellVisible :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
gridMoveCursorDown :: Grid a -> Bool -> IO Bool
gridMoveCursorDown _obj expandSelection
= withBoolResult $
withObjectRef "gridMoveCursorDown" _obj $ \cobj__obj ->
wxGrid_MoveCursorDown cobj__obj (toCBool expandSelection)
foreign import ccall "wxGrid_MoveCursorDown" wxGrid_MoveCursorDown :: Ptr (TGrid a) -> CBool -> IO CBool
gridMoveCursorDownBlock :: Grid a -> Bool -> IO Bool
gridMoveCursorDownBlock _obj expandSelection
= withBoolResult $
withObjectRef "gridMoveCursorDownBlock" _obj $ \cobj__obj ->
wxGrid_MoveCursorDownBlock cobj__obj (toCBool expandSelection)
foreign import ccall "wxGrid_MoveCursorDownBlock" wxGrid_MoveCursorDownBlock :: Ptr (TGrid a) -> CBool -> IO CBool
gridMoveCursorLeft :: Grid a -> Bool -> IO Bool
gridMoveCursorLeft _obj expandSelection
= withBoolResult $
withObjectRef "gridMoveCursorLeft" _obj $ \cobj__obj ->
wxGrid_MoveCursorLeft cobj__obj (toCBool expandSelection)
foreign import ccall "wxGrid_MoveCursorLeft" wxGrid_MoveCursorLeft :: Ptr (TGrid a) -> CBool -> IO CBool
gridMoveCursorLeftBlock :: Grid a -> Bool -> IO Bool
gridMoveCursorLeftBlock _obj expandSelection
= withBoolResult $
withObjectRef "gridMoveCursorLeftBlock" _obj $ \cobj__obj ->
wxGrid_MoveCursorLeftBlock cobj__obj (toCBool expandSelection)
foreign import ccall "wxGrid_MoveCursorLeftBlock" wxGrid_MoveCursorLeftBlock :: Ptr (TGrid a) -> CBool -> IO CBool
gridMoveCursorRight :: Grid a -> Bool -> IO Bool
gridMoveCursorRight _obj expandSelection
= withBoolResult $
withObjectRef "gridMoveCursorRight" _obj $ \cobj__obj ->
wxGrid_MoveCursorRight cobj__obj (toCBool expandSelection)
foreign import ccall "wxGrid_MoveCursorRight" wxGrid_MoveCursorRight :: Ptr (TGrid a) -> CBool -> IO CBool
gridMoveCursorRightBlock :: Grid a -> Bool -> IO Bool
gridMoveCursorRightBlock _obj expandSelection
= withBoolResult $
withObjectRef "gridMoveCursorRightBlock" _obj $ \cobj__obj ->
wxGrid_MoveCursorRightBlock cobj__obj (toCBool expandSelection)
foreign import ccall "wxGrid_MoveCursorRightBlock" wxGrid_MoveCursorRightBlock :: Ptr (TGrid a) -> CBool -> IO CBool
gridMoveCursorUp :: Grid a -> Bool -> IO Bool
gridMoveCursorUp _obj expandSelection
= withBoolResult $
withObjectRef "gridMoveCursorUp" _obj $ \cobj__obj ->
wxGrid_MoveCursorUp cobj__obj (toCBool expandSelection)
foreign import ccall "wxGrid_MoveCursorUp" wxGrid_MoveCursorUp :: Ptr (TGrid a) -> CBool -> IO CBool
gridMoveCursorUpBlock :: Grid a -> Bool -> IO Bool
gridMoveCursorUpBlock _obj expandSelection
= withBoolResult $
withObjectRef "gridMoveCursorUpBlock" _obj $ \cobj__obj ->
wxGrid_MoveCursorUpBlock cobj__obj (toCBool expandSelection)
foreign import ccall "wxGrid_MoveCursorUpBlock" wxGrid_MoveCursorUpBlock :: Ptr (TGrid a) -> CBool -> IO CBool
gridMovePageDown :: Grid a -> IO Bool
gridMovePageDown _obj
= withBoolResult $
withObjectRef "gridMovePageDown" _obj $ \cobj__obj ->
wxGrid_MovePageDown cobj__obj
foreign import ccall "wxGrid_MovePageDown" wxGrid_MovePageDown :: Ptr (TGrid a) -> IO CBool
gridMovePageUp :: Grid a -> IO Bool
gridMovePageUp _obj
= withBoolResult $
withObjectRef "gridMovePageUp" _obj $ \cobj__obj ->
wxGrid_MovePageUp cobj__obj
foreign import ccall "wxGrid_MovePageUp" wxGrid_MovePageUp :: Ptr (TGrid a) -> IO CBool
gridProcessTableMessage :: Grid a -> Event b -> IO Bool
gridProcessTableMessage _obj evt
= withBoolResult $
withObjectRef "gridProcessTableMessage" _obj $ \cobj__obj ->
withObjectPtr evt $ \cobj_evt ->
wxGrid_ProcessTableMessage cobj__obj cobj_evt
foreign import ccall "wxGrid_ProcessTableMessage" wxGrid_ProcessTableMessage :: Ptr (TGrid a) -> Ptr (TEvent b) -> IO CBool
gridRangeSelectEventAltDown :: GridRangeSelectEvent a -> IO Bool
gridRangeSelectEventAltDown _obj
= withBoolResult $
withObjectRef "gridRangeSelectEventAltDown" _obj $ \cobj__obj ->
wxGridRangeSelectEvent_AltDown cobj__obj
foreign import ccall "wxGridRangeSelectEvent_AltDown" wxGridRangeSelectEvent_AltDown :: Ptr (TGridRangeSelectEvent a) -> IO CBool
gridRangeSelectEventControlDown :: GridRangeSelectEvent a -> IO Bool
gridRangeSelectEventControlDown _obj
= withBoolResult $
withObjectRef "gridRangeSelectEventControlDown" _obj $ \cobj__obj ->
wxGridRangeSelectEvent_ControlDown cobj__obj
foreign import ccall "wxGridRangeSelectEvent_ControlDown" wxGridRangeSelectEvent_ControlDown :: Ptr (TGridRangeSelectEvent a) -> IO CBool
gridRangeSelectEventGetBottomRightCoords :: GridRangeSelectEvent a -> IO Point
gridRangeSelectEventGetBottomRightCoords _obj
= withPointResult $ \px py ->
withObjectRef "gridRangeSelectEventGetBottomRightCoords" _obj $ \cobj__obj ->
wxGridRangeSelectEvent_GetBottomRightCoords cobj__obj px py
foreign import ccall "wxGridRangeSelectEvent_GetBottomRightCoords" wxGridRangeSelectEvent_GetBottomRightCoords :: Ptr (TGridRangeSelectEvent a) -> Ptr CInt -> Ptr CInt -> IO ()
gridRangeSelectEventGetBottomRow :: GridRangeSelectEvent a -> IO Int
gridRangeSelectEventGetBottomRow _obj
= withIntResult $
withObjectRef "gridRangeSelectEventGetBottomRow" _obj $ \cobj__obj ->
wxGridRangeSelectEvent_GetBottomRow cobj__obj
foreign import ccall "wxGridRangeSelectEvent_GetBottomRow" wxGridRangeSelectEvent_GetBottomRow :: Ptr (TGridRangeSelectEvent a) -> IO CInt
gridRangeSelectEventGetLeftCol :: GridRangeSelectEvent a -> IO Int
gridRangeSelectEventGetLeftCol _obj
= withIntResult $
withObjectRef "gridRangeSelectEventGetLeftCol" _obj $ \cobj__obj ->
wxGridRangeSelectEvent_GetLeftCol cobj__obj
foreign import ccall "wxGridRangeSelectEvent_GetLeftCol" wxGridRangeSelectEvent_GetLeftCol :: Ptr (TGridRangeSelectEvent a) -> IO CInt
gridRangeSelectEventGetRightCol :: GridRangeSelectEvent a -> IO Int
gridRangeSelectEventGetRightCol _obj
= withIntResult $
withObjectRef "gridRangeSelectEventGetRightCol" _obj $ \cobj__obj ->
wxGridRangeSelectEvent_GetRightCol cobj__obj
foreign import ccall "wxGridRangeSelectEvent_GetRightCol" wxGridRangeSelectEvent_GetRightCol :: Ptr (TGridRangeSelectEvent a) -> IO CInt
gridRangeSelectEventGetTopLeftCoords :: GridRangeSelectEvent a -> IO Point
gridRangeSelectEventGetTopLeftCoords _obj
= withPointResult $ \px py ->
withObjectRef "gridRangeSelectEventGetTopLeftCoords" _obj $ \cobj__obj ->
wxGridRangeSelectEvent_GetTopLeftCoords cobj__obj px py
foreign import ccall "wxGridRangeSelectEvent_GetTopLeftCoords" wxGridRangeSelectEvent_GetTopLeftCoords :: Ptr (TGridRangeSelectEvent a) -> Ptr CInt -> Ptr CInt -> IO ()
gridRangeSelectEventGetTopRow :: GridRangeSelectEvent a -> IO Int
gridRangeSelectEventGetTopRow _obj
= withIntResult $
withObjectRef "gridRangeSelectEventGetTopRow" _obj $ \cobj__obj ->
wxGridRangeSelectEvent_GetTopRow cobj__obj
foreign import ccall "wxGridRangeSelectEvent_GetTopRow" wxGridRangeSelectEvent_GetTopRow :: Ptr (TGridRangeSelectEvent a) -> IO CInt
gridRangeSelectEventMetaDown :: GridRangeSelectEvent a -> IO Bool
gridRangeSelectEventMetaDown _obj
= withBoolResult $
withObjectRef "gridRangeSelectEventMetaDown" _obj $ \cobj__obj ->
wxGridRangeSelectEvent_MetaDown cobj__obj
foreign import ccall "wxGridRangeSelectEvent_MetaDown" wxGridRangeSelectEvent_MetaDown :: Ptr (TGridRangeSelectEvent a) -> IO CBool
gridRangeSelectEventSelecting :: GridRangeSelectEvent a -> IO Bool
gridRangeSelectEventSelecting _obj
= withBoolResult $
withObjectRef "gridRangeSelectEventSelecting" _obj $ \cobj__obj ->
wxGridRangeSelectEvent_Selecting cobj__obj
foreign import ccall "wxGridRangeSelectEvent_Selecting" wxGridRangeSelectEvent_Selecting :: Ptr (TGridRangeSelectEvent a) -> IO CBool
gridRangeSelectEventShiftDown :: GridRangeSelectEvent a -> IO Bool
gridRangeSelectEventShiftDown _obj
= withBoolResult $
withObjectRef "gridRangeSelectEventShiftDown" _obj $ \cobj__obj ->
wxGridRangeSelectEvent_ShiftDown cobj__obj
foreign import ccall "wxGridRangeSelectEvent_ShiftDown" wxGridRangeSelectEvent_ShiftDown :: Ptr (TGridRangeSelectEvent a) -> IO CBool
gridRegisterDataType :: Grid a -> String -> GridCellRenderer c -> GridCellEditor d -> IO ()
gridRegisterDataType _obj typeName renderer editor
= withObjectRef "gridRegisterDataType" _obj $ \cobj__obj ->
withStringPtr typeName $ \cobj_typeName ->
withObjectPtr renderer $ \cobj_renderer ->
withObjectPtr editor $ \cobj_editor ->
wxGrid_RegisterDataType cobj__obj cobj_typeName cobj_renderer cobj_editor
foreign import ccall "wxGrid_RegisterDataType" wxGrid_RegisterDataType :: Ptr (TGrid a) -> Ptr (TWxString b) -> Ptr (TGridCellRenderer c) -> Ptr (TGridCellEditor d) -> IO ()
gridSaveEditControlValue :: Grid a -> IO ()
gridSaveEditControlValue _obj
= withObjectRef "gridSaveEditControlValue" _obj $ \cobj__obj ->
wxGrid_SaveEditControlValue cobj__obj
foreign import ccall "wxGrid_SaveEditControlValue" wxGrid_SaveEditControlValue :: Ptr (TGrid a) -> IO ()
gridSelectAll :: Grid a -> IO ()
gridSelectAll _obj
= withObjectRef "gridSelectAll" _obj $ \cobj__obj ->
wxGrid_SelectAll cobj__obj
foreign import ccall "wxGrid_SelectAll" wxGrid_SelectAll :: Ptr (TGrid a) -> IO ()
gridSelectBlock :: Grid a -> Int -> Int -> Int -> Int -> Bool -> IO ()
gridSelectBlock _obj topRow leftCol bottomRow rightCol addToSelected
= withObjectRef "gridSelectBlock" _obj $ \cobj__obj ->
wxGrid_SelectBlock cobj__obj (toCInt topRow) (toCInt leftCol) (toCInt bottomRow) (toCInt rightCol) (toCBool addToSelected)
foreign import ccall "wxGrid_SelectBlock" wxGrid_SelectBlock :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> CInt -> CBool -> IO ()
gridSelectCol :: Grid a -> Int -> Bool -> IO ()
gridSelectCol _obj col addToSelected
= withObjectRef "gridSelectCol" _obj $ \cobj__obj ->
wxGrid_SelectCol cobj__obj (toCInt col) (toCBool addToSelected)
foreign import ccall "wxGrid_SelectCol" wxGrid_SelectCol :: Ptr (TGrid a) -> CInt -> CBool -> IO ()
gridSelectRow :: Grid a -> Int -> Bool -> IO ()
gridSelectRow _obj row addToSelected
= withObjectRef "gridSelectRow" _obj $ \cobj__obj ->
wxGrid_SelectRow cobj__obj (toCInt row) (toCBool addToSelected)
foreign import ccall "wxGrid_SelectRow" wxGrid_SelectRow :: Ptr (TGrid a) -> CInt -> CBool -> IO ()
gridSetCellAlignment :: Grid a -> Int -> Int -> Int -> Int -> IO ()
gridSetCellAlignment _obj row col horiz vert
= withObjectRef "gridSetCellAlignment" _obj $ \cobj__obj ->
wxGrid_SetCellAlignment cobj__obj (toCInt row) (toCInt col) (toCInt horiz) (toCInt vert)
foreign import ccall "wxGrid_SetCellAlignment" wxGrid_SetCellAlignment :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> CInt -> IO ()
gridSetCellBackgroundColour :: Grid a -> Int -> Int -> Color -> IO ()
gridSetCellBackgroundColour _obj row col colour
= withObjectRef "gridSetCellBackgroundColour" _obj $ \cobj__obj ->
withColourPtr colour $ \cobj_colour ->
wxGrid_SetCellBackgroundColour cobj__obj (toCInt row) (toCInt col) cobj_colour
foreign import ccall "wxGrid_SetCellBackgroundColour" wxGrid_SetCellBackgroundColour :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TColour d) -> IO ()
gridSetCellEditor :: Grid a -> Int -> Int -> GridCellEditor d -> IO ()
gridSetCellEditor _obj row col editor
= withObjectRef "gridSetCellEditor" _obj $ \cobj__obj ->
withObjectPtr editor $ \cobj_editor ->
wxGrid_SetCellEditor cobj__obj (toCInt row) (toCInt col) cobj_editor
foreign import ccall "wxGrid_SetCellEditor" wxGrid_SetCellEditor :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TGridCellEditor d) -> IO ()
gridSetCellFont :: Grid a -> Int -> Int -> Font d -> IO ()
gridSetCellFont _obj row col font
= withObjectRef "gridSetCellFont" _obj $ \cobj__obj ->
withObjectPtr font $ \cobj_font ->
wxGrid_SetCellFont cobj__obj (toCInt row) (toCInt col) cobj_font
foreign import ccall "wxGrid_SetCellFont" wxGrid_SetCellFont :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TFont d) -> IO ()
gridSetCellHighlightColour :: Grid a -> Color -> IO ()
gridSetCellHighlightColour _obj col
= withObjectRef "gridSetCellHighlightColour" _obj $ \cobj__obj ->
withColourPtr col $ \cobj_col ->
wxGrid_SetCellHighlightColour cobj__obj cobj_col
foreign import ccall "wxGrid_SetCellHighlightColour" wxGrid_SetCellHighlightColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
gridSetCellRenderer :: Grid a -> Int -> Int -> GridCellRenderer d -> IO ()
gridSetCellRenderer _obj row col renderer
= withObjectRef "gridSetCellRenderer" _obj $ \cobj__obj ->
withObjectPtr renderer $ \cobj_renderer ->
wxGrid_SetCellRenderer cobj__obj (toCInt row) (toCInt col) cobj_renderer
foreign import ccall "wxGrid_SetCellRenderer" wxGrid_SetCellRenderer :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TGridCellRenderer d) -> IO ()
gridSetCellSize :: Grid a -> Int -> Int -> Size -> IO ()
gridSetCellSize _obj row col srowscol
= withObjectRef "gridSetCellSize" _obj $ \cobj__obj ->
wxGrid_SetCellSize cobj__obj (toCInt row) (toCInt col) (toCIntSizeW srowscol) (toCIntSizeH srowscol)
foreign import ccall "wxGrid_SetCellSize" wxGrid_SetCellSize :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> CInt -> IO ()
gridSetCellTextColour :: Grid a -> Int -> Int -> Color -> IO ()
gridSetCellTextColour _obj row col colour
= withObjectRef "gridSetCellTextColour" _obj $ \cobj__obj ->
withColourPtr colour $ \cobj_colour ->
wxGrid_SetCellTextColour cobj__obj (toCInt row) (toCInt col) cobj_colour
foreign import ccall "wxGrid_SetCellTextColour" wxGrid_SetCellTextColour :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TColour d) -> IO ()
gridSetCellValue :: Grid a -> Int -> Int -> String -> IO ()
gridSetCellValue _obj row col s
= withObjectRef "gridSetCellValue" _obj $ \cobj__obj ->
withStringPtr s $ \cobj_s ->
wxGrid_SetCellValue cobj__obj (toCInt row) (toCInt col) cobj_s
foreign import ccall "wxGrid_SetCellValue" wxGrid_SetCellValue :: Ptr (TGrid a) -> CInt -> CInt -> Ptr (TWxString d) -> IO ()
gridSetColAttr :: Grid a -> Int -> GridCellAttr c -> IO ()
gridSetColAttr _obj col attr
= withObjectRef "gridSetColAttr" _obj $ \cobj__obj ->
withObjectPtr attr $ \cobj_attr ->
wxGrid_SetColAttr cobj__obj (toCInt col) cobj_attr
foreign import ccall "wxGrid_SetColAttr" wxGrid_SetColAttr :: Ptr (TGrid a) -> CInt -> Ptr (TGridCellAttr c) -> IO ()
gridSetColFormatBool :: Grid a -> Int -> IO ()
gridSetColFormatBool _obj col
= withObjectRef "gridSetColFormatBool" _obj $ \cobj__obj ->
wxGrid_SetColFormatBool cobj__obj (toCInt col)
foreign import ccall "wxGrid_SetColFormatBool" wxGrid_SetColFormatBool :: Ptr (TGrid a) -> CInt -> IO ()
gridSetColFormatCustom :: Grid a -> Int -> String -> IO ()
gridSetColFormatCustom _obj col typeName
= withObjectRef "gridSetColFormatCustom" _obj $ \cobj__obj ->
withStringPtr typeName $ \cobj_typeName ->
wxGrid_SetColFormatCustom cobj__obj (toCInt col) cobj_typeName
foreign import ccall "wxGrid_SetColFormatCustom" wxGrid_SetColFormatCustom :: Ptr (TGrid a) -> CInt -> Ptr (TWxString c) -> IO ()
gridSetColFormatFloat :: Grid a -> Int -> Int -> Int -> IO ()
gridSetColFormatFloat _obj col width precision
= withObjectRef "gridSetColFormatFloat" _obj $ \cobj__obj ->
wxGrid_SetColFormatFloat cobj__obj (toCInt col) (toCInt width) (toCInt precision)
foreign import ccall "wxGrid_SetColFormatFloat" wxGrid_SetColFormatFloat :: Ptr (TGrid a) -> CInt -> CInt -> CInt -> IO ()
gridSetColFormatNumber :: Grid a -> Int -> IO ()
gridSetColFormatNumber _obj col
= withObjectRef "gridSetColFormatNumber" _obj $ \cobj__obj ->
wxGrid_SetColFormatNumber cobj__obj (toCInt col)
foreign import ccall "wxGrid_SetColFormatNumber" wxGrid_SetColFormatNumber :: Ptr (TGrid a) -> CInt -> IO ()
gridSetColLabelAlignment :: Grid a -> Int -> Int -> IO ()
gridSetColLabelAlignment _obj horiz vert
= withObjectRef "gridSetColLabelAlignment" _obj $ \cobj__obj ->
wxGrid_SetColLabelAlignment cobj__obj (toCInt horiz) (toCInt vert)
foreign import ccall "wxGrid_SetColLabelAlignment" wxGrid_SetColLabelAlignment :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
gridSetColLabelSize :: Grid a -> Int -> IO ()
gridSetColLabelSize _obj height
= withObjectRef "gridSetColLabelSize" _obj $ \cobj__obj ->
wxGrid_SetColLabelSize cobj__obj (toCInt height)
foreign import ccall "wxGrid_SetColLabelSize" wxGrid_SetColLabelSize :: Ptr (TGrid a) -> CInt -> IO ()
gridSetColLabelValue :: Grid a -> Int -> String -> IO ()
gridSetColLabelValue _obj col label
= withObjectRef "gridSetColLabelValue" _obj $ \cobj__obj ->
withStringPtr label $ \cobj_label ->
wxGrid_SetColLabelValue cobj__obj (toCInt col) cobj_label
foreign import ccall "wxGrid_SetColLabelValue" wxGrid_SetColLabelValue :: Ptr (TGrid a) -> CInt -> Ptr (TWxString c) -> IO ()
gridSetColMinimalWidth :: Grid a -> Int -> Int -> IO ()
gridSetColMinimalWidth _obj col width
= withObjectRef "gridSetColMinimalWidth" _obj $ \cobj__obj ->
wxGrid_SetColMinimalWidth cobj__obj (toCInt col) (toCInt width)
foreign import ccall "wxGrid_SetColMinimalWidth" wxGrid_SetColMinimalWidth :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
gridSetColSize :: Grid a -> Int -> Int -> IO ()
gridSetColSize _obj col width
= withObjectRef "gridSetColSize" _obj $ \cobj__obj ->
wxGrid_SetColSize cobj__obj (toCInt col) (toCInt width)
foreign import ccall "wxGrid_SetColSize" wxGrid_SetColSize :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
gridSetDefaultCellAlignment :: Grid a -> Int -> Int -> IO ()
gridSetDefaultCellAlignment _obj horiz vert
= withObjectRef "gridSetDefaultCellAlignment" _obj $ \cobj__obj ->
wxGrid_SetDefaultCellAlignment cobj__obj (toCInt horiz) (toCInt vert)
foreign import ccall "wxGrid_SetDefaultCellAlignment" wxGrid_SetDefaultCellAlignment :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
gridSetDefaultCellBackgroundColour :: Grid a -> Color -> IO ()
gridSetDefaultCellBackgroundColour _obj colour
= withObjectRef "gridSetDefaultCellBackgroundColour" _obj $ \cobj__obj ->
withColourPtr colour $ \cobj_colour ->
wxGrid_SetDefaultCellBackgroundColour cobj__obj cobj_colour
foreign import ccall "wxGrid_SetDefaultCellBackgroundColour" wxGrid_SetDefaultCellBackgroundColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
gridSetDefaultCellFont :: Grid a -> Font b -> IO ()
gridSetDefaultCellFont _obj font
= withObjectRef "gridSetDefaultCellFont" _obj $ \cobj__obj ->
withObjectPtr font $ \cobj_font ->
wxGrid_SetDefaultCellFont cobj__obj cobj_font
foreign import ccall "wxGrid_SetDefaultCellFont" wxGrid_SetDefaultCellFont :: Ptr (TGrid a) -> Ptr (TFont b) -> IO ()
gridSetDefaultCellTextColour :: Grid a -> Color -> IO ()
gridSetDefaultCellTextColour _obj colour
= withObjectRef "gridSetDefaultCellTextColour" _obj $ \cobj__obj ->
withColourPtr colour $ \cobj_colour ->
wxGrid_SetDefaultCellTextColour cobj__obj cobj_colour
foreign import ccall "wxGrid_SetDefaultCellTextColour" wxGrid_SetDefaultCellTextColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
gridSetDefaultColSize :: Grid a -> Int -> Bool -> IO ()
gridSetDefaultColSize _obj width resizeExistingCols
= withObjectRef "gridSetDefaultColSize" _obj $ \cobj__obj ->
wxGrid_SetDefaultColSize cobj__obj (toCInt width) (toCBool resizeExistingCols)
foreign import ccall "wxGrid_SetDefaultColSize" wxGrid_SetDefaultColSize :: Ptr (TGrid a) -> CInt -> CBool -> IO ()
gridSetDefaultEditor :: Grid a -> GridCellEditor b -> IO ()
gridSetDefaultEditor _obj editor
= withObjectRef "gridSetDefaultEditor" _obj $ \cobj__obj ->
withObjectPtr editor $ \cobj_editor ->
wxGrid_SetDefaultEditor cobj__obj cobj_editor
foreign import ccall "wxGrid_SetDefaultEditor" wxGrid_SetDefaultEditor :: Ptr (TGrid a) -> Ptr (TGridCellEditor b) -> IO ()
gridSetDefaultRenderer :: Grid a -> GridCellRenderer b -> IO ()
gridSetDefaultRenderer _obj renderer
= withObjectRef "gridSetDefaultRenderer" _obj $ \cobj__obj ->
withObjectPtr renderer $ \cobj_renderer ->
wxGrid_SetDefaultRenderer cobj__obj cobj_renderer
foreign import ccall "wxGrid_SetDefaultRenderer" wxGrid_SetDefaultRenderer :: Ptr (TGrid a) -> Ptr (TGridCellRenderer b) -> IO ()
gridSetDefaultRowSize :: Grid a -> Int -> Bool -> IO ()
gridSetDefaultRowSize _obj height resizeExistingRows
= withObjectRef "gridSetDefaultRowSize" _obj $ \cobj__obj ->
wxGrid_SetDefaultRowSize cobj__obj (toCInt height) (toCBool resizeExistingRows)
foreign import ccall "wxGrid_SetDefaultRowSize" wxGrid_SetDefaultRowSize :: Ptr (TGrid a) -> CInt -> CBool -> IO ()
gridSetGridCursor :: Grid a -> Int -> Int -> IO ()
gridSetGridCursor _obj row col
= withObjectRef "gridSetGridCursor" _obj $ \cobj__obj ->
wxGrid_SetGridCursor cobj__obj (toCInt row) (toCInt col)
foreign import ccall "wxGrid_SetGridCursor" wxGrid_SetGridCursor :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
gridSetGridLineColour :: Grid a -> Color -> IO ()
gridSetGridLineColour _obj col
= withObjectRef "gridSetGridLineColour" _obj $ \cobj__obj ->
withColourPtr col $ \cobj_col ->
wxGrid_SetGridLineColour cobj__obj cobj_col
foreign import ccall "wxGrid_SetGridLineColour" wxGrid_SetGridLineColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
gridSetLabelBackgroundColour :: Grid a -> Color -> IO ()
gridSetLabelBackgroundColour _obj colour
= withObjectRef "gridSetLabelBackgroundColour" _obj $ \cobj__obj ->
withColourPtr colour $ \cobj_colour ->
wxGrid_SetLabelBackgroundColour cobj__obj cobj_colour
foreign import ccall "wxGrid_SetLabelBackgroundColour" wxGrid_SetLabelBackgroundColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
gridSetLabelFont :: Grid a -> Font b -> IO ()
gridSetLabelFont _obj font
= withObjectRef "gridSetLabelFont" _obj $ \cobj__obj ->
withObjectPtr font $ \cobj_font ->
wxGrid_SetLabelFont cobj__obj cobj_font
foreign import ccall "wxGrid_SetLabelFont" wxGrid_SetLabelFont :: Ptr (TGrid a) -> Ptr (TFont b) -> IO ()
gridSetLabelTextColour :: Grid a -> Color -> IO ()
gridSetLabelTextColour _obj colour
= withObjectRef "gridSetLabelTextColour" _obj $ \cobj__obj ->
withColourPtr colour $ \cobj_colour ->
wxGrid_SetLabelTextColour cobj__obj cobj_colour
foreign import ccall "wxGrid_SetLabelTextColour" wxGrid_SetLabelTextColour :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
gridSetMargins :: Grid a -> Int -> Int -> IO ()
gridSetMargins _obj extraWidth extraHeight
= withObjectRef "gridSetMargins" _obj $ \cobj__obj ->
wxGrid_SetMargins cobj__obj (toCInt extraWidth) (toCInt extraHeight)
foreign import ccall "wxGrid_SetMargins" wxGrid_SetMargins :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
gridSetReadOnly :: Grid a -> Int -> Int -> Bool -> IO ()
gridSetReadOnly _obj row col isReadOnly
= withObjectRef "gridSetReadOnly" _obj $ \cobj__obj ->
wxGrid_SetReadOnly cobj__obj (toCInt row) (toCInt col) (toCBool isReadOnly)
foreign import ccall "wxGrid_SetReadOnly" wxGrid_SetReadOnly :: Ptr (TGrid a) -> CInt -> CInt -> CBool -> IO ()
gridSetRowAttr :: Grid a -> Int -> GridCellAttr c -> IO ()
gridSetRowAttr _obj row attr
= withObjectRef "gridSetRowAttr" _obj $ \cobj__obj ->
withObjectPtr attr $ \cobj_attr ->
wxGrid_SetRowAttr cobj__obj (toCInt row) cobj_attr
foreign import ccall "wxGrid_SetRowAttr" wxGrid_SetRowAttr :: Ptr (TGrid a) -> CInt -> Ptr (TGridCellAttr c) -> IO ()
gridSetRowLabelAlignment :: Grid a -> Int -> Int -> IO ()
gridSetRowLabelAlignment _obj horiz vert
= withObjectRef "gridSetRowLabelAlignment" _obj $ \cobj__obj ->
wxGrid_SetRowLabelAlignment cobj__obj (toCInt horiz) (toCInt vert)
foreign import ccall "wxGrid_SetRowLabelAlignment" wxGrid_SetRowLabelAlignment :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
gridSetRowLabelSize :: Grid a -> Int -> IO ()
gridSetRowLabelSize _obj width
= withObjectRef "gridSetRowLabelSize" _obj $ \cobj__obj ->
wxGrid_SetRowLabelSize cobj__obj (toCInt width)
foreign import ccall "wxGrid_SetRowLabelSize" wxGrid_SetRowLabelSize :: Ptr (TGrid a) -> CInt -> IO ()
gridSetRowLabelValue :: Grid a -> Int -> String -> IO ()
gridSetRowLabelValue _obj row label
= withObjectRef "gridSetRowLabelValue" _obj $ \cobj__obj ->
withStringPtr label $ \cobj_label ->
wxGrid_SetRowLabelValue cobj__obj (toCInt row) cobj_label
foreign import ccall "wxGrid_SetRowLabelValue" wxGrid_SetRowLabelValue :: Ptr (TGrid a) -> CInt -> Ptr (TWxString c) -> IO ()
gridSetRowMinimalHeight :: Grid a -> Int -> Int -> IO ()
gridSetRowMinimalHeight _obj row width
= withObjectRef "gridSetRowMinimalHeight" _obj $ \cobj__obj ->
wxGrid_SetRowMinimalHeight cobj__obj (toCInt row) (toCInt width)
foreign import ccall "wxGrid_SetRowMinimalHeight" wxGrid_SetRowMinimalHeight :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
gridSetRowSize :: Grid a -> Int -> Int -> IO ()
gridSetRowSize _obj row height
= withObjectRef "gridSetRowSize" _obj $ \cobj__obj ->
wxGrid_SetRowSize cobj__obj (toCInt row) (toCInt height)
foreign import ccall "wxGrid_SetRowSize" wxGrid_SetRowSize :: Ptr (TGrid a) -> CInt -> CInt -> IO ()
gridSetSelectionBackground :: Grid a -> Color -> IO ()
gridSetSelectionBackground _obj c
= withObjectRef "gridSetSelectionBackground" _obj $ \cobj__obj ->
withColourPtr c $ \cobj_c ->
wxGrid_SetSelectionBackground cobj__obj cobj_c
foreign import ccall "wxGrid_SetSelectionBackground" wxGrid_SetSelectionBackground :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
gridSetSelectionForeground :: Grid a -> Color -> IO ()
gridSetSelectionForeground _obj c
= withObjectRef "gridSetSelectionForeground" _obj $ \cobj__obj ->
withColourPtr c $ \cobj_c ->
wxGrid_SetSelectionForeground cobj__obj cobj_c
foreign import ccall "wxGrid_SetSelectionForeground" wxGrid_SetSelectionForeground :: Ptr (TGrid a) -> Ptr (TColour b) -> IO ()
gridSetSelectionMode :: Grid a -> Int -> IO ()
gridSetSelectionMode _obj selmode
= withObjectRef "gridSetSelectionMode" _obj $ \cobj__obj ->
wxGrid_SetSelectionMode cobj__obj (toCInt selmode)
foreign import ccall "wxGrid_SetSelectionMode" wxGrid_SetSelectionMode :: Ptr (TGrid a) -> CInt -> IO ()
gridSetTable :: Grid a -> GridTableBase b -> Bool -> Int -> IO Bool
gridSetTable _obj table takeOwnership selmode
= withBoolResult $
withObjectRef "gridSetTable" _obj $ \cobj__obj ->
withObjectPtr table $ \cobj_table ->
wxGrid_SetTable cobj__obj cobj_table (toCBool takeOwnership) (toCInt selmode)
foreign import ccall "wxGrid_SetTable" wxGrid_SetTable :: Ptr (TGrid a) -> Ptr (TGridTableBase b) -> CBool -> CInt -> IO CBool
gridShowCellEditControl :: Grid a -> IO ()
gridShowCellEditControl _obj
= withObjectRef "gridShowCellEditControl" _obj $ \cobj__obj ->
wxGrid_ShowCellEditControl cobj__obj
foreign import ccall "wxGrid_ShowCellEditControl" wxGrid_ShowCellEditControl :: Ptr (TGrid a) -> IO ()
gridSizeEventAltDown :: GridSizeEvent a -> IO Bool
gridSizeEventAltDown _obj
= withBoolResult $
withObjectRef "gridSizeEventAltDown" _obj $ \cobj__obj ->
wxGridSizeEvent_AltDown cobj__obj
foreign import ccall "wxGridSizeEvent_AltDown" wxGridSizeEvent_AltDown :: Ptr (TGridSizeEvent a) -> IO CBool
gridSizeEventControlDown :: GridSizeEvent a -> IO Bool
gridSizeEventControlDown _obj
= withBoolResult $
withObjectRef "gridSizeEventControlDown" _obj $ \cobj__obj ->
wxGridSizeEvent_ControlDown cobj__obj
foreign import ccall "wxGridSizeEvent_ControlDown" wxGridSizeEvent_ControlDown :: Ptr (TGridSizeEvent a) -> IO CBool
gridSizeEventGetPosition :: GridSizeEvent a -> IO (Point)
gridSizeEventGetPosition _obj
= withWxPointResult $
withObjectRef "gridSizeEventGetPosition" _obj $ \cobj__obj ->
wxGridSizeEvent_GetPosition cobj__obj
foreign import ccall "wxGridSizeEvent_GetPosition" wxGridSizeEvent_GetPosition :: Ptr (TGridSizeEvent a) -> IO (Ptr (TWxPoint ()))
gridSizeEventGetRowOrCol :: GridSizeEvent a -> IO Int
gridSizeEventGetRowOrCol _obj
= withIntResult $
withObjectRef "gridSizeEventGetRowOrCol" _obj $ \cobj__obj ->
wxGridSizeEvent_GetRowOrCol cobj__obj
foreign import ccall "wxGridSizeEvent_GetRowOrCol" wxGridSizeEvent_GetRowOrCol :: Ptr (TGridSizeEvent a) -> IO CInt
gridSizeEventMetaDown :: GridSizeEvent a -> IO Bool
gridSizeEventMetaDown _obj
= withBoolResult $
withObjectRef "gridSizeEventMetaDown" _obj $ \cobj__obj ->
wxGridSizeEvent_MetaDown cobj__obj
foreign import ccall "wxGridSizeEvent_MetaDown" wxGridSizeEvent_MetaDown :: Ptr (TGridSizeEvent a) -> IO CBool
gridSizeEventShiftDown :: GridSizeEvent a -> IO Bool
gridSizeEventShiftDown _obj
= withBoolResult $
withObjectRef "gridSizeEventShiftDown" _obj $ \cobj__obj ->
wxGridSizeEvent_ShiftDown cobj__obj
foreign import ccall "wxGridSizeEvent_ShiftDown" wxGridSizeEvent_ShiftDown :: Ptr (TGridSizeEvent a) -> IO CBool
gridSizerCalcMin :: GridSizer a -> IO (Size)
gridSizerCalcMin _obj
= withWxSizeResult $
withObjectRef "gridSizerCalcMin" _obj $ \cobj__obj ->
wxGridSizer_CalcMin cobj__obj
foreign import ccall "wxGridSizer_CalcMin" wxGridSizer_CalcMin :: Ptr (TGridSizer a) -> IO (Ptr (TWxSize ()))
gridSizerCreate :: Int -> Int -> Int -> Int -> IO (GridSizer ())
gridSizerCreate rows cols vgap hgap
= withObjectResult $
wxGridSizer_Create (toCInt rows) (toCInt cols) (toCInt vgap) (toCInt hgap)
foreign import ccall "wxGridSizer_Create" wxGridSizer_Create :: CInt -> CInt -> CInt -> CInt -> IO (Ptr (TGridSizer ()))
gridSizerGetCols :: GridSizer a -> IO Int
gridSizerGetCols _obj
= withIntResult $
withObjectRef "gridSizerGetCols" _obj $ \cobj__obj ->
wxGridSizer_GetCols cobj__obj
foreign import ccall "wxGridSizer_GetCols" wxGridSizer_GetCols :: Ptr (TGridSizer a) -> IO CInt
gridSizerGetHGap :: GridSizer a -> IO Int
gridSizerGetHGap _obj
= withIntResult $
withObjectRef "gridSizerGetHGap" _obj $ \cobj__obj ->
wxGridSizer_GetHGap cobj__obj
foreign import ccall "wxGridSizer_GetHGap" wxGridSizer_GetHGap :: Ptr (TGridSizer a) -> IO CInt
gridSizerGetRows :: GridSizer a -> IO Int
gridSizerGetRows _obj
= withIntResult $
withObjectRef "gridSizerGetRows" _obj $ \cobj__obj ->
wxGridSizer_GetRows cobj__obj
foreign import ccall "wxGridSizer_GetRows" wxGridSizer_GetRows :: Ptr (TGridSizer a) -> IO CInt
gridSizerGetVGap :: GridSizer a -> IO Int
gridSizerGetVGap _obj
= withIntResult $
withObjectRef "gridSizerGetVGap" _obj $ \cobj__obj ->
wxGridSizer_GetVGap cobj__obj
foreign import ccall "wxGridSizer_GetVGap" wxGridSizer_GetVGap :: Ptr (TGridSizer a) -> IO CInt
gridSizerRecalcSizes :: GridSizer a -> IO ()
gridSizerRecalcSizes _obj
= withObjectRef "gridSizerRecalcSizes" _obj $ \cobj__obj ->
wxGridSizer_RecalcSizes cobj__obj
foreign import ccall "wxGridSizer_RecalcSizes" wxGridSizer_RecalcSizes :: Ptr (TGridSizer a) -> IO ()
gridSizerSetCols :: GridSizer a -> Int -> IO ()
gridSizerSetCols _obj cols
= withObjectRef "gridSizerSetCols" _obj $ \cobj__obj ->
wxGridSizer_SetCols cobj__obj (toCInt cols)
foreign import ccall "wxGridSizer_SetCols" wxGridSizer_SetCols :: Ptr (TGridSizer a) -> CInt -> IO ()
gridSizerSetHGap :: GridSizer a -> Int -> IO ()
gridSizerSetHGap _obj gap
= withObjectRef "gridSizerSetHGap" _obj $ \cobj__obj ->
wxGridSizer_SetHGap cobj__obj (toCInt gap)
foreign import ccall "wxGridSizer_SetHGap" wxGridSizer_SetHGap :: Ptr (TGridSizer a) -> CInt -> IO ()
gridSizerSetRows :: GridSizer a -> Int -> IO ()
gridSizerSetRows _obj rows
= withObjectRef "gridSizerSetRows" _obj $ \cobj__obj ->
wxGridSizer_SetRows cobj__obj (toCInt rows)
foreign import ccall "wxGridSizer_SetRows" wxGridSizer_SetRows :: Ptr (TGridSizer a) -> CInt -> IO ()
gridSizerSetVGap :: GridSizer a -> Int -> IO ()
gridSizerSetVGap _obj gap
= withObjectRef "gridSizerSetVGap" _obj $ \cobj__obj ->
wxGridSizer_SetVGap cobj__obj (toCInt gap)
foreign import ccall "wxGridSizer_SetVGap" wxGridSizer_SetVGap :: Ptr (TGridSizer a) -> CInt -> IO ()
gridStringToLines :: Grid a -> String -> Ptr c -> IO Int
gridStringToLines _obj value lines
= withIntResult $
withObjectRef "gridStringToLines" _obj $ \cobj__obj ->
withStringPtr value $ \cobj_value ->
wxGrid_StringToLines cobj__obj cobj_value lines
foreign import ccall "wxGrid_StringToLines" wxGrid_StringToLines :: Ptr (TGrid a) -> Ptr (TWxString b) -> Ptr c -> IO CInt
gridXToCol :: Grid a -> Int -> IO Int
gridXToCol _obj x
= withIntResult $
withObjectRef "gridXToCol" _obj $ \cobj__obj ->
wxGrid_XToCol cobj__obj (toCInt x)
foreign import ccall "wxGrid_XToCol" wxGrid_XToCol :: Ptr (TGrid a) -> CInt -> IO CInt
gridXToEdgeOfCol :: Grid a -> Int -> IO Int
gridXToEdgeOfCol _obj x
= withIntResult $
withObjectRef "gridXToEdgeOfCol" _obj $ \cobj__obj ->
wxGrid_XToEdgeOfCol cobj__obj (toCInt x)
foreign import ccall "wxGrid_XToEdgeOfCol" wxGrid_XToEdgeOfCol :: Ptr (TGrid a) -> CInt -> IO CInt
gridXYToCell :: Grid a -> Point -> IO Point
gridXYToCell _obj xy
= withPointResult $ \px py ->
withObjectRef "gridXYToCell" _obj $ \cobj__obj ->
wxGrid_XYToCell cobj__obj (toCIntPointX xy) (toCIntPointY xy) px py
foreign import ccall "wxGrid_XYToCell" wxGrid_XYToCell :: Ptr (TGrid a) -> CInt -> CInt -> Ptr CInt -> Ptr CInt -> IO ()
gridYToEdgeOfRow :: Grid a -> Int -> IO Int
gridYToEdgeOfRow _obj y
= withIntResult $
withObjectRef "gridYToEdgeOfRow" _obj $ \cobj__obj ->
wxGrid_YToEdgeOfRow cobj__obj (toCInt y)
foreign import ccall "wxGrid_YToEdgeOfRow" wxGrid_YToEdgeOfRow :: Ptr (TGrid a) -> CInt -> IO CInt
gridYToRow :: Grid a -> Int -> IO Int
gridYToRow _obj y
= withIntResult $
withObjectRef "gridYToRow" _obj $ \cobj__obj ->
wxGrid_YToRow cobj__obj (toCInt y)
foreign import ccall "wxGrid_YToRow" wxGrid_YToRow :: Ptr (TGrid a) -> CInt -> IO CInt
helpControllerHelpProviderCreate :: HelpControllerBase a -> IO (HelpControllerHelpProvider ())
helpControllerHelpProviderCreate ctr
= withObjectResult $
withObjectPtr ctr $ \cobj_ctr ->
wxHelpControllerHelpProvider_Create cobj_ctr
foreign import ccall "wxHelpControllerHelpProvider_Create" wxHelpControllerHelpProvider_Create :: Ptr (THelpControllerBase a) -> IO (Ptr (THelpControllerHelpProvider ()))
helpControllerHelpProviderGetHelpController :: HelpControllerHelpProvider a -> IO (HelpControllerBase ())
helpControllerHelpProviderGetHelpController _obj
= withObjectResult $
withObjectRef "helpControllerHelpProviderGetHelpController" _obj $ \cobj__obj ->
wxHelpControllerHelpProvider_GetHelpController cobj__obj
foreign import ccall "wxHelpControllerHelpProvider_GetHelpController" wxHelpControllerHelpProvider_GetHelpController :: Ptr (THelpControllerHelpProvider a) -> IO (Ptr (THelpControllerBase ()))
helpControllerHelpProviderSetHelpController :: HelpControllerHelpProvider a -> HelpController b -> IO ()
helpControllerHelpProviderSetHelpController _obj hc
= withObjectRef "helpControllerHelpProviderSetHelpController" _obj $ \cobj__obj ->
withObjectPtr hc $ \cobj_hc ->
wxHelpControllerHelpProvider_SetHelpController cobj__obj cobj_hc
foreign import ccall "wxHelpControllerHelpProvider_SetHelpController" wxHelpControllerHelpProvider_SetHelpController :: Ptr (THelpControllerHelpProvider a) -> Ptr (THelpController b) -> IO ()
helpEventGetLink :: HelpEvent a -> IO (String)
helpEventGetLink _obj
= withManagedStringResult $
withObjectRef "helpEventGetLink" _obj $ \cobj__obj ->
wxHelpEvent_GetLink cobj__obj
foreign import ccall "wxHelpEvent_GetLink" wxHelpEvent_GetLink :: Ptr (THelpEvent a) -> IO (Ptr (TWxString ()))
helpEventGetPosition :: HelpEvent a -> IO (Point)
helpEventGetPosition _obj
= withWxPointResult $
withObjectRef "helpEventGetPosition" _obj $ \cobj__obj ->
wxHelpEvent_GetPosition cobj__obj
foreign import ccall "wxHelpEvent_GetPosition" wxHelpEvent_GetPosition :: Ptr (THelpEvent a) -> IO (Ptr (TWxPoint ()))
helpEventGetTarget :: HelpEvent a -> IO (String)
helpEventGetTarget _obj
= withManagedStringResult $
withObjectRef "helpEventGetTarget" _obj $ \cobj__obj ->
wxHelpEvent_GetTarget cobj__obj
foreign import ccall "wxHelpEvent_GetTarget" wxHelpEvent_GetTarget :: Ptr (THelpEvent a) -> IO (Ptr (TWxString ()))
helpEventSetLink :: HelpEvent a -> String -> IO ()
helpEventSetLink _obj link
= withObjectRef "helpEventSetLink" _obj $ \cobj__obj ->
withStringPtr link $ \cobj_link ->
wxHelpEvent_SetLink cobj__obj cobj_link
foreign import ccall "wxHelpEvent_SetLink" wxHelpEvent_SetLink :: Ptr (THelpEvent a) -> Ptr (TWxString b) -> IO ()
helpEventSetPosition :: HelpEvent a -> Point -> IO ()
helpEventSetPosition _obj xy
= withObjectRef "helpEventSetPosition" _obj $ \cobj__obj ->
wxHelpEvent_SetPosition cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxHelpEvent_SetPosition" wxHelpEvent_SetPosition :: Ptr (THelpEvent a) -> CInt -> CInt -> IO ()
helpEventSetTarget :: HelpEvent a -> String -> IO ()
helpEventSetTarget _obj target
= withObjectRef "helpEventSetTarget" _obj $ \cobj__obj ->
withStringPtr target $ \cobj_target ->
wxHelpEvent_SetTarget cobj__obj cobj_target
foreign import ccall "wxHelpEvent_SetTarget" wxHelpEvent_SetTarget :: Ptr (THelpEvent a) -> Ptr (TWxString b) -> IO ()
helpProviderAddHelp :: HelpProvider a -> Window b -> String -> IO ()
helpProviderAddHelp _obj window text
= withObjectRef "helpProviderAddHelp" _obj $ \cobj__obj ->
withObjectPtr window $ \cobj_window ->
withStringPtr text $ \cobj_text ->
wxHelpProvider_AddHelp cobj__obj cobj_window cobj_text
foreign import ccall "wxHelpProvider_AddHelp" wxHelpProvider_AddHelp :: Ptr (THelpProvider a) -> Ptr (TWindow b) -> Ptr (TWxString c) -> IO ()
helpProviderAddHelpById :: HelpProvider a -> Id -> String -> IO ()
helpProviderAddHelpById _obj id text
= withObjectRef "helpProviderAddHelpById" _obj $ \cobj__obj ->
withStringPtr text $ \cobj_text ->
wxHelpProvider_AddHelpById cobj__obj (toCInt id) cobj_text
foreign import ccall "wxHelpProvider_AddHelpById" wxHelpProvider_AddHelpById :: Ptr (THelpProvider a) -> CInt -> Ptr (TWxString c) -> IO ()
helpProviderDelete :: HelpProvider a -> IO ()
helpProviderDelete _obj
= withObjectRef "helpProviderDelete" _obj $ \cobj__obj ->
wxHelpProvider_Delete cobj__obj
foreign import ccall "wxHelpProvider_Delete" wxHelpProvider_Delete :: Ptr (THelpProvider a) -> IO ()
helpProviderGet :: IO (HelpProvider ())
helpProviderGet
= withObjectResult $
wxHelpProvider_Get
foreign import ccall "wxHelpProvider_Get" wxHelpProvider_Get :: IO (Ptr (THelpProvider ()))
helpProviderGetHelp :: HelpProvider a -> Window b -> IO (String)
helpProviderGetHelp _obj window
= withManagedStringResult $
withObjectRef "helpProviderGetHelp" _obj $ \cobj__obj ->
withObjectPtr window $ \cobj_window ->
wxHelpProvider_GetHelp cobj__obj cobj_window
foreign import ccall "wxHelpProvider_GetHelp" wxHelpProvider_GetHelp :: Ptr (THelpProvider a) -> Ptr (TWindow b) -> IO (Ptr (TWxString ()))
helpProviderRemoveHelp :: HelpProvider a -> Window b -> IO ()
helpProviderRemoveHelp _obj window
= withObjectRef "helpProviderRemoveHelp" _obj $ \cobj__obj ->
withObjectPtr window $ \cobj_window ->
wxHelpProvider_RemoveHelp cobj__obj cobj_window
foreign import ccall "wxHelpProvider_RemoveHelp" wxHelpProvider_RemoveHelp :: Ptr (THelpProvider a) -> Ptr (TWindow b) -> IO ()
helpProviderSet :: HelpProvider a -> IO (HelpProvider ())
helpProviderSet helpProvider
= withObjectResult $
withObjectRef "helpProviderSet" helpProvider $ \cobj_helpProvider ->
wxHelpProvider_Set cobj_helpProvider
foreign import ccall "wxHelpProvider_Set" wxHelpProvider_Set :: Ptr (THelpProvider a) -> IO (Ptr (THelpProvider ()))
helpProviderShowHelp :: HelpProvider a -> Window b -> IO Bool
helpProviderShowHelp _obj window
= withBoolResult $
withObjectRef "helpProviderShowHelp" _obj $ \cobj__obj ->
withObjectPtr window $ \cobj_window ->
wxHelpProvider_ShowHelp cobj__obj cobj_window
foreign import ccall "wxHelpProvider_ShowHelp" wxHelpProvider_ShowHelp :: Ptr (THelpProvider a) -> Ptr (TWindow b) -> IO CBool
htmlHelpControllerAddBook :: HtmlHelpController a -> Ptr b -> Int -> IO Bool
htmlHelpControllerAddBook _obj book showwaitmsg
= withBoolResult $
withObjectRef "htmlHelpControllerAddBook" _obj $ \cobj__obj ->
wxHtmlHelpController_AddBook cobj__obj book (toCInt showwaitmsg)
foreign import ccall "wxHtmlHelpController_AddBook" wxHtmlHelpController_AddBook :: Ptr (THtmlHelpController a) -> Ptr b -> CInt -> IO CBool
htmlHelpControllerCreate :: Int -> IO (HtmlHelpController ())
htmlHelpControllerCreate _style
= withObjectResult $
wxHtmlHelpController_Create (toCInt _style)
foreign import ccall "wxHtmlHelpController_Create" wxHtmlHelpController_Create :: CInt -> IO (Ptr (THtmlHelpController ()))
htmlHelpControllerDelete :: HtmlHelpController a -> IO ()
htmlHelpControllerDelete
= objectDelete
htmlHelpControllerDisplay :: HtmlHelpController a -> Ptr b -> IO Int
htmlHelpControllerDisplay _obj x
= withIntResult $
withObjectRef "htmlHelpControllerDisplay" _obj $ \cobj__obj ->
wxHtmlHelpController_Display cobj__obj x
foreign import ccall "wxHtmlHelpController_Display" wxHtmlHelpController_Display :: Ptr (THtmlHelpController a) -> Ptr b -> IO CInt
htmlHelpControllerDisplayBlock :: HtmlHelpController a -> Int -> IO Bool
htmlHelpControllerDisplayBlock _obj blockNo
= withBoolResult $
withObjectRef "htmlHelpControllerDisplayBlock" _obj $ \cobj__obj ->
wxHtmlHelpController_DisplayBlock cobj__obj (toCInt blockNo)
foreign import ccall "wxHtmlHelpController_DisplayBlock" wxHtmlHelpController_DisplayBlock :: Ptr (THtmlHelpController a) -> CInt -> IO CBool
htmlHelpControllerDisplayContents :: HtmlHelpController a -> IO Int
htmlHelpControllerDisplayContents _obj
= withIntResult $
withObjectRef "htmlHelpControllerDisplayContents" _obj $ \cobj__obj ->
wxHtmlHelpController_DisplayContents cobj__obj
foreign import ccall "wxHtmlHelpController_DisplayContents" wxHtmlHelpController_DisplayContents :: Ptr (THtmlHelpController a) -> IO CInt
htmlHelpControllerDisplayIndex :: HtmlHelpController a -> IO Int
htmlHelpControllerDisplayIndex _obj
= withIntResult $
withObjectRef "htmlHelpControllerDisplayIndex" _obj $ \cobj__obj ->
wxHtmlHelpController_DisplayIndex cobj__obj
foreign import ccall "wxHtmlHelpController_DisplayIndex" wxHtmlHelpController_DisplayIndex :: Ptr (THtmlHelpController a) -> IO CInt
htmlHelpControllerDisplayNumber :: HtmlHelpController a -> Id -> IO Int
htmlHelpControllerDisplayNumber _obj id
= withIntResult $
withObjectRef "htmlHelpControllerDisplayNumber" _obj $ \cobj__obj ->
wxHtmlHelpController_DisplayNumber cobj__obj (toCInt id)
foreign import ccall "wxHtmlHelpController_DisplayNumber" wxHtmlHelpController_DisplayNumber :: Ptr (THtmlHelpController a) -> CInt -> IO CInt
htmlHelpControllerDisplaySection :: HtmlHelpController a -> String -> IO Bool
htmlHelpControllerDisplaySection _obj section
= withBoolResult $
withObjectRef "htmlHelpControllerDisplaySection" _obj $ \cobj__obj ->
withStringPtr section $ \cobj_section ->
wxHtmlHelpController_DisplaySection cobj__obj cobj_section
foreign import ccall "wxHtmlHelpController_DisplaySection" wxHtmlHelpController_DisplaySection :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO CBool
htmlHelpControllerDisplaySectionNumber :: HtmlHelpController a -> Int -> IO Bool
htmlHelpControllerDisplaySectionNumber _obj sectionNo
= withBoolResult $
withObjectRef "htmlHelpControllerDisplaySectionNumber" _obj $ \cobj__obj ->
wxHtmlHelpController_DisplaySectionNumber cobj__obj (toCInt sectionNo)
foreign import ccall "wxHtmlHelpController_DisplaySectionNumber" wxHtmlHelpController_DisplaySectionNumber :: Ptr (THtmlHelpController a) -> CInt -> IO CBool
htmlHelpControllerGetFrame :: HtmlHelpController a -> IO (Frame ())
htmlHelpControllerGetFrame _obj
= withObjectResult $
withObjectRef "htmlHelpControllerGetFrame" _obj $ \cobj__obj ->
wxHtmlHelpController_GetFrame cobj__obj
foreign import ccall "wxHtmlHelpController_GetFrame" wxHtmlHelpController_GetFrame :: Ptr (THtmlHelpController a) -> IO (Ptr (TFrame ()))
htmlHelpControllerGetFrameParameters :: HtmlHelpController a -> Ptr b -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO (Ptr ())
htmlHelpControllerGetFrameParameters _obj title width height posx posy newFrameEachTime
= withObjectRef "htmlHelpControllerGetFrameParameters" _obj $ \cobj__obj ->
wxHtmlHelpController_GetFrameParameters cobj__obj title width height posx posy newFrameEachTime
foreign import ccall "wxHtmlHelpController_GetFrameParameters" wxHtmlHelpController_GetFrameParameters :: Ptr (THtmlHelpController a) -> Ptr b -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO (Ptr ())
htmlHelpControllerInitialize :: HtmlHelpController a -> String -> IO Bool
htmlHelpControllerInitialize _obj file
= withBoolResult $
withObjectRef "htmlHelpControllerInitialize" _obj $ \cobj__obj ->
withStringPtr file $ \cobj_file ->
wxHtmlHelpController_Initialize cobj__obj cobj_file
foreign import ccall "wxHtmlHelpController_Initialize" wxHtmlHelpController_Initialize :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO CBool
htmlHelpControllerKeywordSearch :: HtmlHelpController a -> String -> IO Bool
htmlHelpControllerKeywordSearch _obj keyword
= withBoolResult $
withObjectRef "htmlHelpControllerKeywordSearch" _obj $ \cobj__obj ->
withStringPtr keyword $ \cobj_keyword ->
wxHtmlHelpController_KeywordSearch cobj__obj cobj_keyword
foreign import ccall "wxHtmlHelpController_KeywordSearch" wxHtmlHelpController_KeywordSearch :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO CBool
htmlHelpControllerLoadFile :: HtmlHelpController a -> String -> IO Bool
htmlHelpControllerLoadFile _obj file
= withBoolResult $
withObjectRef "htmlHelpControllerLoadFile" _obj $ \cobj__obj ->
withStringPtr file $ \cobj_file ->
wxHtmlHelpController_LoadFile cobj__obj cobj_file
foreign import ccall "wxHtmlHelpController_LoadFile" wxHtmlHelpController_LoadFile :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO CBool
htmlHelpControllerQuit :: HtmlHelpController a -> IO Bool
htmlHelpControllerQuit _obj
= withBoolResult $
withObjectRef "htmlHelpControllerQuit" _obj $ \cobj__obj ->
wxHtmlHelpController_Quit cobj__obj
foreign import ccall "wxHtmlHelpController_Quit" wxHtmlHelpController_Quit :: Ptr (THtmlHelpController a) -> IO CBool
htmlHelpControllerReadCustomization :: HtmlHelpController a -> ConfigBase b -> String -> IO ()
htmlHelpControllerReadCustomization _obj cfg path
= withObjectRef "htmlHelpControllerReadCustomization" _obj $ \cobj__obj ->
withObjectPtr cfg $ \cobj_cfg ->
withStringPtr path $ \cobj_path ->
wxHtmlHelpController_ReadCustomization cobj__obj cobj_cfg cobj_path
foreign import ccall "wxHtmlHelpController_ReadCustomization" wxHtmlHelpController_ReadCustomization :: Ptr (THtmlHelpController a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()
htmlHelpControllerSetFrameParameters :: HtmlHelpController a -> Ptr b -> Size -> Int -> Int -> Bool -> IO ()
htmlHelpControllerSetFrameParameters _obj title widthheight posx posy newFrameEachTime
= withObjectRef "htmlHelpControllerSetFrameParameters" _obj $ \cobj__obj ->
wxHtmlHelpController_SetFrameParameters cobj__obj title (toCIntSizeW widthheight) (toCIntSizeH widthheight) (toCInt posx) (toCInt posy) (toCBool newFrameEachTime)
foreign import ccall "wxHtmlHelpController_SetFrameParameters" wxHtmlHelpController_SetFrameParameters :: Ptr (THtmlHelpController a) -> Ptr b -> CInt -> CInt -> CInt -> CInt -> CBool -> IO ()
htmlHelpControllerSetTempDir :: HtmlHelpController a -> String -> IO ()
htmlHelpControllerSetTempDir _obj path
= withObjectRef "htmlHelpControllerSetTempDir" _obj $ \cobj__obj ->
withStringPtr path $ \cobj_path ->
wxHtmlHelpController_SetTempDir cobj__obj cobj_path
foreign import ccall "wxHtmlHelpController_SetTempDir" wxHtmlHelpController_SetTempDir :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> IO ()
htmlHelpControllerSetTitleFormat :: HtmlHelpController a -> Ptr b -> IO ()
htmlHelpControllerSetTitleFormat _obj format
= withObjectRef "htmlHelpControllerSetTitleFormat" _obj $ \cobj__obj ->
wxHtmlHelpController_SetTitleFormat cobj__obj format
foreign import ccall "wxHtmlHelpController_SetTitleFormat" wxHtmlHelpController_SetTitleFormat :: Ptr (THtmlHelpController a) -> Ptr b -> IO ()
htmlHelpControllerSetViewer :: HtmlHelpController a -> String -> Int -> IO ()
htmlHelpControllerSetViewer _obj viewer flags
= withObjectRef "htmlHelpControllerSetViewer" _obj $ \cobj__obj ->
withStringPtr viewer $ \cobj_viewer ->
wxHtmlHelpController_SetViewer cobj__obj cobj_viewer (toCInt flags)
foreign import ccall "wxHtmlHelpController_SetViewer" wxHtmlHelpController_SetViewer :: Ptr (THtmlHelpController a) -> Ptr (TWxString b) -> CInt -> IO ()
htmlHelpControllerUseConfig :: HtmlHelpController a -> ConfigBase b -> String -> IO ()
htmlHelpControllerUseConfig _obj config rootpath
= withObjectRef "htmlHelpControllerUseConfig" _obj $ \cobj__obj ->
withObjectPtr config $ \cobj_config ->
withStringPtr rootpath $ \cobj_rootpath ->
wxHtmlHelpController_UseConfig cobj__obj cobj_config cobj_rootpath
foreign import ccall "wxHtmlHelpController_UseConfig" wxHtmlHelpController_UseConfig :: Ptr (THtmlHelpController a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()
htmlHelpControllerWriteCustomization :: HtmlHelpController a -> ConfigBase b -> String -> IO ()
htmlHelpControllerWriteCustomization _obj cfg path
= withObjectRef "htmlHelpControllerWriteCustomization" _obj $ \cobj__obj ->
withObjectPtr cfg $ \cobj_cfg ->
withStringPtr path $ \cobj_path ->
wxHtmlHelpController_WriteCustomization cobj__obj cobj_cfg cobj_path
foreign import ccall "wxHtmlHelpController_WriteCustomization" wxHtmlHelpController_WriteCustomization :: Ptr (THtmlHelpController a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()
htmlWindowAppendToPage :: HtmlWindow a -> String -> IO Bool
htmlWindowAppendToPage _obj source
= withBoolResult $
withObjectRef "htmlWindowAppendToPage" _obj $ \cobj__obj ->
withStringPtr source $ \cobj_source ->
wxHtmlWindow_AppendToPage cobj__obj cobj_source
foreign import ccall "wxHtmlWindow_AppendToPage" wxHtmlWindow_AppendToPage :: Ptr (THtmlWindow a) -> Ptr (TWxString b) -> IO CBool
htmlWindowCreate :: Window a -> Id -> Rect -> Style -> String -> IO (HtmlWindow ())
htmlWindowCreate _prt _id _lfttopwdthgt _stl _txt
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withStringPtr _txt $ \cobj__txt ->
wxHtmlWindow_Create cobj__prt (toCInt _id) (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) (toCInt _stl) cobj__txt
foreign import ccall "wxHtmlWindow_Create" wxHtmlWindow_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (TWxString e) -> IO (Ptr (THtmlWindow ()))
htmlWindowGetInternalRepresentation :: HtmlWindow a -> IO (HtmlContainerCell ())
htmlWindowGetInternalRepresentation _obj
= withObjectResult $
withObjectRef "htmlWindowGetInternalRepresentation" _obj $ \cobj__obj ->
wxHtmlWindow_GetInternalRepresentation cobj__obj
foreign import ccall "wxHtmlWindow_GetInternalRepresentation" wxHtmlWindow_GetInternalRepresentation :: Ptr (THtmlWindow a) -> IO (Ptr (THtmlContainerCell ()))
htmlWindowGetOpenedAnchor :: HtmlWindow a -> IO (String)
htmlWindowGetOpenedAnchor _obj
= withManagedStringResult $
withObjectRef "htmlWindowGetOpenedAnchor" _obj $ \cobj__obj ->
wxHtmlWindow_GetOpenedAnchor cobj__obj
foreign import ccall "wxHtmlWindow_GetOpenedAnchor" wxHtmlWindow_GetOpenedAnchor :: Ptr (THtmlWindow a) -> IO (Ptr (TWxString ()))
htmlWindowGetOpenedPage :: HtmlWindow a -> IO (String)
htmlWindowGetOpenedPage _obj
= withManagedStringResult $
withObjectRef "htmlWindowGetOpenedPage" _obj $ \cobj__obj ->
wxHtmlWindow_GetOpenedPage cobj__obj
foreign import ccall "wxHtmlWindow_GetOpenedPage" wxHtmlWindow_GetOpenedPage :: Ptr (THtmlWindow a) -> IO (Ptr (TWxString ()))
htmlWindowGetOpenedPageTitle :: HtmlWindow a -> IO (String)
htmlWindowGetOpenedPageTitle _obj
= withManagedStringResult $
withObjectRef "htmlWindowGetOpenedPageTitle" _obj $ \cobj__obj ->
wxHtmlWindow_GetOpenedPageTitle cobj__obj
foreign import ccall "wxHtmlWindow_GetOpenedPageTitle" wxHtmlWindow_GetOpenedPageTitle :: Ptr (THtmlWindow a) -> IO (Ptr (TWxString ()))
htmlWindowGetRelatedFrame :: HtmlWindow a -> IO (Frame ())
htmlWindowGetRelatedFrame _obj
= withObjectResult $
withObjectRef "htmlWindowGetRelatedFrame" _obj $ \cobj__obj ->
wxHtmlWindow_GetRelatedFrame cobj__obj
foreign import ccall "wxHtmlWindow_GetRelatedFrame" wxHtmlWindow_GetRelatedFrame :: Ptr (THtmlWindow a) -> IO (Ptr (TFrame ()))
htmlWindowHistoryBack :: HtmlWindow a -> IO Bool
htmlWindowHistoryBack _obj
= withBoolResult $
withObjectRef "htmlWindowHistoryBack" _obj $ \cobj__obj ->
wxHtmlWindow_HistoryBack cobj__obj
foreign import ccall "wxHtmlWindow_HistoryBack" wxHtmlWindow_HistoryBack :: Ptr (THtmlWindow a) -> IO CBool
htmlWindowHistoryCanBack :: HtmlWindow a -> IO Bool
htmlWindowHistoryCanBack _obj
= withBoolResult $
withObjectRef "htmlWindowHistoryCanBack" _obj $ \cobj__obj ->
wxHtmlWindow_HistoryCanBack cobj__obj
foreign import ccall "wxHtmlWindow_HistoryCanBack" wxHtmlWindow_HistoryCanBack :: Ptr (THtmlWindow a) -> IO CBool
htmlWindowHistoryCanForward :: HtmlWindow a -> IO Bool
htmlWindowHistoryCanForward _obj
= withBoolResult $
withObjectRef "htmlWindowHistoryCanForward" _obj $ \cobj__obj ->
wxHtmlWindow_HistoryCanForward cobj__obj
foreign import ccall "wxHtmlWindow_HistoryCanForward" wxHtmlWindow_HistoryCanForward :: Ptr (THtmlWindow a) -> IO CBool
htmlWindowHistoryClear :: HtmlWindow a -> IO ()
htmlWindowHistoryClear _obj
= withObjectRef "htmlWindowHistoryClear" _obj $ \cobj__obj ->
wxHtmlWindow_HistoryClear cobj__obj
foreign import ccall "wxHtmlWindow_HistoryClear" wxHtmlWindow_HistoryClear :: Ptr (THtmlWindow a) -> IO ()
htmlWindowHistoryForward :: HtmlWindow a -> IO Bool
htmlWindowHistoryForward _obj
= withBoolResult $
withObjectRef "htmlWindowHistoryForward" _obj $ \cobj__obj ->
wxHtmlWindow_HistoryForward cobj__obj
foreign import ccall "wxHtmlWindow_HistoryForward" wxHtmlWindow_HistoryForward :: Ptr (THtmlWindow a) -> IO CBool
htmlWindowLoadPage :: HtmlWindow a -> String -> IO Bool
htmlWindowLoadPage _obj location
= withBoolResult $
withObjectRef "htmlWindowLoadPage" _obj $ \cobj__obj ->
withStringPtr location $ \cobj_location ->
wxHtmlWindow_LoadPage cobj__obj cobj_location
foreign import ccall "wxHtmlWindow_LoadPage" wxHtmlWindow_LoadPage :: Ptr (THtmlWindow a) -> Ptr (TWxString b) -> IO CBool
htmlWindowReadCustomization :: HtmlWindow a -> ConfigBase b -> String -> IO ()
htmlWindowReadCustomization _obj cfg path
= withObjectRef "htmlWindowReadCustomization" _obj $ \cobj__obj ->
withObjectPtr cfg $ \cobj_cfg ->
withStringPtr path $ \cobj_path ->
wxHtmlWindow_ReadCustomization cobj__obj cobj_cfg cobj_path
foreign import ccall "wxHtmlWindow_ReadCustomization" wxHtmlWindow_ReadCustomization :: Ptr (THtmlWindow a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()
htmlWindowSetBorders :: HtmlWindow a -> Int -> IO ()
htmlWindowSetBorders _obj b
= withObjectRef "htmlWindowSetBorders" _obj $ \cobj__obj ->
wxHtmlWindow_SetBorders cobj__obj (toCInt b)
foreign import ccall "wxHtmlWindow_SetBorders" wxHtmlWindow_SetBorders :: Ptr (THtmlWindow a) -> CInt -> IO ()
htmlWindowSetFonts :: HtmlWindow a -> String -> String -> Ptr CInt -> IO ()
htmlWindowSetFonts _obj normalface fixedface sizes
= withObjectRef "htmlWindowSetFonts" _obj $ \cobj__obj ->
withStringPtr normalface $ \cobj_normalface ->
withStringPtr fixedface $ \cobj_fixedface ->
wxHtmlWindow_SetFonts cobj__obj cobj_normalface cobj_fixedface sizes
foreign import ccall "wxHtmlWindow_SetFonts" wxHtmlWindow_SetFonts :: Ptr (THtmlWindow a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> Ptr CInt -> IO ()
htmlWindowSetPage :: HtmlWindow a -> String -> IO ()
htmlWindowSetPage _obj source
= withObjectRef "htmlWindowSetPage" _obj $ \cobj__obj ->
withStringPtr source $ \cobj_source ->
wxHtmlWindow_SetPage cobj__obj cobj_source
foreign import ccall "wxHtmlWindow_SetPage" wxHtmlWindow_SetPage :: Ptr (THtmlWindow a) -> Ptr (TWxString b) -> IO ()
htmlWindowSetRelatedFrame :: HtmlWindow a -> Frame b -> String -> IO ()
htmlWindowSetRelatedFrame _obj frame format
= withObjectRef "htmlWindowSetRelatedFrame" _obj $ \cobj__obj ->
withObjectPtr frame $ \cobj_frame ->
withStringPtr format $ \cobj_format ->
wxHtmlWindow_SetRelatedFrame cobj__obj cobj_frame cobj_format
foreign import ccall "wxHtmlWindow_SetRelatedFrame" wxHtmlWindow_SetRelatedFrame :: Ptr (THtmlWindow a) -> Ptr (TFrame b) -> Ptr (TWxString c) -> IO ()
htmlWindowSetRelatedStatusBar :: HtmlWindow a -> Int -> IO ()
htmlWindowSetRelatedStatusBar _obj bar
= withObjectRef "htmlWindowSetRelatedStatusBar" _obj $ \cobj__obj ->
wxHtmlWindow_SetRelatedStatusBar cobj__obj (toCInt bar)
foreign import ccall "wxHtmlWindow_SetRelatedStatusBar" wxHtmlWindow_SetRelatedStatusBar :: Ptr (THtmlWindow a) -> CInt -> IO ()
htmlWindowWriteCustomization :: HtmlWindow a -> ConfigBase b -> String -> IO ()
htmlWindowWriteCustomization _obj cfg path
= withObjectRef "htmlWindowWriteCustomization" _obj $ \cobj__obj ->
withObjectPtr cfg $ \cobj_cfg ->
withStringPtr path $ \cobj_path ->
wxHtmlWindow_WriteCustomization cobj__obj cobj_cfg cobj_path
foreign import ccall "wxHtmlWindow_WriteCustomization" wxHtmlWindow_WriteCustomization :: Ptr (THtmlWindow a) -> Ptr (TConfigBase b) -> Ptr (TWxString c) -> IO ()
hyperlinkCtrlCreate :: Window a -> Id -> String -> String -> Rect -> Int -> IO (HyperlinkCtrl ())
hyperlinkCtrlCreate parent id label url xywh style
= withObjectResult $
withObjectPtr parent $ \cobj_parent ->
withStringPtr label $ \cobj_label ->
withStringPtr url $ \cobj_url ->
wxHyperlinkCtrl_Create cobj_parent (toCInt id) cobj_label cobj_url (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) (toCInt style)
foreign import ccall "wxHyperlinkCtrl_Create" wxHyperlinkCtrl_Create :: Ptr (TWindow a) -> CInt -> Ptr (TWxString c) -> Ptr (TWxString d) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (THyperlinkCtrl ()))
hyperlinkCtrlGetHoverColour :: HyperlinkCtrl a -> IO (Color)
hyperlinkCtrlGetHoverColour self
= withManagedColourResult $
withObjectRef "hyperlinkCtrlGetHoverColour" self $ \cobj_self ->
wxHyperlinkCtrl_GetHoverColour cobj_self
foreign import ccall "wxHyperlinkCtrl_GetHoverColour" wxHyperlinkCtrl_GetHoverColour :: Ptr (THyperlinkCtrl a) -> IO (Ptr (TColour ()))
hyperlinkCtrlGetNormalColour :: HyperlinkCtrl a -> IO (Color)
hyperlinkCtrlGetNormalColour self
= withManagedColourResult $
withObjectRef "hyperlinkCtrlGetNormalColour" self $ \cobj_self ->
wxHyperlinkCtrl_GetNormalColour cobj_self
foreign import ccall "wxHyperlinkCtrl_GetNormalColour" wxHyperlinkCtrl_GetNormalColour :: Ptr (THyperlinkCtrl a) -> IO (Ptr (TColour ()))
hyperlinkCtrlGetURL :: HyperlinkCtrl a -> IO (String)
hyperlinkCtrlGetURL self
= withManagedStringResult $
withObjectRef "hyperlinkCtrlGetURL" self $ \cobj_self ->
wxHyperlinkCtrl_GetURL cobj_self
foreign import ccall "wxHyperlinkCtrl_GetURL" wxHyperlinkCtrl_GetURL :: Ptr (THyperlinkCtrl a) -> IO (Ptr (TWxString ()))
hyperlinkCtrlGetVisited :: HyperlinkCtrl a -> IO Bool
hyperlinkCtrlGetVisited self
= withBoolResult $
withObjectRef "hyperlinkCtrlGetVisited" self $ \cobj_self ->
wxHyperlinkCtrl_GetVisited cobj_self
foreign import ccall "wxHyperlinkCtrl_GetVisited" wxHyperlinkCtrl_GetVisited :: Ptr (THyperlinkCtrl a) -> IO CBool
hyperlinkCtrlGetVisitedColour :: HyperlinkCtrl a -> IO (Color)
hyperlinkCtrlGetVisitedColour self
= withManagedColourResult $
withObjectRef "hyperlinkCtrlGetVisitedColour" self $ \cobj_self ->
wxHyperlinkCtrl_GetVisitedColour cobj_self
foreign import ccall "wxHyperlinkCtrl_GetVisitedColour" wxHyperlinkCtrl_GetVisitedColour :: Ptr (THyperlinkCtrl a) -> IO (Ptr (TColour ()))
hyperlinkCtrlSetHoverColour :: HyperlinkCtrl a -> Color -> IO ()
hyperlinkCtrlSetHoverColour self colour
= withObjectRef "hyperlinkCtrlSetHoverColour" self $ \cobj_self ->
withColourPtr colour $ \cobj_colour ->
wxHyperlinkCtrl_SetHoverColour cobj_self cobj_colour
foreign import ccall "wxHyperlinkCtrl_SetHoverColour" wxHyperlinkCtrl_SetHoverColour :: Ptr (THyperlinkCtrl a) -> Ptr (TColour b) -> IO ()
hyperlinkCtrlSetNormalColour :: HyperlinkCtrl a -> Color -> IO ()
hyperlinkCtrlSetNormalColour self colour
= withObjectRef "hyperlinkCtrlSetNormalColour" self $ \cobj_self ->
withColourPtr colour $ \cobj_colour ->
wxHyperlinkCtrl_SetNormalColour cobj_self cobj_colour
foreign import ccall "wxHyperlinkCtrl_SetNormalColour" wxHyperlinkCtrl_SetNormalColour :: Ptr (THyperlinkCtrl a) -> Ptr (TColour b) -> IO ()
hyperlinkCtrlSetURL :: HyperlinkCtrl a -> String -> IO ()
hyperlinkCtrlSetURL self url
= withObjectRef "hyperlinkCtrlSetURL" self $ \cobj_self ->
withStringPtr url $ \cobj_url ->
wxHyperlinkCtrl_SetURL cobj_self cobj_url
foreign import ccall "wxHyperlinkCtrl_SetURL" wxHyperlinkCtrl_SetURL :: Ptr (THyperlinkCtrl a) -> Ptr (TWxString b) -> IO ()
hyperlinkCtrlSetVisited :: HyperlinkCtrl a -> Bool -> IO ()
hyperlinkCtrlSetVisited self visited
= withObjectRef "hyperlinkCtrlSetVisited" self $ \cobj_self ->
wxHyperlinkCtrl_SetVisited cobj_self (toCBool visited)
foreign import ccall "wxHyperlinkCtrl_SetVisited" wxHyperlinkCtrl_SetVisited :: Ptr (THyperlinkCtrl a) -> CBool -> IO ()
hyperlinkCtrlSetVisitedColour :: HyperlinkCtrl a -> Color -> IO ()
hyperlinkCtrlSetVisitedColour self colour
= withObjectRef "hyperlinkCtrlSetVisitedColour" self $ \cobj_self ->
withColourPtr colour $ \cobj_colour ->
wxHyperlinkCtrl_SetVisitedColour cobj_self cobj_colour
foreign import ccall "wxHyperlinkCtrl_SetVisitedColour" wxHyperlinkCtrl_SetVisitedColour :: Ptr (THyperlinkCtrl a) -> Ptr (TColour b) -> IO ()
iconAssign :: Icon a -> Ptr b -> IO ()
iconAssign _obj other
= withObjectRef "iconAssign" _obj $ \cobj__obj ->
wxIcon_Assign cobj__obj other
foreign import ccall "wxIcon_Assign" wxIcon_Assign :: Ptr (TIcon a) -> Ptr b -> IO ()
iconBundleAddIcon :: IconBundle a -> Icon b -> IO ()
iconBundleAddIcon _obj icon
= withObjectRef "iconBundleAddIcon" _obj $ \cobj__obj ->
withObjectPtr icon $ \cobj_icon ->
wxIconBundle_AddIcon cobj__obj cobj_icon
foreign import ccall "wxIconBundle_AddIcon" wxIconBundle_AddIcon :: Ptr (TIconBundle a) -> Ptr (TIcon b) -> IO ()
iconBundleAddIconFromFile :: IconBundle a -> String -> Int -> IO ()
iconBundleAddIconFromFile _obj file wxtype
= withObjectRef "iconBundleAddIconFromFile" _obj $ \cobj__obj ->
withStringPtr file $ \cobj_file ->
wxIconBundle_AddIconFromFile cobj__obj cobj_file (toCInt wxtype)
foreign import ccall "wxIconBundle_AddIconFromFile" wxIconBundle_AddIconFromFile :: Ptr (TIconBundle a) -> Ptr (TWxString b) -> CInt -> IO ()
iconBundleCreateDefault :: IO (IconBundle ())
iconBundleCreateDefault
= withObjectResult $
wxIconBundle_CreateDefault
foreign import ccall "wxIconBundle_CreateDefault" wxIconBundle_CreateDefault :: IO (Ptr (TIconBundle ()))
iconBundleCreateFromFile :: String -> Int -> IO (IconBundle ())
iconBundleCreateFromFile file wxtype
= withObjectResult $
withStringPtr file $ \cobj_file ->
wxIconBundle_CreateFromFile cobj_file (toCInt wxtype)
foreign import ccall "wxIconBundle_CreateFromFile" wxIconBundle_CreateFromFile :: Ptr (TWxString a) -> CInt -> IO (Ptr (TIconBundle ()))
iconBundleCreateFromIcon :: Icon a -> IO (IconBundle ())
iconBundleCreateFromIcon icon
= withObjectResult $
withObjectPtr icon $ \cobj_icon ->
wxIconBundle_CreateFromIcon cobj_icon
foreign import ccall "wxIconBundle_CreateFromIcon" wxIconBundle_CreateFromIcon :: Ptr (TIcon a) -> IO (Ptr (TIconBundle ()))
iconBundleDelete :: IconBundle a -> IO ()
iconBundleDelete _obj
= withObjectRef "iconBundleDelete" _obj $ \cobj__obj ->
wxIconBundle_Delete cobj__obj
foreign import ccall "wxIconBundle_Delete" wxIconBundle_Delete :: Ptr (TIconBundle a) -> IO ()
iconBundleGetIcon :: IconBundle a -> Size -> IO (Icon ())
iconBundleGetIcon _obj wh
= withRefIcon $ \pref ->
withObjectRef "iconBundleGetIcon" _obj $ \cobj__obj ->
wxIconBundle_GetIcon cobj__obj (toCIntSizeW wh) (toCIntSizeH wh) pref
foreign import ccall "wxIconBundle_GetIcon" wxIconBundle_GetIcon :: Ptr (TIconBundle a) -> CInt -> CInt -> Ptr (TIcon ()) -> IO ()
iconCopyFromBitmap :: Icon a -> Bitmap b -> IO ()
iconCopyFromBitmap _obj bmp
= withObjectRef "iconCopyFromBitmap" _obj $ \cobj__obj ->
withObjectPtr bmp $ \cobj_bmp ->
wxIcon_CopyFromBitmap cobj__obj cobj_bmp
foreign import ccall "wxIcon_CopyFromBitmap" wxIcon_CopyFromBitmap :: Ptr (TIcon a) -> Ptr (TBitmap b) -> IO ()
iconCreateDefault :: IO (Icon ())
iconCreateDefault
= withManagedIconResult $
wxIcon_CreateDefault
foreign import ccall "wxIcon_CreateDefault" wxIcon_CreateDefault :: IO (Ptr (TIcon ()))
iconCreateLoad :: String -> Int -> Size -> IO (Icon ())
iconCreateLoad name wxtype widthheight
= withManagedIconResult $
withStringPtr name $ \cobj_name ->
wxIcon_CreateLoad cobj_name (toCInt wxtype) (toCIntSizeW widthheight) (toCIntSizeH widthheight)
foreign import ccall "wxIcon_CreateLoad" wxIcon_CreateLoad :: Ptr (TWxString a) -> CInt -> CInt -> CInt -> IO (Ptr (TIcon ()))
iconDelete :: Icon a -> IO ()
iconDelete
= objectDelete
iconFromRaw :: Icon a -> Size -> IO (Icon ())
iconFromRaw wxdata widthheight
= withManagedIconResult $
withObjectRef "iconFromRaw" wxdata $ \cobj_wxdata ->
wxIcon_FromRaw cobj_wxdata (toCIntSizeW widthheight) (toCIntSizeH widthheight)
foreign import ccall "wxIcon_FromRaw" wxIcon_FromRaw :: Ptr (TIcon a) -> CInt -> CInt -> IO (Ptr (TIcon ()))
iconFromXPM :: Icon a -> IO (Icon ())
iconFromXPM wxdata
= withManagedIconResult $
withObjectRef "iconFromXPM" wxdata $ \cobj_wxdata ->
wxIcon_FromXPM cobj_wxdata
foreign import ccall "wxIcon_FromXPM" wxIcon_FromXPM :: Ptr (TIcon a) -> IO (Ptr (TIcon ()))
iconGetDepth :: Icon a -> IO Int
iconGetDepth _obj
= withIntResult $
withObjectRef "iconGetDepth" _obj $ \cobj__obj ->
wxIcon_GetDepth cobj__obj
foreign import ccall "wxIcon_GetDepth" wxIcon_GetDepth :: Ptr (TIcon a) -> IO CInt
iconGetHeight :: Icon a -> IO Int
iconGetHeight _obj
= withIntResult $
withObjectRef "iconGetHeight" _obj $ \cobj__obj ->
wxIcon_GetHeight cobj__obj
foreign import ccall "wxIcon_GetHeight" wxIcon_GetHeight :: Ptr (TIcon a) -> IO CInt
iconGetWidth :: Icon a -> IO Int
iconGetWidth _obj
= withIntResult $
withObjectRef "iconGetWidth" _obj $ \cobj__obj ->
wxIcon_GetWidth cobj__obj
foreign import ccall "wxIcon_GetWidth" wxIcon_GetWidth :: Ptr (TIcon a) -> IO CInt
iconIsEqual :: Icon a -> Icon b -> IO Bool
iconIsEqual _obj other
= withBoolResult $
withObjectRef "iconIsEqual" _obj $ \cobj__obj ->
withObjectPtr other $ \cobj_other ->
wxIcon_IsEqual cobj__obj cobj_other
foreign import ccall "wxIcon_IsEqual" wxIcon_IsEqual :: Ptr (TIcon a) -> Ptr (TIcon b) -> IO CBool
iconIsOk :: Icon a -> IO Bool
iconIsOk _obj
= withBoolResult $
withObjectRef "iconIsOk" _obj $ \cobj__obj ->
wxIcon_IsOk cobj__obj
foreign import ccall "wxIcon_IsOk" wxIcon_IsOk :: Ptr (TIcon a) -> IO CBool
iconIsStatic :: Icon a -> IO Bool
iconIsStatic self
= withBoolResult $
withObjectPtr self $ \cobj_self ->
wxIcon_IsStatic cobj_self
foreign import ccall "wxIcon_IsStatic" wxIcon_IsStatic :: Ptr (TIcon a) -> IO CBool
iconLoad :: Icon a -> String -> Int -> Size -> IO Int
iconLoad _obj name wxtype widthheight
= withIntResult $
withObjectRef "iconLoad" _obj $ \cobj__obj ->
withStringPtr name $ \cobj_name ->
wxIcon_Load cobj__obj cobj_name (toCInt wxtype) (toCIntSizeW widthheight) (toCIntSizeH widthheight)
foreign import ccall "wxIcon_Load" wxIcon_Load :: Ptr (TIcon a) -> Ptr (TWxString b) -> CInt -> CInt -> CInt -> IO CInt
iconSafeDelete :: Icon a -> IO ()
iconSafeDelete self
= withObjectPtr self $ \cobj_self ->
wxIcon_SafeDelete cobj_self
foreign import ccall "wxIcon_SafeDelete" wxIcon_SafeDelete :: Ptr (TIcon a) -> IO ()
iconSetDepth :: Icon a -> Int -> IO ()
iconSetDepth _obj depth
= withObjectRef "iconSetDepth" _obj $ \cobj__obj ->
wxIcon_SetDepth cobj__obj (toCInt depth)
foreign import ccall "wxIcon_SetDepth" wxIcon_SetDepth :: Ptr (TIcon a) -> CInt -> IO ()
iconSetHeight :: Icon a -> Int -> IO ()
iconSetHeight _obj height
= withObjectRef "iconSetHeight" _obj $ \cobj__obj ->
wxIcon_SetHeight cobj__obj (toCInt height)
foreign import ccall "wxIcon_SetHeight" wxIcon_SetHeight :: Ptr (TIcon a) -> CInt -> IO ()
iconSetWidth :: Icon a -> Int -> IO ()
iconSetWidth _obj width
= withObjectRef "iconSetWidth" _obj $ \cobj__obj ->
wxIcon_SetWidth cobj__obj (toCInt width)
foreign import ccall "wxIcon_SetWidth" wxIcon_SetWidth :: Ptr (TIcon a) -> CInt -> IO ()
idleEventCopyObject :: IdleEvent a -> WxObject b -> IO ()
idleEventCopyObject _obj objectdest
= withObjectRef "idleEventCopyObject" _obj $ \cobj__obj ->
withObjectPtr objectdest $ \cobj_objectdest ->
wxIdleEvent_CopyObject cobj__obj cobj_objectdest
foreign import ccall "wxIdleEvent_CopyObject" wxIdleEvent_CopyObject :: Ptr (TIdleEvent a) -> Ptr (TWxObject b) -> IO ()
idleEventMoreRequested :: IdleEvent a -> IO Bool
idleEventMoreRequested _obj
= withBoolResult $
withObjectRef "idleEventMoreRequested" _obj $ \cobj__obj ->
wxIdleEvent_MoreRequested cobj__obj
foreign import ccall "wxIdleEvent_MoreRequested" wxIdleEvent_MoreRequested :: Ptr (TIdleEvent a) -> IO CBool
idleEventRequestMore :: IdleEvent a -> Bool -> IO ()
idleEventRequestMore _obj needMore
= withObjectRef "idleEventRequestMore" _obj $ \cobj__obj ->
wxIdleEvent_RequestMore cobj__obj (toCBool needMore)
foreign import ccall "wxIdleEvent_RequestMore" wxIdleEvent_RequestMore :: Ptr (TIdleEvent a) -> CBool -> IO ()
imageCanRead :: String -> IO Bool
imageCanRead name
= withBoolResult $
withStringPtr name $ \cobj_name ->
wxImage_CanRead cobj_name
foreign import ccall "wxImage_CanRead" wxImage_CanRead :: Ptr (TWxString a) -> IO CBool
imageConvertToBitmap :: Image a -> IO (Bitmap ())
imageConvertToBitmap _obj
= withRefBitmap $ \pref ->
withObjectRef "imageConvertToBitmap" _obj $ \cobj__obj ->
wxImage_ConvertToBitmap cobj__obj pref
foreign import ccall "wxImage_ConvertToBitmap" wxImage_ConvertToBitmap :: Ptr (TImage a) -> Ptr (TBitmap ()) -> IO ()
imageConvertToByteString :: Image a -> Int -> IO B.ByteString
imageConvertToByteString _obj wxtype
= withByteStringResult $ \buffer ->
withObjectRef "imageConvertToByteString" _obj $ \cobj__obj ->
wxImage_ConvertToByteString cobj__obj (toCInt wxtype) buffer
foreign import ccall "wxImage_ConvertToByteString" wxImage_ConvertToByteString :: Ptr (TImage a) -> CInt -> Ptr CChar -> IO CInt
imageConvertToLazyByteString :: Image a -> Int -> IO LB.ByteString
imageConvertToLazyByteString _obj wxtype
= withLazyByteStringResult $ \buffer ->
withObjectRef "imageConvertToLazyByteString" _obj $ \cobj__obj ->
wxImage_ConvertToLazyByteString cobj__obj (toCInt wxtype) buffer
foreign import ccall "wxImage_ConvertToLazyByteString" wxImage_ConvertToLazyByteString :: Ptr (TImage a) -> CInt -> Ptr CChar -> IO CInt
imageCopy :: Image a -> IO (Image ())
imageCopy _obj
= withRefImage $ \pref ->
withObjectRef "imageCopy" _obj $ \cobj__obj ->
wxImage_Copy cobj__obj pref
foreign import ccall "wxImage_Copy" wxImage_Copy :: Ptr (TImage a) -> Ptr (TImage ()) -> IO ()
imageCountColours :: Image a -> Int -> IO Int
imageCountColours _obj stopafter
= withIntResult $
withObjectRef "imageCountColours" _obj $ \cobj__obj ->
wxImage_CountColours cobj__obj (toCInt stopafter)
foreign import ccall "wxImage_CountColours" wxImage_CountColours :: Ptr (TImage a) -> CInt -> IO CInt
imageCreateDefault :: IO (Image ())
imageCreateDefault
= withManagedObjectResult $
wxImage_CreateDefault
foreign import ccall "wxImage_CreateDefault" wxImage_CreateDefault :: IO (Ptr (TImage ()))
imageCreateFromBitmap :: Bitmap a -> IO (Image ())
imageCreateFromBitmap bitmap
= withManagedObjectResult $
withObjectPtr bitmap $ \cobj_bitmap ->
wxImage_CreateFromBitmap cobj_bitmap
foreign import ccall "wxImage_CreateFromBitmap" wxImage_CreateFromBitmap :: Ptr (TBitmap a) -> IO (Ptr (TImage ()))
imageCreateFromByteString :: Size -> B.ByteString -> IO (Image ())
imageCreateFromByteString widthheight datalength
= withManagedObjectResult $
B.useAsCStringLen datalength $ \(bs_datalength, bslen_datalength) ->
wxImage_CreateFromByteString (toCIntSizeW widthheight) (toCIntSizeH widthheight) bs_datalength bslen_datalength
foreign import ccall "wxImage_CreateFromByteString" wxImage_CreateFromByteString :: CInt -> CInt -> Ptr CChar -> Int -> IO (Ptr (TImage ()))
imageCreateFromData :: Size -> Ptr b -> IO (Image ())
imageCreateFromData widthheight wxdata
= withManagedObjectResult $
wxImage_CreateFromData (toCIntSizeW widthheight) (toCIntSizeH widthheight) wxdata
foreign import ccall "wxImage_CreateFromData" wxImage_CreateFromData :: CInt -> CInt -> Ptr b -> IO (Ptr (TImage ()))
imageCreateFromDataEx :: Size -> Ptr b -> Bool -> IO (Image ())
imageCreateFromDataEx widthheight wxdata isStaticData
= withManagedObjectResult $
wxImage_CreateFromDataEx (toCIntSizeW widthheight) (toCIntSizeH widthheight) wxdata (toCBool isStaticData)
foreign import ccall "wxImage_CreateFromDataEx" wxImage_CreateFromDataEx :: CInt -> CInt -> Ptr b -> CBool -> IO (Ptr (TImage ()))
imageCreateFromFile :: String -> IO (Image ())
imageCreateFromFile name
= withManagedObjectResult $
withStringPtr name $ \cobj_name ->
wxImage_CreateFromFile cobj_name
foreign import ccall "wxImage_CreateFromFile" wxImage_CreateFromFile :: Ptr (TWxString a) -> IO (Ptr (TImage ()))
imageCreateFromLazyByteString :: Size -> LB.ByteString -> IO (Image ())
imageCreateFromLazyByteString widthheight datalength
= withManagedObjectResult $
withArray (LB.unpack datalength) $ \bs_datalength ->
wxImage_CreateFromLazyByteString (toCIntSizeW widthheight) (toCIntSizeH widthheight) bs_datalength (fromIntegral $ LB.length datalength)
foreign import ccall "wxImage_CreateFromLazyByteString" wxImage_CreateFromLazyByteString :: CInt -> CInt -> Ptr Word8 -> Int -> IO (Ptr (TImage ()))
imageCreateSized :: Size -> IO (Image ())
imageCreateSized widthheight
= withManagedObjectResult $
wxImage_CreateSized (toCIntSizeW widthheight) (toCIntSizeH widthheight)
foreign import ccall "wxImage_CreateSized" wxImage_CreateSized :: CInt -> CInt -> IO (Ptr (TImage ()))
imageDelete :: Image a -> IO ()
imageDelete
= objectDelete
imageDestroy :: Image a -> IO ()
imageDestroy _obj
= withObjectRef "imageDestroy" _obj $ \cobj__obj ->
wxImage_Destroy cobj__obj
foreign import ccall "wxImage_Destroy" wxImage_Destroy :: Ptr (TImage a) -> IO ()
imageGetBlue :: Image a -> Point -> IO Char
imageGetBlue _obj xy
= withCharResult $
withObjectRef "imageGetBlue" _obj $ \cobj__obj ->
wxImage_GetBlue cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxImage_GetBlue" wxImage_GetBlue :: Ptr (TImage a) -> CInt -> CInt -> IO CWchar
imageGetData :: Image a -> IO (Ptr ())
imageGetData _obj
= withObjectRef "imageGetData" _obj $ \cobj__obj ->
wxImage_GetData cobj__obj
foreign import ccall "wxImage_GetData" wxImage_GetData :: Ptr (TImage a) -> IO (Ptr ())
imageGetGreen :: Image a -> Point -> IO Char
imageGetGreen _obj xy
= withCharResult $
withObjectRef "imageGetGreen" _obj $ \cobj__obj ->
wxImage_GetGreen cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxImage_GetGreen" wxImage_GetGreen :: Ptr (TImage a) -> CInt -> CInt -> IO CWchar
imageGetHeight :: Image a -> IO Int
imageGetHeight _obj
= withIntResult $
withObjectRef "imageGetHeight" _obj $ \cobj__obj ->
wxImage_GetHeight cobj__obj
foreign import ccall "wxImage_GetHeight" wxImage_GetHeight :: Ptr (TImage a) -> IO CInt
imageGetMaskBlue :: Image a -> IO Char
imageGetMaskBlue _obj
= withCharResult $
withObjectRef "imageGetMaskBlue" _obj $ \cobj__obj ->
wxImage_GetMaskBlue cobj__obj
foreign import ccall "wxImage_GetMaskBlue" wxImage_GetMaskBlue :: Ptr (TImage a) -> IO CWchar
imageGetMaskGreen :: Image a -> IO Char
imageGetMaskGreen _obj
= withCharResult $
withObjectRef "imageGetMaskGreen" _obj $ \cobj__obj ->
wxImage_GetMaskGreen cobj__obj
foreign import ccall "wxImage_GetMaskGreen" wxImage_GetMaskGreen :: Ptr (TImage a) -> IO CWchar
imageGetMaskRed :: Image a -> IO Char
imageGetMaskRed _obj
= withCharResult $
withObjectRef "imageGetMaskRed" _obj $ \cobj__obj ->
wxImage_GetMaskRed cobj__obj
foreign import ccall "wxImage_GetMaskRed" wxImage_GetMaskRed :: Ptr (TImage a) -> IO CWchar
imageGetOption :: Image a -> String -> IO (String)
imageGetOption _obj name
= withManagedStringResult $
withObjectRef "imageGetOption" _obj $ \cobj__obj ->
withStringPtr name $ \cobj_name ->
wxImage_GetOption cobj__obj cobj_name
foreign import ccall "wxImage_GetOption" wxImage_GetOption :: Ptr (TImage a) -> Ptr (TWxString b) -> IO (Ptr (TWxString ()))
imageGetOptionInt :: Image a -> String -> IO Bool
imageGetOptionInt _obj name
= withBoolResult $
withObjectRef "imageGetOptionInt" _obj $ \cobj__obj ->
withStringPtr name $ \cobj_name ->
wxImage_GetOptionInt cobj__obj cobj_name
foreign import ccall "wxImage_GetOptionInt" wxImage_GetOptionInt :: Ptr (TImage a) -> Ptr (TWxString b) -> IO CBool
imageGetRed :: Image a -> Point -> IO Char
imageGetRed _obj xy
= withCharResult $
withObjectRef "imageGetRed" _obj $ \cobj__obj ->
wxImage_GetRed cobj__obj (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxImage_GetRed" wxImage_GetRed :: Ptr (TImage a) -> CInt -> CInt -> IO CWchar
imageGetSubImage :: Image a -> Rect -> IO (Image ())
imageGetSubImage _obj xywh
= withRefImage $ \pref ->
withObjectRef "imageGetSubImage" _obj $ \cobj__obj ->
wxImage_GetSubImage cobj__obj (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) pref
foreign import ccall "wxImage_GetSubImage" wxImage_GetSubImage :: Ptr (TImage a) -> CInt -> CInt -> CInt -> CInt -> Ptr (TImage ()) -> IO ()
imageGetType :: Image a -> IO Int
imageGetType _obj
= withIntResult $
withObjectRef "imageGetType" _obj $ \cobj__obj ->
wxImage_GetType cobj__obj
foreign import ccall "wxImage_GetType" wxImage_GetType :: Ptr (TImage a) -> IO CInt
imageGetWidth :: Image a -> IO Int
imageGetWidth _obj
= withIntResult $
withObjectRef "imageGetWidth" _obj $ \cobj__obj ->
wxImage_GetWidth cobj__obj
foreign import ccall "wxImage_GetWidth" wxImage_GetWidth :: Ptr (TImage a) -> IO CInt
imageHasMask :: Image a -> IO Bool
imageHasMask _obj
= withBoolResult $
withObjectRef "imageHasMask" _obj $ \cobj__obj ->
wxImage_HasMask cobj__obj
foreign import ccall "wxImage_HasMask" wxImage_HasMask :: Ptr (TImage a) -> IO CBool
imageHasOption :: Image a -> String -> IO Bool
imageHasOption _obj name
= withBoolResult $
withObjectRef "imageHasOption" _obj $ \cobj__obj ->
withStringPtr name $ \cobj_name ->
wxImage_HasOption cobj__obj cobj_name
foreign import ccall "wxImage_HasOption" wxImage_HasOption :: Ptr (TImage a) -> Ptr (TWxString b) -> IO CBool
imageInitialize :: Image a -> Size -> IO ()
imageInitialize _obj widthheight
= withObjectRef "imageInitialize" _obj $ \cobj__obj ->
wxImage_Initialize cobj__obj (toCIntSizeW widthheight) (toCIntSizeH widthheight)
foreign import ccall "wxImage_Initialize" wxImage_Initialize :: Ptr (TImage a) -> CInt -> CInt -> IO ()
imageInitializeFromData :: Image a -> Size -> Ptr c -> IO ()
imageInitializeFromData _obj widthheight wxdata
= withObjectRef "imageInitializeFromData" _obj $ \cobj__obj ->
wxImage_InitializeFromData cobj__obj (toCIntSizeW widthheight) (toCIntSizeH widthheight) wxdata
foreign import ccall "wxImage_InitializeFromData" wxImage_InitializeFromData :: Ptr (TImage a) -> CInt -> CInt -> Ptr c -> IO ()
imageIsOk :: Image a -> IO Bool
imageIsOk _obj
= withBoolResult $
withObjectRef "imageIsOk" _obj $ \cobj__obj ->
wxImage_IsOk cobj__obj
foreign import ccall "wxImage_IsOk" wxImage_IsOk :: Ptr (TImage a) -> IO CBool
imageListAddBitmap :: ImageList a -> Bitmap b -> Bitmap c -> IO Int
imageListAddBitmap _obj bitmap mask
= withIntResult $
withObjectRef "imageListAddBitmap" _obj $ \cobj__obj ->
withObjectPtr bitmap $ \cobj_bitmap ->
withObjectPtr mask $ \cobj_mask ->
wxImageList_AddBitmap cobj__obj cobj_bitmap cobj_mask
foreign import ccall "wxImageList_AddBitmap" wxImageList_AddBitmap :: Ptr (TImageList a) -> Ptr (TBitmap b) -> Ptr (TBitmap c) -> IO CInt
imageListAddIcon :: ImageList a -> Icon b -> IO Int
imageListAddIcon _obj icon
= withIntResult $
withObjectRef "imageListAddIcon" _obj $ \cobj__obj ->
withObjectPtr icon $ \cobj_icon ->
wxImageList_AddIcon cobj__obj cobj_icon
foreign import ccall "wxImageList_AddIcon" wxImageList_AddIcon :: Ptr (TImageList a) -> Ptr (TIcon b) -> IO CInt
imageListAddMasked :: ImageList a -> Bitmap b -> Color -> IO Int
imageListAddMasked _obj bitmap maskColour
= withIntResult $
withObjectRef "imageListAddMasked" _obj $ \cobj__obj ->
withObjectPtr bitmap $ \cobj_bitmap ->
withColourPtr maskColour $ \cobj_maskColour ->
wxImageList_AddMasked cobj__obj cobj_bitmap cobj_maskColour
foreign import ccall "wxImageList_AddMasked" wxImageList_AddMasked :: Ptr (TImageList a) -> Ptr (TBitmap b) -> Ptr (TColour c) -> IO CInt
imageListCreate :: Size -> Bool -> Int -> IO (ImageList ())
imageListCreate widthheight mask initialCount
= withObjectResult $
wxImageList_Create (toCIntSizeW widthheight) (toCIntSizeH widthheight) (toCBool mask) (toCInt initialCount)
foreign import ccall "wxImageList_Create" wxImageList_Create :: CInt -> CInt -> CBool -> CInt -> IO (Ptr (TImageList ()))
imageListDelete :: ImageList a -> IO ()
imageListDelete
= objectDelete
imageListDraw :: ImageList a -> Int -> DC c -> Point -> Int -> Bool -> IO Bool
imageListDraw _obj index dc xy flags solidBackground
= withBoolResult $
withObjectRef "imageListDraw" _obj $ \cobj__obj ->
withObjectPtr dc $ \cobj_dc ->
wxImageList_Draw cobj__obj (toCInt index) cobj_dc (toCIntPointX xy) (toCIntPointY xy) (toCInt flags) (toCBool solidBackground)
foreign import ccall "wxImageList_Draw" wxImageList_Draw :: Ptr (TImageList a) -> CInt -> Ptr (TDC c) -> CInt -> CInt -> CInt -> CBool -> IO CBool
imageListGetImageCount :: ImageList a -> IO Int
imageListGetImageCount _obj
= withIntResult $
withObjectRef "imageListGetImageCount" _obj $ \cobj__obj ->
wxImageList_GetImageCount cobj__obj
foreign import ccall "wxImageList_GetImageCount" wxImageList_GetImageCount :: Ptr (TImageList a) -> IO CInt
imageListGetSize :: ImageList a -> Int -> IO Size
imageListGetSize _obj index
= withSizeResult $ \pw ph ->
withObjectRef "imageListGetSize" _obj $ \cobj__obj ->
wxImageList_GetSize cobj__obj (toCInt index) pw ph
foreign import ccall "wxImageList_GetSize" wxImageList_GetSize :: Ptr (TImageList a) -> CInt -> Ptr CInt -> Ptr CInt -> IO ()
imageListRemove :: ImageList a -> Int -> IO Bool
imageListRemove _obj index
= withBoolResult $
withObjectRef "imageListRemove" _obj $ \cobj__obj ->
wxImageList_Remove cobj__obj (toCInt index)
foreign import ccall "wxImageList_Remove" wxImageList_Remove :: Ptr (TImageList a) -> CInt -> IO CBool
imageListRemoveAll :: ImageList a -> IO Bool
imageListRemoveAll _obj
= withBoolResult $
withObjectRef "imageListRemoveAll" _obj $ \cobj__obj ->
wxImageList_RemoveAll cobj__obj
foreign import ccall "wxImageList_RemoveAll" wxImageList_RemoveAll :: Ptr (TImageList a) -> IO CBool
imageListReplace :: ImageList a -> Int -> Bitmap c -> Bitmap d -> IO Bool
imageListReplace _obj index bitmap mask
= withBoolResult $
withObjectRef "imageListReplace" _obj $ \cobj__obj ->
withObjectPtr bitmap $ \cobj_bitmap ->
withObjectPtr mask $ \cobj_mask ->
wxImageList_Replace cobj__obj (toCInt index) cobj_bitmap cobj_mask
foreign import ccall "wxImageList_Replace" wxImageList_Replace :: Ptr (TImageList a) -> CInt -> Ptr (TBitmap c) -> Ptr (TBitmap d) -> IO CBool
imageListReplaceIcon :: ImageList a -> Int -> Icon c -> IO Bool
imageListReplaceIcon _obj index icon
= withBoolResult $
withObjectRef "imageListReplaceIcon" _obj $ \cobj__obj ->
withObjectPtr icon $ \cobj_icon ->
wxImageList_ReplaceIcon cobj__obj (toCInt index) cobj_icon
foreign import ccall "wxImageList_ReplaceIcon" wxImageList_ReplaceIcon :: Ptr (TImageList a) -> CInt -> Ptr (TIcon c) -> IO CBool
imageLoadFile :: Image a -> String -> Int -> IO Bool
imageLoadFile _obj name wxtype
= withBoolResult $
withObjectRef "imageLoadFile" _obj $ \cobj__obj ->
withStringPtr name $ \cobj_name ->
wxImage_LoadFile cobj__obj cobj_name (toCInt wxtype)
foreign import ccall "wxImage_LoadFile" wxImage_LoadFile :: Ptr (TImage a) -> Ptr (TWxString b) -> CInt -> IO CBool
imageLoadStream :: Image a -> InputStream b -> Int -> Int -> IO Bool
imageLoadStream _obj name wxtype index
= withBoolResult $
withObjectRef "imageLoadStream" _obj $ \cobj__obj ->
withObjectPtr name $ \cobj_name ->
wxImage_LoadStream cobj__obj cobj_name (toCInt wxtype) (toCInt index)
foreign import ccall "wxImage_LoadStream" wxImage_LoadStream :: Ptr (TImage a) -> Ptr (TInputStream b) -> CInt -> CInt -> IO CBool
imageMirror :: Image a -> Bool -> IO (Image ())
imageMirror _obj horizontally
= withRefImage $ \pref ->
withObjectRef "imageMirror" _obj $ \cobj__obj ->
wxImage_Mirror cobj__obj (toCBool horizontally) pref
foreign import ccall "wxImage_Mirror" wxImage_Mirror :: Ptr (TImage a) -> CBool -> Ptr (TImage ()) -> IO ()
imagePaste :: Image a -> Image b -> Point -> IO ()
imagePaste _obj image xy
= withObjectRef "imagePaste" _obj $ \cobj__obj ->
withObjectPtr image $ \cobj_image ->
wxImage_Paste cobj__obj cobj_image (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxImage_Paste" wxImage_Paste :: Ptr (TImage a) -> Ptr (TImage b) -> CInt -> CInt -> IO ()
imageReplace :: Image a -> Color -> Color -> IO ()
imageReplace _obj r1g1b1 r2g2b2
= withObjectRef "imageReplace" _obj $ \cobj__obj ->
wxImage_Replace cobj__obj (colorRed r1g1b1) (colorGreen r1g1b1) (colorBlue r1g1b1) (colorRed r2g2b2) (colorGreen r2g2b2) (colorBlue r2g2b2)
foreign import ccall "wxImage_Replace" wxImage_Replace :: Ptr (TImage a) -> Word8 -> Word8 -> Word8 -> Word8 -> Word8 -> Word8 -> IO ()
imageRescale :: Image a -> Size -> IO ()
imageRescale _obj widthheight
= withObjectRef "imageRescale" _obj $ \cobj__obj ->
wxImage_Rescale cobj__obj (toCIntSizeW widthheight) (toCIntSizeH widthheight)
foreign import ccall "wxImage_Rescale" wxImage_Rescale :: Ptr (TImage a) -> CInt -> CInt -> IO ()
imageRescaleEx :: Image a -> Size -> Int -> IO ()
imageRescaleEx _obj widthheight quality
= withObjectRef "imageRescaleEx" _obj $ \cobj__obj ->
wxImage_RescaleEx cobj__obj (toCIntSizeW widthheight) (toCIntSizeH widthheight) (toCInt quality)
foreign import ccall "wxImage_RescaleEx" wxImage_RescaleEx :: Ptr (TImage a) -> CInt -> CInt -> CInt -> IO ()
imageRotate :: Image a -> Double -> Point -> Bool -> Ptr e -> IO (Image ())
imageRotate _obj angle cxcy interpolating offsetafterrotation
= withRefImage $ \pref ->
withObjectRef "imageRotate" _obj $ \cobj__obj ->
wxImage_Rotate cobj__obj angle (toCIntPointX cxcy) (toCIntPointY cxcy) (toCBool interpolating) offsetafterrotation pref
foreign import ccall "wxImage_Rotate" wxImage_Rotate :: Ptr (TImage a) -> Double -> CInt -> CInt -> CBool -> Ptr e -> Ptr (TImage ()) -> IO ()
imageRotate90 :: Image a -> Bool -> IO (Image ())
imageRotate90 _obj clockwise
= withRefImage $ \pref ->
withObjectRef "imageRotate90" _obj $ \cobj__obj ->
wxImage_Rotate90 cobj__obj (toCBool clockwise) pref
foreign import ccall "wxImage_Rotate90" wxImage_Rotate90 :: Ptr (TImage a) -> CBool -> Ptr (TImage ()) -> IO ()
imageSaveFile :: Image a -> String -> Int -> IO Bool
imageSaveFile _obj name wxtype
= withBoolResult $
withObjectRef "imageSaveFile" _obj $ \cobj__obj ->
withStringPtr name $ \cobj_name ->
wxImage_SaveFile cobj__obj cobj_name (toCInt wxtype)
foreign import ccall "wxImage_SaveFile" wxImage_SaveFile :: Ptr (TImage a) -> Ptr (TWxString b) -> CInt -> IO CBool
imageSaveStream :: Image a -> OutputStream b -> Int -> IO Bool
imageSaveStream _obj stream wxtype
= withBoolResult $
withObjectRef "imageSaveStream" _obj $ \cobj__obj ->
withObjectPtr stream $ \cobj_stream ->
wxImage_SaveStream cobj__obj cobj_stream (toCInt wxtype)
foreign import ccall "wxImage_SaveStream" wxImage_SaveStream :: Ptr (TImage a) -> Ptr (TOutputStream b) -> CInt -> IO CBool
imageScale :: Image a -> Size -> IO (Image ())
imageScale _obj widthheight
= withRefImage $ \pref ->
withObjectRef "imageScale" _obj $ \cobj__obj ->
wxImage_Scale cobj__obj (toCIntSizeW widthheight) (toCIntSizeH widthheight) pref
foreign import ccall "wxImage_Scale" wxImage_Scale :: Ptr (TImage a) -> CInt -> CInt -> Ptr (TImage ()) -> IO ()
imageScaleEx :: Image a -> Size -> Int -> IO (Image ())
imageScaleEx _obj widthheight quality
= withRefImage $ \pref ->
withObjectRef "imageScaleEx" _obj $ \cobj__obj ->
wxImage_ScaleEx cobj__obj (toCIntSizeW widthheight) (toCIntSizeH widthheight) (toCInt quality) pref
foreign import ccall "wxImage_ScaleEx" wxImage_ScaleEx :: Ptr (TImage a) -> CInt -> CInt -> CInt -> Ptr (TImage ()) -> IO ()
imageSetData :: Image a -> Ptr b -> IO ()
imageSetData _obj wxdata
= withObjectRef "imageSetData" _obj $ \cobj__obj ->
wxImage_SetData cobj__obj wxdata
foreign import ccall "wxImage_SetData" wxImage_SetData :: Ptr (TImage a) -> Ptr b -> IO ()
imageSetDataAndSize :: Image a -> Ptr b -> Size -> IO ()
imageSetDataAndSize _obj wxdata newwidthnewheight
= withObjectRef "imageSetDataAndSize" _obj $ \cobj__obj ->
wxImage_SetDataAndSize cobj__obj wxdata (toCIntSizeW newwidthnewheight) (toCIntSizeH newwidthnewheight)
foreign import ccall "wxImage_SetDataAndSize" wxImage_SetDataAndSize :: Ptr (TImage a) -> Ptr b -> CInt -> CInt -> IO ()
imageSetMask :: Image a -> Int -> IO ()
imageSetMask _obj mask
= withObjectRef "imageSetMask" _obj $ \cobj__obj ->
wxImage_SetMask cobj__obj (toCInt mask)
foreign import ccall "wxImage_SetMask" wxImage_SetMask :: Ptr (TImage a) -> CInt -> IO ()
imageSetMaskColour :: Image a -> Color -> IO ()
imageSetMaskColour _obj rgb
= withObjectRef "imageSetMaskColour" _obj $ \cobj__obj ->
wxImage_SetMaskColour cobj__obj (colorRed rgb) (colorGreen rgb) (colorBlue rgb)
foreign import ccall "wxImage_SetMaskColour" wxImage_SetMaskColour :: Ptr (TImage a) -> Word8 -> Word8 -> Word8 -> IO ()
imageSetOption :: Image a -> String -> String -> IO ()
imageSetOption _obj name value
= withObjectRef "imageSetOption" _obj $ \cobj__obj ->
withStringPtr name $ \cobj_name ->
withStringPtr value $ \cobj_value ->
wxImage_SetOption cobj__obj cobj_name cobj_value
foreign import ccall "wxImage_SetOption" wxImage_SetOption :: Ptr (TImage a) -> Ptr (TWxString b) -> Ptr (TWxString c) -> IO ()
imageSetOptionInt :: Image a -> String -> Int -> IO ()
imageSetOptionInt _obj name value
= withObjectRef "imageSetOptionInt" _obj $ \cobj__obj ->
withStringPtr name $ \cobj_name ->
wxImage_SetOptionInt cobj__obj cobj_name (toCInt value)
foreign import ccall "wxImage_SetOptionInt" wxImage_SetOptionInt :: Ptr (TImage a) -> Ptr (TWxString b) -> CInt -> IO ()
imageSetRGB :: Image a -> Point -> Color -> IO ()
imageSetRGB _obj xy rgb
= withObjectRef "imageSetRGB" _obj $ \cobj__obj ->
wxImage_SetRGB cobj__obj (toCIntPointX xy) (toCIntPointY xy) (colorRed rgb) (colorGreen rgb) (colorBlue rgb)
foreign import ccall "wxImage_SetRGB" wxImage_SetRGB :: Ptr (TImage a) -> CInt -> CInt -> Word8 -> Word8 -> Word8 -> IO ()
imageSetType :: Image a -> Int -> IO ()
imageSetType _obj wxtype
= withObjectRef "imageSetType" _obj $ \cobj__obj ->
wxImage_SetType cobj__obj (toCInt wxtype)
foreign import ccall "wxImage_SetType" wxImage_SetType :: Ptr (TImage a) -> CInt -> IO ()
individualLayoutConstraintAbove :: IndividualLayoutConstraint a -> Window b -> Int -> IO ()
individualLayoutConstraintAbove _obj sibling marg
= withObjectRef "individualLayoutConstraintAbove" _obj $ \cobj__obj ->
withObjectPtr sibling $ \cobj_sibling ->
wxIndividualLayoutConstraint_Above cobj__obj cobj_sibling (toCInt marg)
foreign import ccall "wxIndividualLayoutConstraint_Above" wxIndividualLayoutConstraint_Above :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> IO ()
individualLayoutConstraintAbsolute :: IndividualLayoutConstraint a -> Int -> IO ()
individualLayoutConstraintAbsolute _obj val
= withObjectRef "individualLayoutConstraintAbsolute" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_Absolute cobj__obj (toCInt val)
foreign import ccall "wxIndividualLayoutConstraint_Absolute" wxIndividualLayoutConstraint_Absolute :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()
individualLayoutConstraintAsIs :: IndividualLayoutConstraint a -> IO ()
individualLayoutConstraintAsIs _obj
= withObjectRef "individualLayoutConstraintAsIs" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_AsIs cobj__obj
foreign import ccall "wxIndividualLayoutConstraint_AsIs" wxIndividualLayoutConstraint_AsIs :: Ptr (TIndividualLayoutConstraint a) -> IO ()
individualLayoutConstraintBelow :: IndividualLayoutConstraint a -> Window b -> Int -> IO ()
individualLayoutConstraintBelow _obj sibling marg
= withObjectRef "individualLayoutConstraintBelow" _obj $ \cobj__obj ->
withObjectPtr sibling $ \cobj_sibling ->
wxIndividualLayoutConstraint_Below cobj__obj cobj_sibling (toCInt marg)
foreign import ccall "wxIndividualLayoutConstraint_Below" wxIndividualLayoutConstraint_Below :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> IO ()
individualLayoutConstraintGetDone :: IndividualLayoutConstraint a -> IO Bool
individualLayoutConstraintGetDone _obj
= withBoolResult $
withObjectRef "individualLayoutConstraintGetDone" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_GetDone cobj__obj
foreign import ccall "wxIndividualLayoutConstraint_GetDone" wxIndividualLayoutConstraint_GetDone :: Ptr (TIndividualLayoutConstraint a) -> IO CBool
individualLayoutConstraintGetEdge :: IndividualLayoutConstraint a -> Int -> Ptr c -> Ptr d -> IO Int
individualLayoutConstraintGetEdge _obj which thisWin other
= withIntResult $
withObjectRef "individualLayoutConstraintGetEdge" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_GetEdge cobj__obj (toCInt which) thisWin other
foreign import ccall "wxIndividualLayoutConstraint_GetEdge" wxIndividualLayoutConstraint_GetEdge :: Ptr (TIndividualLayoutConstraint a) -> CInt -> Ptr c -> Ptr d -> IO CInt
individualLayoutConstraintGetMargin :: IndividualLayoutConstraint a -> IO Int
individualLayoutConstraintGetMargin _obj
= withIntResult $
withObjectRef "individualLayoutConstraintGetMargin" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_GetMargin cobj__obj
foreign import ccall "wxIndividualLayoutConstraint_GetMargin" wxIndividualLayoutConstraint_GetMargin :: Ptr (TIndividualLayoutConstraint a) -> IO CInt
individualLayoutConstraintGetMyEdge :: IndividualLayoutConstraint a -> IO Int
individualLayoutConstraintGetMyEdge _obj
= withIntResult $
withObjectRef "individualLayoutConstraintGetMyEdge" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_GetMyEdge cobj__obj
foreign import ccall "wxIndividualLayoutConstraint_GetMyEdge" wxIndividualLayoutConstraint_GetMyEdge :: Ptr (TIndividualLayoutConstraint a) -> IO CInt
individualLayoutConstraintGetOtherEdge :: IndividualLayoutConstraint a -> IO Int
individualLayoutConstraintGetOtherEdge _obj
= withIntResult $
withObjectRef "individualLayoutConstraintGetOtherEdge" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_GetOtherEdge cobj__obj
foreign import ccall "wxIndividualLayoutConstraint_GetOtherEdge" wxIndividualLayoutConstraint_GetOtherEdge :: Ptr (TIndividualLayoutConstraint a) -> IO CInt
individualLayoutConstraintGetOtherWindow :: IndividualLayoutConstraint a -> IO (Ptr ())
individualLayoutConstraintGetOtherWindow _obj
= withObjectRef "individualLayoutConstraintGetOtherWindow" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_GetOtherWindow cobj__obj
foreign import ccall "wxIndividualLayoutConstraint_GetOtherWindow" wxIndividualLayoutConstraint_GetOtherWindow :: Ptr (TIndividualLayoutConstraint a) -> IO (Ptr ())
individualLayoutConstraintGetPercent :: IndividualLayoutConstraint a -> IO Int
individualLayoutConstraintGetPercent _obj
= withIntResult $
withObjectRef "individualLayoutConstraintGetPercent" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_GetPercent cobj__obj
foreign import ccall "wxIndividualLayoutConstraint_GetPercent" wxIndividualLayoutConstraint_GetPercent :: Ptr (TIndividualLayoutConstraint a) -> IO CInt
individualLayoutConstraintGetRelationship :: IndividualLayoutConstraint a -> IO Int
individualLayoutConstraintGetRelationship _obj
= withIntResult $
withObjectRef "individualLayoutConstraintGetRelationship" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_GetRelationship cobj__obj
foreign import ccall "wxIndividualLayoutConstraint_GetRelationship" wxIndividualLayoutConstraint_GetRelationship :: Ptr (TIndividualLayoutConstraint a) -> IO CInt
individualLayoutConstraintGetValue :: IndividualLayoutConstraint a -> IO Int
individualLayoutConstraintGetValue _obj
= withIntResult $
withObjectRef "individualLayoutConstraintGetValue" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_GetValue cobj__obj
foreign import ccall "wxIndividualLayoutConstraint_GetValue" wxIndividualLayoutConstraint_GetValue :: Ptr (TIndividualLayoutConstraint a) -> IO CInt
individualLayoutConstraintLeftOf :: IndividualLayoutConstraint a -> Window b -> Int -> IO ()
individualLayoutConstraintLeftOf _obj sibling marg
= withObjectRef "individualLayoutConstraintLeftOf" _obj $ \cobj__obj ->
withObjectPtr sibling $ \cobj_sibling ->
wxIndividualLayoutConstraint_LeftOf cobj__obj cobj_sibling (toCInt marg)
foreign import ccall "wxIndividualLayoutConstraint_LeftOf" wxIndividualLayoutConstraint_LeftOf :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> IO ()
individualLayoutConstraintPercentOf :: IndividualLayoutConstraint a -> Window b -> Int -> Int -> IO ()
individualLayoutConstraintPercentOf _obj otherW wh per
= withObjectRef "individualLayoutConstraintPercentOf" _obj $ \cobj__obj ->
withObjectPtr otherW $ \cobj_otherW ->
wxIndividualLayoutConstraint_PercentOf cobj__obj cobj_otherW (toCInt wh) (toCInt per)
foreign import ccall "wxIndividualLayoutConstraint_PercentOf" wxIndividualLayoutConstraint_PercentOf :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> CInt -> IO ()
individualLayoutConstraintResetIfWin :: IndividualLayoutConstraint a -> Window b -> IO Bool
individualLayoutConstraintResetIfWin _obj otherW
= withBoolResult $
withObjectRef "individualLayoutConstraintResetIfWin" _obj $ \cobj__obj ->
withObjectPtr otherW $ \cobj_otherW ->
wxIndividualLayoutConstraint_ResetIfWin cobj__obj cobj_otherW
foreign import ccall "wxIndividualLayoutConstraint_ResetIfWin" wxIndividualLayoutConstraint_ResetIfWin :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> IO CBool
individualLayoutConstraintRightOf :: IndividualLayoutConstraint a -> Window b -> Int -> IO ()
individualLayoutConstraintRightOf _obj sibling marg
= withObjectRef "individualLayoutConstraintRightOf" _obj $ \cobj__obj ->
withObjectPtr sibling $ \cobj_sibling ->
wxIndividualLayoutConstraint_RightOf cobj__obj cobj_sibling (toCInt marg)
foreign import ccall "wxIndividualLayoutConstraint_RightOf" wxIndividualLayoutConstraint_RightOf :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> IO ()
individualLayoutConstraintSameAs :: IndividualLayoutConstraint a -> Window b -> Int -> Int -> IO ()
individualLayoutConstraintSameAs _obj otherW edge marg
= withObjectRef "individualLayoutConstraintSameAs" _obj $ \cobj__obj ->
withObjectPtr otherW $ \cobj_otherW ->
wxIndividualLayoutConstraint_SameAs cobj__obj cobj_otherW (toCInt edge) (toCInt marg)
foreign import ccall "wxIndividualLayoutConstraint_SameAs" wxIndividualLayoutConstraint_SameAs :: Ptr (TIndividualLayoutConstraint a) -> Ptr (TWindow b) -> CInt -> CInt -> IO ()
individualLayoutConstraintSatisfyConstraint :: IndividualLayoutConstraint a -> Ptr b -> Window c -> IO Bool
individualLayoutConstraintSatisfyConstraint _obj constraints win
= withBoolResult $
withObjectRef "individualLayoutConstraintSatisfyConstraint" _obj $ \cobj__obj ->
withObjectPtr win $ \cobj_win ->
wxIndividualLayoutConstraint_SatisfyConstraint cobj__obj constraints cobj_win
foreign import ccall "wxIndividualLayoutConstraint_SatisfyConstraint" wxIndividualLayoutConstraint_SatisfyConstraint :: Ptr (TIndividualLayoutConstraint a) -> Ptr b -> Ptr (TWindow c) -> IO CBool
individualLayoutConstraintSet :: IndividualLayoutConstraint a -> Int -> Window c -> Int -> Int -> Int -> IO ()
individualLayoutConstraintSet _obj rel otherW otherE val marg
= withObjectRef "individualLayoutConstraintSet" _obj $ \cobj__obj ->
withObjectPtr otherW $ \cobj_otherW ->
wxIndividualLayoutConstraint_Set cobj__obj (toCInt rel) cobj_otherW (toCInt otherE) (toCInt val) (toCInt marg)
foreign import ccall "wxIndividualLayoutConstraint_Set" wxIndividualLayoutConstraint_Set :: Ptr (TIndividualLayoutConstraint a) -> CInt -> Ptr (TWindow c) -> CInt -> CInt -> CInt -> IO ()
individualLayoutConstraintSetDone :: IndividualLayoutConstraint a -> Bool -> IO ()
individualLayoutConstraintSetDone _obj d
= withObjectRef "individualLayoutConstraintSetDone" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_SetDone cobj__obj (toCBool d)
foreign import ccall "wxIndividualLayoutConstraint_SetDone" wxIndividualLayoutConstraint_SetDone :: Ptr (TIndividualLayoutConstraint a) -> CBool -> IO ()
individualLayoutConstraintSetEdge :: IndividualLayoutConstraint a -> Int -> IO ()
individualLayoutConstraintSetEdge _obj which
= withObjectRef "individualLayoutConstraintSetEdge" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_SetEdge cobj__obj (toCInt which)
foreign import ccall "wxIndividualLayoutConstraint_SetEdge" wxIndividualLayoutConstraint_SetEdge :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()
individualLayoutConstraintSetMargin :: IndividualLayoutConstraint a -> Int -> IO ()
individualLayoutConstraintSetMargin _obj m
= withObjectRef "individualLayoutConstraintSetMargin" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_SetMargin cobj__obj (toCInt m)
foreign import ccall "wxIndividualLayoutConstraint_SetMargin" wxIndividualLayoutConstraint_SetMargin :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()
individualLayoutConstraintSetRelationship :: IndividualLayoutConstraint a -> Int -> IO ()
individualLayoutConstraintSetRelationship _obj r
= withObjectRef "individualLayoutConstraintSetRelationship" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_SetRelationship cobj__obj (toCInt r)
foreign import ccall "wxIndividualLayoutConstraint_SetRelationship" wxIndividualLayoutConstraint_SetRelationship :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()
individualLayoutConstraintSetValue :: IndividualLayoutConstraint a -> Int -> IO ()
individualLayoutConstraintSetValue _obj v
= withObjectRef "individualLayoutConstraintSetValue" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_SetValue cobj__obj (toCInt v)
foreign import ccall "wxIndividualLayoutConstraint_SetValue" wxIndividualLayoutConstraint_SetValue :: Ptr (TIndividualLayoutConstraint a) -> CInt -> IO ()
individualLayoutConstraintUnconstrained :: IndividualLayoutConstraint a -> IO ()
individualLayoutConstraintUnconstrained _obj
= withObjectRef "individualLayoutConstraintUnconstrained" _obj $ \cobj__obj ->
wxIndividualLayoutConstraint_Unconstrained cobj__obj
foreign import ccall "wxIndividualLayoutConstraint_Unconstrained" wxIndividualLayoutConstraint_Unconstrained :: Ptr (TIndividualLayoutConstraint a) -> IO ()
inputSinkCreate :: InputStream a -> EvtHandler b -> Int -> IO (InputSink ())
inputSinkCreate input evtHandler bufferLen
= withObjectResult $
withObjectPtr input $ \cobj_input ->
withObjectPtr evtHandler $ \cobj_evtHandler ->
wxInputSink_Create cobj_input cobj_evtHandler (toCInt bufferLen)
foreign import ccall "wxInputSink_Create" wxInputSink_Create :: Ptr (TInputStream a) -> Ptr (TEvtHandler b) -> CInt -> IO (Ptr (TInputSink ()))
inputSinkEventLastError :: InputSinkEvent a -> IO Int
inputSinkEventLastError obj
= withIntResult $
withObjectRef "inputSinkEventLastError" obj $ \cobj_obj ->
wxInputSinkEvent_LastError cobj_obj
foreign import ccall "wxInputSinkEvent_LastError" wxInputSinkEvent_LastError :: Ptr (TInputSinkEvent a) -> IO CInt
inputSinkEventLastInput :: InputSinkEvent a -> IO (Ptr CWchar)
inputSinkEventLastInput obj
= withObjectRef "inputSinkEventLastInput" obj $ \cobj_obj ->
wxInputSinkEvent_LastInput cobj_obj
foreign import ccall "wxInputSinkEvent_LastInput" wxInputSinkEvent_LastInput :: Ptr (TInputSinkEvent a) -> IO (Ptr CWchar)
inputSinkEventLastRead :: InputSinkEvent a -> IO Int
inputSinkEventLastRead obj
= withIntResult $
withObjectRef "inputSinkEventLastRead" obj $ \cobj_obj ->
wxInputSinkEvent_LastRead cobj_obj
foreign import ccall "wxInputSinkEvent_LastRead" wxInputSinkEvent_LastRead :: Ptr (TInputSinkEvent a) -> IO CInt
inputSinkGetId :: InputSink a -> IO Int
inputSinkGetId obj
= withIntResult $
withObjectRef "inputSinkGetId" obj $ \cobj_obj ->
wxInputSink_GetId cobj_obj
foreign import ccall "wxInputSink_GetId" wxInputSink_GetId :: Ptr (TInputSink a) -> IO CInt
inputSinkStart :: InputSink a -> IO ()
inputSinkStart obj
= withObjectRef "inputSinkStart" obj $ \cobj_obj ->
wxInputSink_Start cobj_obj
foreign import ccall "wxInputSink_Start" wxInputSink_Start :: Ptr (TInputSink a) -> IO ()
inputStreamCanRead :: InputStream a -> IO Bool
inputStreamCanRead self
= withBoolResult $
withObjectRef "inputStreamCanRead" self $ \cobj_self ->
wxInputStream_CanRead cobj_self
foreign import ccall "wxInputStream_CanRead" wxInputStream_CanRead :: Ptr (TInputStream a) -> IO CBool
inputStreamDelete :: InputStream a -> IO ()
inputStreamDelete _obj
= withObjectRef "inputStreamDelete" _obj $ \cobj__obj ->
wxInputStream_Delete cobj__obj
foreign import ccall "wxInputStream_Delete" wxInputStream_Delete :: Ptr (TInputStream a) -> IO ()
inputStreamEof :: InputStream a -> IO Bool
inputStreamEof _obj
= withBoolResult $
withObjectRef "inputStreamEof" _obj $ \cobj__obj ->
wxInputStream_Eof cobj__obj
foreign import ccall "wxInputStream_Eof" wxInputStream_Eof :: Ptr (TInputStream a) -> IO CBool
inputStreamGetC :: InputStream a -> IO Char
inputStreamGetC _obj
= withCharResult $
withObjectRef "inputStreamGetC" _obj $ \cobj__obj ->
wxInputStream_GetC cobj__obj
foreign import ccall "wxInputStream_GetC" wxInputStream_GetC :: Ptr (TInputStream a) -> IO CWchar
inputStreamLastRead :: InputStream a -> IO Int
inputStreamLastRead _obj
= withIntResult $
withObjectRef "inputStreamLastRead" _obj $ \cobj__obj ->
wxInputStream_LastRead cobj__obj
foreign import ccall "wxInputStream_LastRead" wxInputStream_LastRead :: Ptr (TInputStream a) -> IO CInt
inputStreamPeek :: InputStream a -> IO Char
inputStreamPeek _obj
= withCharResult $
withObjectRef "inputStreamPeek" _obj $ \cobj__obj ->
wxInputStream_Peek cobj__obj
foreign import ccall "wxInputStream_Peek" wxInputStream_Peek :: Ptr (TInputStream a) -> IO CWchar
inputStreamRead :: InputStream a -> Ptr b -> Int -> IO ()
inputStreamRead _obj buffer size
= withObjectRef "inputStreamRead" _obj $ \cobj__obj ->
wxInputStream_Read cobj__obj buffer (toCInt size)
foreign import ccall "wxInputStream_Read" wxInputStream_Read :: Ptr (TInputStream a) -> Ptr b -> CInt -> IO ()
inputStreamSeekI :: InputStream a -> Int -> Int -> IO Int
inputStreamSeekI _obj pos mode
= withIntResult $
withObjectRef "inputStreamSeekI" _obj $ \cobj__obj ->
wxInputStream_SeekI cobj__obj (toCInt pos) (toCInt mode)
foreign import ccall "wxInputStream_SeekI" wxInputStream_SeekI :: Ptr (TInputStream a) -> CInt -> CInt -> IO CInt
inputStreamTell :: InputStream a -> IO Int
inputStreamTell _obj
= withIntResult $
withObjectRef "inputStreamTell" _obj $ \cobj__obj ->
wxInputStream_Tell cobj__obj
foreign import ccall "wxInputStream_Tell" wxInputStream_Tell :: Ptr (TInputStream a) -> IO CInt
inputStreamUngetBuffer :: InputStream a -> Ptr b -> Int -> IO Int
inputStreamUngetBuffer _obj buffer size
= withIntResult $
withObjectRef "inputStreamUngetBuffer" _obj $ \cobj__obj ->
wxInputStream_UngetBuffer cobj__obj buffer (toCInt size)
foreign import ccall "wxInputStream_UngetBuffer" wxInputStream_UngetBuffer :: Ptr (TInputStream a) -> Ptr b -> CInt -> IO CInt
inputStreamUngetch :: InputStream a -> Char -> IO Int
inputStreamUngetch _obj c
= withIntResult $
withObjectRef "inputStreamUngetch" _obj $ \cobj__obj ->
wxInputStream_Ungetch cobj__obj (toCWchar c)
foreign import ccall "wxInputStream_Ungetch" wxInputStream_Ungetch :: Ptr (TInputStream a) -> CWchar -> IO CInt
intPropertyCreate :: String -> String -> Int -> IO (IntProperty ())
intPropertyCreate label name value
= withObjectResult $
withStringPtr label $ \cobj_label ->
withStringPtr name $ \cobj_name ->
wxIntProperty_Create cobj_label cobj_name (toCInt value)
foreign import ccall "wxIntProperty_Create" wxIntProperty_Create :: Ptr (TWxString a) -> Ptr (TWxString b) -> CInt -> IO (Ptr (TIntProperty ()))
isDefined :: String -> IO Bool
isDefined s
= withBoolResult $
withCWString s $ \cstr_s ->
wx_wxIsDefined cstr_s
foreign import ccall "wxIsDefined" wx_wxIsDefined :: CWString -> IO CBool
keyEventAltDown :: KeyEvent a -> IO Bool
keyEventAltDown _obj
= withBoolResult $
withObjectRef "keyEventAltDown" _obj $ \cobj__obj ->
wxKeyEvent_AltDown cobj__obj
foreign import ccall "wxKeyEvent_AltDown" wxKeyEvent_AltDown :: Ptr (TKeyEvent a) -> IO CBool
keyEventControlDown :: KeyEvent a -> IO Bool
keyEventControlDown _obj
= withBoolResult $
withObjectRef "keyEventControlDown" _obj $ \cobj__obj ->
wxKeyEvent_ControlDown cobj__obj
foreign import ccall "wxKeyEvent_ControlDown" wxKeyEvent_ControlDown :: Ptr (TKeyEvent a) -> IO CBool
keyEventCopyObject :: KeyEvent a -> Ptr b -> IO ()
keyEventCopyObject _obj obj
= withObjectRef "keyEventCopyObject" _obj $ \cobj__obj ->
wxKeyEvent_CopyObject cobj__obj obj
foreign import ccall "wxKeyEvent_CopyObject" wxKeyEvent_CopyObject :: Ptr (TKeyEvent a) -> Ptr b -> IO ()
keyEventGetKeyCode :: KeyEvent a -> IO Int
keyEventGetKeyCode _obj
= withIntResult $
withObjectRef "keyEventGetKeyCode" _obj $ \cobj__obj ->
wxKeyEvent_GetKeyCode cobj__obj
foreign import ccall "wxKeyEvent_GetKeyCode" wxKeyEvent_GetKeyCode :: Ptr (TKeyEvent a) -> IO CInt
keyEventGetModifiers :: KeyEvent a -> IO Int
keyEventGetModifiers _obj
= withIntResult $
withObjectRef "keyEventGetModifiers" _obj $ \cobj__obj ->
wxKeyEvent_GetModifiers cobj__obj
foreign import ccall "wxKeyEvent_GetModifiers" wxKeyEvent_GetModifiers :: Ptr (TKeyEvent a) -> IO CInt
keyEventGetPosition :: KeyEvent a -> IO (Point)
keyEventGetPosition _obj
= withWxPointResult $
withObjectRef "keyEventGetPosition" _obj $ \cobj__obj ->
wxKeyEvent_GetPosition cobj__obj
foreign import ccall "wxKeyEvent_GetPosition" wxKeyEvent_GetPosition :: Ptr (TKeyEvent a) -> IO (Ptr (TWxPoint ()))
keyEventGetX :: KeyEvent a -> IO Int
keyEventGetX _obj
= withIntResult $
withObjectRef "keyEventGetX" _obj $ \cobj__obj ->
wxKeyEvent_GetX cobj__obj
foreign import ccall "wxKeyEvent_GetX" wxKeyEvent_GetX :: Ptr (TKeyEvent a) -> IO CInt
keyEventGetY :: KeyEvent a -> IO Int
keyEventGetY _obj
= withIntResult $
withObjectRef "keyEventGetY" _obj $ \cobj__obj ->
wxKeyEvent_GetY cobj__obj
foreign import ccall "wxKeyEvent_GetY" wxKeyEvent_GetY :: Ptr (TKeyEvent a) -> IO CInt
keyEventHasModifiers :: KeyEvent a -> IO Bool
keyEventHasModifiers _obj
= withBoolResult $
withObjectRef "keyEventHasModifiers" _obj $ \cobj__obj ->
wxKeyEvent_HasModifiers cobj__obj
foreign import ccall "wxKeyEvent_HasModifiers" wxKeyEvent_HasModifiers :: Ptr (TKeyEvent a) -> IO CBool
keyEventMetaDown :: KeyEvent a -> IO Bool
keyEventMetaDown _obj
= withBoolResult $
withObjectRef "keyEventMetaDown" _obj $ \cobj__obj ->
wxKeyEvent_MetaDown cobj__obj
foreign import ccall "wxKeyEvent_MetaDown" wxKeyEvent_MetaDown :: Ptr (TKeyEvent a) -> IO CBool
keyEventSetKeyCode :: KeyEvent a -> Int -> IO ()
keyEventSetKeyCode _obj code
= withObjectRef "keyEventSetKeyCode" _obj $ \cobj__obj ->
wxKeyEvent_SetKeyCode cobj__obj (toCInt code)
foreign import ccall "wxKeyEvent_SetKeyCode" wxKeyEvent_SetKeyCode :: Ptr (TKeyEvent a) -> CInt -> IO ()
keyEventShiftDown :: KeyEvent a -> IO Bool
keyEventShiftDown _obj
= withBoolResult $
withObjectRef "keyEventShiftDown" _obj $ \cobj__obj ->
wxKeyEvent_ShiftDown cobj__obj
foreign import ccall "wxKeyEvent_ShiftDown" wxKeyEvent_ShiftDown :: Ptr (TKeyEvent a) -> IO CBool
kill :: Int -> Int -> IO Int
kill pid signal
= withIntResult $
wx_wxKill (toCInt pid) (toCInt signal)
foreign import ccall "wxKill" wx_wxKill :: CInt -> CInt -> IO CInt
layoutAlgorithmCreate :: IO (LayoutAlgorithm ())
layoutAlgorithmCreate
= withObjectResult $
wxLayoutAlgorithm_Create
foreign import ccall "wxLayoutAlgorithm_Create" wxLayoutAlgorithm_Create :: IO (Ptr (TLayoutAlgorithm ()))
layoutAlgorithmDelete :: LayoutAlgorithm a -> IO ()
layoutAlgorithmDelete
= objectDelete
layoutAlgorithmLayoutFrame :: LayoutAlgorithm a -> Frame b -> Ptr c -> IO Bool
layoutAlgorithmLayoutFrame _obj frame mainWindow
= withBoolResult $
withObjectRef "layoutAlgorithmLayoutFrame" _obj $ \cobj__obj ->
withObjectPtr frame $ \cobj_frame ->
wxLayoutAlgorithm_LayoutFrame cobj__obj cobj_frame mainWindow
foreign import ccall "wxLayoutAlgorithm_LayoutFrame" wxLayoutAlgorithm_LayoutFrame :: Ptr (TLayoutAlgorithm a) -> Ptr (TFrame b) -> Ptr c -> IO CBool
layoutAlgorithmLayoutMDIFrame :: LayoutAlgorithm a -> Frame b -> Rect -> Int -> IO Bool
layoutAlgorithmLayoutMDIFrame _obj frame xywh use
= withBoolResult $
withObjectRef "layoutAlgorithmLayoutMDIFrame" _obj $ \cobj__obj ->
withObjectPtr frame $ \cobj_frame ->
wxLayoutAlgorithm_LayoutMDIFrame cobj__obj cobj_frame (toCIntRectX xywh) (toCIntRectY xywh)(toCIntRectW xywh) (toCIntRectH xywh) (toCInt use)
foreign import ccall "wxLayoutAlgorithm_LayoutMDIFrame" wxLayoutAlgorithm_LayoutMDIFrame :: Ptr (TLayoutAlgorithm a) -> Ptr (TFrame b) -> CInt -> CInt -> CInt -> CInt -> CInt -> IO CBool
layoutAlgorithmLayoutWindow :: LayoutAlgorithm a -> Frame b -> Ptr c -> IO Bool
layoutAlgorithmLayoutWindow _obj frame mainWindow
= withBoolResult $
withObjectRef "layoutAlgorithmLayoutWindow" _obj $ \cobj__obj ->
withObjectPtr frame $ \cobj_frame ->
wxLayoutAlgorithm_LayoutWindow cobj__obj cobj_frame mainWindow
foreign import ccall "wxLayoutAlgorithm_LayoutWindow" wxLayoutAlgorithm_LayoutWindow :: Ptr (TLayoutAlgorithm a) -> Ptr (TFrame b) -> Ptr c -> IO CBool
layoutConstraintsCreate :: IO (LayoutConstraints ())
layoutConstraintsCreate
= withObjectResult $
wxLayoutConstraints_Create
foreign import ccall "wxLayoutConstraints_Create" wxLayoutConstraints_Create :: IO (Ptr (TLayoutConstraints ()))
layoutConstraintsbottom :: LayoutConstraints a -> IO (Ptr ())
layoutConstraintsbottom _obj
= withObjectRef "layoutConstraintsbottom" _obj $ \cobj__obj ->
wxLayoutConstraints_bottom cobj__obj
foreign import ccall "wxLayoutConstraints_bottom" wxLayoutConstraints_bottom :: Ptr (TLayoutConstraints a) -> IO (Ptr ())
layoutConstraintscentreX :: LayoutConstraints a -> IO (Ptr ())
layoutConstraintscentreX _obj
= withObjectRef "layoutConstraintscentreX" _obj $ \cobj__obj ->
wxLayoutConstraints_centreX cobj__obj
foreign import ccall "wxLayoutConstraints_centreX" wxLayoutConstraints_centreX :: Ptr (TLayoutConstraints a) -> IO (Ptr ())
layoutConstraintscentreY :: LayoutConstraints a -> IO (Ptr ())
layoutConstraintscentreY _obj
= withObjectRef "layoutConstraintscentreY" _obj $ \cobj__obj ->
wxLayoutConstraints_centreY cobj__obj
foreign import ccall "wxLayoutConstraints_centreY" wxLayoutConstraints_centreY :: Ptr (TLayoutConstraints a) -> IO (Ptr ())
layoutConstraintsheight :: LayoutConstraints a -> IO (Ptr ())
layoutConstraintsheight _obj
= withObjectRef "layoutConstraintsheight" _obj $ \cobj__obj ->
wxLayoutConstraints_height cobj__obj
foreign import ccall "wxLayoutConstraints_height" wxLayoutConstraints_height :: Ptr (TLayoutConstraints a) -> IO (Ptr ())
layoutConstraintsleft :: LayoutConstraints a -> IO (Ptr ())
layoutConstraintsleft _obj
= withObjectRef "layoutConstraintsleft" _obj $ \cobj__obj ->
wxLayoutConstraints_left cobj__obj
foreign import ccall "wxLayoutConstraints_left" wxLayoutConstraints_left :: Ptr (TLayoutConstraints a) -> IO (Ptr ())
layoutConstraintsright :: LayoutConstraints a -> IO (Ptr ())
layoutConstraintsright _obj
= withObjectRef "layoutConstraintsright" _obj $ \cobj__obj ->
wxLayoutConstraints_right cobj__obj
foreign import ccall "wxLayoutConstraints_right" wxLayoutConstraints_right :: Ptr (TLayoutConstraints a) -> IO (Ptr ())
layoutConstraintstop :: LayoutConstraints a -> IO (Ptr ())
layoutConstraintstop _obj
= withObjectRef "layoutConstraintstop" _obj $ \cobj__obj ->
wxLayoutConstraints_top cobj__obj
foreign import ccall "wxLayoutConstraints_top" wxLayoutConstraints_top :: Ptr (TLayoutConstraints a) -> IO (Ptr ())
layoutConstraintswidth :: LayoutConstraints a -> IO (Ptr ())
layoutConstraintswidth _obj
= withObjectRef "layoutConstraintswidth" _obj $ \cobj__obj ->
wxLayoutConstraints_width cobj__obj
foreign import ccall "wxLayoutConstraints_width" wxLayoutConstraints_width :: Ptr (TLayoutConstraints a) -> IO (Ptr ())
listBoxAppend :: ListBox a -> String -> IO ()
listBoxAppend _obj item
= withObjectRef "listBoxAppend" _obj $ \cobj__obj ->
withStringPtr item $ \cobj_item ->
wxListBox_Append cobj__obj cobj_item
foreign import ccall "wxListBox_Append" wxListBox_Append :: Ptr (TListBox a) -> Ptr (TWxString b) -> IO ()
listBoxAppendData :: ListBox a -> String -> Ptr c -> IO ()
listBoxAppendData _obj item wxdata
= withObjectRef "listBoxAppendData" _obj $ \cobj__obj ->
withStringPtr item $ \cobj_item ->
wxListBox_AppendData cobj__obj cobj_item wxdata
foreign import ccall "wxListBox_AppendData" wxListBox_AppendData :: Ptr (TListBox a) -> Ptr (TWxString b) -> Ptr c -> IO ()
listBoxClear :: ListBox a -> IO ()
listBoxClear _obj
= withObjectRef "listBoxClear" _obj $ \cobj__obj ->
wxListBox_Clear cobj__obj
foreign import ccall "wxListBox_Clear" wxListBox_Clear :: Ptr (TListBox a) -> IO ()
listBoxCreate :: Window a -> Id -> Rect -> [String] -> Style -> IO (ListBox ())
listBoxCreate _prt _id _lfttopwdthgt nstr _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
withArrayWString nstr $ \carrlen_nstr carr_nstr ->
wxListBox_Create cobj__prt (toCInt _id) (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) carrlen_nstr carr_nstr (toCInt _stl)
foreign import ccall "wxListBox_Create" wxListBox_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Ptr (Ptr CWchar) -> CInt -> IO (Ptr (TListBox ()))
listBoxDelete :: ListBox a -> Int -> IO ()
listBoxDelete _obj n
= withObjectRef "listBoxDelete" _obj $ \cobj__obj ->
wxListBox_Delete cobj__obj (toCInt n)
foreign import ccall "wxListBox_Delete" wxListBox_Delete :: Ptr (TListBox a) -> CInt -> IO ()
listBoxFindString :: ListBox a -> String -> IO Int
listBoxFindString _obj s
= withIntResult $
withObjectRef "listBoxFindString" _obj $ \cobj__obj ->
withStringPtr s $ \cobj_s ->
wxListBox_FindString cobj__obj cobj_s
foreign import ccall "wxListBox_FindString" wxListBox_FindString :: Ptr (TListBox a) -> Ptr (TWxString b) -> IO CInt
listBoxGetClientData :: ListBox a -> Int -> IO (ClientData ())
listBoxGetClientData _obj n
= withObjectResult $
withObjectRef "listBoxGetClientData" _obj $ \cobj__obj ->
wxListBox_GetClientData cobj__obj (toCInt n)
foreign import ccall "wxListBox_GetClientData" wxListBox_GetClientData :: Ptr (TListBox a) -> CInt -> IO (Ptr (TClientData ()))
listBoxGetCount :: ListBox a -> IO Int
listBoxGetCount _obj
= withIntResult $
withObjectRef "listBoxGetCount" _obj $ \cobj__obj ->
wxListBox_GetCount cobj__obj
foreign import ccall "wxListBox_GetCount" wxListBox_GetCount :: Ptr (TListBox a) -> IO CInt
listBoxGetSelection :: ListBox a -> IO Int
listBoxGetSelection _obj
= withIntResult $
withObjectRef "listBoxGetSelection" _obj $ \cobj__obj ->
wxListBox_GetSelection cobj__obj
foreign import ccall "wxListBox_GetSelection" wxListBox_GetSelection :: Ptr (TListBox a) -> IO CInt
listBoxGetSelections :: ListBox a -> Ptr CInt -> Int -> IO Int
listBoxGetSelections _obj aSelections allocated
= withIntResult $
withObjectRef "listBoxGetSelections" _obj $ \cobj__obj ->
wxListBox_GetSelections cobj__obj aSelections (toCInt allocated)
foreign import ccall "wxListBox_GetSelections" wxListBox_GetSelections :: Ptr (TListBox a) -> Ptr CInt -> CInt -> IO CInt
listBoxGetString :: ListBox a -> Int -> IO (String)
listBoxGetString _obj n
= withManagedStringResult $
withObjectRef "listBoxGetString" _obj $ \cobj__obj ->
wxListBox_GetString cobj__obj (toCInt n)
foreign import ccall "wxListBox_GetString" wxListBox_GetString :: Ptr (TListBox a) -> CInt -> IO (Ptr (TWxString ()))
listBoxInsertItems :: ListBox a -> Ptr b -> Int -> Int -> IO ()
listBoxInsertItems _obj items pos count
= withObjectRef "listBoxInsertItems" _obj $ \cobj__obj ->
wxListBox_InsertItems cobj__obj items (toCInt pos) (toCInt count)
foreign import ccall "wxListBox_InsertItems" wxListBox_InsertItems :: Ptr (TListBox a) -> Ptr b -> CInt -> CInt -> IO ()
listBoxIsSelected :: ListBox a -> Int -> IO Bool
listBoxIsSelected _obj n
= withBoolResult $
withObjectRef "listBoxIsSelected" _obj $ \cobj__obj ->
wxListBox_IsSelected cobj__obj (toCInt n)
foreign import ccall "wxListBox_IsSelected" wxListBox_IsSelected :: Ptr (TListBox a) -> CInt -> IO CBool
listBoxSetClientData :: ListBox a -> Int -> ClientData c -> IO ()
listBoxSetClientData _obj n clientData
= withObjectRef "listBoxSetClientData" _obj $ \cobj__obj ->
withObjectPtr clientData $ \cobj_clientData ->
wxListBox_SetClientData cobj__obj (toCInt n) cobj_clientData
foreign import ccall "wxListBox_SetClientData" wxListBox_SetClientData :: Ptr (TListBox a) -> CInt -> Ptr (TClientData c) -> IO ()
listBoxSetFirstItem :: ListBox a -> Int -> IO ()
listBoxSetFirstItem _obj n
= withObjectRef "listBoxSetFirstItem" _obj $ \cobj__obj ->
wxListBox_SetFirstItem cobj__obj (toCInt n)
foreign import ccall "wxListBox_SetFirstItem" wxListBox_SetFirstItem :: Ptr (TListBox a) -> CInt -> IO ()
listBoxSetSelection :: ListBox a -> Int -> Bool -> IO ()
listBoxSetSelection _obj n select
= withObjectRef "listBoxSetSelection" _obj $ \cobj__obj ->
wxListBox_SetSelection cobj__obj (toCInt n) (toCBool select)
foreign import ccall "wxListBox_SetSelection" wxListBox_SetSelection :: Ptr (TListBox a) -> CInt -> CBool -> IO ()
listBoxSetString :: ListBox a -> Int -> String -> IO ()
listBoxSetString _obj n s
= withObjectRef "listBoxSetString" _obj $ \cobj__obj ->
withStringPtr s $ \cobj_s ->
wxListBox_SetString cobj__obj (toCInt n) cobj_s
foreign import ccall "wxListBox_SetString" wxListBox_SetString :: Ptr (TListBox a) -> CInt -> Ptr (TWxString c) -> IO ()
listBoxSetStringSelection :: ListBox a -> String -> Bool -> IO ()
listBoxSetStringSelection _obj str sel
= withObjectRef "listBoxSetStringSelection" _obj $ \cobj__obj ->
withStringPtr str $ \cobj_str ->
wxListBox_SetStringSelection cobj__obj cobj_str (toCBool sel)
foreign import ccall "wxListBox_SetStringSelection" wxListBox_SetStringSelection :: Ptr (TListBox a) -> Ptr (TWxString b) -> CBool -> IO ()
listCtrlArrange :: ListCtrl a -> Int -> IO Bool
listCtrlArrange _obj flag
= withBoolResult $
withObjectRef "listCtrlArrange" _obj $ \cobj__obj ->
wxListCtrl_Arrange cobj__obj (toCInt flag)
foreign import ccall "wxListCtrl_Arrange" wxListCtrl_Arrange :: Ptr (TListCtrl a) -> CInt -> IO CBool
listCtrlAssignImageList :: ListCtrl a -> ImageList b -> Int -> IO ()
listCtrlAssignImageList _obj images which
= withObjectRef "listCtrlAssignImageList" _obj $ \cobj__obj ->
withObjectPtr images $ \cobj_images ->
wxListCtrl_AssignImageList cobj__obj cobj_images (toCInt which)
foreign import ccall "wxListCtrl_AssignImageList" wxListCtrl_AssignImageList :: Ptr (TListCtrl a) -> Ptr (TImageList b) -> CInt -> IO ()
listCtrlClearAll :: ListCtrl a -> IO ()
listCtrlClearAll _obj
= withObjectRef "listCtrlClearAll" _obj $ \cobj__obj ->
wxListCtrl_ClearAll cobj__obj
foreign import ccall "wxListCtrl_ClearAll" wxListCtrl_ClearAll :: Ptr (TListCtrl a) -> IO ()
listCtrlCreate :: Window a -> Id -> Rect -> Style -> IO (ListCtrl ())
listCtrlCreate _prt _id _lfttopwdthgt _stl
= withObjectResult $
withObjectPtr _prt $ \cobj__prt ->
wxListCtrl_Create cobj__prt (toCInt _id) (toCIntRectX _lfttopwdthgt) (toCIntRectY _lfttopwdthgt)(toCIntRectW _lfttopwdthgt) (toCIntRectH _lfttopwdthgt) (toCInt _stl)
foreign import ccall "wxListCtrl_Create" wxListCtrl_Create :: Ptr (TWindow a) -> CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> IO (Ptr (TListCtrl ()))
listCtrlDeleteAllColumns :: ListCtrl a -> IO Bool
listCtrlDeleteAllColumns _obj
= withBoolResult $
withObjectRef "listCtrlDeleteAllColumns" _obj $ \cobj__obj ->
wxListCtrl_DeleteAllColumns cobj__obj
foreign import ccall "wxListCtrl_DeleteAllColumns" wxListCtrl_DeleteAllColumns :: Ptr (TListCtrl a) -> IO CBool
listCtrlDeleteAllItems :: ListCtrl a -> IO Bool
listCtrlDeleteAllItems _obj
= withBoolResult $
withObjectRef "listCtrlDeleteAllItems" _obj $ \cobj__obj ->
wxListCtrl_DeleteAllItems cobj__obj
foreign import ccall "wxListCtrl_DeleteAllItems" wxListCtrl_DeleteAllItems :: Ptr (TListCtrl a) -> IO CBool
listCtrlDeleteColumn :: ListCtrl a -> Int -> IO Bool
listCtrlDeleteColumn _obj col
= withBoolResult $
withObjectRef "listCtrlDeleteColumn" _obj $ \cobj__obj ->
wxListCtrl_DeleteColumn cobj__obj (toCInt col)
foreign import ccall "wxListCtrl_DeleteColumn" wxListCtrl_DeleteColumn :: Ptr (TListCtrl a) -> CInt -> IO CBool
listCtrlDeleteItem :: ListCtrl a -> Int -> IO Bool
listCtrlDeleteItem _obj item
= withBoolResult $
withObjectRef "listCtrlDeleteItem" _obj $ \cobj__obj ->
wxListCtrl_DeleteItem cobj__obj (toCInt item)
foreign import ccall "wxListCtrl_DeleteItem" wxListCtrl_DeleteItem :: Ptr (TListCtrl a) -> CInt -> IO CBool
listCtrlEditLabel :: ListCtrl a -> Int -> IO ()
listCtrlEditLabel _obj item
= withObjectRef "listCtrlEditLabel" _obj $ \cobj__obj ->
wxListCtrl_EditLabel cobj__obj (toCInt item)
foreign import ccall "wxListCtrl_EditLabel" wxListCtrl_EditLabel :: Ptr (TListCtrl a) -> CInt -> IO ()
listCtrlEndEditLabel :: ListCtrl a -> Int -> IO Bool
listCtrlEndEditLabel _obj cancel
= withBoolResult $
withObjectRef "listCtrlEndEditLabel" _obj $ \cobj__obj ->
wxListCtrl_EndEditLabel cobj__obj (toCInt cancel)
foreign import ccall "wxListCtrl_EndEditLabel" wxListCtrl_EndEditLabel :: Ptr (TListCtrl a) -> CInt -> IO CBool
listCtrlEnsureVisible :: ListCtrl a -> Int -> IO Bool
listCtrlEnsureVisible _obj item
= withBoolResult $
withObjectRef "listCtrlEnsureVisible" _obj $ \cobj__obj ->
wxListCtrl_EnsureVisible cobj__obj (toCInt item)
foreign import ccall "wxListCtrl_EnsureVisible" wxListCtrl_EnsureVisible :: Ptr (TListCtrl a) -> CInt -> IO CBool
listCtrlFindItem :: ListCtrl a -> Int -> String -> Bool -> IO Int
listCtrlFindItem _obj start str partial
= withIntResult $
withObjectRef "listCtrlFindItem" _obj $ \cobj__obj ->
withStringPtr str $ \cobj_str ->
wxListCtrl_FindItem cobj__obj (toCInt start) cobj_str (toCBool partial)
foreign import ccall "wxListCtrl_FindItem" wxListCtrl_FindItem :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> CBool -> IO CInt
listCtrlFindItemByData :: ListCtrl a -> Int -> Int -> IO Int
listCtrlFindItemByData _obj start wxdata
= withIntResult $
withObjectRef "listCtrlFindItemByData" _obj $ \cobj__obj ->
wxListCtrl_FindItemByData cobj__obj (toCInt start) (toCInt wxdata)
foreign import ccall "wxListCtrl_FindItemByData" wxListCtrl_FindItemByData :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CInt
listCtrlFindItemByPosition :: ListCtrl a -> Int -> Point -> Int -> IO Int
listCtrlFindItemByPosition _obj start xy direction
= withIntResult $
withObjectRef "listCtrlFindItemByPosition" _obj $ \cobj__obj ->
wxListCtrl_FindItemByPosition cobj__obj (toCInt start) (toCIntPointX xy) (toCIntPointY xy) (toCInt direction)
foreign import ccall "wxListCtrl_FindItemByPosition" wxListCtrl_FindItemByPosition :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> CInt -> IO CInt
listCtrlGetColumn :: ListCtrl a -> Int -> ListItem c -> IO Bool
listCtrlGetColumn _obj col item
= withBoolResult $
withObjectRef "listCtrlGetColumn" _obj $ \cobj__obj ->
withObjectPtr item $ \cobj_item ->
wxListCtrl_GetColumn cobj__obj (toCInt col) cobj_item
foreign import ccall "wxListCtrl_GetColumn" wxListCtrl_GetColumn :: Ptr (TListCtrl a) -> CInt -> Ptr (TListItem c) -> IO CBool
listCtrlGetColumn2 :: ListCtrl a -> Int -> IO (ListItem ())
listCtrlGetColumn2 _obj col
= withRefListItem $ \pref ->
withObjectRef "listCtrlGetColumn2" _obj $ \cobj__obj ->
wxListCtrl_GetColumn2 cobj__obj (toCInt col) pref
foreign import ccall "wxListCtrl_GetColumn2" wxListCtrl_GetColumn2 :: Ptr (TListCtrl a) -> CInt -> Ptr (TListItem ()) -> IO ()
listCtrlGetColumnCount :: ListCtrl a -> IO Int
listCtrlGetColumnCount _obj
= withIntResult $
withObjectRef "listCtrlGetColumnCount" _obj $ \cobj__obj ->
wxListCtrl_GetColumnCount cobj__obj
foreign import ccall "wxListCtrl_GetColumnCount" wxListCtrl_GetColumnCount :: Ptr (TListCtrl a) -> IO CInt
listCtrlGetColumnWidth :: ListCtrl a -> Int -> IO Int
listCtrlGetColumnWidth _obj col
= withIntResult $
withObjectRef "listCtrlGetColumnWidth" _obj $ \cobj__obj ->
wxListCtrl_GetColumnWidth cobj__obj (toCInt col)
foreign import ccall "wxListCtrl_GetColumnWidth" wxListCtrl_GetColumnWidth :: Ptr (TListCtrl a) -> CInt -> IO CInt
listCtrlGetCountPerPage :: ListCtrl a -> IO Int
listCtrlGetCountPerPage _obj
= withIntResult $
withObjectRef "listCtrlGetCountPerPage" _obj $ \cobj__obj ->
wxListCtrl_GetCountPerPage cobj__obj
foreign import ccall "wxListCtrl_GetCountPerPage" wxListCtrl_GetCountPerPage :: Ptr (TListCtrl a) -> IO CInt
listCtrlGetEditControl :: ListCtrl a -> IO (TextCtrl ())
listCtrlGetEditControl _obj
= withObjectResult $
withObjectRef "listCtrlGetEditControl" _obj $ \cobj__obj ->
wxListCtrl_GetEditControl cobj__obj
foreign import ccall "wxListCtrl_GetEditControl" wxListCtrl_GetEditControl :: Ptr (TListCtrl a) -> IO (Ptr (TTextCtrl ()))
listCtrlGetImageList :: ListCtrl a -> Int -> IO (ImageList ())
listCtrlGetImageList _obj which
= withObjectResult $
withObjectRef "listCtrlGetImageList" _obj $ \cobj__obj ->
wxListCtrl_GetImageList cobj__obj (toCInt which)
foreign import ccall "wxListCtrl_GetImageList" wxListCtrl_GetImageList :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TImageList ()))
listCtrlGetItem :: ListCtrl a -> ListItem b -> IO Bool
listCtrlGetItem _obj info
= withBoolResult $
withObjectRef "listCtrlGetItem" _obj $ \cobj__obj ->
withObjectPtr info $ \cobj_info ->
wxListCtrl_GetItem cobj__obj cobj_info
foreign import ccall "wxListCtrl_GetItem" wxListCtrl_GetItem :: Ptr (TListCtrl a) -> Ptr (TListItem b) -> IO CBool
listCtrlGetItem2 :: ListCtrl a -> IO (ListItem ())
listCtrlGetItem2 _obj
= withRefListItem $ \pref ->
withObjectRef "listCtrlGetItem2" _obj $ \cobj__obj ->
wxListCtrl_GetItem2 cobj__obj pref
foreign import ccall "wxListCtrl_GetItem2" wxListCtrl_GetItem2 :: Ptr (TListCtrl a) -> Ptr (TListItem ()) -> IO ()
listCtrlGetItemCount :: ListCtrl a -> IO Int
listCtrlGetItemCount _obj
= withIntResult $
withObjectRef "listCtrlGetItemCount" _obj $ \cobj__obj ->
wxListCtrl_GetItemCount cobj__obj
foreign import ccall "wxListCtrl_GetItemCount" wxListCtrl_GetItemCount :: Ptr (TListCtrl a) -> IO CInt
listCtrlGetItemData :: ListCtrl a -> Int -> IO Int
listCtrlGetItemData _obj item
= withIntResult $
withObjectRef "listCtrlGetItemData" _obj $ \cobj__obj ->
wxListCtrl_GetItemData cobj__obj (toCInt item)
foreign import ccall "wxListCtrl_GetItemData" wxListCtrl_GetItemData :: Ptr (TListCtrl a) -> CInt -> IO CInt
listCtrlGetItemFont :: ListCtrl a -> Int -> IO (Font ())
listCtrlGetItemFont _obj item
= withManagedFontResult $
withObjectRef "listCtrlGetItemFont" _obj $ \cobj__obj ->
wxListCtrl_GetItemFont cobj__obj (toCInt item)
foreign import ccall "wxListCtrl_GetItemFont" wxListCtrl_GetItemFont :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TFont ()))
listCtrlGetItemPosition :: ListCtrl a -> Int -> IO (Point)
listCtrlGetItemPosition _obj item
= withWxPointResult $
withObjectRef "listCtrlGetItemPosition" _obj $ \cobj__obj ->
wxListCtrl_GetItemPosition cobj__obj (toCInt item)
foreign import ccall "wxListCtrl_GetItemPosition" wxListCtrl_GetItemPosition :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TWxPoint ()))
listCtrlGetItemPosition2 :: ListCtrl a -> Int -> IO (Point)
listCtrlGetItemPosition2 _obj item
= withWxPointResult $
withObjectRef "listCtrlGetItemPosition2" _obj $ \cobj__obj ->
wxListCtrl_GetItemPosition2 cobj__obj (toCInt item)
foreign import ccall "wxListCtrl_GetItemPosition2" wxListCtrl_GetItemPosition2 :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TWxPoint ()))
listCtrlGetItemRect :: ListCtrl a -> Int -> Int -> IO (Rect)
listCtrlGetItemRect _obj item code
= withWxRectResult $
withObjectRef "listCtrlGetItemRect" _obj $ \cobj__obj ->
wxListCtrl_GetItemRect cobj__obj (toCInt item) (toCInt code)
foreign import ccall "wxListCtrl_GetItemRect" wxListCtrl_GetItemRect :: Ptr (TListCtrl a) -> CInt -> CInt -> IO (Ptr (TWxRect ()))
listCtrlGetItemSpacing :: ListCtrl a -> Bool -> IO (Size)
listCtrlGetItemSpacing _obj isSmall
= withWxSizeResult $
withObjectRef "listCtrlGetItemSpacing" _obj $ \cobj__obj ->
wxListCtrl_GetItemSpacing cobj__obj (toCBool isSmall)
foreign import ccall "wxListCtrl_GetItemSpacing" wxListCtrl_GetItemSpacing :: Ptr (TListCtrl a) -> CBool -> IO (Ptr (TWxSize ()))
listCtrlGetItemState :: ListCtrl a -> Int -> Int -> IO Int
listCtrlGetItemState _obj item stateMask
= withIntResult $
withObjectRef "listCtrlGetItemState" _obj $ \cobj__obj ->
wxListCtrl_GetItemState cobj__obj (toCInt item) (toCInt stateMask)
foreign import ccall "wxListCtrl_GetItemState" wxListCtrl_GetItemState :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CInt
listCtrlGetItemText :: ListCtrl a -> Int -> IO (String)
listCtrlGetItemText _obj item
= withManagedStringResult $
withObjectRef "listCtrlGetItemText" _obj $ \cobj__obj ->
wxListCtrl_GetItemText cobj__obj (toCInt item)
foreign import ccall "wxListCtrl_GetItemText" wxListCtrl_GetItemText :: Ptr (TListCtrl a) -> CInt -> IO (Ptr (TWxString ()))
listCtrlGetNextItem :: ListCtrl a -> Int -> Int -> Int -> IO Int
listCtrlGetNextItem _obj item geometry state
= withIntResult $
withObjectRef "listCtrlGetNextItem" _obj $ \cobj__obj ->
wxListCtrl_GetNextItem cobj__obj (toCInt item) (toCInt geometry) (toCInt state)
foreign import ccall "wxListCtrl_GetNextItem" wxListCtrl_GetNextItem :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> IO CInt
listCtrlGetSelectedItemCount :: ListCtrl a -> IO Int
listCtrlGetSelectedItemCount _obj
= withIntResult $
withObjectRef "listCtrlGetSelectedItemCount" _obj $ \cobj__obj ->
wxListCtrl_GetSelectedItemCount cobj__obj
foreign import ccall "wxListCtrl_GetSelectedItemCount" wxListCtrl_GetSelectedItemCount :: Ptr (TListCtrl a) -> IO CInt
listCtrlGetTextColour :: ListCtrl a -> IO (Color)
listCtrlGetTextColour _obj
= withRefColour $ \pref ->
withObjectRef "listCtrlGetTextColour" _obj $ \cobj__obj ->
wxListCtrl_GetTextColour cobj__obj pref
foreign import ccall "wxListCtrl_GetTextColour" wxListCtrl_GetTextColour :: Ptr (TListCtrl a) -> Ptr (TColour ()) -> IO ()
listCtrlGetTopItem :: ListCtrl a -> IO Int
listCtrlGetTopItem _obj
= withIntResult $
withObjectRef "listCtrlGetTopItem" _obj $ \cobj__obj ->
wxListCtrl_GetTopItem cobj__obj
foreign import ccall "wxListCtrl_GetTopItem" wxListCtrl_GetTopItem :: Ptr (TListCtrl a) -> IO CInt
listCtrlHitTest :: ListCtrl a -> Point -> Ptr c -> IO Int
listCtrlHitTest _obj xy flags
= withIntResult $
withObjectRef "listCtrlHitTest" _obj $ \cobj__obj ->
wxListCtrl_HitTest cobj__obj (toCIntPointX xy) (toCIntPointY xy) flags
foreign import ccall "wxListCtrl_HitTest" wxListCtrl_HitTest :: Ptr (TListCtrl a) -> CInt -> CInt -> Ptr c -> IO CInt
listCtrlInsertColumn :: ListCtrl a -> Int -> String -> Int -> Int -> IO Int
listCtrlInsertColumn _obj col heading format width
= withIntResult $
withObjectRef "listCtrlInsertColumn" _obj $ \cobj__obj ->
withStringPtr heading $ \cobj_heading ->
wxListCtrl_InsertColumn cobj__obj (toCInt col) cobj_heading (toCInt format) (toCInt width)
foreign import ccall "wxListCtrl_InsertColumn" wxListCtrl_InsertColumn :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> CInt -> CInt -> IO CInt
listCtrlInsertColumnFromInfo :: ListCtrl a -> Int -> ListItem c -> IO Int
listCtrlInsertColumnFromInfo _obj col info
= withIntResult $
withObjectRef "listCtrlInsertColumnFromInfo" _obj $ \cobj__obj ->
withObjectPtr info $ \cobj_info ->
wxListCtrl_InsertColumnFromInfo cobj__obj (toCInt col) cobj_info
foreign import ccall "wxListCtrl_InsertColumnFromInfo" wxListCtrl_InsertColumnFromInfo :: Ptr (TListCtrl a) -> CInt -> Ptr (TListItem c) -> IO CInt
listCtrlInsertItem :: ListCtrl a -> ListItem b -> IO Int
listCtrlInsertItem _obj info
= withIntResult $
withObjectRef "listCtrlInsertItem" _obj $ \cobj__obj ->
withObjectPtr info $ \cobj_info ->
wxListCtrl_InsertItem cobj__obj cobj_info
foreign import ccall "wxListCtrl_InsertItem" wxListCtrl_InsertItem :: Ptr (TListCtrl a) -> Ptr (TListItem b) -> IO CInt
listCtrlInsertItemWithData :: ListCtrl a -> Int -> String -> IO Int
listCtrlInsertItemWithData _obj index label
= withIntResult $
withObjectRef "listCtrlInsertItemWithData" _obj $ \cobj__obj ->
withStringPtr label $ \cobj_label ->
wxListCtrl_InsertItemWithData cobj__obj (toCInt index) cobj_label
foreign import ccall "wxListCtrl_InsertItemWithData" wxListCtrl_InsertItemWithData :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> IO CInt
listCtrlInsertItemWithImage :: ListCtrl a -> Int -> Int -> IO Int
listCtrlInsertItemWithImage _obj index imageIndex
= withIntResult $
withObjectRef "listCtrlInsertItemWithImage" _obj $ \cobj__obj ->
wxListCtrl_InsertItemWithImage cobj__obj (toCInt index) (toCInt imageIndex)
foreign import ccall "wxListCtrl_InsertItemWithImage" wxListCtrl_InsertItemWithImage :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CInt
listCtrlInsertItemWithLabel :: ListCtrl a -> Int -> String -> Int -> IO Int
listCtrlInsertItemWithLabel _obj index label imageIndex
= withIntResult $
withObjectRef "listCtrlInsertItemWithLabel" _obj $ \cobj__obj ->
withStringPtr label $ \cobj_label ->
wxListCtrl_InsertItemWithLabel cobj__obj (toCInt index) cobj_label (toCInt imageIndex)
foreign import ccall "wxListCtrl_InsertItemWithLabel" wxListCtrl_InsertItemWithLabel :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> CInt -> IO CInt
listCtrlIsVirtual :: ListCtrl a -> IO Bool
listCtrlIsVirtual _obj
= withBoolResult $
withObjectRef "listCtrlIsVirtual" _obj $ \cobj__obj ->
wxListCtrl_IsVirtual cobj__obj
foreign import ccall "wxListCtrl_IsVirtual" wxListCtrl_IsVirtual :: Ptr (TListCtrl a) -> IO CBool
listCtrlRefreshItem :: ListCtrl a -> Int -> IO ()
listCtrlRefreshItem _obj item
= withObjectRef "listCtrlRefreshItem" _obj $ \cobj__obj ->
wxListCtrl_RefreshItem cobj__obj (toCInt item)
foreign import ccall "wxListCtrl_RefreshItem" wxListCtrl_RefreshItem :: Ptr (TListCtrl a) -> CInt -> IO ()
listCtrlScrollList :: ListCtrl a -> Vector -> IO Bool
listCtrlScrollList _obj dxdy
= withBoolResult $
withObjectRef "listCtrlScrollList" _obj $ \cobj__obj ->
wxListCtrl_ScrollList cobj__obj (toCIntVectorX dxdy) (toCIntVectorY dxdy)
foreign import ccall "wxListCtrl_ScrollList" wxListCtrl_ScrollList :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CBool
listCtrlSetBackgroundColour :: ListCtrl a -> Color -> IO ()
listCtrlSetBackgroundColour _obj col
= withObjectRef "listCtrlSetBackgroundColour" _obj $ \cobj__obj ->
withColourPtr col $ \cobj_col ->
wxListCtrl_SetBackgroundColour cobj__obj cobj_col
foreign import ccall "wxListCtrl_SetBackgroundColour" wxListCtrl_SetBackgroundColour :: Ptr (TListCtrl a) -> Ptr (TColour b) -> IO ()
listCtrlSetColumn :: ListCtrl a -> Int -> ListItem c -> IO Bool
listCtrlSetColumn _obj col item
= withBoolResult $
withObjectRef "listCtrlSetColumn" _obj $ \cobj__obj ->
withObjectPtr item $ \cobj_item ->
wxListCtrl_SetColumn cobj__obj (toCInt col) cobj_item
foreign import ccall "wxListCtrl_SetColumn" wxListCtrl_SetColumn :: Ptr (TListCtrl a) -> CInt -> Ptr (TListItem c) -> IO CBool
listCtrlSetColumnWidth :: ListCtrl a -> Int -> Int -> IO Bool
listCtrlSetColumnWidth _obj col width
= withBoolResult $
withObjectRef "listCtrlSetColumnWidth" _obj $ \cobj__obj ->
wxListCtrl_SetColumnWidth cobj__obj (toCInt col) (toCInt width)
foreign import ccall "wxListCtrl_SetColumnWidth" wxListCtrl_SetColumnWidth :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CBool
listCtrlSetForegroundColour :: ListCtrl a -> Color -> IO Int
listCtrlSetForegroundColour _obj col
= withIntResult $
withObjectRef "listCtrlSetForegroundColour" _obj $ \cobj__obj ->
withColourPtr col $ \cobj_col ->
wxListCtrl_SetForegroundColour cobj__obj cobj_col
foreign import ccall "wxListCtrl_SetForegroundColour" wxListCtrl_SetForegroundColour :: Ptr (TListCtrl a) -> Ptr (TColour b) -> IO CInt
listCtrlSetImageList :: ListCtrl a -> ImageList b -> Int -> IO ()
listCtrlSetImageList _obj imageList which
= withObjectRef "listCtrlSetImageList" _obj $ \cobj__obj ->
withObjectPtr imageList $ \cobj_imageList ->
wxListCtrl_SetImageList cobj__obj cobj_imageList (toCInt which)
foreign import ccall "wxListCtrl_SetImageList" wxListCtrl_SetImageList :: Ptr (TListCtrl a) -> Ptr (TImageList b) -> CInt -> IO ()
listCtrlSetItem :: ListCtrl a -> Int -> Int -> String -> Int -> IO Bool
listCtrlSetItem _obj index col label imageId
= withBoolResult $
withObjectRef "listCtrlSetItem" _obj $ \cobj__obj ->
withStringPtr label $ \cobj_label ->
wxListCtrl_SetItem cobj__obj (toCInt index) (toCInt col) cobj_label (toCInt imageId)
foreign import ccall "wxListCtrl_SetItem" wxListCtrl_SetItem :: Ptr (TListCtrl a) -> CInt -> CInt -> Ptr (TWxString d) -> CInt -> IO CBool
listCtrlSetItemData :: ListCtrl a -> Int -> Int -> IO Bool
listCtrlSetItemData _obj item wxdata
= withBoolResult $
withObjectRef "listCtrlSetItemData" _obj $ \cobj__obj ->
wxListCtrl_SetItemData cobj__obj (toCInt item) (toCInt wxdata)
foreign import ccall "wxListCtrl_SetItemData" wxListCtrl_SetItemData :: Ptr (TListCtrl a) -> CInt -> CInt -> IO CBool
listCtrlSetItemFromInfo :: ListCtrl a -> ListItem b -> IO Bool
listCtrlSetItemFromInfo _obj info
= withBoolResult $
withObjectRef "listCtrlSetItemFromInfo" _obj $ \cobj__obj ->
withObjectPtr info $ \cobj_info ->
wxListCtrl_SetItemFromInfo cobj__obj cobj_info
foreign import ccall "wxListCtrl_SetItemFromInfo" wxListCtrl_SetItemFromInfo :: Ptr (TListCtrl a) -> Ptr (TListItem b) -> IO CBool
listCtrlSetItemImage :: ListCtrl a -> Int -> Int -> Int -> IO Bool
listCtrlSetItemImage _obj item image selImage
= withBoolResult $
withObjectRef "listCtrlSetItemImage" _obj $ \cobj__obj ->
wxListCtrl_SetItemImage cobj__obj (toCInt item) (toCInt image) (toCInt selImage)
foreign import ccall "wxListCtrl_SetItemImage" wxListCtrl_SetItemImage :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> IO CBool
listCtrlSetItemPosition :: ListCtrl a -> Int -> Point -> IO Bool
listCtrlSetItemPosition _obj item xy
= withBoolResult $
withObjectRef "listCtrlSetItemPosition" _obj $ \cobj__obj ->
wxListCtrl_SetItemPosition cobj__obj (toCInt item) (toCIntPointX xy) (toCIntPointY xy)
foreign import ccall "wxListCtrl_SetItemPosition" wxListCtrl_SetItemPosition :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> IO CBool
listCtrlSetItemState :: ListCtrl a -> Int -> Int -> Int -> IO Bool
listCtrlSetItemState _obj item state stateMask
= withBoolResult $
withObjectRef "listCtrlSetItemState" _obj $ \cobj__obj ->
wxListCtrl_SetItemState cobj__obj (toCInt item) (toCInt state) (toCInt stateMask)
foreign import ccall "wxListCtrl_SetItemState" wxListCtrl_SetItemState :: Ptr (TListCtrl a) -> CInt -> CInt -> CInt -> IO CBool
listCtrlSetItemText :: ListCtrl a -> Int -> String -> IO ()
listCtrlSetItemText _obj item str
= withObjectRef "listCtrlSetItemText" _obj $ \cobj__obj ->
withStringPtr str $ \cobj_str ->
wxListCtrl_SetItemText cobj__obj (toCInt item) cobj_str
foreign import ccall "wxListCtrl_SetItemText" wxListCtrl_SetItemText :: Ptr (TListCtrl a) -> CInt -> Ptr (TWxString c) -> IO ()
listCtrlSetSingleStyle :: ListCtrl a -> Int -> Bool -> IO ()
listCtrlSetSingleStyle _obj style add
= withObjectRef "listCtrlSetSingleStyle" _obj $ \cobj__obj ->
wxListCtrl_SetSingleStyle cobj__obj (toCInt style) (toCBool add)
foreign import ccall "wxListCtrl_SetSingleStyle" wxListCtrl_SetSingleStyle :: Ptr (TListCtrl a) -> CInt -> CBool -> IO ()
listCtrlSetTextColour :: ListCtrl a -> Color -> IO ()
listCtrlSetTextColour _obj col
= withObjectRef "listCtrlSetTextColour" _obj $ \cobj__obj ->
withColourPtr col $ \cobj_col ->
wxListCtrl_SetTextColour cobj__obj cobj_col
foreign import ccall "wxListCtrl_SetTextColour" wxListCtrl_SetTextColour :: Ptr (TListCtrl a) -> Ptr (TColour b) -> IO ()
listCtrlSetWindowStyleFlag :: ListCtrl a -> Int -> IO ()
listCtrlSetWindowStyleFlag _obj style
= withObjectRef "listCtrlSetWindowStyleFlag" _obj $ \cobj__obj ->
wxListCtrl_SetWindowStyleFlag cobj__obj (toCInt style)
foreign import ccall "wxListCtrl_SetWindowStyleFlag" wxListCtrl_SetWindowStyleFlag :: Ptr (TListCtrl a) -> CInt -> IO ()
listCtrlSortItems :: ListCtrl a -> Ptr b -> Ptr c -> IO Bool
listCtrlSortItems _obj fn eifobj
= withBoolResult $
withObjectRef "listCtrlSortItems" _obj $ \cobj__obj ->
wxListCtrl_SortItems cobj__obj fn eifobj
foreign import ccall "wxListCtrl_SortItems" wxListCtrl_SortItems :: Ptr (TListCtrl a) -> Ptr b -> Ptr c -> IO CBool
listCtrlSortItems2 :: ListCtrl a -> Closure b -> IO Bool
listCtrlSortItems2 _obj closure
= withBoolResult $
withObjectRef "listCtrlSortItems2" _obj $ \cobj__obj ->
withObjectPtr closure $ \cobj_closure ->
wxListCtrl_SortItems2 cobj__obj cobj_closure
foreign import ccall "wxListCtrl_SortItems2" wxListCtrl_SortItems2 :: Ptr (TListCtrl a) -> Ptr (TClosure b) -> IO CBool
listCtrlUpdateStyle :: ListCtrl a -> IO ()
listCtrlUpdateStyle _obj
= withObjectRef "listCtrlUpdateStyle" _obj $ \cobj__obj ->
wxListCtrl_UpdateStyle cobj__obj
foreign import ccall "wxListCtrl_UpdateStyle" wxListCtrl_UpdateStyle :: Ptr (TListCtrl a) -> IO ()
listEventCancelled :: ListEvent a -> IO Bool
listEventCancelled _obj
= withBoolResult $
withObjectRef "listEventCancelled" _obj $ \cobj__obj ->
wxListEvent_Cancelled cobj__obj
foreign import ccall "wxListEvent_Cancelled" wxListEvent_Cancelled :: Ptr (TListEvent a) -> IO CBool
listEventGetCacheFrom :: ListEvent a -> IO Int
listEventGetCacheFrom _obj
= withIntResult $
withObjectRef "listEventGetCacheFrom" _obj $ \cobj__obj ->
wxListEvent_GetCacheFrom cobj__obj
foreign import ccall "wxListEvent_GetCacheFrom" wxListEvent_GetCacheFrom :: Ptr (TListEvent a) -> IO CInt
listEventGetCacheTo :: ListEvent a -> IO Int
listEventGetCacheTo _obj
= withIntResult $
withObjectRef "listEventGetCacheTo" _obj $ \cobj__obj ->
wxListEvent_GetCacheTo cobj__obj
foreign import ccall "wxListEvent_GetCacheTo" wxListEvent_GetCacheTo :: Ptr (TListEvent a) -> IO CInt
listEventGetCode :: ListEvent a -> IO Int
listEventGetCode _obj
= withIntResult $
withObjectRef "listEventGetCode" _obj $ \cobj__obj ->
wxListEvent_GetCode cobj__obj
foreign import ccall "wxListEvent_GetCode" wxListEvent_GetCode :: Ptr (TListEvent a) -> IO CInt
listEventGetColumn :: ListEvent a -> IO Int
listEventGetColumn _obj
= withIntResult $
withObjectRef "listEventGetColumn" _obj $ \cobj__obj ->
wxListEvent_GetColumn cobj__obj
foreign import ccall "wxListEvent_GetColumn" wxListEvent_GetColumn :: Ptr (TListEvent a) -> IO CInt
listEventGetData :: ListEvent a -> IO Int
listEventGetData _obj
= withIntResult $
withObjectRef "listEventGetData" _obj $ \cobj__obj ->
wxListEvent_GetData cobj__obj
foreign import ccall "wxListEvent_GetData" wxListEvent_GetData :: Ptr (TListEvent a) -> IO CInt
listEventGetImage :: ListEvent a -> IO Int
listEventGetImage _obj
= withIntResult $
withObjectRef "listEventGetImage" _obj $ \cobj__obj ->
wxListEvent_GetImage cobj__obj
foreign import ccall "wxListEvent_GetImage" wxListEvent_GetImage :: Ptr (TListEvent a) -> IO CInt
listEventGetIndex :: ListEvent a -> IO Int
listEventGetIndex _obj
= withIntResult $
withObjectRef "listEventGetIndex" _obj $ \cobj__obj ->
wxListEvent_GetIndex cobj__obj
foreign import ccall "wxListEvent_GetIndex" wxListEvent_GetIndex :: Ptr (TListEvent a) -> IO CInt
listEventGetItem :: ListEvent a -> IO (ListItem ())
listEventGetItem _obj
= withRefListItem $ \pref ->
withObjectRef "listEventGetItem" _obj $ \cobj__obj ->
wxListEvent_GetItem cobj__obj pref
foreign import ccall "wxListEvent_GetItem" wxListEvent_GetItem :: Ptr (TListEvent a) -> Ptr (TListItem ()) -> IO ()
listEventGetLabel :: ListEvent a -> IO (String)
listEventGetLabel _obj
= withManagedStringResult $
withObjectRef "listEventGetLabel" _obj $ \cobj__obj ->
wxListEvent_GetLabel cobj__obj
foreign import ccall "wxListEvent_GetLabel" wxListEvent_GetLabel :: Ptr (TListEvent a) -> IO (Ptr (TWxString ()))
listEventGetMask :: ListEvent a -> IO Int
listEventGetMask _obj
= withIntResult $
withObjectRef "listEventGetMask" _obj $ \cobj__obj ->
wxListEvent_GetMask cobj__obj
foreign import ccall "wxListEvent_GetMask" wxListEvent_GetMask :: Ptr (TListEvent a) -> IO CInt
listEventGetPoint :: ListEvent a -> IO (Point)
listEventGetPoint _obj
= withWxPointResult $
withObjectRef "listEventGetPoint" _obj $ \cobj__obj ->
wxListEvent_GetPoint cobj__obj
foreign import ccall "wxListEvent_GetPoint" wxListEvent_GetPoint :: Ptr (TListEvent a) -> IO (Ptr (TWxPoint ()))
listEventGetText :: ListEvent a -> IO (String)
listEventGetText _obj
= withManagedStringResult $
withObjectRef "listEventGetText" _obj $ \cobj__obj ->
wxListEvent_GetText cobj__obj
foreign import ccall "wxListEvent_GetText" wxListEvent_GetText :: Ptr (TListEvent a) -> IO (Ptr (TWxString ()))
listItemClear :: ListItem a -> IO ()
listItemClear _obj
= withObjectRef "listItemClear" _obj $ \cobj__obj ->
wxListItem_Clear cobj__obj
foreign import ccall "wxListItem_Clear" wxListItem_Clear :: Ptr (TListItem a) -> IO ()
listItemClearAttributes :: ListItem a -> IO ()
listItemClearAttributes _obj
= withObjectRef "listItemClearAttributes" _obj $ \cobj__obj ->
wxListItem_ClearAttributes cobj__obj
foreign import ccall "wxListItem_ClearAttributes" wxListItem_ClearAttributes :: Ptr (TListItem a) -> IO ()
listItemCreate :: IO (ListItem ())
listItemCreate
= withManagedObjectResult $
wxListItem_Create
foreign import ccall "wxListItem_Create" wxListItem_Create :: IO (Ptr (TListItem ()))
listItemDelete :: ListItem a -> IO ()
listItemDelete
= objectDelete
listItemGetAlign :: ListItem a -> IO Int
listItemGetAlign _obj
= withIntResult $
withObjectRef "listItemGetAlign" _obj $ \cobj__obj ->
wxListItem_GetAlign cobj__obj
foreign import ccall "wxListItem_GetAlign" wxListItem_GetAlign :: Ptr (TListItem a) -> IO CInt
listItemGetAttributes :: ListItem a -> IO (Ptr ())
listItemGetAttributes _obj
= withObjectRef "listItemGetAttributes" _obj $ \cobj__obj ->
wxListItem_GetAttributes cobj__obj
foreign import ccall "wxListItem_GetAttributes" wxListItem_GetAttributes :: Ptr (TListItem a) -> IO (Ptr ())
listItemGetBackgroundColour :: ListItem a -> IO (Color)
listItemGetBackgroundColour _obj
= withRefColour $ \pref ->
withObjectRef "listItemGetBackgroundColour" _obj $ \cobj__obj ->
wxListItem_GetBackgroundColour cobj__obj pref
foreign import ccall "wxListItem_GetBackgroundColour" wxListItem_GetBackgroundColour :: Ptr (TListItem a) -> Ptr (TColour ()) -> IO ()
listItemGetColumn :: ListItem a -> IO Int
listItemGetColumn _obj
= withIntResult $
withObjectRef "listItemGetColumn" _obj $ \cobj__obj ->
wxListItem_GetColumn cobj__obj
foreign import ccall "wxListItem_GetColumn" wxListItem_GetColumn :: Ptr (TListItem a) -> IO CInt
listItemGetData :: ListItem a -> IO Int
listItemGetData _obj
= withIntResult $
withObjectRef "listItemGetData" _obj $ \cobj__obj ->
wxListItem_GetData cobj__obj
foreign import ccall "wxListItem_GetData" wxListItem_GetData :: Ptr (TListItem a) -> IO CInt
listItemGetFont :: ListItem a -> IO (Font ())
listItemGetFont _obj
= withRefFont $ \pref ->
withObjectRef "listItemGetFont" _obj $ \cobj__obj ->
wxListItem_GetFont cobj__obj pref
foreign import ccall "wxListItem_GetFont" wxListItem_GetFont :: Ptr (TListItem a) -> Ptr (TFont ()) -> IO ()
listItemGetId :: ListItem a -> IO Int
listItemGetId _obj
= withIntResult $
withObjectRef "listItemGetId" _obj $ \cobj__obj ->
wxListItem_GetId cobj__obj
foreign import ccall "wxListItem_GetId" wxListItem_GetId :: Ptr (TListItem a) -> IO CInt
listItemGetImage :: ListItem a -> IO Int
listItemGetImage _obj
= withIntResult $
withObjectRef "listItemGetImage" _obj $ \cobj__obj ->
wxListItem_GetImage cobj__obj
foreign import ccall "wxListItem_GetImage" wxListItem_GetImage :: Ptr (TListItem a) -> IO CInt
listItemGetMask :: ListItem a -> IO Int
listItemGetMask _obj
= withIntResult $
withObjectRef "listItemGetMask" _obj $ \cobj__obj ->
wxListItem_GetMask cobj__obj
foreign import ccall "wxListItem_GetMask" wxListItem_GetMask :: Ptr (TListItem a) -> IO CInt
listItemGetState :: ListItem a -> IO Int
listItemGetState _obj
= withIntResult $
withObjectRef "listItemGetState" _obj $ \cobj__obj ->
wxListItem_GetState cobj__obj
foreign import ccall "wxListItem_GetState" wxListItem_GetState :: Ptr (TListItem a) -> IO CInt
listItemGetText :: ListItem a -> IO (String)
listItemGetText _obj
= withManagedStringResult $
withObjectRef "listItemGetText" _obj $ \cobj__obj ->
wxListItem_GetText cobj__obj
foreign import ccall "wxListItem_GetText" wxListItem_GetText :: Ptr (TListItem a) -> IO (Ptr (TWxString ()))
listItemGetTextColour :: ListItem a -> IO (Color)
listItemGetTextColour _obj
= withRefColour $ \pref ->
withObjectRef "listItemGetTextColour" _obj $ \cobj__obj ->
wxListItem_GetTextColour cobj__obj pref
foreign import ccall "wxListItem_GetTextColour" wxListItem_GetTextColour :: Ptr (TListItem a) -> Ptr (TColour ()) -> IO ()
listItemGetWidth :: ListItem a -> IO Int
listItemGetWidth _obj
= withIntResult $
withObjectRef "listItemGetWidth" _obj $ \cobj__obj ->
wxListItem_GetWidth cobj__obj
foreign import ccall "wxListItem_GetWidth" wxListItem_GetWidth :: Ptr (TListItem a) -> IO CInt
listItemHasAttributes :: ListItem a -> IO Bool
listItemHasAttributes _obj
= withBoolResult $
withObjectRef "listItemHasAttributes" _obj $ \cobj__obj ->
wxListItem_HasAttributes cobj__obj
foreign import ccall "wxListItem_HasAttributes" wxListItem_HasAttributes :: Ptr (TListItem a) -> IO CBool
listItemSetAlign :: ListItem a -> Int -> IO ()
listItemSetAlign _obj align
= withObjectRef "listItemSetAlign" _obj $ \cobj__obj ->
wxListItem_SetAlign cobj__obj (toCInt align)
foreign import ccall "wxListItem_SetAlign" wxListItem_SetAlign :: Ptr (TListItem a) -> CInt -> IO ()
listItemSetBackgroundColour :: ListItem a -> Color -> IO ()
listItemSetBackgroundColour _obj colBack
= withObjectRef "listItemSetBackgroundColour" _obj $ \cobj__obj ->
withColourPtr colBack $ \cobj_colBack ->
wxListItem_SetBackgroundColour cobj__obj cobj_colBack
foreign import ccall "wxListItem_SetBackgroundColour" wxListItem_SetBackgroundColour :: Ptr (TListItem a) -> Ptr (TColour b) -> IO ()
listItemSetColumn :: ListItem a -> Int -> IO ()
listItemSetColumn _obj col
= withObjectRef "listItemSetColumn" _obj $ \cobj__obj ->
wxListItem_SetColumn cobj__obj (toCInt col)
foreign import ccall "wxListItem_SetColumn" wxListItem_SetColumn :: Ptr (TListItem a) -> CInt -> IO ()
listItemSetData :: ListItem a -> Int -> IO ()
listItemSetData _obj wxdata
= withObjectRef "listItemSetData" _obj $ \cobj__obj ->
wxListItem_SetData cobj__obj (toCInt wxdata)
foreign import ccall "wxListItem_SetData" wxListItem_SetData :: Ptr (TListItem a) -> CInt -> IO ()
listItemSetDataPointer :: ListItem a -> Ptr b -> IO ()
listItemSetDataPointer _obj wxdata
= withObjectRef "listItemSetDataPointer" _obj $ \cobj__obj ->
wxListItem_SetDataPointer cobj__obj wxdata
foreign import ccall "wxListItem_SetDataPointer" wxListItem_SetDataPointer :: Ptr (TListItem a) -> Ptr b -> IO ()
listItemSetFont :: ListItem a -> Font b -> IO ()
listItemSetFont _obj font
= withObjectRef "listItemSetFont" _obj $ \cobj__obj ->
withObjectPtr font $ \cobj_font ->
wxListItem_SetFont cobj__obj cobj_font
foreign import ccall "wxListItem_SetFont" wxListItem_SetFont :: Ptr (TListItem a) -> Ptr (TFont b) -> IO ()
listItemSetId :: ListItem a -> Id -> IO ()
listItemSetId _obj id
= withObjectRef "listItemSetId" _obj $ \cobj__obj ->
wxListItem_SetId cobj__obj (toCInt id)
foreign import ccall "wxListItem_SetId" wxListItem_SetId :: Ptr (TListItem a) -> CInt -> IO ()
listItemSetImage :: ListItem a -> Int -> IO ()
listItemSetImage _obj image
= withObjectRef "listItemSetImage" _obj $ \cobj__obj ->
wxListItem_SetImage cobj__obj (toCInt image)
foreign import ccall "wxListItem_SetImage" wxListItem_SetImage :: Ptr (TListItem a) -> CInt -> IO ()
listItemSetMask :: ListItem a -> Int -> IO ()
listItemSetMask _obj mask
= withObjectRef "listItemSetMask" _obj $ \cobj__obj ->
wxListItem_SetMask cobj__obj (toCInt mask)
foreign import ccall "wxListItem_SetMask" wxListItem_SetMask :: Ptr (TListItem a) -> CInt -> IO ()
listItemSetState :: ListItem a -> Int -> IO ()
listItemSetState _obj state
= withObjectRef "listItemSetState" _obj $ \cobj__obj ->
wxListItem_SetState cobj__obj (toCInt state)
foreign import ccall "wxListItem_SetState" wxListItem_SetState :: Ptr (TListItem a) -> CInt -> IO ()
listItemSetStateMask :: ListItem a -> Int -> IO ()
listItemSetStateMask _obj stateMask
= withObjectRef "listItemSetStateMask" _obj $ \cobj__obj ->
wxListItem_SetStateMask cobj__obj (toCInt stateMask)
foreign import ccall "wxListItem_SetStateMask" wxListItem_SetStateMask :: Ptr (TListItem a) -> CInt -> IO ()
listItemSetText :: ListItem a -> String -> IO ()
listItemSetText _obj text
= withObjectRef "listItemSetText" _obj $ \cobj__obj ->
withStringPtr text $ \cobj_text ->
wxListItem_SetText cobj__obj cobj_text
foreign import ccall "wxListItem_SetText" wxListItem_SetText :: Ptr (TListItem a) -> Ptr (TWxString b) -> IO ()
listItemSetTextColour :: ListItem a -> Color -> IO ()
listItemSetTextColour _obj colText
= withObjectRef "listItemSetTextColour" _obj $ \cobj__obj ->
withColourPtr colText $ \cobj_colText ->
wxListItem_SetTextColour cobj__obj cobj_colText
foreign import ccall "wxListItem_SetTextColour" wxListItem_SetTextColour :: Ptr (TListItem a) -> Ptr (TColour b) -> IO ()
listItemSetWidth :: ListItem a -> Int -> IO ()
listItemSetWidth _obj width
= withObjectRef "listItemSetWidth" _obj $ \cobj__obj ->
wxListItem_SetWidth cobj__obj (toCInt width)
foreign import ccall "wxListItem_SetWidth" wxListItem_SetWidth :: Ptr (TListItem a) -> CInt -> IO ()
localeAddCatalog :: Locale a -> Ptr b -> IO Int
localeAddCatalog _obj szDomain
= withIntResult $
withObjectRef "localeAddCatalog" _obj $ \cobj__obj ->
wxLocale_AddCatalog cobj__obj szDomain
foreign import ccall "wxLocale_AddCatalog" wxLocale_AddCatalog :: Ptr (TLocale a) -> Ptr b -> IO CInt
localeAddCatalogLookupPathPrefix :: Locale a -> Ptr b -> IO ()
localeAddCatalogLookupPathPrefix _obj prefix
= withObjectRef "localeAddCatalogLookupPathPrefix" _obj $ \cobj__obj ->
wxLocale_AddCatalogLookupPathPrefix cobj__obj prefix
foreign import ccall "wxLocale_AddCatalogLookupPathPrefix" wxLocale_AddCatalogLookupPathPrefix :: Ptr (TLocale a) -> Ptr b -> IO ()
localeCreate :: Int -> Int -> IO (Locale ())
localeCreate _name _flags
= withObjectResult $
wxLocale_Create (toCInt _name) (toCInt _flags)
foreign import ccall "wxLocale_Create" wxLocale_Create :: CInt -> CInt -> IO (Ptr (TLocale ()))
localeDelete :: Locale a -> IO ()
localeDelete _obj
= withObjectRef "localeDelete" _obj $ \cobj__obj ->
wxLocale_Delete cobj__obj
foreign import ccall "wxLocale_Delete" wxLocale_Delete :: Ptr (TLocale a) -> IO ()
localeGetLocale :: Locale a -> IO (Locale ())
localeGetLocale _obj
= withObjectResult $
withObjectRef "localeGetLocale" _obj $ \cobj__obj ->
wxLocale_GetLocale cobj__obj
foreign import ccall "wxLocale_GetLocale" wxLocale_GetLocale :: Ptr (TLocale a) -> IO (Ptr (TLocale ()))
localeGetName :: Locale a -> IO (String)
localeGetName _obj
= withManagedStringResult $
withObjectRef "localeGetName" _obj $ \cobj__obj ->
wxLocale_GetName cobj__obj
foreign import ccall "wxLocale_GetName" wxLocale_GetName :: Ptr (TLocale a) -> IO (Ptr (TWxString ()))
localeGetString :: Locale a -> Ptr b -> Ptr c -> IO String
localeGetString _obj szOrigString szDomain
= withWStringResult $ \buffer ->
withObjectRef "localeGetString" _obj $ \cobj__obj ->
wxLocale_GetString cobj__obj szOrigString szDomain buffer
foreign import ccall "wxLocale_GetString" wxLocale_GetString :: Ptr (TLocale a) -> Ptr b -> Ptr c -> Ptr CWchar -> IO CInt
localeIsLoaded :: Locale a -> Ptr b -> IO Bool
localeIsLoaded _obj szDomain
= withBoolResult $
withObjectRef "localeIsLoaded" _obj $ \cobj__obj ->
wxLocale_IsLoaded cobj__obj szDomain
foreign import ccall "wxLocale_IsLoaded" wxLocale_IsLoaded :: Ptr (TLocale a) -> Ptr b -> IO CBool
localeIsOk :: Locale a -> IO Bool
localeIsOk _obj
= withBoolResult $
withObjectRef "localeIsOk" _obj $ \cobj__obj ->
wxLocale_IsOk cobj__obj
foreign import ccall "wxLocale_IsOk" wxLocale_IsOk :: Ptr (TLocale a) -> IO CBool
logAddTraceMask :: Log a -> String -> IO ()
logAddTraceMask _obj str
= withObjectRef "logAddTraceMask" _obj $ \cobj__obj ->
withStringPtr str $ \cobj_str ->
wxLog_AddTraceMask cobj__obj cobj_str
foreign import ccall "wxLog_AddTraceMask" wxLog_AddTraceMask :: Ptr (TLog a) -> Ptr (TWxString b) -> IO ()
logChainCreate :: Log a -> IO (LogChain ())
logChainCreate logger
= withObjectResult $
withObjectPtr logger $ \cobj_logger ->
wxLogChain_Create cobj_logger
foreign import ccall "wxLogChain_Create" wxLogChain_Create :: Ptr (TLog a) -> IO (Ptr (TLogChain ()))
logChainDelete :: LogChain a -> IO ()
logChainDelete _obj
= withObjectRef "logChainDelete" _obj $ \cobj__obj ->
wxLogChain_Delete cobj__obj
foreign import ccall "wxLogChain_Delete" wxLogChain_Delete :: Ptr (TLogChain a) -> IO ()
logChainGetOldLog :: LogChain a -> IO (Log ())
logChainGetOldLog _obj
= withObjectResult $
withObjectRef "logChainGetOldLog" _obj $ \cobj__obj ->
wxLogChain_GetOldLog cobj__obj
foreign import ccall "wxLogChain_GetOldLog" wxLogChain_GetOldLog :: Ptr (TLogChain a) -> IO (Ptr (TLog ()))
logChainIsPassingMessages :: LogChain a -> IO Bool
logChainIsPassingMessages _obj
= withBoolResult $
withObjectRef "logChainIsPassingMessages" _obj $ \cobj__obj ->
wxLogChain_IsPassingMessages cobj__obj
foreign import ccall "wxLogChain_IsPassingMessages" wxLogChain_IsPassingMessages :: Ptr (TLogChain a) -> IO CBool
logChainPassMessages :: LogChain a -> Bool -> IO ()
logChainPassMessages _obj bDoPass
= withObjectRef "logChainPassMessages" _obj $ \cobj__obj ->
wxLogChain_PassMessages cobj__obj (toCBool bDoPass)
foreign import ccall "wxLogChain_PassMessages" wxLogChain_PassMessages :: Ptr (TLogChain a) -> CBool -> IO ()
logChainSetLog :: LogChain a -> Log b -> IO ()
logChainSetLog _obj logger
= withObjectRef "logChainSetLog" _obj $ \cobj__obj ->
withObjectPtr logger $ \cobj_logger ->
wxLogChain_SetLog cobj__obj cobj_logger
foreign import ccall "wxLogChain_SetLog" wxLogChain_SetLog :: Ptr (TLogChain a) -> Ptr (TLog b) -> IO ()
logDebug :: String -> IO ()
logDebug _msg
= withStringPtr _msg $ \cobj__msg ->
wx_LogDebug cobj__msg
foreign import ccall "LogDebug" wx_LogDebug :: Ptr (TWxString a) -> IO ()
logDelete :: Log a -> IO ()
logDelete _obj
= withObjectRef "logDelete" _obj $ \cobj__obj ->
wxLog_Delete cobj__obj
foreign import ccall "wxLog_Delete" wxLog_Delete :: Ptr (TLog a) -> IO ()
logDontCreateOnDemand :: Log a -> IO ()
logDontCreateOnDemand _obj
= withObjectRef "logDontCreateOnDemand" _obj $ \cobj__obj ->
wxLog_DontCreateOnDemand cobj__obj
foreign import ccall "wxLog_DontCreateOnDemand" wxLog_DontCreateOnDemand :: Ptr (TLog a) -> IO ()
logError :: String -> IO ()
logError _msg
= withStringPtr _msg $ \cobj__msg ->
wx_LogError cobj__msg
foreign import ccall "LogError" wx_LogError :: Ptr (TWxString a) -> IO ()
logErrorMsg :: String -> IO ()
logErrorMsg _msg
= withStringPtr _msg $ \cobj__msg ->
wx_LogErrorMsg cobj__msg
foreign import ccall "LogErrorMsg" wx_LogErrorMsg :: Ptr (TWxString a) -> IO ()
logFatalError :: String -> IO ()
logFatalError _msg
= withStringPtr _msg $ \cobj__msg ->
wx_LogFatalError cobj__msg
foreign import ccall "LogFatalError" wx_LogFatalError :: Ptr (TWxString a) -> IO ()
logFatalErrorMsg :: String -> IO ()
logFatalErrorMsg _msg
= withStringPtr _msg $ \cobj__msg ->
wx_LogFatalErrorMsg cobj__msg
foreign import ccall "LogFatalErrorMsg" wx_LogFatalErrorMsg :: Ptr (TWxString a) -> IO ()
logFlush :: Log a -> IO ()
logFlush _obj
= withObjectRef "logFlush" _obj $ \cobj__obj ->
wxLog_Flush cobj__obj
foreign import ccall "wxLog_Flush" wxLog_Flush :: Ptr (TLog a) -> IO ()
logFlushActive :: Log a -> IO ()
logFlushActive _obj
= withObjectRef "logFlushActive" _obj $ \cobj__obj ->
wxLog_FlushActive cobj__obj
foreign import ccall "wxLog_FlushActive" wxLog_FlushActive :: Ptr (TLog a) -> IO ()
logGetActiveTarget :: IO (Log ())
logGetActiveTarget
= withObjectResult $
wxLog_GetActiveTarget
foreign import ccall "wxLog_GetActiveTarget" wxLog_GetActiveTarget :: IO (Ptr (TLog ()))
logGetTimestamp :: Log a -> IO (Ptr CWchar)
logGetTimestamp _obj
= withObjectRef "logGetTimestamp" _obj $ \cobj__obj ->
wxLog_GetTimestamp cobj__obj
foreign import ccall "wxLog_GetTimestamp" wxLog_GetTimestamp :: Ptr (TLog a) -> IO (Ptr CWchar)
logGetTraceMask :: Log a -> IO Int
logGetTraceMask _obj
= withIntResult $
withObjectRef "logGetTraceMask" _obj $ \cobj__obj ->
wxLog_GetTraceMask cobj__obj
foreign import ccall "wxLog_GetTraceMask" wxLog_GetTraceMask :: Ptr (TLog a) -> IO CInt
logGetVerbose :: Log a -> IO Int
logGetVerbose _obj
= withIntResult $
withObjectRef "logGetVerbose" _obj $ \cobj__obj ->
wxLog_GetVerbose cobj__obj
foreign import ccall "wxLog_GetVerbose" wxLog_GetVerbose :: Ptr (TLog a) -> IO CInt
logHasPendingMessages :: Log a -> IO Bool
logHasPendingMessages _obj
= withBoolResult $
withObjectRef "logHasPendingMessages" _obj $ \cobj__obj ->
wxLog_HasPendingMessages cobj__obj
foreign import ccall "wxLog_HasPendingMessages" wxLog_HasPendingMessages :: Ptr (TLog a) -> IO CBool
logIsAllowedTraceMask :: Log a -> Mask b -> IO Bool
logIsAllowedTraceMask _obj mask
= withBoolResult $
withObjectRef "logIsAllowedTraceMask" _obj $ \cobj__obj ->
withObjectPtr mask $ \cobj_mask ->
wxLog_IsAllowedTraceMask cobj__obj cobj_mask
foreign import ccall "wxLog_IsAllowedTraceMask" wxLog_IsAllowedTraceMask :: Ptr (TLog a) -> Ptr (TMask b) -> IO CBool
logMessage :: String -> IO ()
logMessage _msg
= withStringPtr _msg $ \cobj__msg ->
wx_LogMessage cobj__msg
foreign import ccall "LogMessage" wx_LogMessage :: Ptr (TWxString a) -> IO ()
logMessageMsg :: String -> IO ()
logMessageMsg _msg
= withStringPtr _msg $ \cobj__msg ->
wx_LogMessageMsg cobj__msg
foreign import ccall "LogMessageMsg" wx_LogMessageMsg :: Ptr (TWxString a) -> IO ()
logNullCreate :: IO (LogNull ())
logNullCreate
= withObjectResult $
wxLogNull_Create
foreign import ccall "wxLogNull_Create" wxLogNull_Create :: IO (Ptr (TLogNull ()))
logOnLog :: Log a -> Int -> String -> Int -> IO ()
logOnLog _obj level szString t
= withObjectRef "logOnLog" _obj $ \cobj__obj ->
withCWString szString $ \cstr_szString ->
wxLog_OnLog cobj__obj (toCInt level) cstr_szString (toCInt t)
foreign import ccall "wxLog_OnLog" wxLog_OnLog :: Ptr (TLog a) -> CInt -> CWString -> CInt -> IO ()
logRemoveTraceMask :: Log a -> String -> IO ()
logRemoveTraceMask _obj str
= withObjectRef "logRemoveTraceMask" _obj $ \cobj__obj ->
withStringPtr str $ \cobj_str ->
wxLog_RemoveTraceMask cobj__obj cobj_str
foreign import ccall "wxLog_RemoveTraceMask" wxLog_RemoveTraceMask :: Ptr (TLog a) -> Ptr (TWxString b) -> IO ()
logResume :: Log a -> IO ()
logResume _obj
= withObjectRef "logResume" _obj $ \cobj__obj ->
wxLog_Resume cobj__obj
foreign import ccall "wxLog_Resume" wxLog_Resume :: Ptr (TLog a) -> IO ()
logSetActiveTarget :: Log a -> IO (Log ())
logSetActiveTarget pLogger
= withObjectResult $
withObjectRef "logSetActiveTarget" pLogger $ \cobj_pLogger ->
wxLog_SetActiveTarget cobj_pLogger
foreign import ccall "wxLog_SetActiveTarget" wxLog_SetActiveTarget :: Ptr (TLog a) -> IO (Ptr (TLog ()))
logSetTimestamp :: Log a -> String -> IO ()
logSetTimestamp _obj ts
= withObjectRef "logSetTimestamp" _obj $ \cobj__obj ->
withCWString ts $ \cstr_ts ->
wxLog_SetTimestamp cobj__obj cstr_ts
foreign import ccall "wxLog_SetTimestamp" wxLog_SetTimestamp :: Ptr (TLog a) -> CWString -> IO ()
logSetVerbose :: Log a -> Bool -> IO ()
logSetVerbose _obj bVerbose
= withObjectRef "logSetVerbose" _obj $ \cobj__obj ->
wxLog_SetVerbose cobj__obj (toCBool bVerbose)
foreign import ccall "wxLog_SetVerbose" wxLog_SetVerbose :: Ptr (TLog a) -> CBool -> IO ()
logStatus :: String -> IO ()
logStatus _msg
= withStringPtr _msg $ \cobj__msg ->
wx_LogStatus cobj__msg
foreign import ccall "LogStatus" wx_LogStatus :: Ptr (TWxString a) -> IO ()
logStderrCreate :: IO (LogStderr ())
logStderrCreate
= withObjectResult $
wxLogStderr_Create
foreign import ccall "wxLogStderr_Create" wxLogStderr_Create :: IO (Ptr (TLogStderr ()))
logStderrCreateStdOut :: IO (LogStderr ())
logStderrCreateStdOut
= withObjectResult $
wxLogStderr_CreateStdOut
foreign import ccall "wxLogStderr_CreateStdOut" wxLogStderr_CreateStdOut :: IO (Ptr (TLogStderr ()))
logSuspend :: Log a -> IO ()
logSuspend _obj
= withObjectRef "logSuspend" _obj $ \cobj__obj ->
wxLog_Suspend cobj__obj
foreign import ccall "wxLog_Suspend" wxLog_Suspend :: Ptr (TLog a) -> IO ()
logSysError :: String -> IO ()
logSysError _msg
= withStringPtr _msg $ \cobj__msg ->
wx_LogSysError cobj__msg
foreign import ccall "LogSysError" wx_LogSysError :: Ptr (TWxString a) -> IO ()
logTextCtrlCreate :: TextCtrl a -> IO (LogTextCtrl ())
logTextCtrlCreate text
= withObjectResult $
withObjectPtr text $ \cobj_text ->
wxLogTextCtrl_Create cobj_text
foreign import ccall "wxLogTextCtrl_Create" wxLogTextCtrl_Create :: Ptr (TTextCtrl a) -> IO (Ptr (TLogTextCtrl ()))
logTrace :: String -> String -> IO ()
logTrace mask _msg
= withStringPtr mask $ \cobj_mask ->
withStringPtr _msg $ \cobj__msg ->
wx_LogTrace cobj_mask cobj__msg
foreign import ccall "LogTrace" wx_LogTrace :: Ptr (TWxString a) -> Ptr (TWxString b) -> IO ()
logVerbose :: String -> IO ()
logVerbose _msg
= withStringPtr _msg $ \cobj__msg ->
wx_LogVerbose cobj__msg
foreign import ccall "LogVerbose" wx_LogVerbose :: Ptr (TWxString a) -> IO ()
logWarning :: String -> IO ()
logWarning _msg
= withStringPtr _msg $ \cobj__msg ->
wx_LogWarning cobj__msg
foreign import ccall "LogWarning" wx_LogWarning :: Ptr (TWxString a) -> IO ()
logWarningMsg :: String -> IO ()
logWarningMsg _msg
= withStringPtr _msg $ \cobj__msg ->
wx_LogWarningMsg cobj__msg
foreign import ccall "LogWarningMsg" wx_LogWarningMsg :: Ptr (TWxString a) -> IO ()
logWindowCreate :: Window a -> String -> Bool -> Bool -> IO (LogWindow ())
logWindowCreate parent title showit passthrough
= withObjectResult $
withObjectPtr parent $ \cobj_parent ->
withCWString title $ \cstr_title ->
wxLogWindow_Create cobj_parent cstr_title (toCBool showit) (toCBool passthrough)
foreign import ccall "wxLogWindow_Create" wxLogWindow_Create :: Ptr (TWindow a) -> CWString -> CBool -> CBool -> IO (Ptr (TLogWindow ()))
logWindowGetFrame :: LogWindow a -> IO (Frame ())
logWindowGetFrame obj
= withObjectResult $
withObjectRef "logWindowGetFrame" obj $ \cobj_obj ->
wxLogWindow_GetFrame cobj_obj
foreign import ccall "wxLogWindow_GetFrame" wxLogWindow_GetFrame :: Ptr (TLogWindow a) -> IO (Ptr (TFrame ()))