[{"data":1,"prerenderedAt":173},["ShallowReactive",2],{"class-doc-/reference/2.0/gg_inventory/gginventoryuiconfiguration":3,"navigation":101},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"_id":8,"navigation":6,"addon":5,"version":9,"brief_description":10,"description":11,"tutorials":7,"methods":12,"members":25,"signals":93,"constants":94,"inherits":95,"name":96,"title":96,"_source":97,"_file":98,"_stem":99,"_extension":100},"/reference/2.0/gg_inventory/gginventoryuiconfiguration","gg_inventory",false,"","content:40.reference:2.0:gg_inventory:GGInventoryUIConfiguration.xml","2.0","Stores configuration for the inventory UI.","To use, create a resource and set its properties. then call the [method apply] method, and pass the UI control you want to configure. For example: \n[codeblock]\n# Instantiate a new inventory UI.\nvar inventory_ui := GGInventoryUI.new()\n\n# Create the configuration resource and define its properties.\n# Typically, you'd load it from a resource.\nvar ui_config := GGInventoryUIConfiguration.new()\n\n# Apply the configuration.\nui_config.apply(inventory_ui)\n[/codeblock]\n It ensures that each property exists before attempting to configure it. This is done so that it can work with different UI scenes, as long as they follow the same naming conventions for their properties. This means it's compatible with: [GGInventoryUI], [GGInventoryBrowseUI], [GGInventoryTransferUI], [GGInventoryBrowseModal], [GGInventoryTransferModal].",[13],{"description":14,"name":15,"public":16,"returnType":17,"params":18},"Applies the configuration to the [param control].","apply",true,"void",[19,22],{"name":20,"type":21},"control","Control",{"name":23,"type":24},"mode","String",[26,30,34,36,39,41,44,47,50,53,58,61,64,66,70,72,74,76,78,80,82,84,87,90],{"name":27,"type":28,"setter":7,"getter":7,"default":29,"public":16},"slot_scene","PackedScene","\u003CObject>",{"name":31,"type":32,"setter":7,"getter":7,"default":33,"public":16},"slot_size","Vector2","Vector2(64, 64)",{"name":35,"type":28,"setter":7,"getter":7,"default":29,"public":16},"list_item_scene",{"name":37,"type":38,"setter":7,"getter":7,"public":16},"action_strategy","GGInventoryActionStrategy",{"name":40,"type":38,"setter":7,"getter":7,"public":16},"transfer_action_strategy",{"name":42,"type":43,"setter":7,"getter":7,"public":16},"dnd_strategy","GGInventoryDndStrategy",{"name":45,"type":46,"setter":7,"getter":7,"public":16},"split_strategy","GGInventorySplitStrategy",{"name":48,"type":49,"setter":7,"getter":7,"public":16},"search_strategy","GGInventorySearchStrategy",{"name":51,"type":52,"setter":7,"getter":7,"public":16},"popover_settings","GGInventoryPopoverSettings",{"@enum":54,"name":55,"type":56,"setter":7,"getter":7,"default":57,"public":16},"GGInventoryUI.Views","view","int","0",{"name":59,"type":56,"setter":7,"getter":7,"default":60,"public":16},"grid_columns","1",{"@enum":62,"name":63,"type":56,"setter":7,"getter":7,"default":57,"public":16},"ScrollContainer.ScrollMode","scroll_container_horizontal_mode",{"@enum":62,"name":65,"type":56,"setter":7,"getter":7,"default":60,"public":16},"scroll_container_vertical_mode",{"name":67,"type":68,"setter":7,"getter":7,"default":69,"public":16},"toolbar_visible","bool","false",{"name":71,"type":68,"setter":7,"getter":7,"default":69,"public":16},"sort_button_visible",{"name":73,"type":68,"setter":7,"getter":7,"default":69,"public":16},"stack_button_visible",{"name":75,"type":68,"setter":7,"getter":7,"default":69,"public":16},"drop_all_button_visible",{"name":77,"type":68,"setter":7,"getter":7,"default":69,"public":16},"search_box_visible",{"name":79,"type":68,"setter":7,"getter":7,"default":69,"public":16},"grid_view_button_visible",{"name":81,"type":68,"setter":7,"getter":7,"default":69,"public":16},"flow_view_button_visible",{"name":83,"type":68,"setter":7,"getter":7,"default":69,"public":16},"list_view_button_visible",{"name":85,"type":86,"setter":7,"getter":7,"public":16},"theme","Theme",{"name":88,"type":89,"setter":7,"getter":7,"public":16},"audio_theme","GGInventoryAudioTheme",{"name":91,"type":92,"setter":7,"getter":7,"public":16},"audio_theme_bindings","GGAudioThemeBindings",[],[],"Resource","GGInventoryUIConfiguration","content","40.reference/2.0/gg_inventory/GGInventoryUIConfiguration.xml","40.reference/2.0/gg_inventory/GGInventoryUIConfiguration","xml",[102,111,138,158],{"title":103,"_path":104,"children":105},"Getting Started","/getting-started",[106,108],{"title":107,"_path":104},"Introduction",{"title":109,"_path":110},"Installation","/getting-started/installation",{"title":112,"_path":113,"children":114},"Concepts","/concepts",[115,117,120,123,126,129,132,135],{"title":116,"_path":113},"Overview",{"title":118,"_path":119},"Inventory","/concepts/inventory",{"title":121,"_path":122},"Interactions","/concepts/interaction",{"title":124,"_path":125},"Permissions","/concepts/permissions",{"title":127,"_path":128},"Multiplayer","/concepts/multiplayer",{"title":130,"_path":131},"User Interface","/concepts/user-interface",{"title":133,"_path":134},"Game Integration","/concepts/game-integration",{"title":136,"_path":137},"Crafting","/concepts/crafting",{"title":139,"_path":140,"children":141},"Demos","/demos",[142,144,147,150,152,155],{"title":143,"_path":140},"Inventory Tour",{"title":145,"_path":146},"Inventory UI Playground","/demos/inventory_ui",{"title":148,"_path":149},"Inventory Game UI","/demos/inventory_game_ui",{"title":136,"_path":151},"/demos/crafting",{"title":153,"_path":154},"Multiplayer Lobby","/demos/mp_lobby",{"title":156,"_path":157},"Sequencer (prototype)","/demos/sequencer",{"title":159,"_path":160,"children":161},"Guide","/guide",[162,164,167,170],{"title":163,"_path":160},"Architecture Deep Dive",{"title":165,"_path":166},"Design Principles","/guide/design-principles",{"title":168,"_path":169},"Changelog v2.x","/guide/changelog-v2",{"title":171,"_path":172},"Changelog v1.x","/guide/changelog",1743268980210]