Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllRoomsButton ¶
type AllRoomsButton struct { *gtk.ToggleButton // contains filtered or unexported fields }
AllRoomsButton describes the button that says "All rooms".
func NewAllRoomsButton ¶
func NewAllRoomsButton(ctx context.Context) *AllRoomsButton
NewAllRoomsButton creates a new AllRoomsButton.
type Browser ¶
type Browser struct { *gtk.Box // contains filtered or unexported fields }
Browser describes a widget holding
func New ¶
func New(ctx context.Context, ctrl space.Controller) *Browser
New creates a new spaces browser.
func (*Browser) InvalidateRooms ¶
func (b *Browser) InvalidateRooms()
InvalidateRooms refetches the room list and updates everything.
func (*Browser) SearchBar ¶
func (b *Browser) SearchBar() *gtk.SearchBar
SearchBar returns the list's search bar widget.
func (*Browser) SetSelectedRoom ¶
SetSelectedRoom sets the given room ID as the selected room row. It does not activate the room.
type SpaceButton ¶
type SpaceButton struct { *gtk.ToggleButton // contains filtered or unexported fields }
SpaceButton describes a button of a space.
func NewSpaceButton ¶
func NewSpaceButton(ctx context.Context, spaceID matrix.RoomID) *SpaceButton
NewSpaceButton creates a new space button.
func (*SpaceButton) SpaceID ¶
func (b *SpaceButton) SpaceID() matrix.RoomID
SpaceID returns the space ID of the button. If this returns an empty string, then assume it returned no space (or all rooms).
Click to show internal directories.
Click to hide internal directories.