Logo
  • Overview
  • Getting Started
  • Class Reference
  • Godot Class Reference
    • All classes
    • Globals
    • Nodes
      • Node
      • AcceptDialog
      • AnimatableBody2D
      • AnimatableBody3D
      • AnimatedSprite2D
      • AnimatedSprite3D
      • AnimationMixer
      • AnimationPlayer
      • AnimationTree
      • Area2D
      • Area3D
      • AspectRatioContainer
      • AudioListener2D
      • AudioListener3D
      • AudioStreamPlayer
      • AudioStreamPlayer2D
      • AudioStreamPlayer3D
      • BackBufferCopy
      • BaseButton
      • Bone2D
      • BoneAttachment3D
      • BoxContainer
      • Button
      • Camera2D
      • Camera3D
      • CanvasGroup
      • CanvasItem
      • CanvasLayer
      • CanvasModulate
      • CenterContainer
      • CharacterBody2D
      • CharacterBody3D
      • ChatConsole
      • CheckBox
      • CheckButton
      • ClientKeys
      • CodeEdit
      • CollisionObject2D
      • CollisionObject3D
      • CollisionPolygon2D
      • CollisionPolygon3D
      • CollisionShape2D
      • CollisionShape3D
      • ColorPicker
      • ColorPickerButton
      • ColorRect
      • ConeTwistJoint3D
      • ConfirmationDialog
      • Container
      • Control
      • CPUParticles2D
      • CPUParticles3D
      • CSGBox3D
      • CSGCombiner3D
      • CSGCylinder3D
      • CSGMesh3D
      • CSGPolygon3D
      • CSGPrimitive3D
      • CSGShape3D
      • CSGSphere3D
      • CSGTorus3D
      • DampedSpringJoint2D
      • Decal
      • DeviceAuthUI
      • DirectionalLight2D
      • DirectionalLight3D
      • EditorCommandPalette
      • EditorFileDialog
      • EditorFileSystem
      • EditorInspector
      • EditorPlugin
      • EditorProperty
      • EditorResourcePicker
      • EditorResourcePreview
      • EditorScriptPicker
      • EditorSpinSlider
      • FileDialog
      • FileSystemDock
      • FlowContainer
      • FogVolume
      • Generic6DOFJoint3D
      • GeometryInstance3D
      • GPUParticles2D
      • GPUParticles3D
      • GPUParticlesAttractor3D
      • GPUParticlesAttractorBox3D
      • GPUParticlesAttractorSphere3D
      • GPUParticlesAttractorVectorField3D
      • GPUParticlesCollision3D
      • GPUParticlesCollisionBox3D
      • GPUParticlesCollisionHeightField3D
      • GPUParticlesCollisionSDF3D
      • GPUParticlesCollisionSphere3D
      • GraphEdit
      • GraphElement
      • GraphFrame
      • GraphNode
      • GridContainer
      • GridMap
      • GrooveJoint2D
      • HBoxContainer
      • HFlowContainer
      • HingeJoint3D
      • HScrollBar
      • HSeparator
      • HSlider
      • HSplitContainer
      • HTTPRequest
      • ImporterMeshInstance3D
      • InstancePlaceholder
      • ItemList
      • Joint2D
      • Joint3D
      • Label
      • Label3D
      • Light2D
      • Light3D
      • LightmapGI
      • LightmapProbe
      • LightOccluder2D
      • Line2D
      • LineEdit
      • LinkButton
      • MarginContainer
      • Marker2D
      • Marker3D
      • MenuBar
        • Properties
        • Methods
        • Theme Properties
        • Property Descriptions
        • Method Descriptions
        • Theme Property Descriptions
      • MenuButton
      • MeshInstance2D
      • MeshInstance3D
      • MessagePanel
      • MissingNode
      • MultiMeshInstance2D
      • MultiMeshInstance3D
      • MultiplayerSpawner
      • MultiplayerSynchronizer
      • NavigationAgent2D
      • NavigationAgent3D
      • NavigationLink2D
      • NavigationLink3D
      • NavigationObstacle2D
      • NavigationObstacle3D
      • NavigationRegion2D
      • NavigationRegion3D
      • NinePatchRect
      • Node2D
      • Node3D
      • OccluderInstance3D
      • OmniLight3D
      • OpenXRCompositionLayer
      • OpenXRCompositionLayerCylinder
      • OpenXRCompositionLayerEquirect
      • OpenXRCompositionLayerQuad
      • OpenXRHand
      • OptionButton
      • Panel
      • PanelContainer
      • Parallax2D
      • ParallaxBackground
      • ParallaxLayer
      • Path2D
      • Path3D
      • PathFollow2D
      • PathFollow3D
      • PhysicalBone2D
      • PhysicalBone3D
      • PhysicalBoneSimulator3D
      • PhysicsBody2D
      • PhysicsBody3D
      • PinJoint2D
      • PinJoint3D
      • PointLight2D
      • Polygon2D
      • Popup
      • PopupMenu
      • PopupPanel
      • ProgressBar
      • Range
      • RayCast2D
      • RayCast3D
      • ReferenceRect
      • ReflectionProbe
      • RemoteTransform2D
      • RemoteTransform3D
      • ResourcePreloader
      • RichTextLabel
      • RigidBody2D
      • RigidBody3D
      • RootMotionView
      • ScopeLocker
      • ScriptCreateDialog
      • ScriptEditor
      • ScriptEditorBase
      • ScrollBar
      • ScrollContainer
      • Separator
      • ShaderGlobalsOverride
      • ShapeCast2D
      • ShapeCast3D
      • Skeleton2D
      • Skeleton3D
      • SkeletonIK3D
      • SkeletonModifier3D
      • Slider
      • SliderJoint3D
      • SoftBody3D
      • SpinBox
      • SplitContainer
      • SpotLight3D
      • SpringArm3D
      • Sprite2D
      • Sprite3D
      • SpriteBase3D
      • StaticBody2D
      • StaticBody3D
      • StatusIndicator
      • SubViewport
      • SubViewportContainer
      • TabBar
      • TabContainer
      • TextEdit
      • TextureButton
      • TextureProgressBar
      • TextureRect
      • TileMap
      • TileMapLayer
      • Timer
      • TouchScreenButton
      • Tree
      • VBoxContainer
      • VehicleBody3D
      • VehicleWheel3D
      • VFlowContainer
      • VideoStreamPlayer
      • Viewport
      • VisibleOnScreenEnabler2D
      • VisibleOnScreenEnabler3D
      • VisibleOnScreenNotifier2D
      • VisibleOnScreenNotifier3D
      • VisualInstance3D
      • VoxelGI
      • VScrollBar
      • VSeparator
      • VSlider
      • VSplitContainer
      • Window
      • WorldEnvironment
      • XRAnchor3D
      • XRBodyModifier3D
      • XRCamera3D
      • XRController3D
      • XRFaceModifier3D
      • XRHandModifier3D
      • XRNode3D
      • XROrigin3D
    • Resources
    • Other objects
    • Editor-only
    • Variant types
  • Contact
