ui/winui/App.xaml.h

Wed, 17 Dec 2025 18:31:20 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 17 Dec 2025 18:31:20 +0100
changeset 1015
b459361d98ad
parent 205
b1ac0dd1d38b
permissions
-rw-r--r--

implement enable_state for the switch widget (GTK)

// Copyright (c) Microsoft Corporation and Contributors.
// Licensed under the MIT License.

#pragma once

#include "App.xaml.g.h"

namespace winrt::winui::implementation
{
    struct App : AppT<App>
    {
        App();

        void OnLaunched(Microsoft::UI::Xaml::LaunchActivatedEventArgs const&);

    private:
        winrt::Microsoft::UI::Xaml::Window window{ nullptr };
    };
}

mercurial