ui/winui/App.xaml.h

Sun, 08 Feb 2026 15:19:40 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 08 Feb 2026 15:19:40 +0100
changeset 1069
512fad602f97
parent 205
b1ac0dd1d38b
permissions
-rw-r--r--

implement property ui.gtk.window.position and make GTK_WIN_POS_CENTER the default for new windows (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