Jam Launch
  • Godot Class Reference
  • All classes
  • MenuBar
  • View page source

MenuBar

Inherits: Control < CanvasItem < Node < Object

There is currently no description for this class. Please help us by contributing one!

Properties

bool

flat

false

String

language

""

bool

prefer_global_menu

true

int

start_index

-1

bool

switch_on_hover

true

TextDirection

text_direction

0

Methods

int

get_menu_count ( ) const

PopupMenu

get_menu_popup ( int menu ) const

String

get_menu_title ( int menu ) const

String

get_menu_tooltip ( int menu ) const

bool

is_menu_disabled ( int menu ) const

bool

is_menu_hidden ( int menu ) const

bool

is_native_menu ( ) const

void

set_disable_shortcuts ( bool disabled )

void

set_menu_disabled ( int menu, bool disabled )

void

set_menu_hidden ( int menu, bool hidden )

void

set_menu_title ( int menu, String title )

void

set_menu_tooltip ( int menu, String tooltip )

Theme Properties

Color

font_color

Color(0.875, 0.875, 0.875, 1)

Color

font_disabled_color

Color(0.875, 0.875, 0.875, 0.5)

Color

font_focus_color

Color(0.95, 0.95, 0.95, 1)

Color

font_hover_color

Color(0.95, 0.95, 0.95, 1)

Color

font_hover_pressed_color

Color(1, 1, 1, 1)

Color

font_outline_color

Color(0, 0, 0, 1)

Color

font_pressed_color

Color(1, 1, 1, 1)

int

h_separation

4

int

outline_size

0

Font

font

int

font_size

StyleBox

disabled

StyleBox

disabled_mirrored

StyleBox

hover

StyleBox

hover_mirrored

StyleBox

hover_pressed

StyleBox

hover_pressed_mirrored

