{
  "name": "ProgressBar",
  "component": "gui",
  "header": "nativeui/progress.h",
  "type": "Class",
  "namespace": "nu",
  "inherit": {
    "name": "View",
    "id": "view"
  },
  "description": "Horizontal bar showing progress.",
  "class_methods": [
    {
      "signature": {
        "returnType": {
          "name": "ProgressBar",
          "id": "progressbar"
        },
        "name": "create",
        "parameters": [],
        "shortStr": "create()",
        "str": "create()"
      },
      "description": "Create a new `ProgressBar`.",
      "id": "create"
    }
  ],
  "methods": [
    {
      "signature": {
        "name": "setvalue",
        "parameters": [
          {
            "type": {
              "name": "number"
            },
            "name": "percent"
          }
        ],
        "shortStr": "setvalue(percent)",
        "str": "setvalue(percent)"
      },
      "description": "Set the percent value between `0` and `100.0`.",
      "id": "setvalue-percent"
    },
    {
      "signature": {
        "returnType": {
          "name": "number"
        },
        "name": "getvalue",
        "parameters": [],
        "shortStr": "getvalue()",
        "str": "getvalue()"
      },
      "description": "Return the percent value between `0` and `100.0`.",
      "id": "getvalue"
    },
    {
      "signature": {
        "name": "setindeterminate",
        "parameters": [
          {
            "type": {
              "name": "boolean"
            },
            "name": "indeterminate"
          }
        ],
        "shortStr": "setindeterminate(indeterminate)",
        "str": "setindeterminate(indeterminate)"
      },
      "description": "Set whether the progress bar is indeterminate.",
      "id": "setindeterminate-indeterminate"
    },
    {
      "signature": {
        "returnType": {
          "name": "boolean"
        },
        "name": "isindeterminate",
        "parameters": [],
        "shortStr": "isindeterminate()",
        "str": "isindeterminate()"
      },
      "description": "Return whether the progress bar is indeterminate.",
      "id": "isindeterminate"
    }
  ],
  "module": "yue.gui",
  "id": "progressbar"
}