[{"data":1,"prerenderedAt":206},["ShallowReactive",2],{"class-doc-/reference/2.0/gg_dragondrop/ggdragondrop":3,"navigation":134},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"_id":8,"navigation":6,"addon":5,"version":9,"brief_description":10,"description":7,"tutorials":7,"methods":11,"members":101,"signals":118,"constants":127,"inherits":128,"name":129,"title":129,"_source":130,"_file":131,"_stem":132,"_extension":133},"/reference/2.0/gg_dragondrop/ggdragondrop","gg_dragondrop",false,"","content:40.reference:2.0:gg_dragondrop:GGDragonDrop.xml","2.0","Provides an abstraction for Drag-and-Drop operations.",[12,16,23,31,36,46,51,56,60,67,75,82,90,97],{"description":7,"name":13,"public":6,"returnType":14,"params":15},"_ready","void",[],{"description":17,"name":18,"public":6,"returnType":14,"params":19},"When dragging ends, runs any callbacks that were added with [method _add_cleanup_callback].","_notification",[20],{"name":21,"type":22},"what","int",{"description":24,"name":25,"public":26,"returnType":14,"params":27},"Adds drag-and-drop capabilities to the [param control]. The behavior is controlled by the [member allow_drag], [member use_force_drag], and [member allow_drop] properties.","add_dnd",true,[28],{"name":29,"type":30},"control","Control",{"description":32,"name":33,"public":26,"returnType":14,"params":34},"Removes drag-and-drop capabilities from the [param control].  Note: It's currently not possible to \"unset\" drag forwarding configured through [method Control.set_drag_forwarding]. This means that the [param control]'s own [method Control._get_drag_data], [method Control._can_drop_data], and [method Control._drop_data] methods won't be invoked even after calling this method.","remove_dnd",[35],{"name":29,"type":30},{"description":7,"name":37,"public":26,"returnType":14,"params":38},"force_drag",[39,40,43],{"name":29,"type":30},{"name":41,"type":42},"at_position","Vector2",{"name":44,"type":45},"data","GGDragonDropData",{"description":47,"name":48,"public":26,"returnType":49,"params":50},"Retrieves an instance of the [GGDragonHelper] singleton or null, if the helper class cannot be found.","get_helper","GGDragonHelper",[],{"description":52,"name":53,"public":6,"returnType":14,"params":54},"Emits the [signal dragging] signal when dragging starts. Also","_notify_dragging",[55],{"name":44,"type":45},{"description":7,"name":57,"public":6,"returnType":14,"params":58},"_notify_dropped",[59],{"name":44,"type":45},{"description":61,"name":62,"public":6,"returnType":63,"params":64},"The forwarded [method Control._get_drag_data] call.","_handle_get_drag_data","Variant",[65,66],{"name":41,"type":42},{"name":29,"type":30},{"description":68,"name":69,"public":6,"returnType":70,"params":71},"The forwarded [method Control._can_drop_data] call.","_handle_can_drop_data","bool",[72,73,74],{"name":41,"type":42},{"name":44,"type":63},{"name":29,"type":30},{"description":76,"name":77,"public":6,"returnType":14,"params":78},"The forwarded [method Control._drop_data] call.","_handle_drop_data",[79,80,81],{"name":41,"type":42},{"name":44,"type":63},{"name":29,"type":30},{"description":83,"name":84,"public":6,"returnType":14,"params":85},"Handles the [param control]'s [signal Control.gui_input] signal to handle force-dragging.","_on_gui_input",[86,89],{"name":87,"type":88},"event","InputEvent",{"name":29,"type":30},{"description":91,"name":92,"public":6,"returnType":14,"params":93},"When dragging, the [member strategy] can register a [param callable], which will be cleaned up when dragging ends.","_add_cleanup_callback",[94],{"name":95,"type":96},"callable","Callable",{"description":98,"name":99,"public":6,"returnType":14,"params":100},"Runs any registered callbacks when dragging ends.","_run_cleanup_callbacks",[],[102,104,107,111,115],{"name":29,"description":103,"type":30,"setter":7,"getter":7,"public":26},"The [Control] to handle drag and drop for (optional). If you want to manage which control drag-and-drop support is added to at runtime, use [method add_dnd] instead.",{"name":105,"type":106,"setter":7,"getter":7,"public":26},"strategy","GGDragonDropStrategy",{"name":108,"type":109,"setter":7,"getter":7,"default":110,"public":26},"helper_group","String","\"gg_dragon_helper\"",{"name":112,"type":113,"setter":7,"getter":7,"default":114,"public":6},"_cleanup_callbacks","Callable[]","[]",{"name":116,"type":70,"setter":7,"getter":7,"default":117,"public":6},"_is_dragging","false",[119,123],{"description":7,"name":120,"params":121},"dragging",[122],{"name":44,"type":45},{"description":7,"name":124,"params":125},"dropped",[126],{"name":44,"type":45},[],"Node","GGDragonDrop","content","40.reference/2.0/gg_dragondrop/GGDragonDrop.xml","40.reference/2.0/gg_dragondrop/GGDragonDrop","xml",[135,144,171,191],{"title":136,"_path":137,"children":138},"Getting Started","/getting-started",[139,141],{"title":140,"_path":137},"Introduction",{"title":142,"_path":143},"Installation","/getting-started/installation",{"title":145,"_path":146,"children":147},"Concepts","/concepts",[148,150,153,156,159,162,165,168],{"title":149,"_path":146},"Overview",{"title":151,"_path":152},"Inventory","/concepts/inventory",{"title":154,"_path":155},"Interactions","/concepts/interaction",{"title":157,"_path":158},"Permissions","/concepts/permissions",{"title":160,"_path":161},"Multiplayer","/concepts/multiplayer",{"title":163,"_path":164},"User Interface","/concepts/user-interface",{"title":166,"_path":167},"Game Integration","/concepts/game-integration",{"title":169,"_path":170},"Crafting","/concepts/crafting",{"title":172,"_path":173,"children":174},"Demos","/demos",[175,177,180,183,185,188],{"title":176,"_path":173},"Inventory Tour",{"title":178,"_path":179},"Inventory UI Playground","/demos/inventory_ui",{"title":181,"_path":182},"Inventory Game UI","/demos/inventory_game_ui",{"title":169,"_path":184},"/demos/crafting",{"title":186,"_path":187},"Multiplayer Lobby","/demos/mp_lobby",{"title":189,"_path":190},"Sequencer (prototype)","/demos/sequencer",{"title":192,"_path":193,"children":194},"Guide","/guide",[195,197,200,203],{"title":196,"_path":193},"Architecture Deep Dive",{"title":198,"_path":199},"Design Principles","/guide/design-principles",{"title":201,"_path":202},"Changelog v2.x","/guide/changelog-v2",{"title":204,"_path":205},"Changelog v1.x","/guide/changelog",1743268977767]