class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectNodeCanvasItemControlContainer GraphElement
A container that represents a basic element that can be placed inside a GraphEdit control.

GraphElement allows to create custom elements for a GraphEdit graph. By default such elements can be selected, resized, and repositioned, but they cannot be connected. For a graph element that allows for connections see GraphNode.

Signal delete_request<>():Signal

Emitted when removing the GraphElement is requested.

Signal dragged<>( Vector2 from=, from:Vector2=, Vector2 to=, to:Vector2=, ):Signal

Emitted when the GraphElement is dragged.

Signal node_deselected<>():Signal

Emitted when the GraphElement is deselected.

Signal node_selected<>():Signal

Emitted when the GraphElement is selected.

Signal position_offset_changed<>():Signal

Emitted when the GraphElement is moved.

Signal raise_request<>():Signal

Emitted when displaying the GraphElement over other ones is requested. Happens on focusing (clicking into) the GraphElement.

Signal resize_end<>( Vector2 new_size=, new_size:Vector2=, ):Signal

Emitted when releasing the mouse button after dragging the resizer handle (see resizable).

Signal resize_request<>( Vector2 new_size=, new_size:Vector2=, ):Signal

Emitted when resizing the GraphElement is requested. Happens on dragging the resizer handle (see resizable).

bool draggable<>():bool

If true, the user can drag the GraphElement.

Vector2 position_offset<>():Vector2

The offset of the GraphElement, relative to the scroll offset of the GraphEdit.

bool resizable<>():bool

If true, the user can resize the GraphElement.

Note: Dragging the handle will only emit the resize_request and resize_end signals, the GraphElement needs to be resized manually.

bool selectable<>():bool

If true, the user can select the GraphElement.

bool selected<>():bool

If true, the GraphElement is selected.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...