StyleBox

normal

StyleBox

normal_mirrored

StyleBox

pressed

StyleBox

pressed_mirrored


Property Descriptions

bool flat = false

  • void set_flat ( bool value )

  • bool is_flat ( )

There is currently no description for this property. Please help us by contributing one!


String language = ""

  • void set_language ( String value )

  • String get_language ( )

There is currently no description for this property. Please help us by contributing one!


bool prefer_global_menu = true

  • void set_prefer_global_menu ( bool value )

  • bool is_prefer_global_menu ( )

There is currently no description for this property. Please help us by contributing one!


int start_index = -1

  • void set_start_index ( int value )

  • int get_start_index ( )

There is currently no description for this property. Please help us by contributing one!


bool switch_on_hover = true

  • void set_switch_on_hover ( bool value )

  • bool is_switch_on_hover ( )

There is currently no description for this property. Please help us by contributing one!


TextDirection text_direction = 0

  • void set_text_direction ( TextDirection value )

  • TextDirection get_text_direction ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

int get_menu_count ( ) const

There is currently no description for this method. Please help us by contributing one!


PopupMenu get_menu_popup ( int menu ) const

There is currently no description for this method. Please help us by contributing one!


String get_menu_title ( int menu ) const

There is currently no description for this method. Please help us by contributing one!


String get_menu_tooltip ( int menu ) const

There is currently no description for this method. Please help us by contributing one!


bool is_menu_disabled ( int menu ) const

There is currently no description for this method. Please help us by contributing one!


bool is_menu_hidden ( int menu ) const

There is currently no description for this method. Please help us by contributing one!


bool is_native_menu ( ) const

There is currently no description for this method. Please help us by contributing one!


void set_disable_shortcuts ( bool disabled )

There is currently no description for this method. Please help us by contributing one!


void set_menu_disabled ( int menu, bool disabled )

There is currently no description for this method. Please help us by contributing one!


void set_menu_hidden ( int menu, bool hidden )

There is currently no description for this method. Please help us by contributing one!


void set_menu_title ( int menu, String title )

There is currently no description for this method. Please help us by contributing one!


void set_menu_tooltip ( int menu, String tooltip )

There is currently no description for this method. Please help us by contributing one!


Theme Property Descriptions

Color font_color = Color(0.875, 0.875, 0.875, 1)

There is currently no description for this theme property. Please help us by contributing one!


Color font_disabled_color = Color(0.875, 0.875, 0.875, 0.5)

There is currently no description for this theme property. Please help us by contributing one!


Color font_focus_color = Color(0.95, 0.95, 0.95, 1)

There is currently no description for this theme property. Please help us by contributing one!


Color font_hover_color = Color(0.95, 0.95, 0.95, 1)

There is currently no description for this theme property. Please help us by contributing one!


Color font_hover_pressed_color = Color(1, 1, 1, 1)

There is currently no description for this theme property. Please help us by contributing one!


Color font_outline_color = Color(0, 0, 0, 1)

There is currently no description for this theme property. Please help us by contributing one!


Color font_pressed_color = Color(1, 1, 1, 1)

There is currently no description for this theme property. Please help us by contributing one!


int h_separation = 4

There is currently no description for this theme property. Please help us by contributing one!


int outline_size = 0

There is currently no description for this theme property. Please help us by contributing one!


Font font

There is currently no description for this theme property. Please help us by contributing one!


int font_size

There is currently no description for this theme property. Please help us by contributing one!


StyleBox disabled

There is currently no description for this theme property. Please help us by contributing one!


StyleBox disabled_mirrored

There is currently no description for this theme property. Please help us by contributing one!


StyleBox hover

There is currently no description for this theme property. Please help us by contributing one!


StyleBox hover_mirrored

There is currently no description for this theme property. Please help us by contributing one!


StyleBox hover_pressed

There is currently no description for this theme property. Please help us by contributing one!


StyleBox hover_pressed_mirrored

There is currently no description for this theme property. Please help us by contributing one!


StyleBox normal

There is currently no description for this theme property. Please help us by contributing one!


StyleBox normal_mirrored

There is currently no description for this theme property. Please help us by contributing one!


StyleBox pressed

There is currently no description for this theme property. Please help us by contributing one!


StyleBox pressed_mirrored

There is currently no description for this theme property. Please help us by contributing one!

Previous Next

© Copyright 2024, The Jam Launch Syndicate.

Built with Sphinx using a theme provided by Read the Docs.