示例#1
0
        public Window(string title, string activityId, string bundleId)
            : base(title)
        {
            _activityId=activityId;
            _bundleId=bundleId;

            DBusActivity dbus=new DBusActivity(this);

            this.Realized += realizeEventHandler;
        }
示例#2
0
        public Activity(Gtk.Window form, string activityId, string bundleId)
        {
            _activityId=activityId;
            _bundleId=bundleId;
            _wnd=form;

            DBusActivity dbus=new DBusActivity(this);

            if (form.IsRealized) {
                System.Console.Out.WriteLine("Error, the Window is already Realized so it is possible that the form is not sugarized.");
            }
            _wnd.Realized += realizeEventHandler;
        }