Workspaces now show up on their appropriate monitors. (#681)
* Workspaces now show up on their appropriate monitors. * Fixed undefined rules showing up.
This commit is contained in:
26
src/components/shared/FileChooserButton.tsx
Normal file
26
src/components/shared/FileChooserButton.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
import { Gtk, astalify, ConstructProps } from 'astal/gtk3';
|
||||
import { GObject } from 'astal';
|
||||
|
||||
/**
|
||||
* FileChooserButton component that extends Gtk.FileChooserButton.
|
||||
*
|
||||
* @class FileChooserButton
|
||||
* @extends {astalify(Gtk.FileChooserButton)}
|
||||
*/
|
||||
class FileChooserButton extends astalify(Gtk.FileChooserButton) {
|
||||
static {
|
||||
GObject.registerClass(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an instance of FileChooserButton.
|
||||
* @param props - The properties for the FileChooserButton component.
|
||||
* @memberof FileChooserButton
|
||||
*/
|
||||
constructor(props: ConstructProps<FileChooserButton, Gtk.FileChooserButton.ConstructorProps>) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
super(props as any);
|
||||
}
|
||||
}
|
||||
|
||||
export default FileChooserButton;
|
||||
Reference in New Issue
Block a user