text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```c++
#include "UEPyVisualLogger.h"
#include "Runtime/Engine/Public/VisualLogger/VisualLogger.h"
PyObject *py_ue_vlog(ue_PyUObject *self, PyObject * args)
{
ue_py_check(self);
char *category;
char *text;
int verbosity = ELogVerbosity::Log;
if (!PyArg_ParseTuple(args, "ss|i:vlog", &category, &text, &verbosity... | /content/code_sandbox/Source/UnrealEnginePython/Private/UEPyVisualLogger.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 573 |
```c++
#include "PyHUD.h"
#include "UEPyModule.h"
#include "PythonDelegate.h"
APyHUD::APyHUD()
{
PrimaryActorTick.bCanEverTick = true;
PythonTickForceDisabled = false;
PythonDisableAutoBinding = false;
}
// Called when the game starts
void APyHUD::BeginPlay()
{
Super::BeginPlay();
// ...
if (PythonModule.... | /content/code_sandbox/Source/UnrealEnginePython/Private/PyHUD.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,385 |
```objective-c
#pragma once
#include "UEPyModule.h"
#if WITH_EDITOR
PyObject *py_unreal_engine_get_editor_world(PyObject *, PyObject * args);
PyObject *py_unreal_engine_editor_play_in_viewport(PyObject *, PyObject * args);
PyObject *py_unreal_engine_editor_get_selected_actors(PyObject *, PyObject *);
PyObject *py_... | /content/code_sandbox/Source/UnrealEnginePython/Private/UEPyEditor.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,290 |
```objective-c
#pragma once
#include "UEPyModule.h"
#if WITH_EDITOR
#include "Runtime/Projects/Public/Interfaces/IPluginManager.h"
typedef struct
{
PyObject_HEAD
/* Type-specific fields go here. */
IPlugin *plugin;
} ue_PyIPlugin;
PyObject *py_ue_new_iplugin(IPlugin *);
void ue_python_init_iplugin(PyObject... | /content/code_sandbox/Source/UnrealEnginePython/Private/UEPyIPlugin.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 78 |
```c++
#include "UEPyModule.h"
#include "UEPyEngine.h"
#include "UEPyTimer.h"
#include "UEPyTicker.h"
#include "UEPyVisualLogger.h"
#include "UObject/UEPyObject.h"
#include "UObject/UEPyActor.h"
#include "UObject/UEPyTransform.h"
#include "UObject/UEPyPlayer.h"
#include "UObject/UEPyInput.h"
#include "UObject/UEPyWor... | /content/code_sandbox/Source/UnrealEnginePython/Private/UEPyModule.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 39,870 |
```c++
#include "PythonHouseKeeper.h"
void FUnrealEnginePythonHouseKeeper::AddReferencedObjects(FReferenceCollector& InCollector)
{
InCollector.AddReferencedObjects(PythonTrackedObjects);
}
FUnrealEnginePythonHouseKeeper *FUnrealEnginePythonHouseKeeper::Get()
{
static FUnrealEnginePythonHouseKeeper *Singleto... | /content/code_sandbox/Source/UnrealEnginePython/Private/PythonHouseKeeper.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,839 |
```c++
#include "PyNativeWidgetHost.h"
UPyNativeWidgetHost::UPyNativeWidgetHost(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
bIsVariable = true;
}
#if WITH_EDITOR
const FText UPyNativeWidgetHost::GetPaletteCategory()
{
return NSLOCTEXT("Python", "Python", "Python");
}
#endif
``... | /content/code_sandbox/Source/UnrealEnginePython/Private/PyNativeWidgetHost.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 79 |
```c++
#include "PythonComponent.h"
#include "UEPyModule.h"
UPythonComponent::UPythonComponent()
{
// Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features
// off to improve performance if you don't need them.
#if ENGINE_MINOR_VERSION < 14
bWantsBegin... | /content/code_sandbox/Source/UnrealEnginePython/Private/PythonComponent.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 3,770 |
```c++
#include "PyActor.h"
#include "UEPyModule.h"
APyActor::APyActor()
{
PrimaryActorTick.bCanEverTick = true;
PythonTickForceDisabled = false;
PythonDisableAutoBinding = false;
}
void APyActor::PreInitializeComponents()
{
Super::PreInitializeComponents();
if (PythonModule.IsEmpty())
return;
FScopePyth... | /content/code_sandbox/Source/UnrealEnginePython/Private/PyActor.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,564 |
```objective-c
#pragma once
#include "UEPyModule.h"
typedef struct
{
PyObject_HEAD
/* Type-specific fields go here. */
} ue_PyUClassesImporter;
PyObject *py_ue_new_uclassesimporter();
void ue_python_init_uclassesimporter(PyObject *);
``` | /content/code_sandbox/Source/UnrealEnginePython/Private/UEPyUClassesImporter.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 58 |
```c++
#include "UEPyEngine.h"
#include "Kismet/KismetSystemLibrary.h"
#include "Kismet/KismetMathLibrary.h"
#include "Developer/DesktopPlatform/Public/IDesktopPlatform.h"
#include "Developer/DesktopPlatform/Public/DesktopPlatformModule.h"
#if WITH_EDITOR
#include "PackageTools.h"
#include "Editor.h"
#endif
#includ... | /content/code_sandbox/Source/UnrealEnginePython/Private/UEPyEngine.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 9,107 |
```objective-c
#pragma once
#include "UEPyModule.h"
typedef struct
{
PyObject_HEAD
/* Type-specific fields go here. */
UFunction *u_function;
UObject *u_target;
} ue_PyCallable;
PyObject *py_ue_new_callable(UFunction *, UObject *);
ue_PyCallable *py_ue_is_callable(PyObject *);
void ue_python_init_callable(P... | /content/code_sandbox/Source/UnrealEnginePython/Private/UEPyCallable.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 77 |
```c++
#include "UEPyEnumsImporter.h"
static PyObject *ue_PyEnumsImporter_getattro(ue_PyEnumsImporter *self, PyObject *attr_name)
{
PyObject *py_attr = PyObject_GenericGetAttr((PyObject *)self, attr_name);
if (!py_attr)
{
if (PyUnicodeOrString_Check(attr_name))
{
const char *attr = UEPyUnicode_AsUTF8(attr_na... | /content/code_sandbox/Source/UnrealEnginePython/Private/UEPyEnumsImporter.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 594 |
```objective-c
#pragma once
#include "UEPyModule.h"
#if WITH_EDITOR
#include "EditorFramework/AssetImportData.h"
PyObject *py_ue_asset_import_data(ue_PyUObject *, PyObject *);
PyObject *py_ue_asset_import_data_set_sources(ue_PyUObject *, PyObject *);
#endif
``` | /content/code_sandbox/Source/UnrealEnginePython/Private/UEPyAssetUserData.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 61 |
```c++
#include "PythonDelegate.h"
#include "UEPyModule.h"
#include "UEPyCallable.h"
UPythonDelegate::UPythonDelegate()
{
py_callable = nullptr;
signature_set = false;
}
void UPythonDelegate::SetPyCallable(PyObject *callable)
{
// do not acquire the gil here as we set the callable in python call themselves
py_ca... | /content/code_sandbox/Source/UnrealEnginePython/Private/PythonDelegate.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 722 |
```c++
#include "UEPySImage.h"
#include "Engine/Texture2D.h"
static PyObject *py_ue_simage_set_brush(ue_PySImage *self, PyObject * args)
{
ue_py_slate_cast(SImage);
PyObject *py_brush;
if (!PyArg_ParseTuple(args, "O:set_brush", &py_brush))
{
return nullptr;
}
FSlateBrush *brush = ue_py_check_struct<FSlateBru... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySImage.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,058 |
```objective-c
#pragma once
#include "UEPySCompoundWidget.h"
#include "Runtime/Slate/Public/Widgets/SViewport.h"
extern PyTypeObject ue_PySViewportType;
typedef struct
{
ue_PySCompoundWidget s_compound_widget;
/* Type-specific fields go here. */
} ue_PySViewport;
void ue_python_init_sviewport(PyObject *);
``` | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySViewport.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 76 |
```objective-c
#pragma once
#include "UEPyModule.h"
#include "Runtime/SlateCore/Public/Layout/Geometry.h"
typedef struct
{
PyObject_HEAD
/* Type-specific fields go here. */
FGeometry geometry;
} ue_PyFGeometry;
void ue_python_init_fgeometry(PyObject *);
ue_PyFGeometry *py_ue_is_fgeometry(PyObject *);
PyObjec... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFGeometry.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 84 |
```c++
#include "UEPySSlider.h"
static PyObject *py_ue_sslider_set_value(ue_PySSlider *self, PyObject * args)
{
ue_py_slate_cast(SSlider);
float value;
if (!PyArg_ParseTuple(args, "f:set_value", &value))
{
return nullptr;
}
py_SSlider->SetValue(value);
Py_RETURN_SLATE_SELF;
}
static PyObject *py_ue_sslide... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySSlider.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 922 |
```c++
#include "UEPyFCharacterEvent.h"
#include "UEPyFModifierKeysState.h"
static PyObject *py_ue_fcharacter_event_get_character(ue_PyFCharacterEvent *self, PyObject * args)
{
TCHAR c = self->character_event.GetCharacter();
FString s = FString(1, &c);
return PyUnicode_FromString(TCHAR_TO_UTF8(*s));
}
static Py... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFCharacterEvent.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 962 |
```objective-c
#pragma once
#include "UEPySEditorViewport.h"
#if WITH_EDITOR
#include "Editor/LevelEditor/Public/SLevelViewport.h"
#include "Editor/LevelEditor/Private/SLevelEditor.h"
#include "Editor/UnrealEd/Public/EditorViewportClient.h"
#include "Runtime/Engine/Public/PreviewScene.h"
extern PyTypeObject ue_PySL... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySLevelViewport.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 122 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "UEPySCompoundWidget.h"
#include "Runtime/Slate/Public/Widgets/Input/SRotatorInputBox.h"
extern PyTypeObject ue_PySRotatorInputBoxType;
typedef struct {
ue_PySCompoundWidget s_compound_widget;
/* Type-specific fields go here. */
} ue_PySRotato... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySRotatorInputBox.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 96 |
```objective-c
#pragma once
#include "UEPySCompoundWidget.h"
#include "Runtime/Slate/Public/Widgets/Input/SVectorInputBox.h"
extern PyTypeObject ue_PySVectorInputBoxType;
typedef struct
{
ue_PySCompoundWidget s_compound_widget;
/* Type-specific fields go here. */
} ue_PySVectorInputBox;
void ue_python_init_svect... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySVectorInputBox.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 85 |
```c++
#include "UEPyFTabManager.h"
static PyMethodDef ue_PyFTabManager_methods[] = {
{ NULL } /* Sentinel */
};
static PyObject *ue_PyFTabManager_str(ue_PyFTabManager *self)
{
return PyUnicode_FromFormat("<unreal_engine.FTabManager %p srefs %d>",
&self->tab_manager.Get(), self->tab_manager.GetSharedReferenceC... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFTabManager.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 556 |
```c++
#include "UEPyIDetailsView.h"
#if WITH_EDITOR
#include "Editor/PropertyEditor/Public/IDetailsView.h"
static PyObject *py_ue_idetails_view_set_object(ue_PyIDetailsView *self, PyObject * args, PyObject *kwargs)
{
ue_py_slate_cast(IDetailsView);
PyObject *py_in_obj = nullptr;
PyObject *py_force_refresh =... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyIDetailsView.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 725 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "UEPySPanel.h"
#include "Runtime/SlateCore/Public/Widgets/SOverlay.h"
extern PyTypeObject ue_PySOverlayType;
typedef struct {
ue_PySPanel s_panel;
/* Type-specific fields go here. */
} ue_PySOverlay;
void ue_python_init_soverlay(PyObject *);
... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySOverlay.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 80 |
```c++
#include "UEPySViewport.h"
static PyObject *py_ue_sviewport_enable_stereo_rendering(ue_PySViewport *self, PyObject * args)
{
ue_py_slate_cast(SViewport);
PyObject *py_bool;
if (!PyArg_ParseTuple(args, "O:enable_stereo_rendering", &py_bool))
{
return NULL;
}
py_SViewport->EnableStereoRendering(PyObje... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySViewport.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 587 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "UEPySLeafWidget.h"
#include "Runtime/Slate/Public/Widgets/Notifications/SProgressBar.h"
extern PyTypeObject ue_PySProgressBarType;
typedef struct {
ue_PySLeafWidget s_leaf_widget;
/* Type-specific fields go here. */
} ue_PySProgressBar;
void... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySProgressBar.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 85 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "UEPySPanel.h"
#include "Runtime/Slate/Public/Widgets/Input/SComboBox.h"
extern PyTypeObject ue_PySPythonComboBoxType;
class SPythonComboBox : public SComboBox<TSharedPtr<FPythonItem>> {
public:
~SPythonComboBox() {
if (PythonOptionsSource)
... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySPythonComboBox.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 140 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "UEPySPanel.h"
#include "Runtime/Slate/Public/Widgets/Layout/SGridPanel.h"
extern PyTypeObject ue_PySGridPanelType;
typedef struct {
ue_PySPanel s_panel;
/* Type-specific fields go here. */
} ue_PySGridPanel;
void ue_python_init_sgrid_panel(P... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySGridPanel.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 84 |
```c++
#include "UEPySPythonComboBox.h"
static PyObject *py_ue_spython_combo_box_clear_selection(ue_PySPythonComboBox *self, PyObject * args)
{
ue_py_slate_cast(SPythonComboBox);
py_SPythonComboBox->ClearSelection();
Py_RETURN_SLATE_SELF;
}
static PyObject *py_ue_spython_combo_box_get_selected_item(ue_PySPython... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySPythonComboBox.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,430 |
```objective-c
#pragma once
#include "UEPyModule.h"
#include "Runtime/SlateCore/Public/Input/Events.h"
typedef struct {
PyObject_HEAD
/* Type-specific fields go here. */
FInputEvent input;
} ue_PyFInputEvent;
void ue_python_init_finput_event(PyObject *);
PyObject *py_ue_new_finput_event(FInputEvent);
``` | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFInputEvent.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 73 |
```objective-c
#pragma once
#include "UEPySCompoundWidget.h"
#if WITH_EDITOR
#include "Editor/EditorWidgets/Public/SDropTarget.h"
extern PyTypeObject ue_PySDropTargetType;
typedef struct {
ue_PySCompoundWidget s_compound_widget;
/* Type-specific fields go here. */
} ue_PySDropTarget;
void ue_python_init_sdrop_t... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySDropTarget.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 85 |
```c++
#include "UEPySEditableTextBox.h"
static PyObject *py_ue_seditable_text_box_select_all_text(ue_PySEditableTextBox *self, PyObject * args)
{
ue_py_slate_cast(SEditableTextBox);
py_SEditableTextBox->SelectAllText();
Py_RETURN_NONE;
}
static PyObject *py_ue_seditable_text_box_clear_selection(ue_PySEditab... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySEditableTextBox.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,469 |
```c++
#include "UEPySVectorInputBox.h"
static PyMethodDef ue_PySVectorInputBox_methods[] = {
{ NULL } /* Sentinel */
};
PyTypeObject ue_PySVectorInputBoxType = {
PyVarObject_HEAD_INIT(NULL, 0)
"unreal_engine.SVectorInputBox", /* tp_name */
sizeof(ue_PySVectorInputBox), /* tp_basicsize */
0, ... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySVectorInputBox.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 803 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "UEPySBoxPanel.h"
#include "Runtime/SlateCore/Public/Widgets/SBoxPanel.h"
extern PyTypeObject ue_PySHorizontalBoxType;
typedef struct {
ue_PySBoxPanel s_box_panel;
/* Type-specific fields go here. */
} ue_PySHorizontalBox;
void ue_python_init... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySHorizontalBox.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 87 |
```c++
#include "UEPyFInputEvent.h"
static PyObject *py_ue_finput_event_to_text(ue_PyFInputEvent *self, PyObject * args)
{
return PyUnicode_FromString(TCHAR_TO_UTF8(*self->input.ToText().ToString()));
}
static PyObject *py_ue_finput_event_get_user_index(ue_PyFInputEvent *self, PyObject * args)
{
return PyLong_FromU... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFInputEvent.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 887 |
```c++
#include "UEPySPythonTreeView.h"
#include "Runtime/Slate/Public/Widgets/Views/STreeView.h"
static PyObject *py_ue_spython_tree_view_set_item_expansion(ue_PySPythonTreeView *self, PyObject * args)
{
ue_py_slate_cast(SPythonTreeView);
PyObject *py_item;
PyObject *py_bool;
if (!PyArg_ParseTuple(args, "OO:s... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySPythonTreeView.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,123 |
```objective-c
#pragma once
#include "UEPySCompoundWidget.h"
#include "Runtime/SlateCore/Public/Widgets/SWindow.h"
extern PyTypeObject ue_PySWindowType;
typedef struct {
ue_PySCompoundWidget s_compound_widget;
/* Type-specific fields go here. */
} ue_PySWindow;
void ue_python_init_swindow(PyObject *);
ue_PySWin... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySWindow.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 109 |
```objective-c
#pragma once
#include "UEPySBorder.h"
#include "Runtime/Slate/Public/Widgets/Docking/SDockTab.h"
extern PyTypeObject ue_PySDockTabType;
typedef struct
{
ue_PySBorder s_border;
/* Type-specific fields go here. */
} ue_PySDockTab;
void ue_python_init_sdock_tab(PyObject *);
``` | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySDockTab.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 79 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "UEPySTreeView.h"
extern PyTypeObject ue_PySPythonTreeViewType;
class SPythonTreeView : public STreeView<TSharedPtr<struct FPythonItem>>
{
public:
~SPythonTreeView()
{
delete(ItemsSource);
}
void SetPythonItemExpansion(PyObject *item, bool ... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySPythonTreeView.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 127 |
```objective-c
#pragma once
#include "UEPySWidget.h"
extern PyTypeObject ue_PySPanelType;
typedef struct {
ue_PySWidget s_widget;
/* Type-specific fields go here. */
} ue_PySPanel;
void ue_python_init_spanel(PyObject *);
``` | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySPanel.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 59 |
```c++
#include "UEPySDockTab.h"
#include "UEPyFTabManager.h"
static PyObject *py_ue_sdock_tab_set_label(ue_PySDockTab *self, PyObject * args)
{
ue_py_slate_cast(SDockTab);
char *label;
if (!PyArg_ParseTuple(args, "s:set_label", &label))
{
return nullptr;
}
py_SDockTab->SetLabel(FText::FromString(UTF8_TO_TC... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySDockTab.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 880 |
```c++
#include "UEPySRotatorInputBox.h"
static PyMethodDef ue_PySRotatorInputBox_methods[] = {
{ NULL } /* Sentinel */
};
PyTypeObject ue_PySRotatorInputBoxType = {
PyVarObject_HEAD_INIT(NULL, 0)
"unreal_engine.SRotatorInputBox", /* tp_name */
sizeof(ue_PySRotatorInputBox), /* tp_basicsize */
0, ... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySRotatorInputBox.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 813 |
```c++
#include "UEPySProgressBar.h"
static PyObject *py_ue_sprogress_bar_set_percent(ue_PySProgressBar *self, PyObject *args)
{
ue_py_slate_cast(SProgressBar);
float percent;
if (!PyArg_ParseTuple(args, "f", &percent))
{
return nullptr;
}
py_SProgressBar->SetPercent(percent);
Py_RETURN_SLATE_SELF;
}
static... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySProgressBar.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 751 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#if ENGINE_MINOR_VERSION <= 17
#include "Runtime/Core/Public/GenericPlatform/GenericApplication.h"
#else
#include "Runtime/ApplicationCore/Public/GenericPlatform/GenericApplication.h"
#endif
typedef struct
{
PyObject_HEAD
/* Type-specific fields go here.... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFModifierKeysState.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 127 |
```c++
#include "UEPyFSlateIcon.h"
static PyObject *py_ue_fslate_icon_get_icon(ue_PyFSlateIcon *self, PyObject * args)
{
return py_ue_new_owned_uscriptstruct(FSlateBrush::StaticStruct(), (uint8*)self->icon.GetIcon());
}
static PyMethodDef ue_PyFSlateIcon_methods[] = {
{ "get_icon", (PyCFunction)py_ue_fslate_icon_g... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFSlateIcon.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 851 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#if WITH_EDITOR
#include "UEPySCompoundWidget.h"
extern PyTypeObject ue_PySCompoundWidgetType;
typedef struct {
ue_PySCompoundWidget s_compound_widget;
/* Type-specific fields go here. */
} ue_PyIDetailsView;
void ue_python_init_idetails_view(PyObjec... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyIDetailsView.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 96 |
```objective-c
#pragma once
#include "UEPySLeafWidget.h"
#include "Runtime/Slate/Public/Widgets/Text/STextBlock.h"
extern PyTypeObject ue_PySTextBlockType;
typedef struct
{
ue_PySLeafWidget s_leaf_widget;
/* Type-specific fields go here. */
} ue_PySTextBlock;
void ue_python_init_stext_block(PyObject *);
``` | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySTextBlock.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 82 |
```c++
#include "UEPySDropTarget.h"
#if WITH_EDITOR
static PyMethodDef ue_PySDropTarget_methods[] = {
{ NULL } /* Sentinel */
};
PyTypeObject ue_PySDropTargetType = {
PyVarObject_HEAD_INIT(NULL, 0)
"unreal_engine.SDropTarget", /* tp_name */
sizeof(ue_PySDropTarget), /* tp_basicsize */
0, ... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySDropTarget.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 419 |
```objective-c
#pragma once
#include "UEPySLeafWidget.h"
#include "Runtime/Slate/Public/Widgets/Colors/SColorBlock.h"
extern PyTypeObject ue_PySColorBlockType;
typedef struct {
ue_PySLeafWidget s_leaf_widget;
/* Type-specific fields go here. */
} ue_PySColorBlock;
void ue_python_init_scolor_block(PyObject *);
`... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySColorBlock.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 80 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "Runtime/Slate/Public/Framework/Docking/TabManager.h"
typedef struct {
PyObject_HEAD
/* Type-specific fields go here. */
FTabSpawnerEntry *spawner_entry;
} ue_PyFTabSpawnerEntry;
PyObject *py_ue_new_ftab_spawner_entry(FTabSpawnerEntry *);
void... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFTabSpawnerEntry.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 91 |
```objective-c
#pragma once
#include "UEPySBorder.h"
#include "Runtime/Slate/Public/Widgets/Input/SEditableTextBox.h"
extern PyTypeObject ue_PySEditableTextBoxType;
typedef struct {
ue_PySBorder s_border;
/* Type-specific fields go here. */
} ue_PySEditableTextBox;
void ue_python_init_seditable_text_box(PyObject... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySEditableTextBox.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 81 |
```c++
#include "UEPySWidget.h"
#include "Runtime/Slate/Public/Framework/Application/SlateApplication.h"
static PyObject *ue_PySWidget_str(ue_PySWidget *self)
{
#if PY_MAJOR_VERSION >= 3
return PyUnicode_FromFormat("<unreal_engine.%s '%p' (slate ref count: %d, py ref count: %d)>",
TCHAR_TO_UTF8(*self->Widget->Ge... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySWidget.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 3,661 |
```c++
#include "UEPySHorizontalBox.h"
static PyObject *py_ue_shorizontal_box_add_slot(ue_PySHorizontalBox *self, PyObject * args, PyObject *kwargs)
{
ue_py_slate_cast(SHorizontalBox);
int32 retCode = [&]() {
ue_py_slate_setup_hack_slot_args(SHorizontalBox, py_SHorizontalBox);
ue_py_slate_farguments_float("fi... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySHorizontalBox.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 724 |
```c++
#include "UEPySPythonWidget.h"
static PyObject *py_ue_spython_widget_set_active(ue_PySPythonWidget *self, PyObject *args)
{
ue_py_slate_cast(SPythonWidget);
PyObject *py_bool = nullptr;
if (!PyArg_ParseTuple(args, "|O:set_active", &py_bool))
{
return nullptr;
}
bool bActive = true;
if (py_bool)
{
... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySPythonWidget.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 884 |
```c++
#include "UEPySVerticalBox.h"
static PyObject *py_ue_svertical_box_add_slot(ue_PySVerticalBox *self, PyObject * args, PyObject *kwargs)
{
ue_py_slate_cast(SVerticalBox);
int32 retCode = [&]() {
ue_py_slate_setup_hack_slot_args(SVerticalBox, py_SVerticalBox);
ue_py_slate_farguments_float("fill_height", ... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySVerticalBox.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 724 |
```c++
#include "UEPySListView.h"
static PyMethodDef ue_PySListView_methods[] = {
{ NULL } /* Sentinel */
};
PyTypeObject ue_PySListViewType = {
PyVarObject_HEAD_INIT(NULL, 0)
"unreal_engine.SListView", /* tp_name */
sizeof(ue_PySListView), /* tp_basicsize */
0, /* tp_itemsize */
0, ... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySListView.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 402 |
```objective-c
#pragma once
#include "UEPySCompoundWidget.h"
#if WITH_EDITOR
#include "Editor/UnrealEd/Public/SEditorViewport.h"
extern PyTypeObject ue_PySEditorViewportType;
typedef struct
{
ue_PySCompoundWidget s_compound_widget;
/* Type-specific fields go here. */
} ue_PySEditorViewport;
void ue_python_init_... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySEditorViewport.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 88 |
```c++
#include "UEPyFMenuBuilder.h"
#include "Wrappers/UEPyESlateEnums.h"
static PyObject* py_ue_fmenu_builder_begin_section(ue_PyFMenuBuilder* self, PyObject* args)
{
char* name;
char* text;
if (!PyArg_ParseTuple(args, "ss:begin_section", &name, &text))
return nullptr;
self->menu_builder.BeginSection(name, F... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFMenuBuilder.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 2,007 |
```c++
#include "UEPySTableViewBase.h"
static PyObject *py_ue_stable_view_base_set_item_height(ue_PySTableViewBase *self, PyObject * args)
{
ue_py_slate_cast(STableViewBase);
float size;
if (!PyArg_ParseTuple(args, "f:set_item_height", &size))
{
return nullptr;
}
py_STableViewBase->SetItemHeight(size);
P... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySTableViewBase.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 770 |
```objective-c
#pragma once
#include "UEPySListView.h"
extern PyTypeObject ue_PySPythonListViewType;
class SPythonListView : public SListView<TSharedPtr<struct FPythonItem>>
{
public:
~SPythonListView()
{
delete(ItemsSource);
}
void SetHeaderRow(TSharedPtr<SHeaderRow> InHeaderRowWidget);
};
typedef struct
{
... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySPythonListView.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 129 |
```c++
#include "UEPyFGeometry.h"
static PyObject *py_ue_fgeometry_get_local_size(ue_PyFGeometry *self, PyObject * args)
{
FVector2D size = self->geometry.GetLocalSize();
return Py_BuildValue("(ff)", size.X, size.Y);
}
static PyObject *py_ue_fgeometry_get_absolute_position(ue_PyFGeometry *self, PyObject * args)
{
#... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFGeometry.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 847 |
```c++
#include "UEPySPanel.h"
static PyMethodDef ue_PySPanel_methods[] = {
{ NULL } /* Sentinel */
};
PyTypeObject ue_PySPanelType = {
PyVarObject_HEAD_INIT(NULL, 0)
"unreal_engine.SPanel", /* tp_name */
sizeof(ue_PySPanel), /* tp_basicsize */
0, /* tp_itemsize */
0, /* tp_dea... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySPanel.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 400 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "UEPySLeafWidget.h"
#if ENGINE_MINOR_VERSION > 21
#include "Runtime/SlateCore/Public/Widgets/Images/SImage.h"
#else
#include "Runtime/Slate/Public/Widgets/Images/SImage.h"
#endif
#include "Runtime/SlateCore/Public/Styling/SlateBrush.h"
extern PyT... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySImage.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 129 |
```c++
#include "UEPySFilePathPicker.h"
#if WITH_EDITOR
#if ENGINE_MINOR_VERSION > 13
static PyMethodDef ue_PySFilePathPicker_methods[] = {
{ NULL } /* Sentinel */
};
DECLARE_UE_PY_SLATE_WIDGET(SFilePathPicker);
static int ue_py_sfile_path_picker_init(ue_PySFilePathPicker *self, PyObject *args, PyObject *kwargs)
... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySFilePathPicker.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 416 |
```c++
#include "UEPySCompoundWidget.h"
static PyObject *py_ue_scompound_widget_get_color_and_opacity(ue_PySCompoundWidget *self, PyObject * args)
{
ue_py_slate_cast(SCompoundWidget);
FLinearColor color = py_SCompoundWidget->GetColorAndOpacity();
return py_ue_new_flinearcolor(color);
}
static PyObject *py_ue_sc... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySCompoundWidget.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 672 |
```objective-c
#pragma once
#include "UEPySWidget.h"
#include "Runtime/Slate/Public/Widgets/Text/SMultiLineEditableText.h"
extern PyTypeObject ue_PySMultiLineEditableTextType;
typedef struct
{
ue_PySWidget s_widget;
/* Type-specific fields go here. */
} ue_PySMultiLineEditableText;
void ue_python_init_smulti_lin... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySMultiLineEditableText.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 88 |
```objective-c
#pragma once
#include "UEPyModule.h"
#include "Runtime/SlateCore/Public/Widgets/DeclarativeSyntaxSupport.h"
#if WITH_EDITOR
#include "Editor/WorkspaceMenuStructure/Public/WorkspaceMenuStructureModule.h"
#include "Editor/WorkspaceMenuStructure/Public/WorkspaceMenuStructure.h"
#include "Editor/EditorSt... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySlate.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 4,365 |
```objective-c
#pragma once
#include "UEPyFInputEvent.h"
extern PyTypeObject ue_PyFInputEventType;
typedef struct
{
/* Type-specific fields go here. */
ue_PyFInputEvent f_input;
FCharacterEvent character_event;
} ue_PyFCharacterEvent;
void ue_python_init_fcharacter_event(PyObject *);
PyObject *py_ue_new_fcharac... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFCharacterEvent.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 98 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "UEPySCompoundWidget.h"
extern PyTypeObject ue_PySPythonShelfType;
typedef struct {
ue_PySCompoundWidget s_compound_widget;
/* Type-specific fields go here. */
} ue_PySPythonShelf;
void ue_python_init_spython_shelf(PyObject *);
``` | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySPythonShelf.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 77 |
```objective-c
#pragma once
#include "UEPySBorder.h"
#include "Runtime/Slate/Public/Widgets/Input/SButton.h"
extern PyTypeObject ue_PySButtonType;
typedef struct {
ue_PySBorder s_border;
/* Type-specific fields go here. */
} ue_PySButton;
void ue_python_init_sbutton(PyObject *);
``` | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySButton.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 71 |
```objective-c
#pragma once
#include "UEPySCompoundWidget.h"
#if WITH_EDITOR
#include "Editor/PropertyEditor/Public/PropertyCustomizationHelpers.h"
extern PyTypeObject ue_PySObjectPropertyEntryBoxType;
typedef struct
{
ue_PySCompoundWidget s_compound_widget;
/* Type-specific fields go here. */
} ue_PySObjectProp... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySObjectPropertyEntryBox.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 93 |
```c++
#include "UEPySCanvas.h"
static PyObject *py_ue_scanvas_clear_children(ue_PySCanvas *self, PyObject * args)
{
ue_py_slate_cast(SCanvas);
py_SCanvas->ClearChildren();
Py_RETURN_NONE;
}
static PyObject *py_ue_scanvas_add_slot(ue_PySCanvas *self, PyObject * args, PyObject *kwargs)
{
ue_py_slate_cast(SCanv... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySCanvas.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,146 |
```c++
#include "UEPySPythonShelf.h"
#if WITH_EDITOR
#if ENGINE_MINOR_VERSION > 14
#include "Editor/ContentBrowser/Public/ContentBrowserModule.h"
#include "Editor/ContentBrowser/Public/IContentBrowserSingleton.h"
#include "Editor/ContentBrowser/Private/SAssetPicker.h"
static PyMethodDef ue_PySPythonShelf_methods... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySPythonShelf.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,507 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "UEPySListView.h"
#include "Runtime/Slate/Public/Widgets/Views/STreeView.h"
extern PyTypeObject ue_PySTreeViewType;
typedef struct {
ue_PySListView s_list_view;
/* Type-specific fields go here. */
} ue_PySTreeView;
void ue_python_init_stree_vi... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySTreeView.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 87 |
```c++
#include "UEPySSplitter.h"
static PyObject *py_ue_ssplitter_add_slot(ue_PySSplitter *self, PyObject * args, PyObject *kwargs)
{
ue_py_slate_cast(SSplitter);
PyObject *py_content;
int index = -1;
float size_value = -1;
int sizing_rule = -1;
char *kwlist[] = { (char *)"widget",
(char *)"index",
(char *... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySSplitter.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 957 |
```objective-c
#pragma once
#include "UEPySWidget.h"
#include "Runtime/SlateCore/Public/Widgets/SLeafWidget.h"
extern PyTypeObject ue_PySLeafWidgetType;
typedef struct {
ue_PySWidget s_widget;
/* Type-specific fields go here. */
} ue_PySLeafWidget;
void ue_python_init_sleaf_widget(PyObject *);
``` | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySLeafWidget.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 76 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#if WITH_EDITOR
#include "UEPySCompoundWidget.h"
#include "Editor/UnrealEd/Public/GraphEditor.h"
extern PyTypeObject ue_PySGraphEditorType;
typedef struct {
ue_PySCompoundWidget s_compound_widget;
/* Type-specific fields go here. */
} ue_PySGraphEditor;... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySGraphEditor.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 92 |
```c++
#include "UEPySGraphPanel.h"
#if WITH_EDITOR
#if ENGINE_MINOR_VERSION > 15
#define sw_graph_panel StaticCastSharedRef<SGraphPanel>(self->s_nodePanel.s_panel.s_widget)
/*
static PyObject *py_ue_sgraph_panel_add_slot(ue_PySGraphPanel* self, PyObject *args, PyObject *kwargs)
{
PyObject *py_content;
int z_orde... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySGraphPanel.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,098 |
```objective-c
#pragma once
#include "UEPySCompoundWidget.h"
#include "UnrealEnginePython.h"
#include "Runtime/Slate/Public/Widgets/Views/STableRow.h"
#include "Runtime/Slate/Public/Widgets/Views/STableViewBase.h"
#include "Runtime/Slate/Public/Widgets/Views/SListView.h"
extern PyTypeObject ue_PySCompoundWidgetType;
... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySPythonMultiColumnTableRow.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 832 |
```objective-c
#pragma once
#include "UEPyFInputEvent.h"
extern PyTypeObject ue_PyFInputEventType;
typedef struct
{
/* Type-specific fields go here. */
ue_PyFInputEvent f_input;
FPointerEvent pointer;
} ue_PyFPointerEvent;
void ue_python_init_fpointer_event(PyObject *);
PyObject *py_ue_new_fpointer_event(FPoint... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFPointerEvent.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 97 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "UEPyFInputEvent.h"
extern PyTypeObject ue_PyFInputEventType;
typedef struct {
/* Type-specific fields go here. */
ue_PyFInputEvent f_input;
FKeyEvent key_event;
} ue_PyFKeyEvent;
void ue_python_init_fkey_event(PyObject *);
PyObject *py_ue_ne... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFKeyEvent.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 100 |
```c++
#include "UEPySPythonEditorViewport.h"
#if WITH_EDITOR
#include "Components/DirectionalLightComponent.h"
#include "Wrappers/UEPyFEditorViewportClient.h"
static PyObject *py_ue_spython_editor_viewport_get_world(ue_PySPythonEditorViewport *self, PyObject * args)
{
ue_py_slate_cast(SPythonEditorViewport);
Py_... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySPythonEditorViewport.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 3,610 |
```c++
#include "UEPySEditorViewport.h"
#if WITH_EDITOR
static PyObject *py_ue_seditor_viewport_enable_stereo_rendering(ue_PySEditorViewport *self, PyObject * args)
{
ue_py_slate_cast(SEditorViewport);
PyObject *py_bool;
if (!PyArg_ParseTuple(args, "O:enable_stereo_rendering", &py_bool))
{
return nullptr;
... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySEditorViewport.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 555 |
```c++
#include "UEPyFPointerEvent.h"
#include "UEPyFModifierKeysState.h"
static PyObject *py_ue_fpointer_event_get_effecting_button(ue_PyFPointerEvent *self, PyObject * args)
{
FKey key = self->pointer.GetEffectingButton();
return py_ue_new_owned_uscriptstruct(FKey::StaticStruct(), (uint8*)&key);
}
static PyObjec... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFPointerEvent.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,368 |
```c++
#include "UEPySButton.h"
static PyObject *py_ue_sbutton_is_pressed(ue_PySButton *self, PyObject * args)
{
ue_py_slate_cast(SButton);
if (py_SButton->IsPressed())
{
Py_RETURN_TRUE;
}
Py_RETURN_FALSE;
}
static PyObject *py_ue_sbutton_bind_on_clicked(ue_PySButton *self, PyObject * args)
{
ue_py_slate... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySButton.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,245 |
```c++
#include "UEPyFPaintContext.h"
#include "UEPyFGeometry.h"
static FSlateBrush global_simple_brush;
static PyObject *py_ue_fpaint_context_draw_line(ue_PyFPaintContext *self, PyObject * args)
{
float x1, y1, x2, y2;
PyObject *py_linear_color = nullptr;
PyObject *py_antialias = nullptr;
float thickness = 1.0;... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFPaintContext.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 2,755 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "UEPySPanel.h"
#include "Runtime/SlateCore/Public/Widgets/SBoxPanel.h"
extern PyTypeObject ue_PySBoxPanelType;
typedef struct {
ue_PySPanel s_panel;
/* Type-specific fields go here. */
} ue_PySBoxPanel;
void ue_python_init_sbox_panel(PyObject... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySBoxPanel.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 84 |
```c++
#include "UEPySLeafWidget.h"
static PyMethodDef ue_PySLeafWidget_methods[] = {
{ NULL } /* Sentinel */
};
PyTypeObject ue_PySLeafWidgetType = {
PyVarObject_HEAD_INIT(NULL, 0)
"unreal_engine.SLeafWidget", /* tp_name */
sizeof(ue_PySLeafWidget), /* tp_basicsize */
0, /* tp_itemsiz... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySLeafWidget.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 413 |
```c++
#include "UEPyFSlateStyleSet.h"
#include "Runtime/SlateCore/Public/Styling/SlateTypes.h"
#include "Runtime/SlateCore/Public/Styling/SlateStyleRegistry.h"
#include "Runtime/SlateCore/Public/Sound/SlateSound.h"
#include "Runtime/Core/Public/Containers/Map.h"
static PyObject *py_ue_fslate_style_set_set_content_ro... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFSlateStyleSet.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 3,432 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#include "UEPySCompoundWidget.h"
#include "Runtime/Slate/Public/Widgets/Layout/SBorder.h"
extern PyTypeObject ue_PySBorderType;
typedef struct {
ue_PySCompoundWidget s_compound_widget;
/* Type-specific fields go here. */
} ue_PySBorder;
void ue_python_... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySBorder.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 84 |
```objective-c
#pragma once
#include "UEPyModule.h"
#include "UEPySLeafWidget.h"
#include "Runtime/Slate/Public/Widgets/Layout/SSpacer.h"
extern PyTypeObject ue_PySSpacerType;
typedef struct {
ue_PySLeafWidget s_leaf_widget;
/* Type-specific fields go here. */
} ue_PySSpacer;
void ue_python_init_sspacer(PyObje... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySSpacer.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 86 |
```c++
#include "UEPySMultiLineEditableText.h"
static PyObject *py_ue_smulti_line_editable_text_select_all_text(ue_PySMultiLineEditableText *self, PyObject * args)
{
ue_py_slate_cast(SMultiLineEditableText);
py_SMultiLineEditableText->SelectAllText();
Py_RETURN_NONE;
}
static PyObject *py_ue_smulti_line_edita... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySMultiLineEditableText.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,221 |
```objective-c
#pragma once
#include "UnrealEnginePython.h"
#if WITH_EDITOR
#if ENGINE_MINOR_VERSION > 15
#include "UEPySNodePanel.h"
#include "Editor/GraphEditor/Public/SGraphPanel.h"
extern PyTypeObject ue_PySGraphPanelType;
typedef struct {
ue_PySNodePanel s_nodePanel;
/* Type-specific fields go here. *... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySGraphPanel.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 101 |
```c++
#include "UEPySBorder.h"
static PyObject *py_ue_sborder_clear_content(ue_PySBorder *self, PyObject * args)
{
ue_py_slate_cast(SBorder);
py_SBorder->ClearContent();
Py_RETURN_NONE;
}
static PyObject *py_ue_sborder_set_content(ue_PySBorder *self, PyObject * args)
{
ue_py_slate_cast(SBorder);
PyObject *p... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySBorder.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,436 |
```objective-c
#pragma once
#include "UEPySEditorViewport.h"
#if WITH_EDITOR
#include "Editor/UnrealEd/Public/SEditorViewport.h"
#include "Editor/UnrealEd/Public/EditorViewportClient.h"
#include "Runtime/Engine/Public/PreviewScene.h"
#include "Editor/UnrealEd/Public/SCommonEditorViewportToolbarBase.h"
#include "Edit... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySPythonEditorViewport.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 385 |
```objective-c
#pragma once
#include "UEPySlate.h"
#include "Wrappers/UEPyFColor.h"
#include "Wrappers/UEPyFLinearColor.h"
typedef struct
{
PyObject_HEAD
/* Type-specific fields go here. */
FSlateStyleSet *style_set;
} ue_PyFSlateStyleSet;
ue_PyFSlateStyleSet* py_ue_new_fslate_style_set(FSlateStyleSet* styleSet... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPyFSlateStyleSet.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 108 |
```c++
#include "UEPySDirectoryPicker.h"
#if WITH_EDITOR
#if ENGINE_MINOR_VERSION > 13
static PyObject *py_ue_sdirectory_picker_get_directory(ue_PySDirectoryPicker *self, PyObject * args)
{
ue_py_slate_cast(SDirectoryPicker);
FString Directory = py_SDirectoryPicker->GetDirectory();
return PyUnicode_FromString(TC... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySDirectoryPicker.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 502 |
```c++
#include "UEPySObjectPropertyEntryBox.h"
#if WITH_EDITOR
static PyMethodDef ue_PySObjectPropertyEntryBox_methods[] = {
{ NULL } /* Sentinel */
};
DECLARE_UE_PY_SLATE_WIDGET(SObjectPropertyEntryBox);
static int ue_py_sobject_property_entry_box_init(ue_PySObjectPropertyEntryBox *self, PyObject *args, PyObje... | /content/code_sandbox/Source/UnrealEnginePython/Private/Slate/UEPySObjectPropertyEntryBox.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 415 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.