mirror of
https://github.com/zoriya/ags.git
synced 2026-05-31 18:03:41 +00:00
style: sort widgets
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
<file>widgets/box.js</file>
|
||||
<file>widgets/button.js</file>
|
||||
<file>widgets/centerbox.js</file>
|
||||
<file>widgets/circularprogress.js</file>
|
||||
<file>widgets/entry.js</file>
|
||||
<file>widgets/eventbox.js</file>
|
||||
<file>widgets/icon.js</file>
|
||||
@@ -21,7 +22,6 @@
|
||||
<file>widgets/menu.js</file>
|
||||
<file>widgets/overlay.js</file>
|
||||
<file>widgets/progressbar.js</file>
|
||||
<file>widgets/circularprogress.js</file>
|
||||
<file>widgets/revealer.js</file>
|
||||
<file>widgets/scrollable.js</file>
|
||||
<file>widgets/slider.js</file>
|
||||
|
||||
+2
-2
@@ -26,6 +26,7 @@ export const Window = (args: object) => constructor(AgsWindow, args);
|
||||
export const Box = (args: object) => constructor(AgsBox, args);
|
||||
export const Button = (args: object) => constructor(AgsButton, args);
|
||||
export const CenterBox = (args: object) => constructor(AgsCenterBox, args);
|
||||
export const CircularProgress = (args: object) => constructor(AgsCircularProgress, args);
|
||||
export const Entry = (args: object) => constructor(AgsEntry, args);
|
||||
export const EventBox = (args: object) => constructor(AgsEventBox, args);
|
||||
export const Icon = (args: object) => constructor(AgsIcon, args);
|
||||
@@ -38,13 +39,13 @@ export const Revealer = (args: object) => constructor(AgsRevealer, args);
|
||||
export const Scrollable = (args: object) => constructor(AgsScrollable, args);
|
||||
export const Slider = (args: object) => constructor(AgsSlider, args);
|
||||
export const Stack = (args: object) => constructor(AgsStack, args);
|
||||
export const CircularProgress = (args: object) => constructor(AgsCircularProgress, args);
|
||||
|
||||
// so it is still in global scope through ags.Widget
|
||||
Widget.Widget = Widget;
|
||||
Widget.Box = Box;
|
||||
Widget.Button = Button;
|
||||
Widget.CenterBox = CenterBox;
|
||||
Widget.CircularProgress = CircularProgress;
|
||||
Widget.Entry = Entry;
|
||||
Widget.EventBox = EventBox;
|
||||
Widget.Icon = Icon;
|
||||
@@ -58,4 +59,3 @@ Widget.Scrollable = Scrollable;
|
||||
Widget.Slider = Slider;
|
||||
Widget.Stack = Stack;
|
||||
Widget.Window = Window;
|
||||
Widget.CircularProgress = CircularProgress;
|
||||
|
||||
Reference in New Issue
Block a user