/// <summary> /// Creates Widget /// </summary> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataTitleLabel(string aMappings) : base("") { Xalign = 0; adaptor = new GtkControlAdaptor(this, true, aMappings); adaptor.Adaptor.TargetChanged += _TargetChanged; }
/// <summary> /// Creates Widget /// </summary> public DataTitleLabel() : base("") { Xalign = 0; adaptor = new GtkControlAdaptor(this, true); adaptor.Adaptor.TargetChanged += _TargetChanged; }
/// <summary> /// Called when ItemsDataSource changes /// </summary> /* private void ListTargetChanged (IAdaptor aAdaptor) * { * cachedItems = null; * if (ItemsDataSource == null) * CurrentSelection.Target = null; * else { * // if ((ItemsDataSource is IAdaptor) == false) * // return; * object check = ConnectionProvider.ResolveTargetForObject(ItemsDataSource); * if (check != lastItems) { * lastItems = check; * check = ItemsDataSource; * ItemsDataSource = null; * ItemsDataSource = check; * } * } * Adaptor.CheckControl(); * }*/ /// <summary> /// Creates adaptors associated with this IconView /// </summary> internal virtual void CreateAdaptors() { // Allocate selection adaptor currentSelection = new GtkAdaptor(); // currentSelection.OnDataChange += SelectedObjectChanged; internalModel.ClearSelection += delegate() { if (CurrentSelection != null) { CurrentSelection.Target = null; } }; // Create and connect ListAdaptor with this TreeView /* listadaptor = new GtkListAdaptor(false, null, this, false); * listadaptor.OnListChanged += DSChanged; * listadaptor.OnElementAdded += DSElementAdded; * listadaptor.OnElementChanged += DSElementChanged; * listadaptor.OnElementRemoved += DSElementRemoved; * listadaptor.OnTargetChange += ListTargetChanged;*/ // listadaptor.OnTargetChange += ItemsTargetChanged; // Create Adaptor adaptor = new GtkControlAdaptor(this, false); adaptor.DisableMappingsDataTransfer = true; internalModel.CheckControl += delegate() { if (adaptor != null) { adaptor.CheckControl(); } }; // columnadaptor = new GtkAdaptor(); }
/// <summary> /// Creates Widget /// </summary> /// <param name="aDataSource"> /// DataSource connected to this widget <see cref="System.Object"/> /// </param> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataTitleLabel(object aDataSource, string aMappings) : base("") { Xalign = 0; adaptor = new GtkControlAdaptor(this, false, aDataSource, aMappings); adaptor.Adaptor.TargetChanged += _TargetChanged; }
/// <summary> /// Disconnects everything inside this class /// </summary> public virtual void Disconnect() { /* lastItems = null; * UnsetDragFunctionality(); * onListCellDescription = null; * if (listadaptor != null) { * listadaptor.OnListChanged -= DSChanged; * listadaptor.OnElementAdded -= DSElementAdded; * listadaptor.OnElementChanged -= DSElementChanged; * listadaptor.OnElementRemoved -= DSElementRemoved; * listadaptor.OnTargetChange -= ListTargetChanged; * listadaptor.Disconnect(); * listadaptor = null; * }*/ if (CurrentSelection != null) { CurrentSelection.Disconnect(); currentSelection = null; } if (adaptor != null) { adaptor.Disconnect(); adaptor = null; } internalModel.Disconnect(); internalModel = null; // cachedItems = null; }
public DataAutoWidget() : base() { adaptor = new GtkControlAdaptor(this, true); Added += NotifyAdaptorsOnAdd; Adaptor.Adaptor.TargetChanged += HandleTargetChanged; }
/// <summary> /// Creates Widget /// </summary> /// <param name="aDataSource"> /// DataSource connected to this widget <see cref="System.Object"/> /// </param> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataRadioGroup(object aDataSource, string aMappings) : base() { box.Show(); PackStart(box); adaptor = new GtkControlAdaptor(this, true, aDataSource, aMappings); }
/// <summary> /// Creates Widget /// </summary> public DataTextView() : base() { adaptor = new GtkControlAdaptor(this, true); if (base.Buffer != null) { base.Buffer.Changed += OnChanged; } }
/// <summary> /// Creates Widget /// </summary> /// <param name="aDataSource"> /// DataSource connected to this widget <see cref="System.Object"/> /// </param> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataTextView(object aDataSource, string aMappings) : base() { adaptor = new GtkControlAdaptor(this, true, aDataSource, aMappings); if (base.Buffer != null) { base.Buffer.Changed += OnChanged; } }
/// <summary> /// Creates Widget /// </summary> /// <param name="aDataSource"> /// DataSource connected to this widget <see cref="System.Object"/> /// </param> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataRadioGroup(object aDataSource, string aMappings) : base() { this.Build(); RadioGroup.Hide(); box.Remove(RadioGroup); RadioGroup = null; adaptor = new GtkControlAdaptor(this, true, aDataSource, aMappings); }
public DataSpecComboBox() : base() { adaptor = new GtkControlAdaptor (this, false); adaptor.DisableMappingsDataTransfer = true; comboListStore = new ListStore (typeof(string), typeof(object)); CellRendererText text = new CellRendererText (); Model = comboListStore; this.PackStart (text, false); this.AddAttribute (text, "text", (int)comboDataColumns.Title); }
/// <summary> /// Disconnects everything inside this class /// </summary> public virtual void Disconnect() { if (CurrentSelection != null) { CurrentSelection.Disconnect(); currentSelection = null; } if (adaptor != null) { adaptor.Disconnect(); adaptor = null; } internalModel.Disconnect(); internalModel = null; }
/// <summary> /// Creates adaptors associated with this IconView /// </summary> internal virtual void CreateAdaptors() { // Allocate selection adaptor currentSelection = new GtkAdaptor(); internalModel.ClearSelection += delegate() { if (CurrentSelection != null) { CurrentSelection.Target = null; } }; // Create Adaptor adaptor = new GtkControlAdaptor(this, false); adaptor.DisableMappingsDataTransfer = true; internalModel.CheckControl += delegate() { if (adaptor != null) { adaptor.CheckControl(); } }; }
/// <summary> /// Creates Widget /// </summary> public DataDrawingArea() : base() { adaptor = new GtkControlAdaptor(this, false); }
/// <summary> /// Creates Container /// </summary> public DataHButtonBox() : base() { adaptor = new GtkControlAdaptor(this, true); Added += NotifyAdaptorsOnAdd; }
/// <summary> /// Creates Widget /// </summary> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataRuler(string aMappings) : base() { adaptor = new GtkControlAdaptor(this, true, aMappings); }
/// <summary> /// Creates Widget /// </summary> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataColorButton(string aMappings) : base() { adaptor = new GtkControlAdaptor(this, false, aMappings); }
/// <summary> /// Creates Widget /// </summary> /// <param name="aDataSource"> /// DataSource connected to this widget <see cref="System.Object"/> /// </param> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataHRuler (object aDataSource, string aMappings) : base() { adaptor = new GtkControlAdaptor (this, true, aDataSource, aMappings); }
/// <summary> /// Creates DataCalendar /// </summary> /// <param name="aDataSource"> /// DataSource connected to this widget <see cref="System.Object"/> /// </param> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataCalendar(object aDataSource, string aMappings) : base() { adaptor = new GtkControlAdaptor(this, false, aDataSource, aMappings); }
/// <summary> /// Creates Window /// </summary> /// <param name="aTitle"> /// Title of this window <see cref="System.String"/> /// </param> /// <param name="aDataSource"> /// DataSource connected to this container <see cref="System.Object"/> /// </param> public DataWindow (string aTitle, object aDataSource) : base (aTitle) { adaptor = new GtkControlAdaptor (this, true, aDataSource, ""); Added += NotifyAdaptorsOnAdd; }
/// <summary> /// Called when ItemsDataSource changes /// </summary> /* private void ListTargetChanged (IAdaptor aAdaptor) { cachedItems = null; if (ItemsDataSource == null) CurrentSelection.Target = null; else { // if ((ItemsDataSource is IAdaptor) == false) // return; object check = ConnectionProvider.ResolveTargetForObject(ItemsDataSource); if (check != lastItems) { lastItems = check; check = ItemsDataSource; ItemsDataSource = null; ItemsDataSource = check; } } Adaptor.CheckControl(); }*/ /// <summary> /// Creates adaptors associated with this IconView /// </summary> internal virtual void CreateAdaptors() { // Allocate selection adaptor currentSelection = new GtkAdaptor(); // currentSelection.OnDataChange += SelectedObjectChanged; internalModel.ClearSelection += delegate() { if (CurrentSelection != null) CurrentSelection.Target = null; }; // Create and connect ListAdaptor with this TreeView /* listadaptor = new GtkListAdaptor(false, null, this, false); listadaptor.OnListChanged += DSChanged; listadaptor.OnElementAdded += DSElementAdded; listadaptor.OnElementChanged += DSElementChanged; listadaptor.OnElementRemoved += DSElementRemoved; listadaptor.OnTargetChange += ListTargetChanged;*/ // listadaptor.OnTargetChange += ItemsTargetChanged; // Create Adaptor adaptor = new GtkControlAdaptor (this, false); adaptor.DisableMappingsDataTransfer = true; internalModel.CheckControl += delegate() { if (adaptor != null) adaptor.CheckControl(); }; // columnadaptor = new GtkAdaptor(); }
/// <summary> /// Resolves first parent which is IBoundedContainer and returns its DataSource /// </summary> /// <param name="aAdaptor"> /// Control adaptor to use <see cref="ControlAdaptor"/> /// </param> /// <param name="aControl"> /// Control which parent is to be resolved <see cref="System.Object"/> /// </param> /// <returns> /// Object of parent controls datasource or null <see cref="System.Object"/> /// </returns> public static object ResolveBoundaryDataSourceFromParent (ControlAdaptor aAdaptor, object aControl) { if (aControl == null) return (null); object ctrl = aAdaptor.GetParentOfControl (aControl); while (ctrl != null) { if (ctrl is IBoundedContainer) if ((ctrl as IBoundedContainer).InheritedBoundaryDataSource == false) return ((ctrl as IBoundedContainer).BoundaryDataSource); ctrl = aAdaptor.GetParentOfControl (ctrl); } return (null); }
/// <summary> /// Creates Window /// </summary> /// <param name="aTitle"> /// Title of this window <see cref="System.String"/> /// </param> public DataWindow (string aTitle) : base (aTitle) { adaptor = new GtkControlAdaptor (this, true); Added += NotifyAdaptorsOnAdd; }
/// <summary> /// Creates Widget /// </summary> public DataTitleLabel() : base("") { Xalign = 0; adaptor = new GtkControlAdaptor (this, true); adaptor.Adaptor.TargetChanged += _TargetChanged; }
/// <summary> /// Creates Widget /// </summary> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataTitleLabel (string aMappings) : base("") { Xalign = 0; adaptor = new GtkControlAdaptor (this, true, aMappings); adaptor.Adaptor.TargetChanged += _TargetChanged; }
/// <summary> /// Creates Widget /// </summary> /// <param name="aDataSource"> /// DataSource connected to this widget <see cref="System.Object"/> /// </param> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataTitleLabel (object aDataSource, string aMappings) : base("") { Xalign = 0; adaptor = new GtkControlAdaptor (this, false, aDataSource, aMappings); adaptor.Adaptor.TargetChanged += _TargetChanged; }
/// <summary> /// Creates Widget /// </summary> /// <param name="aMin"> /// Minimum value for scale <see cref="System.Int32"/> /// </param> /// <param name="aMax"> /// Maximum value for scale <see cref="System.Int32"/> /// </param> /// <param name="aStep"> /// Step value for scale <see cref="System.Int32"/> /// </param> public DataVScale(int aMin, int aMax, int aStep) : base(aMin, aMax, aStep) { adaptor = new GtkControlAdaptor(this, true); // adaptor.SetValueMapping ("Value"); }
/// <summary> /// Disconnects everything inside this class /// </summary> public virtual void Disconnect() { /* lastItems = null; UnsetDragFunctionality(); onListCellDescription = null; if (listadaptor != null) { listadaptor.OnListChanged -= DSChanged; listadaptor.OnElementAdded -= DSElementAdded; listadaptor.OnElementChanged -= DSElementChanged; listadaptor.OnElementRemoved -= DSElementRemoved; listadaptor.OnTargetChange -= ListTargetChanged; listadaptor.Disconnect(); listadaptor = null; }*/ if (CurrentSelection != null) { CurrentSelection.Disconnect(); currentSelection = null; } if (adaptor != null) { adaptor.Disconnect(); adaptor = null; } internalModel.Disconnect(); internalModel = null; // cachedItems = null; }
/// <summary> /// Creates DataCalendar /// </summary> public DataCalendar() : base() { adaptor = new GtkControlAdaptor(this, false); }
/// <summary> /// Creates Container /// </summary> public DataFixed() : base() { adaptor = new GtkControlAdaptor (this, true); Added += NotifyAdaptorsOnAdd; }
/// <summary> /// Creates Widget /// </summary> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataProgressBar(string aMappings) : base() { adaptor = new GtkControlAdaptor(this, true, aMappings); }
/// <summary> /// Creates Container /// </summary> /// <param name="aDataSource"> /// DataSource connected to this container <see cref="System.Object"/> /// </param> /// <param name="aMappings"> /// Mappings with this container <see cref="System.String"/> /// </param> public DataFixed (object aDataSource, string aMappings) : base() { adaptor = new GtkControlAdaptor (this, true, aDataSource, aMappings); Added += NotifyAdaptorsOnAdd; }
/// <summary> /// Creates Widget /// </summary> public DataImage() : base () { adaptor = new GtkControlAdaptor (this, true); }
/// <summary> /// Resolves parent control /// </summary> /// <param name="aAdaptor"> /// Control adaptor to use <see cref="ControlAdaptor"/> /// </param> /// <param name="aControl"> /// Control which parent is to be resolved <see cref="System.Object"/> /// </param> /// <returns> /// Parent container or null <see cref="System.Object"/> /// </returns> public static object ResolveParentContainer (ControlAdaptor aAdaptor, object aControl) { if ((aControl == null) || (aAdaptor == null)) return (null); object ctrl = aAdaptor.GetParentOfControl (aControl); if (aAdaptor.ControlIsWindow(aControl) == true) return (null); while (ctrl != null) { if (ctrl is IAdaptableContainer) return (ctrl as IAdaptableContainer); // return ((ctrl as IAdaptableContainer).Adaptor.Adaptor); ctrl = aAdaptor.GetParentOfControl (ctrl); } return (null); }
/// <summary> /// Creates Widget /// </summary> public DataColorButton() : base() { adaptor = new GtkControlAdaptor(this, false); }
public DataAutoWidget() : base() { adaptor = new GtkControlAdaptor (this, true); Added += NotifyAdaptorsOnAdd; Adaptor.Adaptor.TargetChanged += HandleTargetChanged; }
/// <summary> /// Creates Widget /// </summary> public DataRuler() : base() { adaptor = new GtkControlAdaptor(this, true); // adaptor.SetValueMapping ("Position"); }
/// <summary> /// Creates DataCheckButton /// </summary> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataCheckMenuItem (string aMappings) : base() { adaptor = new GtkControlAdaptor (this, true, aMappings); }
/// <summary> /// Creates Container /// </summary> /// <param name="aMappings"> /// Mappings with this container <see cref="System.String"/> /// </param> public DataVBox(string aMappings) : base() { adaptor = new GtkControlAdaptor(this, true, aMappings); Added += NotifyAdaptorsOnAdd; }
/// <summary> /// Disconnects Adaptor. Called automatically on destroy to speed up cleaning /// </summary> public virtual void Disconnect() { destroyed = true; InheritedTarget = false; if ((isBoundary == false) && (isDataAdaptor == false)) ConnectionProvider.DisconnectControlAndAdaptor (Control, this); DataSourceController.RemoveAdaptor (this); dataChanged = null; targetChanged = null; postRequested = null; Target = null; controlAdaptor = null; if (values != null) { values.Disconnect(); values = null; } }
/// <summary> /// Creates Container /// </summary> /// <param name="aDataSource"> /// DataSource connected to this container <see cref="System.Object"/> /// </param> /// <param name="aMappings"> /// Mappings with this container <see cref="System.String"/> /// </param> public DataHButtonBox(object aDataSource, string aMappings) : base() { adaptor = new GtkControlAdaptor(this, true, aDataSource, aMappings); Added += NotifyAdaptorsOnAdd; }
/// <summary> /// Creates new adaptor with target /// </summary> public Adaptor(object target) { id = DataSourceController.AssignId(); CursorMode = true; values = new ValueList (this); isBoundary = false; singleMappingOnly = false; controlAdaptor = null; isDataAdaptor = true; DataSourceController.AddAdaptor (this); Target = target; }
/// <summary> /// Creates Widget /// </summary> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataDrawingArea(string aMappings) : base() { adaptor = new GtkControlAdaptor(this, false, aMappings); }
/// <summary> /// Creates Widget /// </summary> /// <param name="aMin"> /// Minimum value for scale <see cref="System.Int32"/> /// </param> /// <param name="aMax"> /// Maximum value for scale <see cref="System.Int32"/> /// </param> /// <param name="aStep"> /// Step value for scale <see cref="System.Int32"/> /// </param> public DataVScale (int aMin, int aMax, int aStep) : base (aMin, aMax, aStep) { adaptor = new GtkControlAdaptor (this, true); // adaptor.SetValueMapping ("Value"); }
/// <summary> /// Creates Widget /// </summary> /// <param name="aMin"> /// Minimum value for scale <see cref="System.Int32"/> /// </param> /// <param name="aMax"> /// Maximum value for scale <see cref="System.Int32"/> /// </param> /// <param name="aStep"> /// Step value for scale <see cref="System.Int32"/> /// </param> /// <param name="aDataSource"> /// DataSource connected to this widget <see cref="System.Object"/> /// </param> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataVScale(int aMin, int aMax, int aStep, object aDataSource, string aMappings) : base(aMin, aMax, aStep) { adaptor = new GtkControlAdaptor(this, true, aDataSource, aMappings); // adaptor.SetValueMapping ("Value"); }
/// <summary> /// Creates DataBox /// </summary> /// <param name="aMappings"> /// Mappings with this container <see cref="System.String"/> /// </param> public DataBox (string aMappings) : base() { adaptor = new GtkControlAdaptor (this, true, aMappings); Added += NotifyAdaptorsOnAdd; }
/// <summary> /// Creates DataCalendar /// </summary> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataCalendar(string aMappings) : base() { adaptor = new GtkControlAdaptor(this, false, aMappings); }
/// <summary> /// Creates Container /// </summary> public DataVPaned() : base() { adaptor = new GtkControlAdaptor(this, true); Added += NotifyAdaptorsOnAdd; }
/// <summary> /// Creates Widget /// </summary> public DataProgressBar() : base() { adaptor = new GtkControlAdaptor(this, true); }
/// <summary> /// Creates Widget /// </summary> public DataHRuler() : base () { adaptor = new GtkControlAdaptor (this, true); // adaptor.SetValueMapping ("Position"); }
/// <summary> /// Creates Widget /// </summary> /// <param name="aDataSource"> /// DataSource connected to this widget <see cref="System.Object"/> /// </param> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataProgressBar(object aDataSource, string aMappings) : base() { adaptor = new GtkControlAdaptor(this, true, aDataSource, aMappings); }
/// <summary> /// Creates Widget /// </summary> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataHRuler (string aMappings) : base() { adaptor = new GtkControlAdaptor (this, true, aMappings); }
/// <summary> /// Creates Widget /// </summary> /// <param name="aDataSource"> /// DataSource connected to this widget <see cref="System.Object"/> /// </param> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataCheckMenuItem (object aDataSource, string aMappings) : base() { adaptor = new GtkControlAdaptor (this, true, aDataSource, aMappings); }
/// <summary> /// Creates GtkListAdaptor /// </summary> /// <param name="aIsBoundary"> /// Defines if this is boundary adapter <see cref="System.Boolean"/> /// </param> /// <param name="aControlAdaptor"> /// ControlAdapter to which this one is connected <see cref="ControlAdaptor"/> /// </param> /// <param name="aControl"> /// Control connected to this adaptor <see cref="System.Object"/> /// </param> /// <param name="aSingleMappingOnly"> /// Adaptor supports single mapping only <see cref="System.Boolean"/> /// </param> public GtkListAdaptor(bool aIsBoundary, ControlAdaptor aControlAdaptor, object aControl, bool aSingleMappingOnly) : base (aIsBoundary, aControlAdaptor, aControl, aSingleMappingOnly) { }
public Adaptor() { id = DataSourceController.AssignId(); CursorMode = true; values = new ValueList (this); isBoundary = false; singleMappingOnly = false; controlAdaptor = null; isDataAdaptor = true; DataSourceController.AddAdaptor (this); //TODO: Solve this problem, it doesn't initialize correctly??? // Not really nice workaraound for first initialization, assign anything and null??? And then it works??? // Not serious, It can wait. KNOWN REGRESSION DateTime dt = DateTime.Now; Target = dt; Target = null; }
/// <summary> /// Creates DataCheckButton /// </summary> public DataCheckMenuItem() : base() { adaptor = new GtkControlAdaptor (this, true); }
/// <summary> /// Creates new adaptor /// </summary> /// <param name="aIsBoundary"> /// Defines if this adaptor is boundary or not <see cref="System.Boolean"/> /// </param> /// <param name="aControlAdaptor"> /// Control adaptor which created this adaptor <see cref="ControlAdaptor"/> /// </param> /// <param name="aControl"> /// Control owning this adaptor <see cref="System.Object"/> /// </param> /// <param name="aSingleMappingOnly"> /// Set true if this adaptor allows single (master) mapping only <see cref="System.Boolean"/> /// </param> public Adaptor(bool aIsBoundary, ControlAdaptor aControlAdaptor, object aControl, bool aSingleMappingOnly) { id = DataSourceController.AssignId(); if (CheckControlType(aControl) == false) throw new ExceptionAdaptorConnectedWithWrongWidgetType (this, aControl); values = new ValueList (this); isBoundary = aIsBoundary; singleMappingOnly = aSingleMappingOnly; controlAdaptor = aControlAdaptor; if (controlAdaptor != null) { if (aIsBoundary == false) ConnectionProvider.ConnectControlAndAdaptor (Control, this); DataSourceController.AddAdaptor (this); if (aIsBoundary == false) if (aControl != null) if (controlAdaptor.ControlIsContainer(aControl) == false) InheritedTarget = true; } }
/// <summary> /// Creates Widget /// </summary> public DataProgressBar() : base() { adaptor = new GtkControlAdaptor (this, true); }
/// <summary> /// Creates Widget /// </summary> /// <param name="aMin"> /// Minimum value for scale <see cref="System.Int32"/> /// </param> /// <param name="aMax"> /// Maximum value for scale <see cref="System.Int32"/> /// </param> /// <param name="aStep"> /// Step value for scale <see cref="System.Int32"/> /// </param> /// <param name="aDataSource"> /// DataSource connected to this widget <see cref="System.Object"/> /// </param> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataVScale (int aMin, int aMax, int aStep, object aDataSource, string aMappings) : base (aMin, aMax, aStep) { adaptor = new GtkControlAdaptor (this, true, aDataSource, aMappings); // adaptor.SetValueMapping ("Value"); }
/// <summary> /// Creates Widget /// </summary> /// <param name="aMappings"> /// Mappings with this widget <see cref="System.String"/> /// </param> public DataProgressBar (string aMappings) : base() { adaptor = new GtkControlAdaptor (this, true, aMappings); }