RAGS - v1.10.0
    Preparing search index...

    Function register

    • Registers a GTK widget class as an AGS widget.

      Mixes in all AgsWidget prototype methods and registers the class as a GObject with AGS-specific properties (class-name, css, cursor, etc.).

      Type Parameters

      • T extends new (...args: any[]) => Widget

      Parameters

      • klass: T

        The GTK widget class to register

      • Optionalconfig: {
            cssName?: string;
            properties?: { [prop: string]: [type?: PspecType, handle?: PspecFlag] };
            signals?: { [signal: string]: PspecType[] };
            typename?: string;
        } & { cssName?: string }

        Registration options including GObject signals, properties, and CSS name

      Returns T

      The registered class