/// <summary>
		/// Valid for complex controls like TreeView
		/// </summary>
/*		public override void ClearBeforeRemapping()
		{
			Gtk.Application.Invoke (delegate {
				base.ClearBeforeRemapping();
			});
		}
		
		/// <summary>
		/// Valid for complex controls like TreeView
		/// </summary>
		public override void RemapControl()
		{
			Gtk.Application.Invoke (delegate {
				base.RemapControl();
			});
		}*/
		
		/// <summary>
		/// Calls controls GetBoundaryValuesFromDataSource, in case of gtk this handles being called
		/// in the right thread
		/// </summary>
		/// <param name="aControl">
		/// Control to call GetDataFromDataSource <see cref="IBoundedContainer"/>
		/// </param>
		/// <param name="aSender">
		/// Sender object <see cref="System.Object"/>
		/// </param>
		/// <remarks>
		/// By overriding this method one can handle things differently. Specific
		/// example of this is GTK+ which needs to call control changes in its master thread 
		/// </remarks>
		protected override void InvokeControlBoundaryDataChange (IBoundedContainer aControl, object aSender)
		{
			Gtk.Application.Invoke (delegate {
				base.InvokeControlBoundaryDataChange (aControl, aSender);
			});
		}
Beispiel #2
0
 /// <summary>
 /// Calls controls GetBoundaryValuesFromDataSource, in case of gtk this handles being called
 /// in the right thread
 /// </summary>
 /// <param name="aControl">
 /// Control to call GetDataFromDataSource <see cref="IBoundedContainer"/>
 /// </param>
 /// <param name="aSender">
 /// Sender object <see cref="System.Object"/>
 /// </param>
 /// <remarks>
 /// By overriding this method one can handle things differently. Specific
 /// example of this is GTK+ which needs to call control changes in its master thread
 /// </remarks>
 protected virtual void InvokeControlBoundaryDataChange(IBoundedContainer aControl, object aSender)
 {
     GetBoundaryValuesFromDataSource();
 }
Beispiel #3
0
        /// <summary>
        /// Valid for complex controls like TreeView
        /// </summary>

/*		public override void ClearBeforeRemapping()
 *              {
 *                      Gtk.Application.Invoke (delegate {
 *                              base.ClearBeforeRemapping();
 *                      });
 *              }
 *
 *              /// <summary>
 *              /// Valid for complex controls like TreeView
 *              /// </summary>
 *              public override void RemapControl()
 *              {
 *                      Gtk.Application.Invoke (delegate {
 *                              base.RemapControl();
 *                      });
 *              }*/

        /// <summary>
        /// Calls controls GetBoundaryValuesFromDataSource, in case of gtk this handles being called
        /// in the right thread
        /// </summary>
        /// <param name="aControl">
        /// Control to call GetDataFromDataSource <see cref="IBoundedContainer"/>
        /// </param>
        /// <param name="aSender">
        /// Sender object <see cref="System.Object"/>
        /// </param>
        /// <remarks>
        /// By overriding this method one can handle things differently. Specific
        /// example of this is GTK+ which needs to call control changes in its master thread
        /// </remarks>
        protected override void InvokeControlBoundaryDataChange(IBoundedContainer aControl, object aSender)
        {
            Gtk.Application.Invoke(delegate {
                base.InvokeControlBoundaryDataChange(aControl, aSender);
            });
        }
Beispiel #4
0
 /// <summary>
 /// Calls controls GetDataFromDataSource, in case of gtk this handles being called
 /// in the right thread
 /// </summary>
 /// <param name="aControl">
 /// Control to call GetBoundaryValuesFromDataSource <see cref="IChangeableControl"/>
 /// </param>
 /// <param name="aSender">
 /// Sender object <see cref="System.Object"/>
 /// </param>
 /// <remarks>
 /// By overriding this method one can handle things differently. Specific
 /// example of this is GTK+ which needs to call control changes in its master thread
 /// </remarks>
 public void InvokeBoundaryDataChange(IBoundedContainer aControl, object aSender)
 {
     InvokeControlBoundaryDataChange(aControl, aSender);
 }