Documentation
¶
Index ¶
- Constants
- func AsciiDigitValue(c rune) int32
- func AsciiDtostr(buffer string, bufLen int32, d float64) string
- func AsciiFormatd(buffer string, bufLen int32, format string, d float64) string
- func AsciiStrcasecmp(s1 string, s2 string) int32
- func AsciiStrdown(str string, len int64) string
- func AsciiStrncasecmp(s1 string, s2 string, n uint64) int32
- func AsciiStrtod(nptr string) (float64, string)
- func AsciiStrup(str string, len int64) string
- func AsciiTolower(c rune) rune
- func AsciiToupper(c rune) rune
- func AsciiXdigitValue(c rune) int32
- func AssertWarning(logDomain string, file string, line int32, prettyFunction string, ...)
- func AssertionMessage(domain string, file string, line int32, func_ string, message string)
- func AssertionMessageCmpstr(domain string, file string, line int32, func_ string, expr string, arg1 string, ...)
- func AssertionMessageError(domain string, file string, line int32, func_ string, expr string, ...)
- func AssertionMessageExpr(domain string, file string, line int32, func_ string, expr string)
- func Basename(fileName string) string
- func BitNthLsf(mask uint64, nthBit int32) int32
- func BitNthMsf(mask uint64, nthBit int32) int32
- func BitStorage(number uint64) uint32
- func ClearError() error
- func DatalistClear(datalist *Data)
- func DatalistGetData(datalist *Data, key string) uintptr
- func DatalistIdGetData(datalist *Data, keyId Quark) uintptr
- func DatalistIdRemoveNoNotify(datalist *Data, keyId Quark) uintptr
- func DatalistInit(datalist *Data)
- func DatasetDestroy(datasetLocation uintptr)
- func DatasetIdGetData(datasetLocation uintptr, keyId Quark) uintptr
- func DatasetIdRemoveNoNotify(datasetLocation uintptr, keyId Quark) uintptr
- func DateGetDaysInMonth(month DateMonth, year DateYear) uint8
- func DateGetMondayWeeksInYear(year DateYear) uint8
- func DateGetSundayWeeksInYear(year DateYear) uint8
- func DateIsLeapYear(year DateYear) bool
- func DateStrftime(s string, slen uint64, format string, date *Date) uint64
- func DateValidDay(day DateDay) bool
- func DateValidDmy(day DateDay, month DateMonth, year DateYear) bool
- func DateValidJulian(julianDate uint32) bool
- func DateValidMonth(month DateMonth) bool
- func DateValidWeekday(weekday DateWeekday) bool
- func DateValidYear(year DateYear) bool
- func DirectEqual(v1 uintptr, v2 uintptr) bool
- func DirectHash(v uintptr) uint32
- func FileOpenTmp(tmpl string) (int32, string, error)
- func FileTest(filename string, test GFileTest) bool
- func FilenameFromUri(uri string) (string, string, error)
- func FilenameFromUtf8(utf8string string, len int64) (string, uint64, uint64, error)
- func FilenameToUri(filename string, hostname string) (string, error)
- func FilenameToUtf8(opsysstring string, len int64) (string, uint64, uint64, error)
- func FindProgramInPath(program string) string
- func Free(mem uintptr)
- func GetCharset() (bool, string)
- func GetCodeset() string
- func GetCurrentDir() string
- func GetCurrentTime(result *TimeVal)
- func GetHomeDir() string
- func GetPrgname() string
- func GetRealName() string
- func GetTmpDir() string
- func GetUserName() string
- func Getenv(variable string) string
- func HashTableDestroy(hashTable *HashTable)
- func HashTableInsert(hashTable *HashTable, key uintptr, value uintptr) bool
- func HashTableLookup(hashTable *HashTable, key uintptr) uintptr
- func HashTableLookupExtended(hashTable *HashTable, lookupKey uintptr) (bool, uintptr, uintptr)
- func HashTableRemove(hashTable *HashTable, key uintptr) bool
- func HashTableReplace(hashTable *HashTable, key uintptr, value uintptr) bool
- func HashTableSize(hashTable *HashTable) uint32
- func HashTableSteal(hashTable *HashTable, key uintptr) bool
- func HookDestroy(hookList *HookList, hookId uint64) bool
- func HookDestroyLink(hookList *HookList, hook *Hook)
- func HookFree(hookList *HookList, hook *Hook)
- func HookInsertBefore(hookList *HookList, sibling *Hook, hook *Hook)
- func HookPrepend(hookList *HookList, hook *Hook)
- func HookUnref(hookList *HookList, hook *Hook)
- func IdleAdd(callback IdleAddCallback)
- func IdleAddOnce(callback IdleAddOnceCallback)
- func IdleRemoveByData(data uintptr) bool
- func IntEqual(v1 uintptr, v2 uintptr) bool
- func IntHash(v uintptr) uint32
- func ListFree(list *List)
- func ListFree1(list *List)
- func ListIndex(list *List, data uintptr) int32
- func ListLength(list *List) uint32
- func ListNthData(list *List, n uint32) uintptr
- func ListPosition(list *List, llink *List) int32
- func LocaleToUtf8(opsysstring []uint8) (string, uint64, uint64, error)
- func Log(logDomain string, logLevel LogLevelFlags, format string, args ...interface{})
- func LogDefaultHandler(logDomain string, logLevel LogLevelFlags, message string, unusedData uintptr)
- func LogRemoveHandler(logDomain string, handlerId uint32)
- func MainDepth() int32
- func Malloc(nBytes uint64) uintptr
- func Malloc0(nBytes uint64) uintptr
- func MarkupEscapeText(text string) string
- func MemIsSystemMalloc() bool
- func MemProfile()
- func MemSetVtable(vtable *MemVTable)
- func Memdup(mem uintptr, byteSize uint32) uintptr
- func Mkstemp(tmpl string) int32
- func NullifyPointer(nullifyLocation uintptr)
- func OnErrorQuery(prgName string)
- func OnErrorStackTrace(prgName string)
- func PathGetBasename(fileName string) string
- func PathGetDirname(fileName string) string
- func PathIsAbsolute(fileName string) bool
- func PathSkipRoot(fileName string) string
- func PatternMatch(pspec *PatternSpec, stringLength uint32, string_ string, stringReversed string) bool
- func PatternMatchSimple(pattern string, string_ string) bool
- func PatternMatchString(pspec *PatternSpec, string_ string) bool
- func Print(format string, args ...interface{})
- func Printerr(format string, args ...interface{})
- func QuarkToString(quark Quark) string
- func RandomDouble() float64
- func RandomDoubleRange(begin float64, end float64) float64
- func RandomInt() uint32
- func RandomIntRange(begin int32, end int32) int32
- func RandomSetSeed(seed uint32)
- func Realloc(mem uintptr, nBytes uint64) uintptr
- func ReturnIfFailWarning(logDomain string, prettyFunction string, expression string)
- func SListFree(list *SList)
- func SListFree1(list *SList)
- func SListIndex(list *SList, data uintptr) int32
- func SListLength(list *SList) uint32
- func SListNthData(list *SList, n uint32) uintptr
- func SListPosition(list *SList, llink *SList) int32
- func SetPrgname(prgname string)
- func ShellQuote(unquotedString string) string
- func ShellUnquote(quotedString string) (string, error)
- func SliceGetConfig(ckey SliceConfig) int64
- func SliceSetConfig(ckey SliceConfig, value int64)
- func Snprintf(string_ string, n uint64, format string, args ...interface{}) int32
- func SourceRemove(tag uint32) bool
- func SourceRemoveByFuncsUserData(funcs *SourceFuncs, userData uintptr) bool
- func SourceRemoveByUserData(userData uintptr) bool
- func SpacedPrimesClosest(num uint32) uint32
- func SpawnClosePid(pid Pid)
- func SpawnCommandLineAsync(commandLine string) (bool, error)
- func Stpcpy(dest string, src string) string
- func StrEqual(v1 uintptr, v2 uintptr) bool
- func StrHash(v uintptr) uint32
- func Strcanon(string_ string, validChars string, substitutor rune) string
- func Strcasecmp(s1 string, s2 string) int32
- func Strchomp(string_ string) string
- func Strchug(string_ string) string
- func Strcompress(source string) string
- func Strdelimit(string_ string, delimiters string, newDelimiter rune) string
- func Strdown(string_ string) string
- func Strdup(str string) string
- func StrdupPrintf(format string, args ...interface{}) string
- func Strerror(errnum int32) string
- func Strescape(source string, exceptions string) string
- func Strlcat(dest string, src string, destSize uint64) uint64
- func Strlcpy(dest string, src string, destSize uint64) uint64
- func Strncasecmp(s1 string, s2 string, n uint32) int32
- func Strndup(str string, n uint64) string
- func Strnfill(length uint64, fillChar rune) string
- func Strreverse(string_ string) string
- func Strrstr(haystack string, needle string) string
- func StrrstrLen(haystack string, haystackLen int64, needle string) string
- func Strsignal(signum int32) string
- func Strsplit(string_ string, delimiter string, maxTokens int32) []string
- func StrstrLen(haystack string, haystackLen int64, needle string) string
- func Strtod(nptr string) (float64, string)
- func Strup(string_ string) string
- func TestAssertExpectedMessagesInternal(domain string, file string, line int32, func_ string)
- func TestLogTypeName(logType TestLogType) string
- func TestTrapAssertions(domain string, file string, line int32, func_ string, assertionFlags uint64, ...)
- func ThreadExit(retval uintptr)
- func ThreadPoolGetMaxUnusedThreads() int32
- func ThreadPoolGetNumUnusedThreads() uint32
- func ThreadPoolSetMaxUnusedThreads(maxThreads int32)
- func ThreadPoolStopUnusedThreads()
- func ThreadYield()
- func TrashStackHeight(stackP *TrashStack) uint32
- func TrashStackPeek(stackP *TrashStack) uintptr
- func TrashStackPop(stackP *TrashStack) uintptr
- func TrashStackPush(stackP *TrashStack, dataP uintptr)
- func TryMalloc(nBytes uint64) uintptr
- func TryRealloc(mem uintptr, nBytes uint64) uintptr
- func Ucs4ToUtf8(str rune, len int64) (string, int64, int64, error)
- func UnicharDigitValue(c rune) int32
- func UnicharIsalnum(c rune) bool
- func UnicharIsalpha(c rune) bool
- func UnicharIscntrl(c rune) bool
- func UnicharIsdefined(c rune) bool
- func UnicharIsdigit(c rune) bool
- func UnicharIsgraph(c rune) bool
- func UnicharIslower(c rune) bool
- func UnicharIsprint(c rune) bool
- func UnicharIspunct(c rune) bool
- func UnicharIsspace(c rune) bool
- func UnicharIstitle(c rune) bool
- func UnicharIsupper(c rune) bool
- func UnicharIswide(c rune) bool
- func UnicharIsxdigit(c rune) bool
- func UnicharTolower(c rune) rune
- func UnicharTotitle(c rune) rune
- func UnicharToupper(c rune) rune
- func UnicharValidate(ch rune) bool
- func UnicharXdigitValue(c rune) int32
- func UnicodeCanonicalOrdering(string_ rune, len uint64)
- func Usleep(microseconds uint64)
- func Utf16ToUtf8(str uint16, len int64) (string, int64, int64, error)
- func Utf8Casefold(str string, len int64) string
- func Utf8Collate(str1 string, str2 string) int32
- func Utf8CollateKey(str string, len int64) string
- func Utf8FindNextChar(p string, end string) string
- func Utf8FindPrevChar(str string, p string) string
- func Utf8GetChar(p string) rune
- func Utf8GetCharValidated(p string, maxLen int64) rune
- func Utf8Normalize(str string, len int64, mode NormalizeMode) string
- func Utf8OffsetToPointer(str string, offset int64) string
- func Utf8PointerToOffset(str string, pos string) int64
- func Utf8PrevChar(p string) string
- func Utf8Strchr(p string, len int64, c rune) string
- func Utf8Strdown(str string, len int64) string
- func Utf8Strlen(p string, max int64) int64
- func Utf8Strncpy(dest string, src string, n uint64) string
- func Utf8Strrchr(p string, len int64, c rune) string
- func Utf8Strup(str string, len int64) string
- func Utf8Validate(str []uint8) (bool, string)
- func VariantTypeStringIsValid(typeString string) bool
- func WarnMessage(domain string, file string, line int32, func_ string, warnexpr string)
- type AsciiType
- type AsyncQueue
- func (recv *AsyncQueue) Equals(other *AsyncQueue) bool
- func (recv *AsyncQueue) Length() int32
- func (recv *AsyncQueue) LengthUnlocked() int32
- func (recv *AsyncQueue) Lock()
- func (recv *AsyncQueue) Pop() uintptr
- func (recv *AsyncQueue) PopUnlocked() uintptr
- func (recv *AsyncQueue) Push(data uintptr)
- func (recv *AsyncQueue) PushUnlocked(data uintptr)
- func (recv *AsyncQueue) Ref() *AsyncQueue
- func (recv *AsyncQueue) RefUnlocked()
- func (recv *AsyncQueue) TimedPop(endTime *TimeVal) uintptr
- func (recv *AsyncQueue) TimedPopUnlocked(endTime *TimeVal) uintptr
- func (recv *AsyncQueue) TimeoutPop(timeout uint64) uintptr
- func (recv *AsyncQueue) TimeoutPopUnlocked(timeout uint64) uintptr
- func (recv *AsyncQueue) ToC() unsafe.Pointer
- func (recv *AsyncQueue) TryPop() uintptr
- func (recv *AsyncQueue) TryPopUnlocked() uintptr
- func (recv *AsyncQueue) Unlock()
- func (recv *AsyncQueue) Unref()
- func (recv *AsyncQueue) UnrefAndUnlock()
- type BookmarkFile
- type BookmarkFileError
- type Cond
- type ConvertError
- type Data
- type Date
- func (recv *Date) AddDays(nDays uint32)
- func (recv *Date) AddMonths(nMonths uint32)
- func (recv *Date) AddYears(nYears uint32)
- func (recv *Date) Clamp(minDate *Date, maxDate *Date)
- func (recv *Date) Clear(nDates uint32)
- func (recv *Date) Compare(rhs *Date) int32
- func (recv *Date) DaysBetween(date2 *Date) int32
- func (recv *Date) Equals(other *Date) bool
- func (recv *Date) Free()
- func (recv *Date) GetDay() DateDay
- func (recv *Date) GetDayOfYear() uint32
- func (recv *Date) GetJulian() uint32
- func (recv *Date) GetMondayWeekOfYear() uint32
- func (recv *Date) GetMonth() DateMonth
- func (recv *Date) GetSundayWeekOfYear() uint32
- func (recv *Date) GetWeekday() DateWeekday
- func (recv *Date) GetYear() DateYear
- func (recv *Date) IsFirstOfMonth() bool
- func (recv *Date) IsLastOfMonth() bool
- func (recv *Date) Order(date2 *Date)
- func (recv *Date) SetDay(day DateDay)
- func (recv *Date) SetDmy(day DateDay, month DateMonth, y DateYear)
- func (recv *Date) SetJulian(julianDate uint32)
- func (recv *Date) SetMonth(month DateMonth)
- func (recv *Date) SetParse(str string)
- func (recv *Date) SetTime(time Time)
- func (recv *Date) SetYear(year DateYear)
- func (recv *Date) SubtractDays(nDays uint32)
- func (recv *Date) SubtractMonths(nMonths uint32)
- func (recv *Date) SubtractYears(nYears uint32)
- func (recv *Date) ToC() unsafe.Pointer
- func (recv *Date) Valid() bool
- type DateDMY
- type DateDay
- type DateMonth
- type DateWeekday
- type DateYear
- type DebugKey
- type Dir
- type Error
- func ErrorNew(domain Quark, code int32, format string, args ...interface{}) *Error
- func ErrorNewFromC(u unsafe.Pointer) *Error
- func ErrorNewLiteral(domain Quark, code int32, message string) *Error
- func PropagateError(src *Error) *Error
- func SetError(domain Quark, code int32, format string, args ...interface{}) *Error
- type ErrorType
- type FileError
- type FormatSizeFlags
- type GFileTest
- type HashTable
- type HashTableIter
- type Hook
- func HookAlloc(hookList *HookList) *Hook
- func HookFindData(hookList *HookList, needValids bool, data uintptr) *Hook
- func HookFindFunc(hookList *HookList, needValids bool, func_ uintptr) *Hook
- func HookFindFuncData(hookList *HookList, needValids bool, func_ uintptr, data uintptr) *Hook
- func HookFirstValid(hookList *HookList, mayBeInCall bool) *Hook
- func HookGet(hookList *HookList, hookId uint64) *Hook
- func HookNewFromC(u unsafe.Pointer) *Hook
- func HookNextValid(hookList *HookList, hook *Hook, mayBeInCall bool) *Hook
- func HookRef(hookList *HookList, hook *Hook) *Hook
- type HookFlagMask
- type HookList
- type IOChannel
- func (recv *IOChannel) Close()
- func (recv *IOChannel) Equals(other *IOChannel) bool
- func (recv *IOChannel) Flush() (IOStatus, error)
- func (recv *IOChannel) GetBufferCondition() IOCondition
- func (recv *IOChannel) GetBufferSize() uint64
- func (recv *IOChannel) GetBuffered() bool
- func (recv *IOChannel) GetCloseOnUnref() bool
- func (recv *IOChannel) GetEncoding() string
- func (recv *IOChannel) GetFlags() IOFlags
- func (recv *IOChannel) GetLineTerm(length int32) string
- func (recv *IOChannel) Init()
- func (recv *IOChannel) Read(buf string, count uint64, bytesRead uint64) IOError
- func (recv *IOChannel) ReadLine() (IOStatus, string, uint64, uint64, error)
- func (recv *IOChannel) ReadLineString(buffer *String, terminatorPos uint64) (IOStatus, error)
- func (recv *IOChannel) ReadUnichar() (IOStatus, rune, error)
- func (recv *IOChannel) Ref() *IOChannel
- func (recv *IOChannel) Seek(offset int64, type_ SeekType) IOError
- func (recv *IOChannel) SeekPosition(offset int64, type_ SeekType) (IOStatus, error)
- func (recv *IOChannel) SetBufferSize(size uint64)
- func (recv *IOChannel) SetBuffered(buffered bool)
- func (recv *IOChannel) SetCloseOnUnref(doClose bool)
- func (recv *IOChannel) SetEncoding(encoding string) (IOStatus, error)
- func (recv *IOChannel) SetFlags(flags IOFlags) (IOStatus, error)
- func (recv *IOChannel) SetLineTerm(lineTerm string, length int32)
- func (recv *IOChannel) Shutdown(flush bool) (IOStatus, error)
- func (recv *IOChannel) ToC() unsafe.Pointer
- func (recv *IOChannel) UnixGetFd() int32
- func (recv *IOChannel) Unref()
- func (recv *IOChannel) Write(buf string, count uint64, bytesWritten uint64) IOError
- func (recv *IOChannel) WriteChars(buf []uint8, count int64) (IOStatus, uint64, error)
- func (recv *IOChannel) WriteUnichar(thechar rune) (IOStatus, error)
- type IOChannelError
- type IOCondition
- type IOError
- type IOFlags
- type IOFuncs
- type IOStatus
- type IdleAddCallback
- type IdleAddOnceCallback
- type KeyFile
- type KeyFileError
- type KeyFileFlags
- type List
- func ListAlloc() *List
- func ListAppend(list *List, data uintptr) *List
- func ListConcat(list1 *List, list2 *List) *List
- func ListCopy(list *List) *List
- func ListDeleteLink(list *List, link *List) *List
- func ListFind(list *List, data uintptr) *List
- func ListFirst(list *List) *List
- func ListInsert(list *List, data uintptr, position int32) *List
- func ListInsertBefore(list *List, sibling *List, data uintptr) *List
- func ListLast(list *List) *List
- func ListNewFromC(u unsafe.Pointer) *List
- func ListNth(list *List, n uint32) *List
- func ListNthPrev(list *List, n uint32) *List
- func ListPrepend(list *List, data uintptr) *List
- func ListRemove(list *List, data uintptr) *List
- func ListRemoveAll(list *List, data uintptr) *List
- func ListRemoveLink(list *List, llink *List) *List
- func ListReverse(list *List) *List
- type LogLevelFlags
- type MainContext
- func (recv *MainContext) Acquire() bool
- func (recv *MainContext) AddPoll(fd *PollFD, priority int32)
- func (recv *MainContext) Dispatch()
- func (recv *MainContext) Equals(other *MainContext) bool
- func (recv *MainContext) FindSourceByFuncsUserData(funcs *SourceFuncs, userData uintptr) *Source
- func (recv *MainContext) FindSourceById(sourceId uint32) *Source
- func (recv *MainContext) FindSourceByUserData(userData uintptr) *Source
- func (recv *MainContext) Iteration(mayBlock bool) bool
- func (recv *MainContext) Pending() bool
- func (recv *MainContext) Prepare(priority int32) bool
- func (recv *MainContext) Ref() *MainContext
- func (recv *MainContext) Release()
- func (recv *MainContext) RemovePoll(fd *PollFD)
- func (recv *MainContext) ToC() unsafe.Pointer
- func (recv *MainContext) Unref()
- func (recv *MainContext) Wakeup()
- type MainLoop
- func (recv *MainLoop) Equals(other *MainLoop) bool
- func (recv *MainLoop) GetContext() *MainContext
- func (recv *MainLoop) IsRunning() bool
- func (recv *MainLoop) Quit()
- func (recv *MainLoop) Ref() *MainLoop
- func (recv *MainLoop) Run()
- func (recv *MainLoop) ToC() unsafe.Pointer
- func (recv *MainLoop) Unref()
- type MappedFile
- type MarkupCollectType
- type MarkupError
- type MarkupParseContext
- func (recv *MarkupParseContext) EndParse() (bool, error)
- func (recv *MarkupParseContext) Equals(other *MarkupParseContext) bool
- func (recv *MarkupParseContext) Free()
- func (recv *MarkupParseContext) GetPosition(lineNumber int32, charNumber int32)
- func (recv *MarkupParseContext) Parse(text string, textLen int64) (bool, error)
- func (recv *MarkupParseContext) ToC() unsafe.Pointer
- type MarkupParseFlags
- type MarkupParser
- type MatchInfo
- type MemVTable
- type Node
- func (recv *Node) ChildIndex(data uintptr) int32
- func (recv *Node) ChildPosition(child *Node) int32
- func (recv *Node) Copy() *Node
- func (recv *Node) Depth() uint32
- func (recv *Node) Destroy()
- func (recv *Node) Equals(other *Node) bool
- func (recv *Node) Find(order TraverseType, flags TraverseFlags, data uintptr) *Node
- func (recv *Node) FindChild(flags TraverseFlags, data uintptr) *Node
- func (recv *Node) FirstSibling() *Node
- func (recv *Node) GetRoot() *Node
- func (recv *Node) Insert(position int32, node *Node) *Node
- func (recv *Node) InsertAfter(sibling *Node, node *Node) *Node
- func (recv *Node) InsertBefore(sibling *Node, node *Node) *Node
- func (recv *Node) IsAncestor(descendant *Node) bool
- func (recv *Node) LastChild() *Node
- func (recv *Node) LastSibling() *Node
- func (recv *Node) MaxHeight() uint32
- func (recv *Node) NChildren() uint32
- func (recv *Node) NNodes(flags TraverseFlags) uint32
- func (recv *Node) NthChild(n uint32) *Node
- func (recv *Node) Prepend(node *Node) *Node
- func (recv *Node) ReverseChildren()
- func (recv *Node) ToC() unsafe.Pointer
- func (recv *Node) Unlink()
- type NormalizeMode
- type OptionArg
- type OptionContext
- type OptionEntry
- type OptionError
- type OptionFlags
- type OptionGroup
- type PatternSpec
- type Pid
- type PollFD
- type Private
- type Quark
- func BookmarkFileErrorQuark() Quark
- func ConvertErrorQuark() Quark
- func FileErrorQuark() Quark
- func IOChannelErrorQuark() Quark
- func KeyFileErrorQuark() Quark
- func MarkupErrorQuark() Quark
- func OptionErrorQuark() Quark
- func QuarkFromStaticString(string_ string) Quark
- func QuarkFromString(string_ string) Quark
- func QuarkTryString(string_ string) Quark
- func ShellErrorQuark() Quark
- func SpawnErrorQuark() Quark
- func SpawnExitErrorQuark() Quark
- func ThreadErrorQuark() Quark
- type Queue
- func (recv *Queue) Equals(other *Queue) bool
- func (recv *Queue) Free()
- func (recv *Queue) IsEmpty() bool
- func (recv *Queue) PeekHead() uintptr
- func (recv *Queue) PeekTail() uintptr
- func (recv *Queue) PopHead() uintptr
- func (recv *Queue) PopHeadLink() *List
- func (recv *Queue) PopTail() uintptr
- func (recv *Queue) PopTailLink() *List
- func (recv *Queue) PushHead(data uintptr)
- func (recv *Queue) PushHeadLink(link *List)
- func (recv *Queue) PushTail(data uintptr)
- func (recv *Queue) PushTailLink(link *List)
- func (recv *Queue) ToC() unsafe.Pointer
- type Rand
- func (recv *Rand) Double() float64
- func (recv *Rand) DoubleRange(begin float64, end float64) float64
- func (recv *Rand) Equals(other *Rand) bool
- func (recv *Rand) Free()
- func (recv *Rand) Int() uint32
- func (recv *Rand) IntRange(begin int32, end int32) int32
- func (recv *Rand) SetSeed(seed uint32)
- func (recv *Rand) ToC() unsafe.Pointer
- type SList
- func SListAlloc() *SList
- func SListAppend(list *SList, data uintptr) *SList
- func SListConcat(list1 *SList, list2 *SList) *SList
- func SListCopy(list *SList) *SList
- func SListDeleteLink(list *SList, link *SList) *SList
- func SListFind(list *SList, data uintptr) *SList
- func SListInsert(list *SList, data uintptr, position int32) *SList
- func SListInsertBefore(slist *SList, sibling *SList, data uintptr) *SList
- func SListLast(list *SList) *SList
- func SListNewFromC(u unsafe.Pointer) *SList
- func SListNth(list *SList, n uint32) *SList
- func SListPrepend(list *SList, data uintptr) *SList
- func SListRemove(list *SList, data uintptr) *SList
- func SListRemoveAll(list *SList, data uintptr) *SList
- func SListRemoveLink(list *SList, link *SList) *SList
- func SListReverse(list *SList) *SList
- type Scanner
- func (recv *Scanner) CurLine() uint32
- func (recv *Scanner) CurPosition() uint32
- func (recv *Scanner) CurToken() TokenType
- func (recv *Scanner) Destroy()
- func (recv *Scanner) Eof() bool
- func (recv *Scanner) Equals(other *Scanner) bool
- func (recv *Scanner) Error(format string, args ...interface{})
- func (recv *Scanner) GetNextToken() TokenType
- func (recv *Scanner) InputFile(inputFd int32)
- func (recv *Scanner) InputText(text string, textLen uint32)
- func (recv *Scanner) LookupSymbol(symbol string) uintptr
- func (recv *Scanner) PeekNextToken() TokenType
- func (recv *Scanner) ScopeAddSymbol(scopeId uint32, symbol string, value uintptr)
- func (recv *Scanner) ScopeLookupSymbol(scopeId uint32, symbol string) uintptr
- func (recv *Scanner) ScopeRemoveSymbol(scopeId uint32, symbol string)
- func (recv *Scanner) SetScope(scopeId uint32) uint32
- func (recv *Scanner) SyncFileOffset()
- func (recv *Scanner) ToC() unsafe.Pointer
- func (recv *Scanner) UnexpToken(expectedToken TokenType, identifierSpec string, symbolSpec string, ...)
- func (recv *Scanner) Warn(format string, args ...interface{})
- type ScannerConfig
- type SeekType
- type Sequence
- type SequenceIter
- type ShellError
- type SliceConfig
- type Source
- func (recv *Source) AddPoll(fd *PollFD)
- func (recv *Source) Attach(context *MainContext) uint32
- func (recv *Source) Destroy()
- func (recv *Source) Equals(other *Source) bool
- func (recv *Source) GetCanRecurse() bool
- func (recv *Source) GetContext() *MainContext
- func (recv *Source) GetCurrentTime(timeval *TimeVal)
- func (recv *Source) GetId() uint32
- func (recv *Source) GetPriority() int32
- func (recv *Source) GetReadyTime() int64
- func (recv *Source) Ref() *Source
- func (recv *Source) RemovePoll(fd *PollFD)
- func (recv *Source) SetCallbackIndirect(callbackData uintptr, callbackFuncs *SourceCallbackFuncs)
- func (recv *Source) SetCanRecurse(canRecurse bool)
- func (recv *Source) SetPriority(priority int32)
- func (recv *Source) ToC() unsafe.Pointer
- func (recv *Source) Unref()
- type SourceCallbackFuncs
- type SourceFuncs
- type SourcePrivate
- type SpawnError
- type SpawnFlags
- type StatBuf
- type String
- func (recv *String) Append(val string) *String
- func (recv *String) AppendC(c rune) *String
- func (recv *String) AppendLen(val string, len int64) *String
- func (recv *String) AppendPrintf(format string, args ...interface{})
- func (recv *String) AppendUnichar(wc rune) *String
- func (recv *String) AsciiDown() *String
- func (recv *String) AsciiUp() *String
- func (recv *String) Assign(rval string) *String
- func (recv *String) Down() *String
- func (recv *String) Equal(v2 *String) bool
- func (recv *String) Equals(other *String) bool
- func (recv *String) Erase(pos int64, len int64) *String
- func (recv *String) Free(freeSegment bool) string
- func (recv *String) Hash() uint32
- func (recv *String) Insert(pos int64, val string) *String
- func (recv *String) InsertC(pos int64, c rune) *String
- func (recv *String) InsertLen(pos int64, val string, len int64) *String
- func (recv *String) InsertUnichar(pos int64, wc rune) *String
- func (recv *String) Prepend(val string) *String
- func (recv *String) PrependC(c rune) *String
- func (recv *String) PrependLen(val string, len int64) *String
- func (recv *String) PrependUnichar(wc rune) *String
- func (recv *String) Printf(format string, args ...interface{})
- func (recv *String) SetSize(len uint64) *String
- func (recv *String) ToC() unsafe.Pointer
- func (recv *String) Truncate(len uint64) *String
- func (recv *String) Up() *String
- type StringChunk
- type Strv
- type TestCase
- type TestConfig
- type TestLogType
- type TestSubprocessFlags
- type TestSuite
- type TestTrapFlags
- type Thread
- type ThreadError
- type ThreadPool
- func (recv *ThreadPool) Equals(other *ThreadPool) bool
- func (recv *ThreadPool) Free(immediate bool, wait bool)
- func (recv *ThreadPool) GetMaxThreads() int32
- func (recv *ThreadPool) GetNumThreads() uint32
- func (recv *ThreadPool) Push(data uintptr) (bool, error)
- func (recv *ThreadPool) SetMaxThreads(maxThreads int32) (bool, error)
- func (recv *ThreadPool) ToC() unsafe.Pointer
- func (recv *ThreadPool) Unprocessed() uint32
- type Time
- type TimeSpan
- type TimeType
- type TimeVal
- type Timer
- type TokenType
- type TrashStack
- type TraverseFlags
- type TraverseType
- type Tree
- func (recv *Tree) Destroy()
- func (recv *Tree) Equals(other *Tree) bool
- func (recv *Tree) Height() int32
- func (recv *Tree) Insert(key uintptr, value uintptr)
- func (recv *Tree) Lookup(key uintptr) uintptr
- func (recv *Tree) LookupExtended(lookupKey uintptr, origKey uintptr, value uintptr) bool
- func (recv *Tree) Nnodes() int32
- func (recv *Tree) Remove(key uintptr) bool
- func (recv *Tree) Replace(key uintptr, value uintptr)
- func (recv *Tree) Steal(key uintptr) bool
- func (recv *Tree) ToC() unsafe.Pointer
- type Type
- type UnicodeBreakType
- type UnicodeScript
- type UnicodeType
- type VariantBuilder
- type VariantIter
- type VariantParseError
- type VariantType
- func VariantTypeChecked(arg0 string) *VariantType
- func VariantTypeNewArray(element *VariantType) *VariantType
- func VariantTypeNewDictEntry(key *VariantType, value *VariantType) *VariantType
- func VariantTypeNewFromC(u unsafe.Pointer) *VariantType
- func VariantTypeNewMaybe(element *VariantType) *VariantType
- func (recv *VariantType) Copy() *VariantType
- func (recv *VariantType) DupString() string
- func (recv *VariantType) Element() *VariantType
- func (recv *VariantType) Equal(type2 *VariantType) bool
- func (recv *VariantType) Equals(other *VariantType) bool
- func (recv *VariantType) First() *VariantType
- func (recv *VariantType) Free()
- func (recv *VariantType) GetStringLength() uint64
- func (recv *VariantType) Hash() uint32
- func (recv *VariantType) IsArray() bool
- func (recv *VariantType) IsBasic() bool
- func (recv *VariantType) IsContainer() bool
- func (recv *VariantType) IsDefinite() bool
- func (recv *VariantType) IsDictEntry() bool
- func (recv *VariantType) IsMaybe() bool
- func (recv *VariantType) IsSubtypeOf(supertype *VariantType) bool
- func (recv *VariantType) IsTuple() bool
- func (recv *VariantType) IsVariant() bool
- func (recv *VariantType) Key() *VariantType
- func (recv *VariantType) NItems() uint64
- func (recv *VariantType) Next() *VariantType
- func (recv *VariantType) PeekString() string
- func (recv *VariantType) ToC() unsafe.Pointer
- func (recv *VariantType) Value() *VariantType
Constants ¶
const ANALYZER_ANALYZING int32 = C.G_ANALYZER_ANALYZING
const ASCII_DTOSTR_BUF_SIZE int32 = C.G_ASCII_DTOSTR_BUF_SIZE
const BIG_ENDIAN int32 = C.G_BIG_ENDIAN
const CSET_A_2_Z string = C.G_CSET_A_2_Z
const CSET_DIGITS string = C.G_CSET_DIGITS
const CSET_a_2_z string = C.G_CSET_a_2_z
const DATALIST_FLAGS_MASK int32 = C.G_DATALIST_FLAGS_MASK
const DATE_BAD_DAY int32 = C.G_DATE_BAD_DAY
const DATE_BAD_JULIAN int32 = C.G_DATE_BAD_JULIAN
const DATE_BAD_YEAR int32 = C.G_DATE_BAD_YEAR
const DIR_SEPARATOR int32 = C.G_DIR_SEPARATOR
const DIR_SEPARATOR_S string = C.G_DIR_SEPARATOR_S
const E float64 = C.G_E
const GINT16_FORMAT string = C.G_GINT16_FORMAT
const GINT32_FORMAT string = C.G_GINT32_FORMAT
const GINT64_FORMAT string = C.G_GINT64_FORMAT
const GNUC_FUNCTION string = C.G_GNUC_FUNCTION
const GNUC_PRETTY_FUNCTION string = C.G_GNUC_PRETTY_FUNCTION
const GUINT16_FORMAT string = C.G_GUINT16_FORMAT
const GUINT32_FORMAT string = C.G_GUINT32_FORMAT
const GUINT64_FORMAT string = C.G_GUINT64_FORMAT
const HAVE_GINT64 int32 = C.G_HAVE_GINT64
const HAVE_GNUC_VARARGS int32 = C.G_HAVE_GNUC_VARARGS
const HAVE_GNUC_VISIBILITY int32 = C.G_HAVE_GNUC_VISIBILITY
const HAVE_GROWING_STACK int32 = C.G_HAVE_GROWING_STACK
const HAVE_ISO_VARARGS int32 = C.G_HAVE_ISO_VARARGS
const HOOK_FLAG_USER_SHIFT int32 = C.G_HOOK_FLAG_USER_SHIFT
const IEEE754_DOUBLE_BIAS int32 = C.G_IEEE754_DOUBLE_BIAS
const IEEE754_FLOAT_BIAS int32 = C.G_IEEE754_FLOAT_BIAS
const KEY_FILE_DESKTOP_KEY_FULLNAME string = C.G_KEY_FILE_DESKTOP_KEY_FULLNAME
const KEY_FILE_DESKTOP_KEY_GETTEXT_DOMAIN string = C.G_KEY_FILE_DESKTOP_KEY_GETTEXT_DOMAIN
const KEY_FILE_DESKTOP_KEY_KEYWORDS string = C.G_KEY_FILE_DESKTOP_KEY_KEYWORDS
const LITTLE_ENDIAN int32 = C.G_LITTLE_ENDIAN
const LN10 float64 = C.G_LN10
const LN2 float64 = C.G_LN2
const LOG_2_BASE_10 float64 = C.G_LOG_2_BASE_10
const LOG_FATAL_MASK int32 = C.G_LOG_FATAL_MASK
const LOG_LEVEL_USER_SHIFT int32 = C.G_LOG_LEVEL_USER_SHIFT
const MAJOR_VERSION int32 = C.GLIB_MAJOR_VERSION
const MAXINT64 int64 = C.G_MAXINT64
const MAXUINT64 uint64 = C.G_MAXUINT64
const MICRO_VERSION int32 = C.GLIB_MICRO_VERSION
const MININT64 int64 = C.G_MININT64
const MINOR_VERSION int32 = C.GLIB_MINOR_VERSION
const MODULE_SUFFIX string = C.G_MODULE_SUFFIX
const PDP_ENDIAN int32 = C.G_PDP_ENDIAN
const PI float64 = C.G_PI
const PI_2 float64 = C.G_PI_2
const PI_4 float64 = C.G_PI_4
const POLLFD_FORMAT string = C.G_POLLFD_FORMAT
const PRIORITY_DEFAULT int32 = C.G_PRIORITY_DEFAULT
const PRIORITY_DEFAULT_IDLE int32 = C.G_PRIORITY_DEFAULT_IDLE
const PRIORITY_HIGH int32 = C.G_PRIORITY_HIGH
const PRIORITY_HIGH_IDLE int32 = C.G_PRIORITY_HIGH_IDLE
const PRIORITY_LOW int32 = C.G_PRIORITY_LOW
const SEARCHPATH_SEPARATOR int32 = C.G_SEARCHPATH_SEPARATOR
const SEARCHPATH_SEPARATOR_S string = C.G_SEARCHPATH_SEPARATOR_S
const SIZEOF_LONG int32 = C.GLIB_SIZEOF_LONG
const SIZEOF_SIZE_T int32 = C.GLIB_SIZEOF_SIZE_T
const SIZEOF_SSIZE_T int32 = C.GLIB_SIZEOF_SSIZE_T
const SIZEOF_VOID_P int32 = C.GLIB_SIZEOF_VOID_P
const SQRT2 float64 = C.G_SQRT2
const STR_DELIMITERS string = C.G_STR_DELIMITERS
const SYSDEF_AF_INET int32 = C.GLIB_SYSDEF_AF_INET
const SYSDEF_AF_INET6 int32 = C.GLIB_SYSDEF_AF_INET6
const SYSDEF_AF_UNIX int32 = C.GLIB_SYSDEF_AF_UNIX
const SYSDEF_MSG_DONTROUTE int32 = C.GLIB_SYSDEF_MSG_DONTROUTE
const SYSDEF_MSG_OOB int32 = C.GLIB_SYSDEF_MSG_OOB
const SYSDEF_MSG_PEEK int32 = C.GLIB_SYSDEF_MSG_PEEK
const URI_RESERVED_CHARS_GENERIC_DELIMITERS string = C.G_URI_RESERVED_CHARS_GENERIC_DELIMITERS
const URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS string = C.G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS
const USEC_PER_SEC int32 = C.G_USEC_PER_SEC
const VA_COPY_AS_ARRAY int32 = C.G_VA_COPY_AS_ARRAY
Variables ¶
This section is empty.
Functions ¶
func AsciiDigitValue ¶
AsciiDigitValue is a wrapper around the C function g_ascii_digit_value.
func AsciiDtostr ¶
AsciiDtostr is a wrapper around the C function g_ascii_dtostr.
func AsciiFormatd ¶
AsciiFormatd is a wrapper around the C function g_ascii_formatd.
func AsciiStrcasecmp ¶
AsciiStrcasecmp is a wrapper around the C function g_ascii_strcasecmp.
func AsciiStrdown ¶
AsciiStrdown is a wrapper around the C function g_ascii_strdown.
func AsciiStrncasecmp ¶
AsciiStrncasecmp is a wrapper around the C function g_ascii_strncasecmp.
func AsciiStrtod ¶
AsciiStrtod is a wrapper around the C function g_ascii_strtod.
func AsciiStrup ¶
AsciiStrup is a wrapper around the C function g_ascii_strup.
func AsciiTolower ¶
AsciiTolower is a wrapper around the C function g_ascii_tolower.
func AsciiToupper ¶
AsciiToupper is a wrapper around the C function g_ascii_toupper.
func AsciiXdigitValue ¶
AsciiXdigitValue is a wrapper around the C function g_ascii_xdigit_value.
func AssertWarning ¶
func AssertWarning(logDomain string, file string, line int32, prettyFunction string, expression string)
AssertWarning is a wrapper around the C function g_assert_warning.
func AssertionMessage ¶
AssertionMessage is a wrapper around the C function g_assertion_message.
func AssertionMessageCmpstr ¶
func AssertionMessageCmpstr(domain string, file string, line int32, func_ string, expr string, arg1 string, cmp string, arg2 string)
AssertionMessageCmpstr is a wrapper around the C function g_assertion_message_cmpstr.
func AssertionMessageError ¶
func AssertionMessageError(domain string, file string, line int32, func_ string, expr string, error *Error, errorDomain Quark, errorCode int32)
AssertionMessageError is a wrapper around the C function g_assertion_message_error.
func AssertionMessageExpr ¶
AssertionMessageExpr is a wrapper around the C function g_assertion_message_expr.
func BitStorage ¶
BitStorage is a wrapper around the C function g_bit_storage.
func ClearError ¶
func ClearError() error
ClearError is a wrapper around the C function g_clear_error.
func DatalistClear ¶
func DatalistClear(datalist *Data)
DatalistClear is a wrapper around the C function g_datalist_clear.
func DatalistGetData ¶
DatalistGetData is a wrapper around the C function g_datalist_get_data.
func DatalistIdGetData ¶
DatalistIdGetData is a wrapper around the C function g_datalist_id_get_data.
func DatalistIdRemoveNoNotify ¶
DatalistIdRemoveNoNotify is a wrapper around the C function g_datalist_id_remove_no_notify.
func DatalistInit ¶
func DatalistInit(datalist *Data)
DatalistInit is a wrapper around the C function g_datalist_init.
func DatasetDestroy ¶
func DatasetDestroy(datasetLocation uintptr)
DatasetDestroy is a wrapper around the C function g_dataset_destroy.
func DatasetIdGetData ¶
DatasetIdGetData is a wrapper around the C function g_dataset_id_get_data.
func DatasetIdRemoveNoNotify ¶
DatasetIdRemoveNoNotify is a wrapper around the C function g_dataset_id_remove_no_notify.
func DateGetDaysInMonth ¶
DateGetDaysInMonth is a wrapper around the C function g_date_get_days_in_month.
func DateGetMondayWeeksInYear ¶
DateGetMondayWeeksInYear is a wrapper around the C function g_date_get_monday_weeks_in_year.
func DateGetSundayWeeksInYear ¶
DateGetSundayWeeksInYear is a wrapper around the C function g_date_get_sunday_weeks_in_year.
func DateIsLeapYear ¶
DateIsLeapYear is a wrapper around the C function g_date_is_leap_year.
func DateStrftime ¶
DateStrftime is a wrapper around the C function g_date_strftime.
func DateValidDay ¶
DateValidDay is a wrapper around the C function g_date_valid_day.
func DateValidDmy ¶
DateValidDmy is a wrapper around the C function g_date_valid_dmy.
func DateValidJulian ¶
DateValidJulian is a wrapper around the C function g_date_valid_julian.
func DateValidMonth ¶
DateValidMonth is a wrapper around the C function g_date_valid_month.
func DateValidWeekday ¶
func DateValidWeekday(weekday DateWeekday) bool
DateValidWeekday is a wrapper around the C function g_date_valid_weekday.
func DateValidYear ¶
DateValidYear is a wrapper around the C function g_date_valid_year.
func DirectEqual ¶
DirectEqual is a wrapper around the C function g_direct_equal.
func DirectHash ¶
DirectHash is a wrapper around the C function g_direct_hash.
func FileOpenTmp ¶
FileOpenTmp is a wrapper around the C function g_file_open_tmp.
func FilenameFromUri ¶
FilenameFromUri is a wrapper around the C function g_filename_from_uri.
func FilenameFromUtf8 ¶
FilenameFromUtf8 is a wrapper around the C function g_filename_from_utf8.
func FilenameToUri ¶
FilenameToUri is a wrapper around the C function g_filename_to_uri.
func FilenameToUtf8 ¶
FilenameToUtf8 is a wrapper around the C function g_filename_to_utf8.
func FindProgramInPath ¶
FindProgramInPath is a wrapper around the C function g_find_program_in_path.
func GetCharset ¶
GetCharset is a wrapper around the C function g_get_charset.
func GetCodeset ¶
func GetCodeset() string
GetCodeset is a wrapper around the C function g_get_codeset.
func GetCurrentDir ¶
func GetCurrentDir() string
GetCurrentDir is a wrapper around the C function g_get_current_dir.
func GetCurrentTime ¶
func GetCurrentTime(result *TimeVal)
GetCurrentTime is a wrapper around the C function g_get_current_time.
func GetHomeDir ¶
func GetHomeDir() string
GetHomeDir is a wrapper around the C function g_get_home_dir.
func GetPrgname ¶
func GetPrgname() string
GetPrgname is a wrapper around the C function g_get_prgname.
func GetRealName ¶
func GetRealName() string
GetRealName is a wrapper around the C function g_get_real_name.
func GetTmpDir ¶
func GetTmpDir() string
GetTmpDir is a wrapper around the C function g_get_tmp_dir.
func GetUserName ¶
func GetUserName() string
GetUserName is a wrapper around the C function g_get_user_name.
func HashTableDestroy ¶
func HashTableDestroy(hashTable *HashTable)
HashTableDestroy is a wrapper around the C function g_hash_table_destroy.
func HashTableInsert ¶
g_hash_table_foreach : unsupported parameter func : no type generator for HFunc (GHFunc) for param func g_hash_table_foreach_remove : unsupported parameter func : no type generator for HRFunc (GHRFunc) for param func g_hash_table_foreach_steal : unsupported parameter func : no type generator for HRFunc (GHRFunc) for param func HashTableInsert is a wrapper around the C function g_hash_table_insert.
func HashTableLookup ¶
HashTableLookup is a wrapper around the C function g_hash_table_lookup.
func HashTableLookupExtended ¶
HashTableLookupExtended is a wrapper around the C function g_hash_table_lookup_extended.
func HashTableRemove ¶
g_hash_table_new : unsupported parameter hash_func : no type generator for HashFunc (GHashFunc) for param hash_func g_hash_table_new_full : unsupported parameter hash_func : no type generator for HashFunc (GHashFunc) for param hash_func HashTableRemove is a wrapper around the C function g_hash_table_remove.
func HashTableReplace ¶
HashTableReplace is a wrapper around the C function g_hash_table_replace.
func HashTableSize ¶
HashTableSize is a wrapper around the C function g_hash_table_size.
func HashTableSteal ¶
HashTableSteal is a wrapper around the C function g_hash_table_steal.
func HookDestroy ¶
HookDestroy is a wrapper around the C function g_hook_destroy.
func HookDestroyLink ¶
HookDestroyLink is a wrapper around the C function g_hook_destroy_link.
func HookInsertBefore ¶
HookInsertBefore is a wrapper around the C function g_hook_insert_before.
func HookPrepend ¶
HookPrepend is a wrapper around the C function g_hook_prepend.
func IdleAdd ¶
func IdleAdd(callback IdleAddCallback)
IdleAdd adds a function to be called whenever there are no higher priority events pending to the default main loop. If the function returns false it is automatically removed from the list of event sources and will not be called again.
func IdleAddOnce ¶ added in v0.0.6
func IdleAddOnce(callback IdleAddOnceCallback)
IdleAddOnce adds a function to be called whenever there are no higher priority events pending to the default main loop.
It is a convenience function that works the same way as IdleAdd, other than the callback has no return value, and it will be removed from the list event sources after one invocation. That is, the callback will only be called once.
func IdleRemoveByData ¶
IdleRemoveByData is a wrapper around the C function g_idle_remove_by_data.
func ListFree ¶ added in v0.0.3
func ListFree(list *List)
g_list_foreach : unsupported parameter func : no type generator for Func (GFunc) for param func ListFree is a wrapper around the C function g_list_free.
func ListFree1 ¶ added in v0.0.3
func ListFree1(list *List)
ListFree1 is a wrapper around the C function g_list_free_1.
func ListLength ¶ added in v0.0.3
ListLength is a wrapper around the C function g_list_length.
func ListNthData ¶ added in v0.0.3
ListNthData is a wrapper around the C function g_list_nth_data.
func ListPosition ¶ added in v0.0.3
ListPosition is a wrapper around the C function g_list_position.
func LocaleToUtf8 ¶
LocaleToUtf8 is a wrapper around the C function g_locale_to_utf8.
func Log ¶ added in v0.0.5
func Log(logDomain string, logLevel LogLevelFlags, format string, args ...interface{})
Log is a wrapper around the C function g_log.
func LogDefaultHandler ¶
func LogDefaultHandler(logDomain string, logLevel LogLevelFlags, message string, unusedData uintptr)
LogDefaultHandler is a wrapper around the C function g_log_default_handler.
func LogRemoveHandler ¶
LogRemoveHandler is a wrapper around the C function g_log_remove_handler.
func MarkupEscapeText ¶
MarkupEscapeText is a wrapper around the C function g_markup_escape_text.
func MemIsSystemMalloc ¶
func MemIsSystemMalloc() bool
MemIsSystemMalloc is a wrapper around the C function g_mem_is_system_malloc.
func MemSetVtable ¶
func MemSetVtable(vtable *MemVTable)
MemSetVtable is a wrapper around the C function g_mem_set_vtable.
func NullifyPointer ¶
func NullifyPointer(nullifyLocation uintptr)
NullifyPointer is a wrapper around the C function g_nullify_pointer.
func OnErrorQuery ¶
func OnErrorQuery(prgName string)
OnErrorQuery is a wrapper around the C function g_on_error_query.
func OnErrorStackTrace ¶
func OnErrorStackTrace(prgName string)
OnErrorStackTrace is a wrapper around the C function g_on_error_stack_trace.
func PathGetBasename ¶
PathGetBasename is a wrapper around the C function g_path_get_basename.
func PathGetDirname ¶
PathGetDirname is a wrapper around the C function g_path_get_dirname.
func PathIsAbsolute ¶
PathIsAbsolute is a wrapper around the C function g_path_is_absolute.
func PathSkipRoot ¶
PathSkipRoot is a wrapper around the C function g_path_skip_root.
func PatternMatch ¶
func PatternMatch(pspec *PatternSpec, stringLength uint32, string_ string, stringReversed string) bool
PatternMatch is a wrapper around the C function g_pattern_match.
func PatternMatchSimple ¶
PatternMatchSimple is a wrapper around the C function g_pattern_match_simple.
func PatternMatchString ¶
func PatternMatchString(pspec *PatternSpec, string_ string) bool
PatternMatchString is a wrapper around the C function g_pattern_match_string.
func Print ¶ added in v0.0.5
func Print(format string, args ...interface{})
Print is a wrapper around the C function g_print.
func Printerr ¶ added in v0.0.5
func Printerr(format string, args ...interface{})
Printerr is a wrapper around the C function g_printerr.
func QuarkToString ¶
QuarkToString is a wrapper around the C function g_quark_to_string.
func RandomDouble ¶
func RandomDouble() float64
RandomDouble is a wrapper around the C function g_random_double.
func RandomDoubleRange ¶
RandomDoubleRange is a wrapper around the C function g_random_double_range.
func RandomIntRange ¶
RandomIntRange is a wrapper around the C function g_random_int_range.
func RandomSetSeed ¶
func RandomSetSeed(seed uint32)
RandomSetSeed is a wrapper around the C function g_random_set_seed.
func ReturnIfFailWarning ¶
ReturnIfFailWarning is a wrapper around the C function g_return_if_fail_warning.
func SListFree ¶ added in v0.0.3
func SListFree(list *SList)
g_slist_find_custom : unsupported parameter func : no type generator for CompareFunc (GCompareFunc) for param func g_slist_foreach : unsupported parameter func : no type generator for Func (GFunc) for param func SListFree is a wrapper around the C function g_slist_free.
func SListFree1 ¶ added in v0.0.3
func SListFree1(list *SList)
SListFree1 is a wrapper around the C function g_slist_free_1.
func SListIndex ¶ added in v0.0.3
SListIndex is a wrapper around the C function g_slist_index.
func SListLength ¶ added in v0.0.3
SListLength is a wrapper around the C function g_slist_length.
func SListNthData ¶ added in v0.0.3
SListNthData is a wrapper around the C function g_slist_nth_data.
func SListPosition ¶ added in v0.0.3
SListPosition is a wrapper around the C function g_slist_position.
func SetPrgname ¶
func SetPrgname(prgname string)
SetPrgname is a wrapper around the C function g_set_prgname.
func ShellQuote ¶
ShellQuote is a wrapper around the C function g_shell_quote.
func ShellUnquote ¶
ShellUnquote is a wrapper around the C function g_shell_unquote.
func SliceGetConfig ¶
func SliceGetConfig(ckey SliceConfig) int64
SliceGetConfig is a wrapper around the C function g_slice_get_config.
func SliceSetConfig ¶
func SliceSetConfig(ckey SliceConfig, value int64)
SliceSetConfig is a wrapper around the C function g_slice_set_config.
func SourceRemove ¶
SourceRemove is a wrapper around the C function g_source_remove.
func SourceRemoveByFuncsUserData ¶
func SourceRemoveByFuncsUserData(funcs *SourceFuncs, userData uintptr) bool
SourceRemoveByFuncsUserData is a wrapper around the C function g_source_remove_by_funcs_user_data.
func SourceRemoveByUserData ¶
SourceRemoveByUserData is a wrapper around the C function g_source_remove_by_user_data.
func SpacedPrimesClosest ¶
SpacedPrimesClosest is a wrapper around the C function g_spaced_primes_closest.
func SpawnClosePid ¶
func SpawnClosePid(pid Pid)
SpawnClosePid is a wrapper around the C function g_spawn_close_pid.
func SpawnCommandLineAsync ¶
SpawnCommandLineAsync is a wrapper around the C function g_spawn_command_line_async.
func Strcasecmp ¶
Strcasecmp is a wrapper around the C function g_strcasecmp.
func Strcompress ¶
Strcompress is a wrapper around the C function g_strcompress.
func Strdelimit ¶
Strdelimit is a wrapper around the C function g_strdelimit.
func StrdupPrintf ¶ added in v0.0.5
StrdupPrintf is a wrapper around the C function g_strdup_printf.
func Strncasecmp ¶
Strncasecmp is a wrapper around the C function g_strncasecmp.
func Strreverse ¶
Strreverse is a wrapper around the C function g_strreverse.
func StrrstrLen ¶
StrrstrLen is a wrapper around the C function g_strrstr_len.
func TestAssertExpectedMessagesInternal ¶
TestAssertExpectedMessagesInternal is a wrapper around the C function g_test_assert_expected_messages_internal.
func TestLogTypeName ¶
func TestLogTypeName(logType TestLogType) string
TestLogTypeName is a wrapper around the C function g_test_log_type_name.
func TestTrapAssertions ¶
func TestTrapAssertions(domain string, file string, line int32, func_ string, assertionFlags uint64, pattern string)
TestTrapAssertions is a wrapper around the C function g_test_trap_assertions.
func ThreadExit ¶
func ThreadExit(retval uintptr)
ThreadExit is a wrapper around the C function g_thread_exit.
func ThreadPoolGetMaxUnusedThreads ¶
func ThreadPoolGetMaxUnusedThreads() int32
ThreadPoolGetMaxUnusedThreads is a wrapper around the C function g_thread_pool_get_max_unused_threads.
func ThreadPoolGetNumUnusedThreads ¶
func ThreadPoolGetNumUnusedThreads() uint32
ThreadPoolGetNumUnusedThreads is a wrapper around the C function g_thread_pool_get_num_unused_threads.
func ThreadPoolSetMaxUnusedThreads ¶
func ThreadPoolSetMaxUnusedThreads(maxThreads int32)
g_thread_pool_new : unsupported parameter func : no type generator for Func (GFunc) for param func ThreadPoolSetMaxUnusedThreads is a wrapper around the C function g_thread_pool_set_max_unused_threads.
func ThreadPoolStopUnusedThreads ¶
func ThreadPoolStopUnusedThreads()
ThreadPoolStopUnusedThreads is a wrapper around the C function g_thread_pool_stop_unused_threads.
func ThreadYield ¶
func ThreadYield()
ThreadYield is a wrapper around the C function g_thread_yield.
func TrashStackHeight ¶
func TrashStackHeight(stackP *TrashStack) uint32
TrashStackHeight is a wrapper around the C function g_trash_stack_height.
func TrashStackPeek ¶
func TrashStackPeek(stackP *TrashStack) uintptr
TrashStackPeek is a wrapper around the C function g_trash_stack_peek.
func TrashStackPop ¶
func TrashStackPop(stackP *TrashStack) uintptr
TrashStackPop is a wrapper around the C function g_trash_stack_pop.
func TrashStackPush ¶
func TrashStackPush(stackP *TrashStack, dataP uintptr)
TrashStackPush is a wrapper around the C function g_trash_stack_push.
func TryRealloc ¶
TryRealloc is a wrapper around the C function g_try_realloc.
func Ucs4ToUtf8 ¶
Ucs4ToUtf8 is a wrapper around the C function g_ucs4_to_utf8.
func UnicharDigitValue ¶
UnicharDigitValue is a wrapper around the C function g_unichar_digit_value.
func UnicharIsalnum ¶
UnicharIsalnum is a wrapper around the C function g_unichar_isalnum.
func UnicharIsalpha ¶
UnicharIsalpha is a wrapper around the C function g_unichar_isalpha.
func UnicharIscntrl ¶
UnicharIscntrl is a wrapper around the C function g_unichar_iscntrl.
func UnicharIsdefined ¶
UnicharIsdefined is a wrapper around the C function g_unichar_isdefined.
func UnicharIsdigit ¶
UnicharIsdigit is a wrapper around the C function g_unichar_isdigit.
func UnicharIsgraph ¶
UnicharIsgraph is a wrapper around the C function g_unichar_isgraph.
func UnicharIslower ¶
UnicharIslower is a wrapper around the C function g_unichar_islower.
func UnicharIsprint ¶
UnicharIsprint is a wrapper around the C function g_unichar_isprint.
func UnicharIspunct ¶
UnicharIspunct is a wrapper around the C function g_unichar_ispunct.
func UnicharIsspace ¶
UnicharIsspace is a wrapper around the C function g_unichar_isspace.
func UnicharIstitle ¶
UnicharIstitle is a wrapper around the C function g_unichar_istitle.
func UnicharIsupper ¶
UnicharIsupper is a wrapper around the C function g_unichar_isupper.
func UnicharIswide ¶
UnicharIswide is a wrapper around the C function g_unichar_iswide.
func UnicharIsxdigit ¶
UnicharIsxdigit is a wrapper around the C function g_unichar_isxdigit.
func UnicharTolower ¶
UnicharTolower is a wrapper around the C function g_unichar_tolower.
func UnicharTotitle ¶
UnicharTotitle is a wrapper around the C function g_unichar_totitle.
func UnicharToupper ¶
UnicharToupper is a wrapper around the C function g_unichar_toupper.
func UnicharValidate ¶
UnicharValidate is a wrapper around the C function g_unichar_validate.
func UnicharXdigitValue ¶
UnicharXdigitValue is a wrapper around the C function g_unichar_xdigit_value.
func UnicodeCanonicalOrdering ¶
UnicodeCanonicalOrdering is a wrapper around the C function g_unicode_canonical_ordering.
func Utf16ToUtf8 ¶ added in v0.0.7
Utf16ToUtf8 is a wrapper around the C function g_utf16_to_utf8.
func Utf8Casefold ¶
Utf8Casefold is a wrapper around the C function g_utf8_casefold.
func Utf8Collate ¶
Utf8Collate is a wrapper around the C function g_utf8_collate.
func Utf8CollateKey ¶
Utf8CollateKey is a wrapper around the C function g_utf8_collate_key.
func Utf8FindNextChar ¶
Utf8FindNextChar is a wrapper around the C function g_utf8_find_next_char.
func Utf8FindPrevChar ¶
Utf8FindPrevChar is a wrapper around the C function g_utf8_find_prev_char.
func Utf8GetChar ¶
Utf8GetChar is a wrapper around the C function g_utf8_get_char.
func Utf8GetCharValidated ¶
Utf8GetCharValidated is a wrapper around the C function g_utf8_get_char_validated.
func Utf8Normalize ¶
func Utf8Normalize(str string, len int64, mode NormalizeMode) string
Utf8Normalize is a wrapper around the C function g_utf8_normalize.
func Utf8OffsetToPointer ¶
Utf8OffsetToPointer is a wrapper around the C function g_utf8_offset_to_pointer.
func Utf8PointerToOffset ¶
Utf8PointerToOffset is a wrapper around the C function g_utf8_pointer_to_offset.
func Utf8PrevChar ¶
Utf8PrevChar is a wrapper around the C function g_utf8_prev_char.
func Utf8Strchr ¶
Utf8Strchr is a wrapper around the C function g_utf8_strchr.
func Utf8Strdown ¶
Utf8Strdown is a wrapper around the C function g_utf8_strdown.
func Utf8Strlen ¶
Utf8Strlen is a wrapper around the C function g_utf8_strlen.
func Utf8Strncpy ¶
Utf8Strncpy is a wrapper around the C function g_utf8_strncpy.
func Utf8Strrchr ¶
Utf8Strrchr is a wrapper around the C function g_utf8_strrchr.
func Utf8Validate ¶
Utf8Validate is a wrapper around the C function g_utf8_validate.
func VariantTypeStringIsValid ¶
VariantTypeStringIsValid is a wrapper around the C function g_variant_type_string_is_valid.
Types ¶
type AsciiType ¶
type AsciiType C.GAsciiType
const ( ASCII_ALNUM AsciiType = 1 ASCII_ALPHA AsciiType = 2 ASCII_CNTRL AsciiType = 4 ASCII_DIGIT AsciiType = 8 ASCII_GRAPH AsciiType = 16 ASCII_LOWER AsciiType = 32 ASCII_PRINT AsciiType = 64 ASCII_PUNCT AsciiType = 128 ASCII_SPACE AsciiType = 256 ASCII_UPPER AsciiType = 512 ASCII_XDIGIT AsciiType = 1024 )
type AsyncQueue ¶
type AsyncQueue struct {
// contains filtered or unexported fields
}
AsyncQueue is a wrapper around the C record GAsyncQueue.
func AsyncQueueNew ¶ added in v0.0.3
func AsyncQueueNew() *AsyncQueue
AsyncQueueNew is a wrapper around the C function g_async_queue_new.
func AsyncQueueNewFromC ¶
func AsyncQueueNewFromC(u unsafe.Pointer) *AsyncQueue
func (*AsyncQueue) Equals ¶ added in v0.0.2
func (recv *AsyncQueue) Equals(other *AsyncQueue) bool
Equals compares this AsyncQueue with another AsyncQueue, and returns true if they represent the same GObject.
func (*AsyncQueue) Length ¶
func (recv *AsyncQueue) Length() int32
Length is a wrapper around the C function g_async_queue_length.
func (*AsyncQueue) LengthUnlocked ¶
func (recv *AsyncQueue) LengthUnlocked() int32
LengthUnlocked is a wrapper around the C function g_async_queue_length_unlocked.
func (*AsyncQueue) Lock ¶
func (recv *AsyncQueue) Lock()
Lock is a wrapper around the C function g_async_queue_lock.
func (*AsyncQueue) Pop ¶
func (recv *AsyncQueue) Pop() uintptr
Pop is a wrapper around the C function g_async_queue_pop.
func (*AsyncQueue) PopUnlocked ¶
func (recv *AsyncQueue) PopUnlocked() uintptr
PopUnlocked is a wrapper around the C function g_async_queue_pop_unlocked.
func (*AsyncQueue) Push ¶
func (recv *AsyncQueue) Push(data uintptr)
Push is a wrapper around the C function g_async_queue_push.
func (*AsyncQueue) PushUnlocked ¶
func (recv *AsyncQueue) PushUnlocked(data uintptr)
PushUnlocked is a wrapper around the C function g_async_queue_push_unlocked.
func (*AsyncQueue) Ref ¶
func (recv *AsyncQueue) Ref() *AsyncQueue
Ref is a wrapper around the C function g_async_queue_ref.
func (*AsyncQueue) RefUnlocked ¶
func (recv *AsyncQueue) RefUnlocked()
RefUnlocked is a wrapper around the C function g_async_queue_ref_unlocked.
func (*AsyncQueue) TimedPop ¶
func (recv *AsyncQueue) TimedPop(endTime *TimeVal) uintptr
TimedPop is a wrapper around the C function g_async_queue_timed_pop.
func (*AsyncQueue) TimedPopUnlocked ¶
func (recv *AsyncQueue) TimedPopUnlocked(endTime *TimeVal) uintptr
TimedPopUnlocked is a wrapper around the C function g_async_queue_timed_pop_unlocked.
func (*AsyncQueue) TimeoutPop ¶
func (recv *AsyncQueue) TimeoutPop(timeout uint64) uintptr
TimeoutPop is a wrapper around the C function g_async_queue_timeout_pop.
func (*AsyncQueue) TimeoutPopUnlocked ¶
func (recv *AsyncQueue) TimeoutPopUnlocked(timeout uint64) uintptr
TimeoutPopUnlocked is a wrapper around the C function g_async_queue_timeout_pop_unlocked.
func (*AsyncQueue) ToC ¶
func (recv *AsyncQueue) ToC() unsafe.Pointer
func (*AsyncQueue) TryPop ¶
func (recv *AsyncQueue) TryPop() uintptr
TryPop is a wrapper around the C function g_async_queue_try_pop.
func (*AsyncQueue) TryPopUnlocked ¶
func (recv *AsyncQueue) TryPopUnlocked() uintptr
TryPopUnlocked is a wrapper around the C function g_async_queue_try_pop_unlocked.
func (*AsyncQueue) Unlock ¶
func (recv *AsyncQueue) Unlock()
Unlock is a wrapper around the C function g_async_queue_unlock.
func (*AsyncQueue) Unref ¶
func (recv *AsyncQueue) Unref()
Unref is a wrapper around the C function g_async_queue_unref.
func (*AsyncQueue) UnrefAndUnlock ¶
func (recv *AsyncQueue) UnrefAndUnlock()
UnrefAndUnlock is a wrapper around the C function g_async_queue_unref_and_unlock.
type BookmarkFile ¶
type BookmarkFile struct {
// contains filtered or unexported fields
}
BookmarkFile is a wrapper around the C record GBookmarkFile.
func BookmarkFileNewFromC ¶
func BookmarkFileNewFromC(u unsafe.Pointer) *BookmarkFile
func (*BookmarkFile) Equals ¶ added in v0.0.2
func (recv *BookmarkFile) Equals(other *BookmarkFile) bool
Equals compares this BookmarkFile with another BookmarkFile, and returns true if they represent the same GObject.
func (*BookmarkFile) ToC ¶
func (recv *BookmarkFile) ToC() unsafe.Pointer
type BookmarkFileError ¶
type BookmarkFileError C.GBookmarkFileError
const ( BOOKMARK_FILE_ERROR_INVALID_URI BookmarkFileError = 0 BOOKMARK_FILE_ERROR_INVALID_VALUE BookmarkFileError = 1 BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED BookmarkFileError = 2 BOOKMARK_FILE_ERROR_URI_NOT_FOUND BookmarkFileError = 3 BOOKMARK_FILE_ERROR_READ BookmarkFileError = 4 BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING BookmarkFileError = 5 BOOKMARK_FILE_ERROR_WRITE BookmarkFileError = 6 BOOKMARK_FILE_ERROR_FILE_NOT_FOUND BookmarkFileError = 7 )
type Cond ¶
type Cond struct {
// contains filtered or unexported fields
}
Cond is a wrapper around the C record GCond.
func CondNewFromC ¶
func (*Cond) Broadcast ¶
func (recv *Cond) Broadcast()
Broadcast is a wrapper around the C function g_cond_broadcast.
func (*Cond) Equals ¶ added in v0.0.2
Equals compares this Cond with another Cond, and returns true if they represent the same GObject.
type ConvertError ¶
type ConvertError C.GConvertError
const ( CONVERT_ERROR_NO_CONVERSION ConvertError = 0 CONVERT_ERROR_ILLEGAL_SEQUENCE ConvertError = 1 CONVERT_ERROR_FAILED ConvertError = 2 CONVERT_ERROR_PARTIAL_INPUT ConvertError = 3 CONVERT_ERROR_BAD_URI ConvertError = 4 CONVERT_ERROR_NOT_ABSOLUTE_PATH ConvertError = 5 CONVERT_ERROR_NO_MEMORY ConvertError = 6 CONVERT_ERROR_EMBEDDED_NUL ConvertError = 7 )
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
Data is a wrapper around the C record GData.
func DataNewFromC ¶
type Date ¶
type Date struct {
// contains filtered or unexported fields
}
Date is a wrapper around the C record GDate.
func DateNewDmy ¶
DateNewDmy is a wrapper around the C function g_date_new_dmy.
func DateNewFromC ¶
func DateNewJulian ¶
DateNewJulian is a wrapper around the C function g_date_new_julian.
func (*Date) DaysBetween ¶
DaysBetween is a wrapper around the C function g_date_days_between.
func (*Date) Equals ¶ added in v0.0.2
Equals compares this Date with another Date, and returns true if they represent the same GObject.
func (*Date) GetDayOfYear ¶
GetDayOfYear is a wrapper around the C function g_date_get_day_of_year.
func (*Date) GetMondayWeekOfYear ¶
GetMondayWeekOfYear is a wrapper around the C function g_date_get_monday_week_of_year.
func (*Date) GetSundayWeekOfYear ¶
GetSundayWeekOfYear is a wrapper around the C function g_date_get_sunday_week_of_year.
func (*Date) GetWeekday ¶
func (recv *Date) GetWeekday() DateWeekday
GetWeekday is a wrapper around the C function g_date_get_weekday.
func (*Date) IsFirstOfMonth ¶
IsFirstOfMonth is a wrapper around the C function g_date_is_first_of_month.
func (*Date) IsLastOfMonth ¶
IsLastOfMonth is a wrapper around the C function g_date_is_last_of_month.
func (*Date) SubtractDays ¶
SubtractDays is a wrapper around the C function g_date_subtract_days.
func (*Date) SubtractMonths ¶
SubtractMonths is a wrapper around the C function g_date_subtract_months.
func (*Date) SubtractYears ¶
SubtractYears is a wrapper around the C function g_date_subtract_years.
type DateMonth ¶
type DateMonth C.GDateMonth
const ( DATE_BAD_MONTH DateMonth = 0 DATE_JANUARY DateMonth = 1 DATE_FEBRUARY DateMonth = 2 DATE_MARCH DateMonth = 3 DATE_APRIL DateMonth = 4 DATE_MAY DateMonth = 5 DATE_JUNE DateMonth = 6 DATE_JULY DateMonth = 7 DATE_AUGUST DateMonth = 8 DATE_SEPTEMBER DateMonth = 9 DATE_OCTOBER DateMonth = 10 DATE_NOVEMBER DateMonth = 11 DATE_DECEMBER DateMonth = 12 )
type DateWeekday ¶
type DateWeekday C.GDateWeekday
const ( DATE_BAD_WEEKDAY DateWeekday = 0 DATE_MONDAY DateWeekday = 1 DATE_TUESDAY DateWeekday = 2 DATE_WEDNESDAY DateWeekday = 3 DATE_THURSDAY DateWeekday = 4 DATE_FRIDAY DateWeekday = 5 DATE_SATURDAY DateWeekday = 6 DATE_SUNDAY DateWeekday = 7 )
type DebugKey ¶
DebugKey is a wrapper around the C record GDebugKey.
func DebugKeyNewFromC ¶
type Dir ¶
type Dir struct {
// contains filtered or unexported fields
}
Dir is a wrapper around the C record GDir.
func DirNewFromC ¶
func (*Dir) Equals ¶ added in v0.0.2
Equals compares this Dir with another Dir, and returns true if they represent the same GObject.
type Error ¶
type Error struct { Domain Quark Code int32 Message string // contains filtered or unexported fields }
Error is a wrapper around the C record GError.
func ErrorNewFromC ¶
func ErrorNewLiteral ¶
ErrorNewLiteral is a wrapper around the C function g_error_new_literal.
func PropagateError ¶
PropagateError is a wrapper around the C function g_propagate_error.
func (*Error) Equals ¶ added in v0.0.2
Equals compares this Error with another Error, and returns true if they represent the same GObject.
func (*Error) Free ¶
func (recv *Error) Free()
Free is a wrapper around the C function g_error_free.
type ErrorType ¶
type ErrorType C.GErrorType
type FileError ¶
type FileError C.GFileError
const ( FILE_ERROR_EXIST FileError = 0 FILE_ERROR_ISDIR FileError = 1 FILE_ERROR_ACCES FileError = 2 FILE_ERROR_NAMETOOLONG FileError = 3 FILE_ERROR_NOENT FileError = 4 FILE_ERROR_NOTDIR FileError = 5 FILE_ERROR_NXIO FileError = 6 FILE_ERROR_NODEV FileError = 7 FILE_ERROR_ROFS FileError = 8 FILE_ERROR_TXTBSY FileError = 9 FILE_ERROR_FAULT FileError = 10 FILE_ERROR_LOOP FileError = 11 FILE_ERROR_NOSPC FileError = 12 FILE_ERROR_NOMEM FileError = 13 FILE_ERROR_MFILE FileError = 14 FILE_ERROR_NFILE FileError = 15 FILE_ERROR_BADF FileError = 16 FILE_ERROR_INVAL FileError = 17 FILE_ERROR_PIPE FileError = 18 FILE_ERROR_AGAIN FileError = 19 FILE_ERROR_INTR FileError = 20 FILE_ERROR_IO FileError = 21 FILE_ERROR_PERM FileError = 22 FILE_ERROR_NOSYS FileError = 23 FILE_ERROR_FAILED FileError = 24 )
func FileErrorFromErrno ¶
FileErrorFromErrno is a wrapper around the C function g_file_error_from_errno.
type FormatSizeFlags ¶
type FormatSizeFlags C.GFormatSizeFlags
const ( FORMAT_SIZE_DEFAULT FormatSizeFlags = 0 FORMAT_SIZE_LONG_FORMAT FormatSizeFlags = 1 FORMAT_SIZE_IEC_UNITS FormatSizeFlags = 2 FORMAT_SIZE_BITS FormatSizeFlags = 4 )
type HashTable ¶
type HashTable struct {
// contains filtered or unexported fields
}
HashTable is a wrapper around the C record GHashTable.
func HashTableNewFromC ¶
type HashTableIter ¶
type HashTableIter struct {
// contains filtered or unexported fields
}
HashTableIter is a wrapper around the C record GHashTableIter.
func HashTableIterNewFromC ¶
func HashTableIterNewFromC(u unsafe.Pointer) *HashTableIter
func (*HashTableIter) Equals ¶ added in v0.0.2
func (recv *HashTableIter) Equals(other *HashTableIter) bool
Equals compares this HashTableIter with another HashTableIter, and returns true if they represent the same GObject.
func (*HashTableIter) ToC ¶
func (recv *HashTableIter) ToC() unsafe.Pointer
type Hook ¶
type Hook struct { Data uintptr // next : record // prev : record RefCount uint32 HookId uint64 Flags uint32 Func uintptr // contains filtered or unexported fields }
Hook is a wrapper around the C record GHook.
func HookFindData ¶ added in v0.0.3
g_hook_find : unsupported parameter func : no type generator for HookFindFunc (GHookFindFunc) for param func HookFindData is a wrapper around the C function g_hook_find_data.
func HookFindFunc ¶ added in v0.0.3
HookFindFunc is a wrapper around the C function g_hook_find_func.
func HookFindFuncData ¶ added in v0.0.3
HookFindFuncData is a wrapper around the C function g_hook_find_func_data.
func HookFirstValid ¶ added in v0.0.3
HookFirstValid is a wrapper around the C function g_hook_first_valid.
func HookNewFromC ¶
func HookNextValid ¶ added in v0.0.3
g_hook_insert_sorted : unsupported parameter func : no type generator for HookCompareFunc (GHookCompareFunc) for param func HookNextValid is a wrapper around the C function g_hook_next_valid.
func (*Hook) CompareIds ¶
CompareIds is a wrapper around the C function g_hook_compare_ids.
type HookFlagMask ¶
type HookFlagMask C.GHookFlagMask
const ( HOOK_FLAG_ACTIVE HookFlagMask = 1 HOOK_FLAG_IN_CALL HookFlagMask = 2 HOOK_FLAG_MASK HookFlagMask = 15 )
type HookList ¶
type HookList struct { SeqId uint64 // Bitfield not supported : 16 hook_size // Bitfield not supported : 1 is_setup // hooks : record Dummy3 uintptr // contains filtered or unexported fields }
HookList is a wrapper around the C record GHookList.
func HookListNewFromC ¶
func (*HookList) Clear ¶
func (recv *HookList) Clear()
Clear is a wrapper around the C function g_hook_list_clear.
func (*HookList) Equals ¶ added in v0.0.2
Equals compares this HookList with another HookList, and returns true if they represent the same GObject.
func (*HookList) InvokeCheck ¶
InvokeCheck is a wrapper around the C function g_hook_list_invoke_check.
type IOChannel ¶ added in v0.0.5
type IOChannel struct {
// contains filtered or unexported fields
}
IOChannel is a wrapper around the C record GIOChannel.
func IOChannelNewFile ¶ added in v0.0.5
IOChannelNewFile is a wrapper around the C function g_io_channel_new_file.
func IOChannelNewFromC ¶ added in v0.0.5
func IOChannelUnixNew ¶ added in v0.0.5
IOChannelUnixNew is a wrapper around the C function g_io_channel_unix_new.
func (*IOChannel) Close ¶ added in v0.0.5
func (recv *IOChannel) Close()
Close is a wrapper around the C function g_io_channel_close.
func (*IOChannel) Equals ¶ added in v0.0.5
Equals compares this IOChannel with another IOChannel, and returns true if they represent the same GObject.
func (*IOChannel) Flush ¶ added in v0.0.5
Flush is a wrapper around the C function g_io_channel_flush.
func (*IOChannel) GetBufferCondition ¶ added in v0.0.5
func (recv *IOChannel) GetBufferCondition() IOCondition
GetBufferCondition is a wrapper around the C function g_io_channel_get_buffer_condition.
func (*IOChannel) GetBufferSize ¶ added in v0.0.5
GetBufferSize is a wrapper around the C function g_io_channel_get_buffer_size.
func (*IOChannel) GetBuffered ¶ added in v0.0.5
GetBuffered is a wrapper around the C function g_io_channel_get_buffered.
func (*IOChannel) GetCloseOnUnref ¶ added in v0.0.5
GetCloseOnUnref is a wrapper around the C function g_io_channel_get_close_on_unref.
func (*IOChannel) GetEncoding ¶ added in v0.0.5
GetEncoding is a wrapper around the C function g_io_channel_get_encoding.
func (*IOChannel) GetFlags ¶ added in v0.0.5
GetFlags is a wrapper around the C function g_io_channel_get_flags.
func (*IOChannel) GetLineTerm ¶ added in v0.0.5
GetLineTerm is a wrapper around the C function g_io_channel_get_line_term.
func (*IOChannel) Init ¶ added in v0.0.5
func (recv *IOChannel) Init()
Init is a wrapper around the C function g_io_channel_init.
func (*IOChannel) ReadLine ¶ added in v0.0.5
ReadLine is a wrapper around the C function g_io_channel_read_line.
func (*IOChannel) ReadLineString ¶ added in v0.0.5
ReadLineString is a wrapper around the C function g_io_channel_read_line_string.
func (*IOChannel) ReadUnichar ¶ added in v0.0.5
ReadUnichar is a wrapper around the C function g_io_channel_read_unichar.
func (*IOChannel) SeekPosition ¶ added in v0.0.5
SeekPosition is a wrapper around the C function g_io_channel_seek_position.
func (*IOChannel) SetBufferSize ¶ added in v0.0.5
SetBufferSize is a wrapper around the C function g_io_channel_set_buffer_size.
func (*IOChannel) SetBuffered ¶ added in v0.0.5
SetBuffered is a wrapper around the C function g_io_channel_set_buffered.
func (*IOChannel) SetCloseOnUnref ¶ added in v0.0.5
SetCloseOnUnref is a wrapper around the C function g_io_channel_set_close_on_unref.
func (*IOChannel) SetEncoding ¶ added in v0.0.5
SetEncoding is a wrapper around the C function g_io_channel_set_encoding.
func (*IOChannel) SetFlags ¶ added in v0.0.5
SetFlags is a wrapper around the C function g_io_channel_set_flags.
func (*IOChannel) SetLineTerm ¶ added in v0.0.5
SetLineTerm is a wrapper around the C function g_io_channel_set_line_term.
func (*IOChannel) Shutdown ¶ added in v0.0.5
Shutdown is a wrapper around the C function g_io_channel_shutdown.
func (*IOChannel) UnixGetFd ¶ added in v0.0.5
UnixGetFd is a wrapper around the C function g_io_channel_unix_get_fd.
func (*IOChannel) Unref ¶ added in v0.0.5
func (recv *IOChannel) Unref()
Unref is a wrapper around the C function g_io_channel_unref.
func (*IOChannel) Write ¶ added in v0.0.5
Write is a wrapper around the C function g_io_channel_write.
func (*IOChannel) WriteChars ¶ added in v0.0.5
WriteChars is a wrapper around the C function g_io_channel_write_chars.
type IOChannelError ¶
type IOChannelError C.GIOChannelError
const ( IO_CHANNEL_ERROR_FBIG IOChannelError = 0 IO_CHANNEL_ERROR_INVAL IOChannelError = 1 IO_CHANNEL_ERROR_IO IOChannelError = 2 IO_CHANNEL_ERROR_ISDIR IOChannelError = 3 IO_CHANNEL_ERROR_NOSPC IOChannelError = 4 IO_CHANNEL_ERROR_NXIO IOChannelError = 5 IO_CHANNEL_ERROR_OVERFLOW IOChannelError = 6 IO_CHANNEL_ERROR_PIPE IOChannelError = 7 IO_CHANNEL_ERROR_FAILED IOChannelError = 8 )
func IOChannelErrorFromErrno ¶ added in v0.0.5
func IOChannelErrorFromErrno(en int32) IOChannelError
IOChannelErrorFromErrno is a wrapper around the C function g_io_channel_error_from_errno.
type IOCondition ¶
type IOCondition C.GIOCondition
const ( IO_IN IOCondition = 1 IO_OUT IOCondition = 4 IO_PRI IOCondition = 2 IO_ERR IOCondition = 8 IO_HUP IOCondition = 16 IO_NVAL IOCondition = 32 )
type IOFuncs ¶
type IOFuncs struct {
// contains filtered or unexported fields
}
IOFuncs is a wrapper around the C record GIOFuncs.
func IOFuncsNewFromC ¶
type IdleAddCallback ¶
type IdleAddCallback func() bool
IdleAddCallback is a function that can be passed to IdleAdd, that will be called from glib's main event loop.
type IdleAddOnceCallback ¶ added in v0.0.6
type IdleAddOnceCallback func()
IdleAddOnceCallback is a function that can be passed to IdleAddOnce, that will be called once from glib's main event loop.
type KeyFile ¶
type KeyFile struct {
// contains filtered or unexported fields
}
KeyFile is a wrapper around the C record GKeyFile.
func KeyFileNewFromC ¶
type KeyFileError ¶
type KeyFileError C.GKeyFileError
const ( KEY_FILE_ERROR_UNKNOWN_ENCODING KeyFileError = 0 KEY_FILE_ERROR_PARSE KeyFileError = 1 KEY_FILE_ERROR_NOT_FOUND KeyFileError = 2 KEY_FILE_ERROR_KEY_NOT_FOUND KeyFileError = 3 KEY_FILE_ERROR_GROUP_NOT_FOUND KeyFileError = 4 KEY_FILE_ERROR_INVALID_VALUE KeyFileError = 5 )
type KeyFileFlags ¶
type KeyFileFlags C.GKeyFileFlags
const ( KEY_FILE_NONE KeyFileFlags = 0 KEY_FILE_KEEP_COMMENTS KeyFileFlags = 1 KEY_FILE_KEEP_TRANSLATIONS KeyFileFlags = 2 )
type List ¶
type List struct { Data uintptr // contains filtered or unexported fields }
List is a wrapper around the C record GList.
func ListAlloc ¶ added in v0.0.3
func ListAlloc() *List
ListAlloc is a wrapper around the C function g_list_alloc.
func ListAppend ¶ added in v0.0.3
ListAppend is a wrapper around the C function g_list_append.
func ListConcat ¶ added in v0.0.3
ListConcat is a wrapper around the C function g_list_concat.
func ListDeleteLink ¶ added in v0.0.3
ListDeleteLink is a wrapper around the C function g_list_delete_link.
func ListFirst ¶ added in v0.0.3
g_list_find_custom : unsupported parameter func : no type generator for CompareFunc (GCompareFunc) for param func ListFirst is a wrapper around the C function g_list_first.
func ListInsert ¶ added in v0.0.3
ListInsert is a wrapper around the C function g_list_insert.
func ListInsertBefore ¶ added in v0.0.3
ListInsertBefore is a wrapper around the C function g_list_insert_before.
func ListLast ¶ added in v0.0.3
g_list_insert_sorted : unsupported parameter func : no type generator for CompareFunc (GCompareFunc) for param func ListLast is a wrapper around the C function g_list_last.
func ListNewFromC ¶
func ListNthPrev ¶ added in v0.0.3
ListNthPrev is a wrapper around the C function g_list_nth_prev.
func ListPrepend ¶ added in v0.0.3
ListPrepend is a wrapper around the C function g_list_prepend.
func ListRemove ¶ added in v0.0.3
ListRemove is a wrapper around the C function g_list_remove.
func ListRemoveAll ¶ added in v0.0.3
ListRemoveAll is a wrapper around the C function g_list_remove_all.
func ListRemoveLink ¶ added in v0.0.3
ListRemoveLink is a wrapper around the C function g_list_remove_link.
func ListReverse ¶ added in v0.0.3
ListReverse is a wrapper around the C function g_list_reverse.
type LogLevelFlags ¶
type LogLevelFlags C.GLogLevelFlags
const ( LOG_FLAG_RECURSION LogLevelFlags = 1 LOG_FLAG_FATAL LogLevelFlags = 2 LOG_LEVEL_ERROR LogLevelFlags = 4 LOG_LEVEL_CRITICAL LogLevelFlags = 8 LOG_LEVEL_WARNING LogLevelFlags = 16 LOG_LEVEL_MESSAGE LogLevelFlags = 32 LOG_LEVEL_INFO LogLevelFlags = 64 LOG_LEVEL_DEBUG LogLevelFlags = 128 LOG_LEVEL_MASK LogLevelFlags = -4 )
func LogSetAlwaysFatal ¶
func LogSetAlwaysFatal(fatalMask LogLevelFlags) LogLevelFlags
LogSetAlwaysFatal is a wrapper around the C function g_log_set_always_fatal.
func LogSetFatalMask ¶
func LogSetFatalMask(logDomain string, fatalMask LogLevelFlags) LogLevelFlags
LogSetFatalMask is a wrapper around the C function g_log_set_fatal_mask.
type MainContext ¶
type MainContext struct {
// contains filtered or unexported fields
}
g_list_sort : unsupported parameter compare_func : no type generator for CompareFunc (GCompareFunc) for param compare_func g_list_sort_with_data : unsupported parameter compare_func : no type generator for CompareDataFunc (GCompareDataFunc) for param compare_func MainContext is a wrapper around the C record GMainContext.
func MainContextDefault ¶
func MainContextDefault() *MainContext
MainContextDefault is a wrapper around the C function g_main_context_default.
func MainContextNew ¶
func MainContextNew() *MainContext
MainContextNew is a wrapper around the C function g_main_context_new.
func MainContextNewFromC ¶
func MainContextNewFromC(u unsafe.Pointer) *MainContext
func (*MainContext) Acquire ¶
func (recv *MainContext) Acquire() bool
Acquire is a wrapper around the C function g_main_context_acquire.
func (*MainContext) AddPoll ¶
func (recv *MainContext) AddPoll(fd *PollFD, priority int32)
AddPoll is a wrapper around the C function g_main_context_add_poll.
func (*MainContext) Dispatch ¶
func (recv *MainContext) Dispatch()
Dispatch is a wrapper around the C function g_main_context_dispatch.
func (*MainContext) Equals ¶ added in v0.0.2
func (recv *MainContext) Equals(other *MainContext) bool
Equals compares this MainContext with another MainContext, and returns true if they represent the same GObject.
func (*MainContext) FindSourceByFuncsUserData ¶
func (recv *MainContext) FindSourceByFuncsUserData(funcs *SourceFuncs, userData uintptr) *Source
FindSourceByFuncsUserData is a wrapper around the C function g_main_context_find_source_by_funcs_user_data.
func (*MainContext) FindSourceById ¶
func (recv *MainContext) FindSourceById(sourceId uint32) *Source
FindSourceById is a wrapper around the C function g_main_context_find_source_by_id.
func (*MainContext) FindSourceByUserData ¶
func (recv *MainContext) FindSourceByUserData(userData uintptr) *Source
FindSourceByUserData is a wrapper around the C function g_main_context_find_source_by_user_data.
func (*MainContext) Iteration ¶
func (recv *MainContext) Iteration(mayBlock bool) bool
Iteration is a wrapper around the C function g_main_context_iteration.
func (*MainContext) Pending ¶
func (recv *MainContext) Pending() bool
Pending is a wrapper around the C function g_main_context_pending.
func (*MainContext) Prepare ¶
func (recv *MainContext) Prepare(priority int32) bool
Prepare is a wrapper around the C function g_main_context_prepare.
func (*MainContext) Ref ¶
func (recv *MainContext) Ref() *MainContext
Ref is a wrapper around the C function g_main_context_ref.
func (*MainContext) Release ¶
func (recv *MainContext) Release()
Release is a wrapper around the C function g_main_context_release.
func (*MainContext) RemovePoll ¶
func (recv *MainContext) RemovePoll(fd *PollFD)
RemovePoll is a wrapper around the C function g_main_context_remove_poll.
func (*MainContext) ToC ¶
func (recv *MainContext) ToC() unsafe.Pointer
func (*MainContext) Unref ¶
func (recv *MainContext) Unref()
Unref is a wrapper around the C function g_main_context_unref.
func (*MainContext) Wakeup ¶
func (recv *MainContext) Wakeup()
Wakeup is a wrapper around the C function g_main_context_wakeup.
type MainLoop ¶
type MainLoop struct {
// contains filtered or unexported fields
}
MainLoop is a wrapper around the C record GMainLoop.
func MainLoopNew ¶
func MainLoopNew(context *MainContext, isRunning bool) *MainLoop
MainLoopNew is a wrapper around the C function g_main_loop_new.
func MainLoopNewFromC ¶
func (*MainLoop) Equals ¶ added in v0.0.2
Equals compares this MainLoop with another MainLoop, and returns true if they represent the same GObject.
func (*MainLoop) GetContext ¶
func (recv *MainLoop) GetContext() *MainContext
GetContext is a wrapper around the C function g_main_loop_get_context.
func (*MainLoop) Quit ¶
func (recv *MainLoop) Quit()
Quit is a wrapper around the C function g_main_loop_quit.
type MappedFile ¶
type MappedFile struct {
// contains filtered or unexported fields
}
MappedFile is a wrapper around the C record GMappedFile.
func MappedFileNewFromC ¶
func MappedFileNewFromC(u unsafe.Pointer) *MappedFile
func (*MappedFile) Equals ¶ added in v0.0.2
func (recv *MappedFile) Equals(other *MappedFile) bool
Equals compares this MappedFile with another MappedFile, and returns true if they represent the same GObject.
func (*MappedFile) ToC ¶
func (recv *MappedFile) ToC() unsafe.Pointer
func (*MappedFile) Unref ¶
func (recv *MappedFile) Unref()
Unref is a wrapper around the C function g_mapped_file_unref.
type MarkupCollectType ¶
type MarkupCollectType C.GMarkupCollectType
const ( MARKUP_COLLECT_INVALID MarkupCollectType = 0 MARKUP_COLLECT_STRING MarkupCollectType = 1 MARKUP_COLLECT_STRDUP MarkupCollectType = 2 MARKUP_COLLECT_BOOLEAN MarkupCollectType = 3 MARKUP_COLLECT_TRISTATE MarkupCollectType = 4 MARKUP_COLLECT_OPTIONAL MarkupCollectType = 65536 )
type MarkupError ¶
type MarkupError C.GMarkupError
const ( MARKUP_ERROR_BAD_UTF8 MarkupError = 0 MARKUP_ERROR_EMPTY MarkupError = 1 MARKUP_ERROR_PARSE MarkupError = 2 MARKUP_ERROR_UNKNOWN_ELEMENT MarkupError = 3 MARKUP_ERROR_UNKNOWN_ATTRIBUTE MarkupError = 4 MARKUP_ERROR_INVALID_CONTENT MarkupError = 5 MARKUP_ERROR_MISSING_ATTRIBUTE MarkupError = 6 )
type MarkupParseContext ¶
type MarkupParseContext struct {
// contains filtered or unexported fields
}
MarkupParseContext is a wrapper around the C record GMarkupParseContext.
func MarkupParseContextNewFromC ¶
func MarkupParseContextNewFromC(u unsafe.Pointer) *MarkupParseContext
func (*MarkupParseContext) EndParse ¶
func (recv *MarkupParseContext) EndParse() (bool, error)
EndParse is a wrapper around the C function g_markup_parse_context_end_parse.
func (*MarkupParseContext) Equals ¶ added in v0.0.2
func (recv *MarkupParseContext) Equals(other *MarkupParseContext) bool
Equals compares this MarkupParseContext with another MarkupParseContext, and returns true if they represent the same GObject.
func (*MarkupParseContext) Free ¶
func (recv *MarkupParseContext) Free()
Free is a wrapper around the C function g_markup_parse_context_free.
func (*MarkupParseContext) GetPosition ¶
func (recv *MarkupParseContext) GetPosition(lineNumber int32, charNumber int32)
GetPosition is a wrapper around the C function g_markup_parse_context_get_position.
func (*MarkupParseContext) Parse ¶
func (recv *MarkupParseContext) Parse(text string, textLen int64) (bool, error)
Parse is a wrapper around the C function g_markup_parse_context_parse.
func (*MarkupParseContext) ToC ¶
func (recv *MarkupParseContext) ToC() unsafe.Pointer
type MarkupParseFlags ¶
type MarkupParseFlags C.GMarkupParseFlags
const ( MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG MarkupParseFlags = 1 MARKUP_TREAT_CDATA_AS_TEXT MarkupParseFlags = 2 MARKUP_PREFIX_ERROR_POSITION MarkupParseFlags = 4 MARKUP_IGNORE_QUALIFIED MarkupParseFlags = 8 )
type MarkupParser ¶
type MarkupParser struct {
// contains filtered or unexported fields
}
MarkupParser is a wrapper around the C record GMarkupParser.
func MarkupParserNewFromC ¶
func MarkupParserNewFromC(u unsafe.Pointer) *MarkupParser
func (*MarkupParser) Equals ¶ added in v0.0.2
func (recv *MarkupParser) Equals(other *MarkupParser) bool
Equals compares this MarkupParser with another MarkupParser, and returns true if they represent the same GObject.
func (*MarkupParser) ToC ¶
func (recv *MarkupParser) ToC() unsafe.Pointer
type MatchInfo ¶
type MatchInfo struct {
// contains filtered or unexported fields
}
MatchInfo is a wrapper around the C record GMatchInfo.
func MatchInfoNewFromC ¶
type MemVTable ¶
type MemVTable struct {
// contains filtered or unexported fields
}
MemVTable is a wrapper around the C record GMemVTable.
func MemVTableNewFromC ¶
type Node ¶
type Node struct { Data uintptr // contains filtered or unexported fields }
Node is a wrapper around the C record GNode.
func NodeNewFromC ¶
func (*Node) ChildIndex ¶
ChildIndex is a wrapper around the C function g_node_child_index.
func (*Node) ChildPosition ¶
ChildPosition is a wrapper around the C function g_node_child_position.
func (*Node) Destroy ¶
func (recv *Node) Destroy()
Destroy is a wrapper around the C function g_node_destroy.
func (*Node) Equals ¶ added in v0.0.2
Equals compares this Node with another Node, and returns true if they represent the same GObject.
func (*Node) Find ¶
func (recv *Node) Find(order TraverseType, flags TraverseFlags, data uintptr) *Node
Find is a wrapper around the C function g_node_find.
func (*Node) FindChild ¶
func (recv *Node) FindChild(flags TraverseFlags, data uintptr) *Node
FindChild is a wrapper around the C function g_node_find_child.
func (*Node) FirstSibling ¶
FirstSibling is a wrapper around the C function g_node_first_sibling.
func (*Node) InsertAfter ¶
InsertAfter is a wrapper around the C function g_node_insert_after.
func (*Node) InsertBefore ¶
InsertBefore is a wrapper around the C function g_node_insert_before.
func (*Node) IsAncestor ¶
IsAncestor is a wrapper around the C function g_node_is_ancestor.
func (*Node) LastSibling ¶
LastSibling is a wrapper around the C function g_node_last_sibling.
func (*Node) NNodes ¶
func (recv *Node) NNodes(flags TraverseFlags) uint32
NNodes is a wrapper around the C function g_node_n_nodes.
func (*Node) ReverseChildren ¶
func (recv *Node) ReverseChildren()
ReverseChildren is a wrapper around the C function g_node_reverse_children.
type NormalizeMode ¶
type NormalizeMode C.GNormalizeMode
const ( NORMALIZE_DEFAULT NormalizeMode = 0 NORMALIZE_NFD NormalizeMode = 0 NORMALIZE_DEFAULT_COMPOSE NormalizeMode = 1 NORMALIZE_NFC NormalizeMode = 1 NORMALIZE_ALL NormalizeMode = 2 NORMALIZE_NFKD NormalizeMode = 2 NORMALIZE_ALL_COMPOSE NormalizeMode = 3 NORMALIZE_NFKC NormalizeMode = 3 )
type OptionArg ¶
type OptionArg C.GOptionArg
const ( OPTION_ARG_NONE OptionArg = 0 OPTION_ARG_STRING OptionArg = 1 OPTION_ARG_INT OptionArg = 2 OPTION_ARG_CALLBACK OptionArg = 3 OPTION_ARG_FILENAME OptionArg = 4 OPTION_ARG_STRING_ARRAY OptionArg = 5 OPTION_ARG_FILENAME_ARRAY OptionArg = 6 OPTION_ARG_DOUBLE OptionArg = 7 OPTION_ARG_INT64 OptionArg = 8 )
type OptionContext ¶
type OptionContext struct {
// contains filtered or unexported fields
}
OptionContext is a wrapper around the C record GOptionContext.
func OptionContextNewFromC ¶
func OptionContextNewFromC(u unsafe.Pointer) *OptionContext
func (*OptionContext) Equals ¶ added in v0.0.2
func (recv *OptionContext) Equals(other *OptionContext) bool
Equals compares this OptionContext with another OptionContext, and returns true if they represent the same GObject.
func (*OptionContext) ToC ¶
func (recv *OptionContext) ToC() unsafe.Pointer
type OptionEntry ¶
type OptionEntry struct { LongName string ShortName rune Flags int32 Arg OptionArg ArgData uintptr Description string ArgDescription string // contains filtered or unexported fields }
OptionEntry is a wrapper around the C record GOptionEntry.
func OptionEntryNewFromC ¶
func OptionEntryNewFromC(u unsafe.Pointer) *OptionEntry
func (*OptionEntry) Equals ¶ added in v0.0.2
func (recv *OptionEntry) Equals(other *OptionEntry) bool
Equals compares this OptionEntry with another OptionEntry, and returns true if they represent the same GObject.
func (*OptionEntry) ToC ¶
func (recv *OptionEntry) ToC() unsafe.Pointer
type OptionError ¶
type OptionError C.GOptionError
const ( OPTION_ERROR_UNKNOWN_OPTION OptionError = 0 OPTION_ERROR_BAD_VALUE OptionError = 1 OPTION_ERROR_FAILED OptionError = 2 )
type OptionFlags ¶
type OptionFlags C.GOptionFlags
const ( OPTION_FLAG_NONE OptionFlags = 0 OPTION_FLAG_HIDDEN OptionFlags = 1 OPTION_FLAG_IN_MAIN OptionFlags = 2 OPTION_FLAG_REVERSE OptionFlags = 4 OPTION_FLAG_NO_ARG OptionFlags = 8 OPTION_FLAG_FILENAME OptionFlags = 16 OPTION_FLAG_OPTIONAL_ARG OptionFlags = 32 OPTION_FLAG_NOALIAS OptionFlags = 64 )
type OptionGroup ¶
type OptionGroup struct {
// contains filtered or unexported fields
}
OptionGroup is a wrapper around the C record GOptionGroup.
func OptionGroupNewFromC ¶
func OptionGroupNewFromC(u unsafe.Pointer) *OptionGroup
func (*OptionGroup) Equals ¶ added in v0.0.2
func (recv *OptionGroup) Equals(other *OptionGroup) bool
Equals compares this OptionGroup with another OptionGroup, and returns true if they represent the same GObject.
func (*OptionGroup) ToC ¶
func (recv *OptionGroup) ToC() unsafe.Pointer
type PatternSpec ¶
type PatternSpec struct {
// contains filtered or unexported fields
}
PatternSpec is a wrapper around the C record GPatternSpec.
func PatternSpecNew ¶ added in v0.0.3
func PatternSpecNew(pattern string) *PatternSpec
PatternSpecNew is a wrapper around the C function g_pattern_spec_new.
func PatternSpecNewFromC ¶
func PatternSpecNewFromC(u unsafe.Pointer) *PatternSpec
func (*PatternSpec) Equal ¶
func (recv *PatternSpec) Equal(pspec2 *PatternSpec) bool
Equal is a wrapper around the C function g_pattern_spec_equal.
func (*PatternSpec) Equals ¶ added in v0.0.2
func (recv *PatternSpec) Equals(other *PatternSpec) bool
Equals compares this PatternSpec with another PatternSpec, and returns true if they represent the same GObject.
func (*PatternSpec) Free ¶
func (recv *PatternSpec) Free()
Free is a wrapper around the C function g_pattern_spec_free.
func (*PatternSpec) ToC ¶
func (recv *PatternSpec) ToC() unsafe.Pointer
type PollFD ¶
type PollFD struct { Fd int32 Events uint32 Revents uint32 // contains filtered or unexported fields }
PollFD is a wrapper around the C record GPollFD.
func PollFDNewFromC ¶
type Private ¶
type Private struct {
// contains filtered or unexported fields
}
Private is a wrapper around the C record GPrivate.
func PrivateNewFromC ¶
func (*Private) Equals ¶ added in v0.0.2
Equals compares this Private with another Private, and returns true if they represent the same GObject.
type Quark ¶
type Quark uint32
Quark is a representation of the C alias GQuark.
func BookmarkFileErrorQuark ¶
func BookmarkFileErrorQuark() Quark
BookmarkFileErrorQuark is a wrapper around the C function g_bookmark_file_error_quark.
func ConvertErrorQuark ¶
func ConvertErrorQuark() Quark
ConvertErrorQuark is a wrapper around the C function g_convert_error_quark.
func FileErrorQuark ¶
func FileErrorQuark() Quark
FileErrorQuark is a wrapper around the C function g_file_error_quark.
func IOChannelErrorQuark ¶ added in v0.0.5
func IOChannelErrorQuark() Quark
IOChannelErrorQuark is a wrapper around the C function g_io_channel_error_quark.
func KeyFileErrorQuark ¶
func KeyFileErrorQuark() Quark
KeyFileErrorQuark is a wrapper around the C function g_key_file_error_quark.
func MarkupErrorQuark ¶
func MarkupErrorQuark() Quark
MarkupErrorQuark is a wrapper around the C function g_markup_error_quark.
func OptionErrorQuark ¶
func OptionErrorQuark() Quark
OptionErrorQuark is a wrapper around the C function g_option_error_quark.
func QuarkFromStaticString ¶
QuarkFromStaticString is a wrapper around the C function g_quark_from_static_string.
func QuarkFromString ¶
QuarkFromString is a wrapper around the C function g_quark_from_string.
func QuarkTryString ¶
QuarkTryString is a wrapper around the C function g_quark_try_string.
func ShellErrorQuark ¶
func ShellErrorQuark() Quark
ShellErrorQuark is a wrapper around the C function g_shell_error_quark.
func SpawnErrorQuark ¶
func SpawnErrorQuark() Quark
SpawnErrorQuark is a wrapper around the C function g_spawn_error_quark.
func SpawnExitErrorQuark ¶
func SpawnExitErrorQuark() Quark
SpawnExitErrorQuark is a wrapper around the C function g_spawn_exit_error_quark.
func ThreadErrorQuark ¶
func ThreadErrorQuark() Quark
ThreadErrorQuark is a wrapper around the C function g_thread_error_quark.
type Queue ¶
type Queue struct { // head : record // tail : record Length uint32 // contains filtered or unexported fields }
Queue is a wrapper around the C record GQueue.
func QueueNew ¶ added in v0.0.3
func QueueNew() *Queue
QueueNew is a wrapper around the C function g_queue_new.
func QueueNewFromC ¶
func (*Queue) Equals ¶ added in v0.0.2
Equals compares this Queue with another Queue, and returns true if they represent the same GObject.
func (*Queue) Free ¶
func (recv *Queue) Free()
Free is a wrapper around the C function g_queue_free.
func (*Queue) PopHeadLink ¶
PopHeadLink is a wrapper around the C function g_queue_pop_head_link.
func (*Queue) PopTailLink ¶
PopTailLink is a wrapper around the C function g_queue_pop_tail_link.
func (*Queue) PushHeadLink ¶
PushHeadLink is a wrapper around the C function g_queue_push_head_link.
func (*Queue) PushTailLink ¶
PushTailLink is a wrapper around the C function g_queue_push_tail_link.
type Rand ¶
type Rand struct {
// contains filtered or unexported fields
}
Rand is a wrapper around the C record GRand.
func RandNew ¶ added in v0.0.3
func RandNew() *Rand
RandNew is a wrapper around the C function g_rand_new.
func RandNewFromC ¶
func RandNewWithSeed ¶ added in v0.0.3
RandNewWithSeed is a wrapper around the C function g_rand_new_with_seed.
func (*Rand) DoubleRange ¶
DoubleRange is a wrapper around the C function g_rand_double_range.
func (*Rand) Equals ¶ added in v0.0.2
Equals compares this Rand with another Rand, and returns true if they represent the same GObject.
type SList ¶
type SList struct { Data uintptr // contains filtered or unexported fields }
SList is a wrapper around the C record GSList.
func SListAlloc ¶ added in v0.0.3
func SListAlloc() *SList
SListAlloc is a wrapper around the C function g_slist_alloc.
func SListAppend ¶ added in v0.0.3
SListAppend is a wrapper around the C function g_slist_append.
func SListConcat ¶ added in v0.0.3
SListConcat is a wrapper around the C function g_slist_concat.
func SListDeleteLink ¶ added in v0.0.3
SListDeleteLink is a wrapper around the C function g_slist_delete_link.
func SListInsert ¶ added in v0.0.3
SListInsert is a wrapper around the C function g_slist_insert.
func SListInsertBefore ¶ added in v0.0.3
SListInsertBefore is a wrapper around the C function g_slist_insert_before.
func SListLast ¶ added in v0.0.3
g_slist_insert_sorted : unsupported parameter func : no type generator for CompareFunc (GCompareFunc) for param func SListLast is a wrapper around the C function g_slist_last.
func SListNewFromC ¶
func SListPrepend ¶ added in v0.0.3
SListPrepend is a wrapper around the C function g_slist_prepend.
func SListRemove ¶ added in v0.0.3
SListRemove is a wrapper around the C function g_slist_remove.
func SListRemoveAll ¶ added in v0.0.3
SListRemoveAll is a wrapper around the C function g_slist_remove_all.
func SListRemoveLink ¶ added in v0.0.3
SListRemoveLink is a wrapper around the C function g_slist_remove_link.
func SListReverse ¶ added in v0.0.3
SListReverse is a wrapper around the C function g_slist_reverse.
type Scanner ¶
type Scanner struct { UserData uintptr MaxParseErrors uint32 ParseErrors uint32 InputName string // qdata : record // config : record Token TokenType // value : no type generator for TokenValue, GTokenValue Line uint32 Position uint32 NextToken TokenType // next_value : no type generator for TokenValue, GTokenValue NextLine uint32 NextPosition uint32 // contains filtered or unexported fields }
g_slist_sort : unsupported parameter compare_func : no type generator for CompareFunc (GCompareFunc) for param compare_func g_slist_sort_with_data : unsupported parameter compare_func : no type generator for CompareDataFunc (GCompareDataFunc) for param compare_func Scanner is a wrapper around the C record GScanner.
func ScannerNew ¶ added in v0.0.3
func ScannerNew(configTempl *ScannerConfig) *Scanner
ScannerNew is a wrapper around the C function g_scanner_new.
func ScannerNewFromC ¶
func (*Scanner) CurPosition ¶
CurPosition is a wrapper around the C function g_scanner_cur_position.
func (*Scanner) Destroy ¶
func (recv *Scanner) Destroy()
Destroy is a wrapper around the C function g_scanner_destroy.
func (*Scanner) Equals ¶ added in v0.0.2
Equals compares this Scanner with another Scanner, and returns true if they represent the same GObject.
func (*Scanner) GetNextToken ¶
GetNextToken is a wrapper around the C function g_scanner_get_next_token.
func (*Scanner) LookupSymbol ¶
LookupSymbol is a wrapper around the C function g_scanner_lookup_symbol.
func (*Scanner) PeekNextToken ¶
PeekNextToken is a wrapper around the C function g_scanner_peek_next_token.
func (*Scanner) ScopeAddSymbol ¶
ScopeAddSymbol is a wrapper around the C function g_scanner_scope_add_symbol.
func (*Scanner) ScopeLookupSymbol ¶
ScopeLookupSymbol is a wrapper around the C function g_scanner_scope_lookup_symbol.
func (*Scanner) ScopeRemoveSymbol ¶
ScopeRemoveSymbol is a wrapper around the C function g_scanner_scope_remove_symbol.
func (*Scanner) SyncFileOffset ¶
func (recv *Scanner) SyncFileOffset()
SyncFileOffset is a wrapper around the C function g_scanner_sync_file_offset.
type ScannerConfig ¶
type ScannerConfig struct { CsetSkipCharacters string CsetIdentifierFirst string CsetIdentifierNth string CpairCommentSingle string // contains filtered or unexported fields }
ScannerConfig is a wrapper around the C record GScannerConfig.
func ScannerConfigNewFromC ¶
func ScannerConfigNewFromC(u unsafe.Pointer) *ScannerConfig
func (*ScannerConfig) Equals ¶ added in v0.0.2
func (recv *ScannerConfig) Equals(other *ScannerConfig) bool
Equals compares this ScannerConfig with another ScannerConfig, and returns true if they represent the same GObject.
func (*ScannerConfig) ToC ¶
func (recv *ScannerConfig) ToC() unsafe.Pointer
type Sequence ¶
type Sequence struct {
// contains filtered or unexported fields
}
Sequence is a wrapper around the C record GSequence.
func SequenceNewFromC ¶
type SequenceIter ¶
type SequenceIter struct {
// contains filtered or unexported fields
}
SequenceIter is a wrapper around the C record GSequenceIter.
func SequenceIterNewFromC ¶
func SequenceIterNewFromC(u unsafe.Pointer) *SequenceIter
func (*SequenceIter) Equals ¶ added in v0.0.2
func (recv *SequenceIter) Equals(other *SequenceIter) bool
Equals compares this SequenceIter with another SequenceIter, and returns true if they represent the same GObject.
func (*SequenceIter) ToC ¶
func (recv *SequenceIter) ToC() unsafe.Pointer
type ShellError ¶
type ShellError C.GShellError
const ( SHELL_ERROR_BAD_QUOTING ShellError = 0 SHELL_ERROR_EMPTY_STRING ShellError = 1 SHELL_ERROR_FAILED ShellError = 2 )
type SliceConfig ¶
type SliceConfig C.GSliceConfig
const ( SLICE_CONFIG_ALWAYS_MALLOC SliceConfig = 1 SLICE_CONFIG_BYPASS_MAGAZINES SliceConfig = 2 SLICE_CONFIG_WORKING_SET_MSECS SliceConfig = 3 SLICE_CONFIG_COLOR_INCREMENT SliceConfig = 4 SLICE_CONFIG_CHUNK_SIZES SliceConfig = 5 SLICE_CONFIG_CONTENTION_COUNTER SliceConfig = 6 )
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source is a wrapper around the C record GSource.
func IdleSourceNew ¶
func IdleSourceNew() *Source
IdleSourceNew is a wrapper around the C function g_idle_source_new.
func IoCreateWatch ¶ added in v0.0.5
func IoCreateWatch(channel *IOChannel, condition IOCondition) *Source
IoCreateWatch is a wrapper around the C function g_io_create_watch.
func SourceNew ¶
func SourceNew(sourceFuncs *SourceFuncs, structSize uint32) *Source
SourceNew is a wrapper around the C function g_source_new.
func SourceNewFromC ¶
func TimeoutSourceNew ¶
TimeoutSourceNew is a wrapper around the C function g_timeout_source_new.
func (*Source) Attach ¶
func (recv *Source) Attach(context *MainContext) uint32
Attach is a wrapper around the C function g_source_attach.
func (*Source) Destroy ¶
func (recv *Source) Destroy()
Destroy is a wrapper around the C function g_source_destroy.
func (*Source) Equals ¶ added in v0.0.2
Equals compares this Source with another Source, and returns true if they represent the same GObject.
func (*Source) GetCanRecurse ¶
GetCanRecurse is a wrapper around the C function g_source_get_can_recurse.
func (*Source) GetContext ¶
func (recv *Source) GetContext() *MainContext
GetContext is a wrapper around the C function g_source_get_context.
func (*Source) GetCurrentTime ¶
GetCurrentTime is a wrapper around the C function g_source_get_current_time.
func (*Source) GetPriority ¶
GetPriority is a wrapper around the C function g_source_get_priority.
func (*Source) GetReadyTime ¶
GetReadyTime is a wrapper around the C function g_source_get_ready_time.
func (*Source) RemovePoll ¶
RemovePoll is a wrapper around the C function g_source_remove_poll.
func (*Source) SetCallbackIndirect ¶
func (recv *Source) SetCallbackIndirect(callbackData uintptr, callbackFuncs *SourceCallbackFuncs)
SetCallbackIndirect is a wrapper around the C function g_source_set_callback_indirect.
func (*Source) SetCanRecurse ¶
SetCanRecurse is a wrapper around the C function g_source_set_can_recurse.
func (*Source) SetPriority ¶
SetPriority is a wrapper around the C function g_source_set_priority.
type SourceCallbackFuncs ¶
type SourceCallbackFuncs struct {
// contains filtered or unexported fields
}
SourceCallbackFuncs is a wrapper around the C record GSourceCallbackFuncs.
func SourceCallbackFuncsNewFromC ¶
func SourceCallbackFuncsNewFromC(u unsafe.Pointer) *SourceCallbackFuncs
func (*SourceCallbackFuncs) Equals ¶ added in v0.0.2
func (recv *SourceCallbackFuncs) Equals(other *SourceCallbackFuncs) bool
Equals compares this SourceCallbackFuncs with another SourceCallbackFuncs, and returns true if they represent the same GObject.
func (*SourceCallbackFuncs) ToC ¶
func (recv *SourceCallbackFuncs) ToC() unsafe.Pointer
type SourceFuncs ¶
type SourceFuncs struct {
// contains filtered or unexported fields
}
SourceFuncs is a wrapper around the C record GSourceFuncs.
func SourceFuncsNewFromC ¶
func SourceFuncsNewFromC(u unsafe.Pointer) *SourceFuncs
func (*SourceFuncs) Equals ¶ added in v0.0.2
func (recv *SourceFuncs) Equals(other *SourceFuncs) bool
Equals compares this SourceFuncs with another SourceFuncs, and returns true if they represent the same GObject.
func (*SourceFuncs) ToC ¶
func (recv *SourceFuncs) ToC() unsafe.Pointer
type SourcePrivate ¶
type SourcePrivate struct {
// contains filtered or unexported fields
}
SourcePrivate is a wrapper around the C record GSourcePrivate.
func SourcePrivateNewFromC ¶
func SourcePrivateNewFromC(u unsafe.Pointer) *SourcePrivate
func (*SourcePrivate) Equals ¶ added in v0.0.2
func (recv *SourcePrivate) Equals(other *SourcePrivate) bool
Equals compares this SourcePrivate with another SourcePrivate, and returns true if they represent the same GObject.
func (*SourcePrivate) ToC ¶
func (recv *SourcePrivate) ToC() unsafe.Pointer
type SpawnError ¶
type SpawnError C.GSpawnError
const ( SPAWN_ERROR_FORK SpawnError = 0 SPAWN_ERROR_READ SpawnError = 1 SPAWN_ERROR_CHDIR SpawnError = 2 SPAWN_ERROR_ACCES SpawnError = 3 SPAWN_ERROR_PERM SpawnError = 4 SPAWN_ERROR_TOO_BIG SpawnError = 5 SPAWN_ERROR_2BIG SpawnError = 5 SPAWN_ERROR_NOEXEC SpawnError = 6 SPAWN_ERROR_NAMETOOLONG SpawnError = 7 SPAWN_ERROR_NOENT SpawnError = 8 SPAWN_ERROR_NOMEM SpawnError = 9 SPAWN_ERROR_NOTDIR SpawnError = 10 SPAWN_ERROR_LOOP SpawnError = 11 SPAWN_ERROR_TXTBUSY SpawnError = 12 SPAWN_ERROR_IO SpawnError = 13 SPAWN_ERROR_NFILE SpawnError = 14 SPAWN_ERROR_MFILE SpawnError = 15 SPAWN_ERROR_INVAL SpawnError = 16 SPAWN_ERROR_ISDIR SpawnError = 17 SPAWN_ERROR_LIBBAD SpawnError = 18 SPAWN_ERROR_FAILED SpawnError = 19 )
type SpawnFlags ¶
type SpawnFlags C.GSpawnFlags
const ( SPAWN_DEFAULT SpawnFlags = 0 SPAWN_LEAVE_DESCRIPTORS_OPEN SpawnFlags = 1 SPAWN_DO_NOT_REAP_CHILD SpawnFlags = 2 SPAWN_SEARCH_PATH SpawnFlags = 4 SPAWN_STDOUT_TO_DEV_NULL SpawnFlags = 8 SPAWN_STDERR_TO_DEV_NULL SpawnFlags = 16 SPAWN_CHILD_INHERITS_STDIN SpawnFlags = 32 SPAWN_FILE_AND_ARGV_ZERO SpawnFlags = 64 SPAWN_SEARCH_PATH_FROM_ENVP SpawnFlags = 128 SPAWN_CLOEXEC_PIPES SpawnFlags = 256 )
type StatBuf ¶
type StatBuf struct {
// contains filtered or unexported fields
}
StatBuf is a wrapper around the C record GStatBuf.
func StatBufNewFromC ¶
type String ¶
type String struct { Str string Len uint64 AllocatedLen uint64 // contains filtered or unexported fields }
String is a wrapper around the C record GString.
func StringNewFromC ¶
func StringNewLen ¶
StringNewLen is a wrapper around the C function g_string_new_len.
func StringSizedNew ¶
StringSizedNew is a wrapper around the C function g_string_sized_new.
func (*String) AppendPrintf ¶ added in v0.0.5
AppendPrintf is a wrapper around the C function g_string_append_printf.
func (*String) AppendUnichar ¶
AppendUnichar is a wrapper around the C function g_string_append_unichar.
func (*String) Equals ¶ added in v0.0.2
Equals compares this String with another String, and returns true if they represent the same GObject.
func (*String) InsertUnichar ¶
InsertUnichar is a wrapper around the C function g_string_insert_unichar.
func (*String) PrependLen ¶
PrependLen is a wrapper around the C function g_string_prepend_len.
func (*String) PrependUnichar ¶
PrependUnichar is a wrapper around the C function g_string_prepend_unichar.
type StringChunk ¶
type StringChunk struct {
// contains filtered or unexported fields
}
StringChunk is a wrapper around the C record GStringChunk.
func StringChunkNew ¶ added in v0.0.3
func StringChunkNew(size uint64) *StringChunk
StringChunkNew is a wrapper around the C function g_string_chunk_new.
func StringChunkNewFromC ¶
func StringChunkNewFromC(u unsafe.Pointer) *StringChunk
func (*StringChunk) Equals ¶ added in v0.0.2
func (recv *StringChunk) Equals(other *StringChunk) bool
Equals compares this StringChunk with another StringChunk, and returns true if they represent the same GObject.
func (*StringChunk) Free ¶
func (recv *StringChunk) Free()
Free is a wrapper around the C function g_string_chunk_free.
func (*StringChunk) Insert ¶
func (recv *StringChunk) Insert(string_ string) string
Insert is a wrapper around the C function g_string_chunk_insert.
func (*StringChunk) InsertConst ¶
func (recv *StringChunk) InsertConst(string_ string) string
InsertConst is a wrapper around the C function g_string_chunk_insert_const.
func (*StringChunk) ToC ¶
func (recv *StringChunk) ToC() unsafe.Pointer
type TestCase ¶
type TestCase struct {
// contains filtered or unexported fields
}
TestCase is a wrapper around the C record GTestCase.
func TestCaseNewFromC ¶
type TestConfig ¶
type TestConfig struct { TestInitialized bool TestQuick bool TestPerf bool TestVerbose bool TestQuiet bool TestUndefined bool // contains filtered or unexported fields }
TestConfig is a wrapper around the C record GTestConfig.
func TestConfigNewFromC ¶
func TestConfigNewFromC(u unsafe.Pointer) *TestConfig
func (*TestConfig) Equals ¶ added in v0.0.2
func (recv *TestConfig) Equals(other *TestConfig) bool
Equals compares this TestConfig with another TestConfig, and returns true if they represent the same GObject.
func (*TestConfig) ToC ¶
func (recv *TestConfig) ToC() unsafe.Pointer
type TestLogType ¶
type TestLogType C.GTestLogType
const ( TEST_LOG_NONE TestLogType = 0 TEST_LOG_ERROR TestLogType = 1 TEST_LOG_START_BINARY TestLogType = 2 TEST_LOG_LIST_CASE TestLogType = 3 TEST_LOG_SKIP_CASE TestLogType = 4 TEST_LOG_START_CASE TestLogType = 5 TEST_LOG_STOP_CASE TestLogType = 6 TEST_LOG_MIN_RESULT TestLogType = 7 TEST_LOG_MAX_RESULT TestLogType = 8 TEST_LOG_MESSAGE TestLogType = 9 TEST_LOG_START_SUITE TestLogType = 10 TEST_LOG_STOP_SUITE TestLogType = 11 )
type TestSubprocessFlags ¶
type TestSubprocessFlags C.GTestSubprocessFlags
const ( TEST_SUBPROCESS_INHERIT_STDIN TestSubprocessFlags = 1 TEST_SUBPROCESS_INHERIT_STDOUT TestSubprocessFlags = 2 TEST_SUBPROCESS_INHERIT_STDERR TestSubprocessFlags = 4 )
type TestSuite ¶
type TestSuite struct {
// contains filtered or unexported fields
}
TestSuite is a wrapper around the C record GTestSuite.
func TestSuiteNewFromC ¶
type TestTrapFlags ¶
type TestTrapFlags C.GTestTrapFlags
const ( TEST_TRAP_SILENCE_STDOUT TestTrapFlags = 128 TEST_TRAP_SILENCE_STDERR TestTrapFlags = 256 TEST_TRAP_INHERIT_STDIN TestTrapFlags = 512 )
type Thread ¶
type Thread struct {
// contains filtered or unexported fields
}
Thread is a wrapper around the C record GThread.
func ThreadNewFromC ¶
func ThreadSelf ¶
func ThreadSelf() *Thread
ThreadSelf is a wrapper around the C function g_thread_self.
func (*Thread) Equals ¶ added in v0.0.2
Equals compares this Thread with another Thread, and returns true if they represent the same GObject.
type ThreadPool ¶
type ThreadPool struct { // _func : no type generator for Func, GFunc UserData uintptr Exclusive bool // contains filtered or unexported fields }
ThreadPool is a wrapper around the C record GThreadPool.
func ThreadPoolNewFromC ¶
func ThreadPoolNewFromC(u unsafe.Pointer) *ThreadPool
func (*ThreadPool) Equals ¶ added in v0.0.2
func (recv *ThreadPool) Equals(other *ThreadPool) bool
Equals compares this ThreadPool with another ThreadPool, and returns true if they represent the same GObject.
func (*ThreadPool) Free ¶
func (recv *ThreadPool) Free(immediate bool, wait bool)
Free is a wrapper around the C function g_thread_pool_free.
func (*ThreadPool) GetMaxThreads ¶
func (recv *ThreadPool) GetMaxThreads() int32
GetMaxThreads is a wrapper around the C function g_thread_pool_get_max_threads.
func (*ThreadPool) GetNumThreads ¶
func (recv *ThreadPool) GetNumThreads() uint32
GetNumThreads is a wrapper around the C function g_thread_pool_get_num_threads.
func (*ThreadPool) Push ¶
func (recv *ThreadPool) Push(data uintptr) (bool, error)
Push is a wrapper around the C function g_thread_pool_push.
func (*ThreadPool) SetMaxThreads ¶
func (recv *ThreadPool) SetMaxThreads(maxThreads int32) (bool, error)
SetMaxThreads is a wrapper around the C function g_thread_pool_set_max_threads.
func (*ThreadPool) ToC ¶
func (recv *ThreadPool) ToC() unsafe.Pointer
func (*ThreadPool) Unprocessed ¶
func (recv *ThreadPool) Unprocessed() uint32
Unprocessed is a wrapper around the C function g_thread_pool_unprocessed.
type TimeVal ¶
TimeVal is a wrapper around the C record GTimeVal.
func TimeValNewFromC ¶
type Timer ¶
type Timer struct {
// contains filtered or unexported fields
}
Timer is a wrapper around the C record GTimer.
func TimerNew ¶ added in v0.0.3
func TimerNew() *Timer
TimerNew is a wrapper around the C function g_timer_new.
func TimerNewFromC ¶
func (*Timer) Destroy ¶
func (recv *Timer) Destroy()
Destroy is a wrapper around the C function g_timer_destroy.
func (*Timer) Equals ¶ added in v0.0.2
Equals compares this Timer with another Timer, and returns true if they represent the same GObject.
func (*Timer) Reset ¶
func (recv *Timer) Reset()
Reset is a wrapper around the C function g_timer_reset.
func (*Timer) Start ¶
func (recv *Timer) Start()
Start is a wrapper around the C function g_timer_start.
type TokenType ¶
type TokenType C.GTokenType
const ( TOKEN_EOF TokenType = 0 TOKEN_LEFT_PAREN TokenType = 40 TOKEN_RIGHT_PAREN TokenType = 41 TOKEN_LEFT_CURLY TokenType = 123 TOKEN_RIGHT_CURLY TokenType = 125 TOKEN_LEFT_BRACE TokenType = 91 TOKEN_RIGHT_BRACE TokenType = 93 TOKEN_EQUAL_SIGN TokenType = 61 TOKEN_COMMA TokenType = 44 TOKEN_NONE TokenType = 256 TOKEN_ERROR TokenType = 257 TOKEN_CHAR TokenType = 258 TOKEN_BINARY TokenType = 259 TOKEN_OCTAL TokenType = 260 TOKEN_INT TokenType = 261 TOKEN_HEX TokenType = 262 TOKEN_FLOAT TokenType = 263 TOKEN_STRING TokenType = 264 TOKEN_SYMBOL TokenType = 265 TOKEN_IDENTIFIER TokenType = 266 TOKEN_IDENTIFIER_NULL TokenType = 267 TOKEN_COMMENT_SINGLE TokenType = 268 TOKEN_COMMENT_MULTI TokenType = 269 )
type TrashStack ¶
type TrashStack struct {
// contains filtered or unexported fields
}
TrashStack is a wrapper around the C record GTrashStack.
func TrashStackNewFromC ¶
func TrashStackNewFromC(u unsafe.Pointer) *TrashStack
func (*TrashStack) Equals ¶ added in v0.0.2
func (recv *TrashStack) Equals(other *TrashStack) bool
Equals compares this TrashStack with another TrashStack, and returns true if they represent the same GObject.
func (*TrashStack) ToC ¶
func (recv *TrashStack) ToC() unsafe.Pointer
type TraverseFlags ¶
type TraverseFlags C.GTraverseFlags
const ( TRAVERSE_LEAVES TraverseFlags = 1 TRAVERSE_NON_LEAVES TraverseFlags = 2 TRAVERSE_ALL TraverseFlags = 3 TRAVERSE_MASK TraverseFlags = 3 TRAVERSE_LEAFS TraverseFlags = 1 TRAVERSE_NON_LEAFS TraverseFlags = 2 )
type TraverseType ¶
type TraverseType C.GTraverseType
const ( IN_ORDER TraverseType = 0 PRE_ORDER TraverseType = 1 POST_ORDER TraverseType = 2 LEVEL_ORDER TraverseType = 3 )
type Tree ¶
type Tree struct {
// contains filtered or unexported fields
}
Tree is a wrapper around the C record GTree.
func TreeNewFromC ¶
func (*Tree) Destroy ¶
func (recv *Tree) Destroy()
g_tree_new : unsupported parameter key_compare_func : no type generator for CompareFunc (GCompareFunc) for param key_compare_func g_tree_new_full : unsupported parameter key_compare_func : no type generator for CompareDataFunc (GCompareDataFunc) for param key_compare_func g_tree_new_with_data : unsupported parameter key_compare_func : no type generator for CompareDataFunc (GCompareDataFunc) for param key_compare_func Destroy is a wrapper around the C function g_tree_destroy.
func (*Tree) Equals ¶ added in v0.0.2
Equals compares this Tree with another Tree, and returns true if they represent the same GObject.
func (*Tree) LookupExtended ¶
LookupExtended is a wrapper around the C function g_tree_lookup_extended.
type UnicodeBreakType ¶
type UnicodeBreakType C.GUnicodeBreakType
const ( UNICODE_BREAK_MANDATORY UnicodeBreakType = 0 UNICODE_BREAK_CARRIAGE_RETURN UnicodeBreakType = 1 UNICODE_BREAK_LINE_FEED UnicodeBreakType = 2 UNICODE_BREAK_COMBINING_MARK UnicodeBreakType = 3 UNICODE_BREAK_SURROGATE UnicodeBreakType = 4 UNICODE_BREAK_ZERO_WIDTH_SPACE UnicodeBreakType = 5 UNICODE_BREAK_INSEPARABLE UnicodeBreakType = 6 UNICODE_BREAK_NON_BREAKING_GLUE UnicodeBreakType = 7 UNICODE_BREAK_CONTINGENT UnicodeBreakType = 8 UNICODE_BREAK_SPACE UnicodeBreakType = 9 UNICODE_BREAK_AFTER UnicodeBreakType = 10 UNICODE_BREAK_BEFORE UnicodeBreakType = 11 UNICODE_BREAK_BEFORE_AND_AFTER UnicodeBreakType = 12 UNICODE_BREAK_HYPHEN UnicodeBreakType = 13 UNICODE_BREAK_NON_STARTER UnicodeBreakType = 14 UNICODE_BREAK_OPEN_PUNCTUATION UnicodeBreakType = 15 UNICODE_BREAK_CLOSE_PUNCTUATION UnicodeBreakType = 16 UNICODE_BREAK_QUOTATION UnicodeBreakType = 17 UNICODE_BREAK_EXCLAMATION UnicodeBreakType = 18 UNICODE_BREAK_IDEOGRAPHIC UnicodeBreakType = 19 UNICODE_BREAK_NUMERIC UnicodeBreakType = 20 UNICODE_BREAK_INFIX_SEPARATOR UnicodeBreakType = 21 UNICODE_BREAK_SYMBOL UnicodeBreakType = 22 UNICODE_BREAK_ALPHABETIC UnicodeBreakType = 23 UNICODE_BREAK_PREFIX UnicodeBreakType = 24 UNICODE_BREAK_POSTFIX UnicodeBreakType = 25 UNICODE_BREAK_COMPLEX_CONTEXT UnicodeBreakType = 26 UNICODE_BREAK_AMBIGUOUS UnicodeBreakType = 27 UNICODE_BREAK_UNKNOWN UnicodeBreakType = 28 UNICODE_BREAK_NEXT_LINE UnicodeBreakType = 29 UNICODE_BREAK_WORD_JOINER UnicodeBreakType = 30 UNICODE_BREAK_HANGUL_L_JAMO UnicodeBreakType = 31 UNICODE_BREAK_HANGUL_V_JAMO UnicodeBreakType = 32 UNICODE_BREAK_HANGUL_T_JAMO UnicodeBreakType = 33 UNICODE_BREAK_HANGUL_LV_SYLLABLE UnicodeBreakType = 34 UNICODE_BREAK_HANGUL_LVT_SYLLABLE UnicodeBreakType = 35 UNICODE_BREAK_CLOSE_PARANTHESIS UnicodeBreakType = 36 UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER UnicodeBreakType = 37 UNICODE_BREAK_HEBREW_LETTER UnicodeBreakType = 38 UNICODE_BREAK_REGIONAL_INDICATOR UnicodeBreakType = 39 UNICODE_BREAK_EMOJI_BASE UnicodeBreakType = 40 UNICODE_BREAK_EMOJI_MODIFIER UnicodeBreakType = 41 UNICODE_BREAK_ZERO_WIDTH_JOINER UnicodeBreakType = 42 )
func UnicharBreakType ¶
func UnicharBreakType(c rune) UnicodeBreakType
UnicharBreakType is a wrapper around the C function g_unichar_break_type.
type UnicodeScript ¶
type UnicodeScript C.GUnicodeScript
const ( UNICODE_SCRIPT_INVALID_CODE UnicodeScript = -1 UNICODE_SCRIPT_COMMON UnicodeScript = 0 UNICODE_SCRIPT_INHERITED UnicodeScript = 1 UNICODE_SCRIPT_ARABIC UnicodeScript = 2 UNICODE_SCRIPT_ARMENIAN UnicodeScript = 3 UNICODE_SCRIPT_BENGALI UnicodeScript = 4 UNICODE_SCRIPT_BOPOMOFO UnicodeScript = 5 UNICODE_SCRIPT_CHEROKEE UnicodeScript = 6 UNICODE_SCRIPT_COPTIC UnicodeScript = 7 UNICODE_SCRIPT_CYRILLIC UnicodeScript = 8 UNICODE_SCRIPT_DESERET UnicodeScript = 9 UNICODE_SCRIPT_DEVANAGARI UnicodeScript = 10 UNICODE_SCRIPT_ETHIOPIC UnicodeScript = 11 UNICODE_SCRIPT_GEORGIAN UnicodeScript = 12 UNICODE_SCRIPT_GOTHIC UnicodeScript = 13 UNICODE_SCRIPT_GREEK UnicodeScript = 14 UNICODE_SCRIPT_GUJARATI UnicodeScript = 15 UNICODE_SCRIPT_GURMUKHI UnicodeScript = 16 UNICODE_SCRIPT_HAN UnicodeScript = 17 UNICODE_SCRIPT_HANGUL UnicodeScript = 18 UNICODE_SCRIPT_HEBREW UnicodeScript = 19 UNICODE_SCRIPT_HIRAGANA UnicodeScript = 20 UNICODE_SCRIPT_KANNADA UnicodeScript = 21 UNICODE_SCRIPT_KATAKANA UnicodeScript = 22 UNICODE_SCRIPT_KHMER UnicodeScript = 23 UNICODE_SCRIPT_LAO UnicodeScript = 24 UNICODE_SCRIPT_LATIN UnicodeScript = 25 UNICODE_SCRIPT_MALAYALAM UnicodeScript = 26 UNICODE_SCRIPT_MONGOLIAN UnicodeScript = 27 UNICODE_SCRIPT_MYANMAR UnicodeScript = 28 UNICODE_SCRIPT_OGHAM UnicodeScript = 29 UNICODE_SCRIPT_OLD_ITALIC UnicodeScript = 30 UNICODE_SCRIPT_ORIYA UnicodeScript = 31 UNICODE_SCRIPT_RUNIC UnicodeScript = 32 UNICODE_SCRIPT_SINHALA UnicodeScript = 33 UNICODE_SCRIPT_SYRIAC UnicodeScript = 34 UNICODE_SCRIPT_TAMIL UnicodeScript = 35 UNICODE_SCRIPT_TELUGU UnicodeScript = 36 UNICODE_SCRIPT_THAANA UnicodeScript = 37 UNICODE_SCRIPT_THAI UnicodeScript = 38 UNICODE_SCRIPT_TIBETAN UnicodeScript = 39 UNICODE_SCRIPT_CANADIAN_ABORIGINAL UnicodeScript = 40 UNICODE_SCRIPT_YI UnicodeScript = 41 UNICODE_SCRIPT_TAGALOG UnicodeScript = 42 UNICODE_SCRIPT_HANUNOO UnicodeScript = 43 UNICODE_SCRIPT_BUHID UnicodeScript = 44 UNICODE_SCRIPT_TAGBANWA UnicodeScript = 45 UNICODE_SCRIPT_BRAILLE UnicodeScript = 46 UNICODE_SCRIPT_CYPRIOT UnicodeScript = 47 UNICODE_SCRIPT_LIMBU UnicodeScript = 48 UNICODE_SCRIPT_OSMANYA UnicodeScript = 49 UNICODE_SCRIPT_SHAVIAN UnicodeScript = 50 UNICODE_SCRIPT_LINEAR_B UnicodeScript = 51 UNICODE_SCRIPT_TAI_LE UnicodeScript = 52 UNICODE_SCRIPT_UGARITIC UnicodeScript = 53 UNICODE_SCRIPT_NEW_TAI_LUE UnicodeScript = 54 UNICODE_SCRIPT_BUGINESE UnicodeScript = 55 UNICODE_SCRIPT_GLAGOLITIC UnicodeScript = 56 UNICODE_SCRIPT_TIFINAGH UnicodeScript = 57 UNICODE_SCRIPT_SYLOTI_NAGRI UnicodeScript = 58 UNICODE_SCRIPT_OLD_PERSIAN UnicodeScript = 59 UNICODE_SCRIPT_KHAROSHTHI UnicodeScript = 60 UNICODE_SCRIPT_UNKNOWN UnicodeScript = 61 UNICODE_SCRIPT_BALINESE UnicodeScript = 62 UNICODE_SCRIPT_CUNEIFORM UnicodeScript = 63 UNICODE_SCRIPT_PHOENICIAN UnicodeScript = 64 UNICODE_SCRIPT_PHAGS_PA UnicodeScript = 65 UNICODE_SCRIPT_NKO UnicodeScript = 66 UNICODE_SCRIPT_KAYAH_LI UnicodeScript = 67 UNICODE_SCRIPT_LEPCHA UnicodeScript = 68 UNICODE_SCRIPT_REJANG UnicodeScript = 69 UNICODE_SCRIPT_SUNDANESE UnicodeScript = 70 UNICODE_SCRIPT_SAURASHTRA UnicodeScript = 71 UNICODE_SCRIPT_CHAM UnicodeScript = 72 UNICODE_SCRIPT_OL_CHIKI UnicodeScript = 73 UNICODE_SCRIPT_VAI UnicodeScript = 74 UNICODE_SCRIPT_CARIAN UnicodeScript = 75 UNICODE_SCRIPT_LYCIAN UnicodeScript = 76 UNICODE_SCRIPT_LYDIAN UnicodeScript = 77 UNICODE_SCRIPT_AVESTAN UnicodeScript = 78 UNICODE_SCRIPT_BAMUM UnicodeScript = 79 UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS UnicodeScript = 80 UNICODE_SCRIPT_IMPERIAL_ARAMAIC UnicodeScript = 81 UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI UnicodeScript = 82 UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN UnicodeScript = 83 UNICODE_SCRIPT_JAVANESE UnicodeScript = 84 UNICODE_SCRIPT_KAITHI UnicodeScript = 85 UNICODE_SCRIPT_LISU UnicodeScript = 86 UNICODE_SCRIPT_MEETEI_MAYEK UnicodeScript = 87 UNICODE_SCRIPT_OLD_SOUTH_ARABIAN UnicodeScript = 88 UNICODE_SCRIPT_OLD_TURKIC UnicodeScript = 89 UNICODE_SCRIPT_SAMARITAN UnicodeScript = 90 UNICODE_SCRIPT_TAI_THAM UnicodeScript = 91 UNICODE_SCRIPT_TAI_VIET UnicodeScript = 92 UNICODE_SCRIPT_BATAK UnicodeScript = 93 UNICODE_SCRIPT_BRAHMI UnicodeScript = 94 UNICODE_SCRIPT_MANDAIC UnicodeScript = 95 UNICODE_SCRIPT_CHAKMA UnicodeScript = 96 UNICODE_SCRIPT_MEROITIC_CURSIVE UnicodeScript = 97 UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS UnicodeScript = 98 UNICODE_SCRIPT_MIAO UnicodeScript = 99 UNICODE_SCRIPT_SHARADA UnicodeScript = 100 UNICODE_SCRIPT_SORA_SOMPENG UnicodeScript = 101 UNICODE_SCRIPT_TAKRI UnicodeScript = 102 UNICODE_SCRIPT_BASSA_VAH UnicodeScript = 103 UNICODE_SCRIPT_CAUCASIAN_ALBANIAN UnicodeScript = 104 UNICODE_SCRIPT_DUPLOYAN UnicodeScript = 105 UNICODE_SCRIPT_ELBASAN UnicodeScript = 106 UNICODE_SCRIPT_GRANTHA UnicodeScript = 107 UNICODE_SCRIPT_KHOJKI UnicodeScript = 108 UNICODE_SCRIPT_KHUDAWADI UnicodeScript = 109 UNICODE_SCRIPT_LINEAR_A UnicodeScript = 110 UNICODE_SCRIPT_MAHAJANI UnicodeScript = 111 UNICODE_SCRIPT_MANICHAEAN UnicodeScript = 112 UNICODE_SCRIPT_MENDE_KIKAKUI UnicodeScript = 113 UNICODE_SCRIPT_MODI UnicodeScript = 114 UNICODE_SCRIPT_MRO UnicodeScript = 115 UNICODE_SCRIPT_NABATAEAN UnicodeScript = 116 UNICODE_SCRIPT_OLD_NORTH_ARABIAN UnicodeScript = 117 UNICODE_SCRIPT_OLD_PERMIC UnicodeScript = 118 UNICODE_SCRIPT_PAHAWH_HMONG UnicodeScript = 119 UNICODE_SCRIPT_PALMYRENE UnicodeScript = 120 UNICODE_SCRIPT_PAU_CIN_HAU UnicodeScript = 121 UNICODE_SCRIPT_PSALTER_PAHLAVI UnicodeScript = 122 UNICODE_SCRIPT_SIDDHAM UnicodeScript = 123 UNICODE_SCRIPT_TIRHUTA UnicodeScript = 124 UNICODE_SCRIPT_WARANG_CITI UnicodeScript = 125 UNICODE_SCRIPT_AHOM UnicodeScript = 126 UNICODE_SCRIPT_ANATOLIAN_HIEROGLYPHS UnicodeScript = 127 UNICODE_SCRIPT_HATRAN UnicodeScript = 128 UNICODE_SCRIPT_MULTANI UnicodeScript = 129 UNICODE_SCRIPT_OLD_HUNGARIAN UnicodeScript = 130 UNICODE_SCRIPT_SIGNWRITING UnicodeScript = 131 UNICODE_SCRIPT_ADLAM UnicodeScript = 132 UNICODE_SCRIPT_BHAIKSUKI UnicodeScript = 133 UNICODE_SCRIPT_MARCHEN UnicodeScript = 134 UNICODE_SCRIPT_NEWA UnicodeScript = 135 UNICODE_SCRIPT_OSAGE UnicodeScript = 136 UNICODE_SCRIPT_TANGUT UnicodeScript = 137 UNICODE_SCRIPT_MASARAM_GONDI UnicodeScript = 138 UNICODE_SCRIPT_NUSHU UnicodeScript = 139 UNICODE_SCRIPT_SOYOMBO UnicodeScript = 140 UNICODE_SCRIPT_ZANABAZAR_SQUARE UnicodeScript = 141 )
type UnicodeType ¶
type UnicodeType C.GUnicodeType
const ( UNICODE_CONTROL UnicodeType = 0 UNICODE_FORMAT UnicodeType = 1 UNICODE_UNASSIGNED UnicodeType = 2 UNICODE_PRIVATE_USE UnicodeType = 3 UNICODE_SURROGATE UnicodeType = 4 UNICODE_LOWERCASE_LETTER UnicodeType = 5 UNICODE_MODIFIER_LETTER UnicodeType = 6 UNICODE_OTHER_LETTER UnicodeType = 7 UNICODE_TITLECASE_LETTER UnicodeType = 8 UNICODE_UPPERCASE_LETTER UnicodeType = 9 UNICODE_SPACING_MARK UnicodeType = 10 UNICODE_ENCLOSING_MARK UnicodeType = 11 UNICODE_NON_SPACING_MARK UnicodeType = 12 UNICODE_DECIMAL_NUMBER UnicodeType = 13 UNICODE_LETTER_NUMBER UnicodeType = 14 UNICODE_OTHER_NUMBER UnicodeType = 15 UNICODE_CONNECT_PUNCTUATION UnicodeType = 16 UNICODE_DASH_PUNCTUATION UnicodeType = 17 UNICODE_CLOSE_PUNCTUATION UnicodeType = 18 UNICODE_FINAL_PUNCTUATION UnicodeType = 19 UNICODE_INITIAL_PUNCTUATION UnicodeType = 20 UNICODE_OTHER_PUNCTUATION UnicodeType = 21 UNICODE_OPEN_PUNCTUATION UnicodeType = 22 UNICODE_CURRENCY_SYMBOL UnicodeType = 23 UNICODE_MODIFIER_SYMBOL UnicodeType = 24 UNICODE_MATH_SYMBOL UnicodeType = 25 UNICODE_OTHER_SYMBOL UnicodeType = 26 UNICODE_LINE_SEPARATOR UnicodeType = 27 UNICODE_PARAGRAPH_SEPARATOR UnicodeType = 28 UNICODE_SPACE_SEPARATOR UnicodeType = 29 )
func UnicharType ¶
func UnicharType(c rune) UnicodeType
UnicharType is a wrapper around the C function g_unichar_type.
type VariantBuilder ¶
type VariantBuilder struct {
// contains filtered or unexported fields
}
VariantBuilder is a wrapper around the C record GVariantBuilder.
func VariantBuilderNewFromC ¶
func VariantBuilderNewFromC(u unsafe.Pointer) *VariantBuilder
func (*VariantBuilder) Equals ¶ added in v0.0.2
func (recv *VariantBuilder) Equals(other *VariantBuilder) bool
Equals compares this VariantBuilder with another VariantBuilder, and returns true if they represent the same GObject.
func (*VariantBuilder) ToC ¶
func (recv *VariantBuilder) ToC() unsafe.Pointer
type VariantIter ¶
type VariantIter struct {
// contains filtered or unexported fields
}
VariantIter is a wrapper around the C record GVariantIter.
func VariantIterNewFromC ¶
func VariantIterNewFromC(u unsafe.Pointer) *VariantIter
func (*VariantIter) Equals ¶ added in v0.0.2
func (recv *VariantIter) Equals(other *VariantIter) bool
Equals compares this VariantIter with another VariantIter, and returns true if they represent the same GObject.
func (*VariantIter) ToC ¶
func (recv *VariantIter) ToC() unsafe.Pointer
type VariantParseError ¶
type VariantParseError C.GVariantParseError
const ( VARIANT_PARSE_ERROR_FAILED VariantParseError = 0 VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED VariantParseError = 1 VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE VariantParseError = 2 VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED VariantParseError = 3 VARIANT_PARSE_ERROR_INPUT_NOT_AT_END VariantParseError = 4 VARIANT_PARSE_ERROR_INVALID_CHARACTER VariantParseError = 5 VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING VariantParseError = 6 VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH VariantParseError = 7 VARIANT_PARSE_ERROR_INVALID_SIGNATURE VariantParseError = 8 VARIANT_PARSE_ERROR_INVALID_TYPE_STRING VariantParseError = 9 VARIANT_PARSE_ERROR_NO_COMMON_TYPE VariantParseError = 10 VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE VariantParseError = 11 VARIANT_PARSE_ERROR_NUMBER_TOO_BIG VariantParseError = 12 VARIANT_PARSE_ERROR_TYPE_ERROR VariantParseError = 13 VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN VariantParseError = 14 VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD VariantParseError = 15 VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT VariantParseError = 16 VARIANT_PARSE_ERROR_VALUE_EXPECTED VariantParseError = 17 )
type VariantType ¶ added in v0.0.5
type VariantType struct {
// contains filtered or unexported fields
}
VariantType is a wrapper around the C record GVariantType.
func VariantTypeChecked ¶ added in v0.0.5
func VariantTypeChecked(arg0 string) *VariantType
VariantTypeChecked is a wrapper around the C function g_variant_type_checked_.
func VariantTypeNewArray ¶ added in v0.0.5
func VariantTypeNewArray(element *VariantType) *VariantType
VariantTypeNewArray is a wrapper around the C function g_variant_type_new_array.
func VariantTypeNewDictEntry ¶ added in v0.0.5
func VariantTypeNewDictEntry(key *VariantType, value *VariantType) *VariantType
VariantTypeNewDictEntry is a wrapper around the C function g_variant_type_new_dict_entry.
func VariantTypeNewFromC ¶ added in v0.0.5
func VariantTypeNewFromC(u unsafe.Pointer) *VariantType
func VariantTypeNewMaybe ¶ added in v0.0.5
func VariantTypeNewMaybe(element *VariantType) *VariantType
VariantTypeNewMaybe is a wrapper around the C function g_variant_type_new_maybe.
func (*VariantType) Copy ¶ added in v0.0.5
func (recv *VariantType) Copy() *VariantType
Copy is a wrapper around the C function g_variant_type_copy.
func (*VariantType) DupString ¶ added in v0.0.5
func (recv *VariantType) DupString() string
DupString is a wrapper around the C function g_variant_type_dup_string.
func (*VariantType) Element ¶ added in v0.0.5
func (recv *VariantType) Element() *VariantType
Element is a wrapper around the C function g_variant_type_element.
func (*VariantType) Equal ¶ added in v0.0.5
func (recv *VariantType) Equal(type2 *VariantType) bool
Equal is a wrapper around the C function g_variant_type_equal.
func (*VariantType) Equals ¶ added in v0.0.5
func (recv *VariantType) Equals(other *VariantType) bool
Equals compares this VariantType with another VariantType, and returns true if they represent the same GObject.
func (*VariantType) First ¶ added in v0.0.5
func (recv *VariantType) First() *VariantType
First is a wrapper around the C function g_variant_type_first.
func (*VariantType) Free ¶ added in v0.0.5
func (recv *VariantType) Free()
Free is a wrapper around the C function g_variant_type_free.
func (*VariantType) GetStringLength ¶ added in v0.0.5
func (recv *VariantType) GetStringLength() uint64
GetStringLength is a wrapper around the C function g_variant_type_get_string_length.
func (*VariantType) Hash ¶ added in v0.0.5
func (recv *VariantType) Hash() uint32
Hash is a wrapper around the C function g_variant_type_hash.
func (*VariantType) IsArray ¶ added in v0.0.5
func (recv *VariantType) IsArray() bool
IsArray is a wrapper around the C function g_variant_type_is_array.
func (*VariantType) IsBasic ¶ added in v0.0.5
func (recv *VariantType) IsBasic() bool
IsBasic is a wrapper around the C function g_variant_type_is_basic.
func (*VariantType) IsContainer ¶ added in v0.0.5
func (recv *VariantType) IsContainer() bool
IsContainer is a wrapper around the C function g_variant_type_is_container.
func (*VariantType) IsDefinite ¶ added in v0.0.5
func (recv *VariantType) IsDefinite() bool
IsDefinite is a wrapper around the C function g_variant_type_is_definite.
func (*VariantType) IsDictEntry ¶ added in v0.0.5
func (recv *VariantType) IsDictEntry() bool
IsDictEntry is a wrapper around the C function g_variant_type_is_dict_entry.
func (*VariantType) IsMaybe ¶ added in v0.0.5
func (recv *VariantType) IsMaybe() bool
IsMaybe is a wrapper around the C function g_variant_type_is_maybe.
func (*VariantType) IsSubtypeOf ¶ added in v0.0.5
func (recv *VariantType) IsSubtypeOf(supertype *VariantType) bool
IsSubtypeOf is a wrapper around the C function g_variant_type_is_subtype_of.
func (*VariantType) IsTuple ¶ added in v0.0.5
func (recv *VariantType) IsTuple() bool
IsTuple is a wrapper around the C function g_variant_type_is_tuple.
func (*VariantType) IsVariant ¶ added in v0.0.5
func (recv *VariantType) IsVariant() bool
IsVariant is a wrapper around the C function g_variant_type_is_variant.
func (*VariantType) Key ¶ added in v0.0.5
func (recv *VariantType) Key() *VariantType
Key is a wrapper around the C function g_variant_type_key.
func (*VariantType) NItems ¶ added in v0.0.5
func (recv *VariantType) NItems() uint64
NItems is a wrapper around the C function g_variant_type_n_items.
func (*VariantType) Next ¶ added in v0.0.5
func (recv *VariantType) Next() *VariantType
Next is a wrapper around the C function g_variant_type_next.
func (*VariantType) PeekString ¶ added in v0.0.5
func (recv *VariantType) PeekString() string
PeekString is a wrapper around the C function g_variant_type_peek_string.
func (*VariantType) ToC ¶ added in v0.0.5
func (recv *VariantType) ToC() unsafe.Pointer
func (*VariantType) Value ¶ added in v0.0.5
func (recv *VariantType) Value() *VariantType
Value is a wrapper around the C function g_variant_type_value.