<commit_before>//
// ﾄﾝﾇﾗｺ
//
// ｴｸｽﾄﾘーﾑｽﾎﾟーﾂ
//
using System;
using System.Collections.Generic;

namespace TonNurako.Native {

    /// <summary>
    /// ﾈーﾁﾌﾞなﾊﾝﾄﾞﾙへのｱｸｾｯｻー
    /// </summary>
    public class NativeWidget {
        /// <summary>
        /// ｺﾝｽﾄﾗｸﾀー
        /// </summary>
        /// <param name="ptr">Widget</param>
        public NativeWidget(System.IntPtr ptr) {
            if (IntPtr.Zero == ptr) {
                throw new NullReferenceException("Null Widget!!");
            }
            Widget = new X11.Widget(ptr);

            Display = new X11.Display(Native.Xt.XtSports.XtDisplay(ptr));
            Window = new X11.Window(Native.Xt.XtSports.XtWindow(ptr));
            Screen = new X11.Screen(Native.Xt.XtSports.XtScreen(ptr));

            Hash = ptr.ToInt64().ToString().GetHashCode();
        }

        /// <summary>
        /// Widget
        /// </summary>
        /// <returns>Widget</returns>
        public X11.Widget Widget {
            get;
        }

        /// <summary>
        /// Display
        /// </summary>
        /// <returns>Display</returns>
        public X11.Display Display { get; }

        /// <summary>
        /// Window
        /// </summary>
        /// <returns>Window</returns>
        public X11.Window Window { get; }


        /// <summary>
        /// RootWindowOfScreen
        /// </summary><commit_msg>mui修正(2)<commit_after>//
// ﾄﾝﾇﾗｺ
//
// ｴｸｽﾄﾘーﾑｽﾎﾟーﾂ
//
using System;
using System.Collections.Generic;

namespace TonNurako.Native {

    /// <summary>
    /// ﾈーﾁﾌﾞなﾊﾝﾄﾞﾙへのｱｸｾｯｻー
    /// </summary>
    public class NativeWidget {
        /// <summary>
        /// ｺﾝｽﾄﾗｸﾀー
        /// </summary>
        /// <param name="ptr">Widget</param>
        public NativeWidget(System.IntPtr ptr) {
            if (IntPtr.Zero == ptr) {
                throw new NullReferenceException("Null Widget!!");
            }
            Widget = new X11.Widget(ptr);

            Display = new X11.Display(Widget);
            Window = new X11.Window(Widget);
            Screen = new X11.Screen(Widget);

            Hash = ptr.ToInt64().ToString().GetHashCode();
        }

        /// <summary>
        /// Widget
        /// </summary>
        /// <returns>Widget</returns>
        public X11.Widget Widget {
            get;
        }

        /// <summary>
        /// Display
        /// </summary>
        /// <returns>Display</returns>
        public X11.Display Display { get; }

        /// <summary>
        /// Window
        /// </summary>
        /// <returns>Window</returns>
        public X11.Window Window { get; }


        /// <summary>
        /// RootWindowOfScreen
        /// </summary>
{'fraction_non_alphanumeric': 0.15646004480955938, 'fraction_numerical': 0.012322628827483197, 'mean_word_length': 1.404847396768402, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7215779', 'n_tokens_mistral': 988, 'n_tokens_neox': 928, 'n_words': 141}