Class ViewStackPages
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class ViewStackPages : Object, IObject, INotifyPropertyChanged, IDisposable, ListModel, SelectionModel, IHandle, GTypeProvider
- Inheritance
-
ViewStackPages
- Implements
-
- Inherited Members
-
Constructors
ViewStackPages(bool, params ConstructArgument[])
protected ViewStackPages(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
bool
constructArguments
ConstructArgument[]
ViewStackPages(IntPtr, bool)
protected ViewStackPages(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
Fields
SelectedPagePropertyDefinition
public static readonly Property<ViewStackPage?, ViewStackPages> SelectedPagePropertyDefinition
Field Value
- Property<ViewStackPage, ViewStackPages>
Properties
SelectedPage
public ViewStackPage? SelectedPage { get; set; }
Property Value
- ViewStackPage
Methods
GetGType()
public static Type GetGType()
Returns
- Type
GetItem(uint)
[Version("2.44")]
public IntPtr GetItem(uint position)
Parameters
position
uint
Returns
- IntPtr
GetItemType()
[Version("2.44")]
public Type GetItemType()
Returns
- Type
GetNItems()
[Version("2.44")]
public uint GetNItems()
Returns
- uint
GetObject(uint)
[Version("2.44")]
public Object? GetObject(uint position)
Parameters
position
uint
Returns
- Object
GetSelectedPage()
[Version("1.4")]
public ViewStackPage? GetSelectedPage()
Returns
- ViewStackPage
GetSelection()
public Bitset GetSelection()
Returns
- Bitset
GetSelectionInRange(uint, uint)
public Bitset GetSelectionInRange(uint position, uint nItems)
Parameters
position
uint
nItems
uint
Returns
- Bitset
IsSelected(uint)
public bool IsSelected(uint position)
Parameters
position
uint
Returns
- bool
ItemsChanged(uint, uint, uint)
[Version("2.44")]
public void ItemsChanged(uint position, uint removed, uint added)
Parameters
position
uint
removed
uint
added
uint
SelectAll()
Returns
- bool
SelectItem(uint, bool)
public bool SelectItem(uint position, bool unselectRest)
Parameters
position
uint
unselectRest
bool
Returns
- bool
SelectRange(uint, uint, bool)
public bool SelectRange(uint position, uint nItems, bool unselectRest)
Parameters
position
uint
nItems
uint
unselectRest
bool
Returns
- bool
SelectionChanged(uint, uint)
public void SelectionChanged(uint position, uint nItems)
Parameters
position
uint
nItems
uint
SetSelectedPage(ViewStackPage)
[Version("1.4")]
public void SetSelectedPage(ViewStackPage page)
Parameters
page
ViewStackPage
SetSelection(Bitset, Bitset)
public bool SetSelection(Bitset selected, Bitset mask)
Parameters
selected
Bitset
mask
Bitset
Returns
- bool
UnselectAll()
public bool UnselectAll()
Returns
- bool
UnselectItem(uint)
public bool UnselectItem(uint position)
Parameters
position
uint
Returns
- bool
UnselectRange(uint, uint)
public bool UnselectRange(uint position, uint nItems)
Parameters
position
uint
nItems
uint
Returns
- bool