Skip to content

Commit b768aed

Browse files
committed
update docs
1 parent addadf8 commit b768aed

File tree

9 files changed

+3299
-0
lines changed

9 files changed

+3299
-0
lines changed

website/docs/api/classes/rnmenu.md

+1,292
Large diffs are not rendered by default.

website/docs/api/classes/rnmenubar.md

+1,296
Large diffs are not rendered by default.

website/docs/api/globals.md

+107
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ sidebar_label: "Globals"
1414

1515
* [RNGridColumn](classes/rngridcolumn.md)
1616
* [RNGridRow](classes/rngridrow.md)
17+
* [RNMenu](classes/rnmenu.md)
18+
* [RNMenuBar](classes/rnmenubar.md)
1719
* [Renderer](classes/renderer.md)
1820

1921
### Interfaces
@@ -29,12 +31,15 @@ sidebar_label: "Globals"
2931
* [GridViewProps](interfaces/gridviewprops.md)
3032
* [ImageProps](interfaces/imageprops.md)
3133
* [LineEditProps](interfaces/lineeditprops.md)
34+
* [MenuBarProps](interfaces/menubarprops.md)
35+
* [MenuProps](interfaces/menuprops.md)
3236
* [PlainTextEditProps](interfaces/plaintexteditprops.md)
3337
* [ProgressBarProps](interfaces/progressbarprops.md)
3438
* [RadioButtonProps](interfaces/radiobuttonprops.md)
3539
* [ScrollAreaProps](interfaces/scrollareaprops.md)
3640
* [SliderProps](interfaces/sliderprops.md)
3741
* [SpinBoxProps](interfaces/spinboxprops.md)
42+
* [SystemTrayIconProps](interfaces/systemtrayiconprops.md)
3843
* [TabItemProps](interfaces/tabitemprops.md)
3944
* [TabProps](interfaces/tabprops.md)
4045
* [TextProps](interfaces/textprops.md)
@@ -66,6 +71,13 @@ sidebar_label: "Globals"
6671
### Variables
6772

