Method

AdwSidebarItemget_section_index

unstable since: 1.9

Declaration [src]

guint
adw_sidebar_item_get_section_index (
  AdwSidebarItem* self
)

Description [src]

Gets index of self within its AdwSidebarSection.

If self is not within a section, the index will be 0.

The item can later be retrieved by passing this index into adw_sidebar_section_get_item().

Available since: 1.9

Return value

Type: guint

The index of self.