Class FlipSelector
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
The FlipSelector is a widget to show a set of text items, one at a time, with the same sheet switching style as the clock widget when one changes the current displaying sheet.
[Obsolete("This has been deprecated in API12")]
public class FlipSelector : Layout, IAccessibleObject
- Inheritance
- Implements
Constructors
View SourceFlipSelector(EvasObject)
Creates and initializes a new instance of the FlipSelector.
Declaration
[Obsolete("This has been deprecated in API12")]
public FlipSelector(EvasObject parent)
Parameters
| Type | Name | Description |
|---|---|---|
| EvasObject | parent | Parent EvasObject. |
Properties
View SourceFirstItem
Gets the first item in the given flip selector widget's list of items.
Declaration
[Obsolete("This has been deprecated in API12")]
public FlipSelectorItem FirstItem { get; }
Property Value
| Type | Description |
|---|---|
| FlipSelectorItem |
Interval
Sets or gets the interval on time updates for a user mouse button to hold on the flip selector widget.
Declaration
[Obsolete("This has been deprecated in API12")]
public double Interval { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
LastItem
Gets the last item in the given flip selector widget's list of items.
Declaration
[Obsolete("This has been deprecated in API12")]
public FlipSelectorItem LastItem { get; }
Property Value
| Type | Description |
|---|---|
| FlipSelectorItem |
SelectedItem
Gets the currently selected item in the flip selector widget.
Declaration
[Obsolete("This has been deprecated in API12")]
public FlipSelectorItem SelectedItem { get; }
Property Value
| Type | Description |
|---|---|
| FlipSelectorItem |
Methods
View SourceAppend(string)
Appends the (text) item to the flip selector widget.
Declaration
[Obsolete("This has been deprecated in API12")]
public FlipSelectorItem Append(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | text value |
Returns
| Type | Description |
|---|---|
| FlipSelectorItem | A handle to the item added, or null on errors. |
Remarks
The widget's list of labels to show will be appended with the given value. If the user wishes so, a callback function pointer can be passed, which will get called when the same item is selected.
CreateHandle(EvasObject)
Creates a widget handle.
Declaration
[Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
Parameters
| Type | Name | Description |
|---|---|---|
| EvasObject | parent | Parent EvasObject. |
Returns
| Type | Description |
|---|---|
| System.IntPtr | Handle IntPtr. |
Overrides
View SourceNext()
Programmatically select the next item of the flip selector widget.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Next()
Remarks
The selection will be animated. Also, if it reaches the beginning of its list of member items, it will continue with the last one backwards.
Prepend(string)
Prepends the (text) item to a flip selector widget.
Declaration
[Obsolete("This has been deprecated in API12")]
public FlipSelectorItem Prepend(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Prepend text |
Returns
| Type | Description |
|---|---|
| FlipSelectorItem | A handle to the item added, or null on errors. |
Remarks
The widget's list of labels to show will be prepended with the given value. If the user wishes so, a callback function pointer can be passed, which will get called when the same item is selected.
Prev()
Programmatically select the previous item of the flip selector widget.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Prev()
Remove(FlipSelectorItem)
To remove the given item.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Remove(FlipSelectorItem item)
Parameters
| Type | Name | Description |
|---|---|---|
| FlipSelectorItem | item | FlipSelector's item. |
Events
View SourceOverflowed
Overflowed will be triggered when overflowed.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler Overflowed
Event Type
| Type | Description |
|---|---|
| System.EventHandler |
Selected
Selected will be triggered when selected.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler Selected
Event Type
| Type | Description |
|---|---|
| System.EventHandler |
Underflowed
Underflowed will be triggered when underflowed.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler Underflowed
Event Type
| Type | Description |
|---|---|
| System.EventHandler |