6873
* [appProxy](globals.md#let-appproxy)
74+
* [fileActions](globals.md#const-fileactions)
75+
* [quitAction](globals.md#const-quitaction)
76+
* [randActions](globals.md#const-randactions)
77+
* [sayHi](globals.md#const-sayhi)
78+
* [separatorAction](globals.md#const-separatoraction)
79+
* [systemTrayMenuActions](globals.md#const-systemtraymenuactions)
80+
* [trayIcon](globals.md#const-trayicon)
6981

7082
### Functions
7183

@@ -86,12 +98,15 @@ sidebar_label: "Globals"
8698
* [setGridViewProps](globals.md#const-setgridviewprops)
8799
* [setImageProps](globals.md#const-setimageprops)
88100
* [setLineEditProps](globals.md#const-setlineeditprops)
101+
* [setMenuBarProps](globals.md#const-setmenubarprops)
102+
* [setMenuProps](globals.md#const-setmenuprops)
89103
* [setPlainTextEditProps](globals.md#const-setplaintexteditprops)
90104
* [setProgressBarProps](globals.md#const-setprogressbarprops)
91105
* [setRadioButtonProps](globals.md#const-setradiobuttonprops)
92106
* [setScrollAreaProps](globals.md#const-setscrollareaprops)
93107
* [setSliderProps](globals.md#const-setsliderprops)
94108
* [setSpinBoxProps](globals.md#const-setspinboxprops)
109+
* [setSystemTrayIconProps](globals.md#const-setsystemtrayiconprops)
95110
* [setWindowProps](globals.md#const-setwindowprops)
96111
* [updateDisplacedChildren](globals.md#updatedisplacedchildren)
97112
* [useEventHandler](globals.md#useeventhandler)
@@ -315,6 +330,50 @@ ___
315330

316331
**appProxy**: *[ReactProxyComponent](interfaces/_react_proxy_.reactproxycomponent.md)*
317332

333+
___
334+
335+
### `Const` fileActions
336+
337+
**fileActions**: *QAction[]* = [quitAction]
338+
339+
___
340+
341+
### `Const` quitAction
342+
343+
**quitAction**: *QAction‹›* = new QAction()
344+
345+
___
346+
347+
### `Const` randActions
348+
349+
**randActions**: *QAction[]* = [sayHi]
350+
351+
___
352+
353+
### `Const` sayHi
354+
355+
**sayHi**: *QAction‹›* = new QAction()
356+
357+
___
358+
359+
### `Const` separatorAction
360+
361+
**separatorAction**: *QAction‹›* = new QAction()
362+
363+
___
364+
365+
### `Const` systemTrayMenuActions
366+
367+
**systemTrayMenuActions**: *QAction‹›[]* = [sayHi, separatorAction, quitAction]
368+
369+
___
370+
371+
### `Const` trayIcon
372+
373+
**trayIcon**: *QIcon‹›* = new QIcon(
374+
path.join(__dirname, "../extras/assets/nodegui.png")
375+
)
376+
318377
## Functions
319378

320379
### `Const` App
@@ -585,6 +644,38 @@ Name | Type |
585644

586645
___
587646

647+
### `Const` setMenuBarProps
648+
649+
**setMenuBarProps**(`widget`: [RNMenuBar](classes/rnmenubar.md), `newProps`: [MenuBarProps](interfaces/menubarprops.md), `oldProps`: [MenuBarProps](interfaces/menubarprops.md)): *void*
650+
651+
**Parameters:**
652+
653+
Name | Type |
654+
------ | ------ |
655+
`widget` | [RNMenuBar](classes/rnmenubar.md) |
656+
`newProps` | [MenuBarProps](interfaces/menubarprops.md) |
657+
`oldProps` | [MenuBarProps](interfaces/menubarprops.md) |
658+
659+
**Returns:** *void*
660+
661+
___
662+
663+
### `Const` setMenuProps
664+
665+
**setMenuProps**(`widget`: [RNMenu](classes/rnmenu.md), `newProps`: [MenuProps](interfaces/menuprops.md), `oldProps`: [MenuProps](interfaces/menuprops.md)): *void*
666+
667+
**Parameters:**
668+
669+
Name | Type |
670+
------ | ------ |
671+
`widget` | [RNMenu](classes/rnmenu.md) |
672+
`newProps` | [MenuProps](interfaces/menuprops.md) |
673+
`oldProps` | [MenuProps](interfaces/menuprops.md) |
674+
675+
**Returns:** *void*
676+
677+
___
678+
588679
### `Const` setPlainTextEditProps
589680

590681
**setPlainTextEditProps**(`widget`: RNPlainTextEdit, `newProps`: [PlainTextEditProps](interfaces/plaintexteditprops.md), `oldProps`: [PlainTextEditProps](interfaces/plaintexteditprops.md)): *void*
@@ -681,6 +772,22 @@ Name | Type |
681772

682773
___
683774

775+
### `Const` setSystemTrayIconProps
776+
777+
**setSystemTrayIconProps**(`widget`: RNSystemTrayIcon, `newProps`: [SystemTrayIconProps](interfaces/systemtrayiconprops.md), `oldProps`: [SystemTrayIconProps](interfaces/systemtrayiconprops.md)): *void*
778+
779+
**Parameters:**
780+
781+
Name | Type |
782+
------ | ------ |
783+
`widget` | RNSystemTrayIcon |
784+
`newProps` | [SystemTrayIconProps](interfaces/systemtrayiconprops.md) |
785+
`oldProps` | [SystemTrayIconProps](interfaces/systemtrayiconprops.md) |
786+
787+
**Returns:** *void*
788+
789+
___
790+
684791
### `Const` setWindowProps
685792

686793
**setWindowProps**(`window`: RNWindow, `newProps`: [WindowProps](interfaces/windowprops.md), `oldProps`: [WindowProps](interfaces/windowprops.md)): *void*

0 commit comments

Comments
 (0)