id stringlengths 2 7 | text stringlengths 17 51.2k | title stringclasses 1 value |
|---|---|---|
c169500 | == nil {
return nil
}
return wrapSimpleAction(wrapObject(unsafe.Pointer(c)))
} | |
c169501 |
if c == nil {
return nil
}
return wrapSimpleAction(wrapObject(unsafe.Pointer(c)))
} | |
c169502 | C.g_simple_action_set_enabled(v.native(), gbool(enabled))
} | |
c169503 | C.gpointer(unsafe.Pointer(object.native())), (*C.gchar)(C.CString(propertyName)))
if c == nil {
return nil
}
return wrapPropertyAction(wrapObject(unsafe.Pointer(c)))
} | |
c169504 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkAdjustment(p)
} | |
c169505 |
p := unsafe.Pointer(v.GObject)
return C.toGtkAssistant(p)
} | |
c169506 |
p := unsafe.Pointer(v.GObject)
return C.toGtkBin(p)
} | |
c169507 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkColorButton(p)
} | |
c169508 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkCellRenderer(p)
} | |
c169509 | || v.GObject == nil {
return nil
}
p := unsafe.Pointer(v.GObject)
return C.toGtkCellRendererSpinner(p)
} | |
c169510 |
}
p := unsafe.Pointer(v.GObject)
return C.toGtkCellRendererPixbuf(p)
} | |
c169511 |
}
p := unsafe.Pointer(v.GObject)
return C.toGtkCellRendererText(p)
} | |
c169512 |
}
p := unsafe.Pointer(v.GObject)
return C.toGtkCellRendererToggle(p)
} | |
c169513 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkCheckButton(p)
} | |
c169514 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkCheckMenuItem(p)
} | |
c169515 |
p := unsafe.Pointer(v.GObject)
return C.toGtkClipboard(p)
} | |
c169516 | := C.gtk_clipboard_wait_is_text_available(v.native())
return gobool(c)
} | |
c169517 | "", nilPtrErr
}
defer C.g_free(C.gpointer(c))
return goString(c), nil
} | |
c169518 | C.gtk_clipboard_wait_is_rich_text_available(v.native(), buf.native())
return gobool(c)
} | |
c169519 | := C.gtk_clipboard_wait_is_uris_available(v.native())
return gobool(c)
} | |
c169520 | C.gtk_clipboard_wait_is_image_available(v.native())
return gobool(c)
} | |
c169521 | (*C.GdkPixbuf)(unsafe.Pointer(pixbuf.Native())))
} | |
c169522 | nil, nilPtrErr
}
p := &gdk.Pixbuf{glib.Take(unsafe.Pointer(c))}
return p, nil
} | |
c169523 | C.gtk_clipboard_wait_is_target_available(v.native(), C.GdkAtom(unsafe.Pointer(target)))
return gobool(c)
} | |
c169524 | return nil, nilPtrErr
}
p := &SelectionData{c}
runtime.SetFinalizer(p, (*SelectionData).free)
return p, nil
} | |
c169525 |
p := unsafe.Pointer(v.GObject)
return C.toGtkContainer(p)
} | |
c169526 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkCssProvider(p)
} | |
c169527 |
p := unsafe.Pointer(v.GObject)
return C.toGtkDialog(p)
} | |
c169528 |
p := unsafe.Pointer(v.GObject)
return C.toGtkEntry(p)
} | |
c169529 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkEntryBuffer(p)
} | |
c169530 |
}
p := unsafe.Pointer(v.GObject)
return C.toGtkEntryCompletion(p)
} | |
c169531 |
p := unsafe.Pointer(v.GObject)
return C.toGtkEventBox(p)
} | |
c169532 |
p := unsafe.Pointer(v.GObject)
return C.toGtkExpander(p)
} | |
c169533 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkFileChooser(p)
} | |
c169534 |
}
p := unsafe.Pointer(v.GObject)
return C.toGtkFileChooserButton(p)
} | |
c169535 |
}
p := unsafe.Pointer(v.GObject)
return C.toGtkFileChooserDialog(p)
} | |
c169536 |
}
p := unsafe.Pointer(v.GObject)
return C.toGtkFileChooserWidget(p)
} | |
c169537 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkFileFilter(p)
} | |
c169538 |
p := unsafe.Pointer(v.GObject)
return C.toGtkFrame(p)
} | |
c169539 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkAspectFrame(p)
} | |
c169540 |
p := unsafe.Pointer(v.GObject)
return C.toGtkGrid(p)
} | |
c169541 |
p := unsafe.Pointer(v.GObject)
return C.toGtkImage(p)
} | |
c169542 | C.guint(width), C.guint(height))
} | |
c169543 | C.gtk_layout_get_size(v.native(), &w, &h)
return uint(w), uint(h)
} | |
c169544 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkLinkButton(p)
} | |
c169545 |
p := unsafe.Pointer(v.GObject)
return C.toGtkListStore(p)
} | |
c169546 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkMenuButton(p)
} | |
c169547 |
p := unsafe.Pointer(v.GObject)
return C.toGtkMenuItem(p)
} | |
c169548 | C.gtk_menu_item_set_label(v.native(), (*C.gchar)(cstr))
} | |
c169549 | := C.gtk_menu_item_get_label(v.native())
return goString(l)
} | |
c169550 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkMessageDialog(p)
} | |
c169551 |
p := unsafe.Pointer(v.GObject)
return C.toGtkNotebook(p)
} | |
c169552 |
}
p := unsafe.Pointer(v.GObject)
return C.toGtkOffscreenWindow(p)
} | |
c169553 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkOrientable(p)
} | |
c169554 |
p := unsafe.Pointer(v.GObject)
return C.toGtkOverlay(p)
} | |
c169555 |
p := unsafe.Pointer(v.GObject)
return C.toGtkPaned(p)
} | |
c169556 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkProgressBar(p)
} | |
c169557 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkRadioButton(p)
} | |
c169558 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkRadioMenuItem(p)
} | |
c169559 |
p := unsafe.Pointer(v.GObject)
return C.toGtkRange(p)
} | |
c169560 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkRecentChooser(p)
} | |
c169561 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkRecentFilter(p)
} | |
c169562 |
p := unsafe.Pointer(v.GObject)
return C.toGtkScale(p)
} | |
c169563 |
p := unsafe.Pointer(v.GObject)
return C.toGtkScrollbar(p)
} | |
c169564 |
}
p := unsafe.Pointer(v.GObject)
return C.toGtkScrolledWindow(p)
} | |
c169565 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkSearchEntry(p)
} | |
c169566 | return nil
}
return v.GtkSelectionData
} | |
c169567 | &length)
sliceHeader := (*reflect.SliceHeader)(unsafe.Pointer(&data))
sliceHeader.Data = uintptr(unsafe.Pointer(c))
sliceHeader.Len = int(length)
sliceHeader.Cap = int(length)
return
} | |
c169568 |
sliceHeader := (*reflect.SliceHeader)(unsafe.Pointer(&byteData))
sliceHeader.Data = uintptr(unsafe.Pointer(cptr))
sliceHeader.Len = int(length)
sliceHeader.Cap = int(length)
return byteData
} | |
c169569 | C.GdkAtom(unsafe.Pointer(atom)), C.gint(8), (*C.guchar)(unsafe.Pointer(&data[0])), C.gint(len(data)))
} | |
c169570 |
C.gtk_drag_set_icon_pixbuf((*C.GdkDragContext)(ctx), (*C.GdkPixbuf)(pix), C.gint(hot_x), C.gint(hot_y))
} | |
c169571 |
p := unsafe.Pointer(v.GObject)
return C.toGtkSeparator(p)
} | |
c169572 |
}
p := unsafe.Pointer(v.GObject)
return C.toGtkSeparatorMenuItem(p)
} | |
c169573 |
}
p := unsafe.Pointer(v.GObject)
return C.toGtkSeparatorToolItem(p)
} | |
c169574 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkSpinButton(p)
} | |
c169575 |
p := unsafe.Pointer(v.GObject)
return C.toGtkSpinner(p)
} | |
c169576 |
p := unsafe.Pointer(v.GObject)
return C.toGtkStatusbar(p)
} | |
c169577 |
p := unsafe.Pointer(v.GObject)
return C.toGtkSwitch(p)
} | |
c169578 |
p := unsafe.Pointer(v.GObject)
return C.toGtkTextTag(p)
} | |
c169579 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkTextTagTable(p)
} | |
c169580 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkTextBuffer(p)
} | |
c169581 | (*C.GtkTextIter)(start), (*C.GtkTextIter)(end))
} | |
c169582 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkToggleButton(p)
} | |
c169583 |
p := unsafe.Pointer(v.GObject)
return C.toGtkToolbar(p)
} | |
c169584 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkToolButton(p)
} | |
c169585 |
}
p := unsafe.Pointer(v.GObject)
return C.toGtkToggleToolButton(p)
} | |
c169586 |
p := unsafe.Pointer(v.GObject)
return C.toGtkToolItem(p)
} | |
c169587 | return nil
}
return &v.GtkTreeIter
} | |
c169588 |
p := unsafe.Pointer(v.GObject)
return C.toGtkTreeModel(p)
} | |
c169589 | return &TreePath{(*C.GtkTreePath)(list.Data().(unsafe.Pointer))}
} | |
c169590 | return nil
}
return v.GtkTreePath
} | |
c169591 | := int(*((*C.gint)(unsafe.Pointer(indices))))
goindices = append(goindices, goind)
indices += size
}
return goindices
} | |
c169592 | }
p := unsafe.Pointer(v.GObject)
return C.toGtkTreeSelection(p)
} | |
c169593 | if c == nil {
return nil
}
t := &TreePath{c}
runtime.SetFinalizer(t, (*TreePath).free)
return t
} | |
c169594 | nil
}
m := wrapTreeModel(glib.Take(unsafe.Pointer(c)))
return m
} | |
c169595 | := C.gtk_tree_row_reference_valid(v.native())
return gobool(c)
} | |
c169596 |
p := unsafe.Pointer(v.GObject)
return C.toGtkTreeStore(p)
} | |
c169597 | = parent.native()
}
C.gtk_tree_store_insert(v.native(), &ti, cParent, C.gint(position))
iter := &TreeIter{ti}
return iter
} | |
c169598 | if c == nil {
return nil, nilPtrErr
}
return wrapSettings(glib.Take(unsafe.Pointer(c))), nil
} | |
c169599 | return nil
}
return (*C.GtkTextMark)(v)
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.