Versions in this module Expand all Collapse all v1 v1.11.1 Nov 1, 2024 Changes in this version + const InterfaceDbusmenu + var ErrUnknownSignal = errors.New("unknown signal") + var IntrospectDataDbusmenu = introspect.Interface + func AddMatchSignal(conn *dbus.Conn, s Signal, opts ...dbus.MatchOption) error + func Emit(conn *dbus.Conn, s Signal) error + func ExportDbusmenu(conn *dbus.Conn, path dbus.ObjectPath, v Dbusmenuer) error + func RemoveMatchSignal(conn *dbus.Conn, s Signal, opts ...dbus.MatchOption) error + func UnexportDbusmenu(conn *dbus.Conn, path dbus.ObjectPath) error + type Dbusmenu struct + func NewDbusmenu(object dbus.BusObject) *Dbusmenu + func (o *Dbusmenu) AboutToShow(ctx context.Context, id int32) (needUpdate bool, err error) + func (o *Dbusmenu) AboutToShowGroup(ctx context.Context, ids []int32) (updatesNeeded []int32, idErrors []int32, err error) + func (o *Dbusmenu) Event(ctx context.Context, id int32, eventId string, data dbus.Variant, ...) (err error) + func (o *Dbusmenu) EventGroup(ctx context.Context, events []struct{ ... }) (idErrors []int32, err error) + func (o *Dbusmenu) GetGroupProperties(ctx context.Context, ids []int32, propertyNames []string) (properties []struct{ ... }, err error) + func (o *Dbusmenu) GetIconThemePath(ctx context.Context) (iconThemePath []string, err error) + func (o *Dbusmenu) GetLayout(ctx context.Context, parentId int32, recursionDepth int32, ...) (revision uint32, layout struct{ ... }, err error) + func (o *Dbusmenu) GetProperty(ctx context.Context, id int32, name string) (value dbus.Variant, err error) + func (o *Dbusmenu) GetStatus(ctx context.Context) (status string, err error) + func (o *Dbusmenu) GetTextDirection(ctx context.Context) (textDirection string, err error) + func (o *Dbusmenu) GetVersion(ctx context.Context) (version uint32, err error) + type Dbusmenu_ItemActivationRequestedSignal struct + Body *Dbusmenu_ItemActivationRequestedSignalBody + Path dbus.ObjectPath + func (s *Dbusmenu_ItemActivationRequestedSignal) Interface() string + func (s *Dbusmenu_ItemActivationRequestedSignal) Name() string + func (s *Dbusmenu_ItemActivationRequestedSignal) Sender() string + type Dbusmenu_ItemActivationRequestedSignalBody struct + Id int32 + Timestamp uint32 + type Dbusmenu_ItemsPropertiesUpdatedSignal struct + Body *Dbusmenu_ItemsPropertiesUpdatedSignalBody + Path dbus.ObjectPath + func (s *Dbusmenu_ItemsPropertiesUpdatedSignal) Interface() string + func (s *Dbusmenu_ItemsPropertiesUpdatedSignal) Name() string + func (s *Dbusmenu_ItemsPropertiesUpdatedSignal) Sender() string + type Dbusmenu_ItemsPropertiesUpdatedSignalBody struct + RemovedProps []struct{ ... } + UpdatedProps []struct{ ... } + type Dbusmenu_LayoutUpdatedSignal struct + Body *Dbusmenu_LayoutUpdatedSignalBody + Path dbus.ObjectPath + func (s *Dbusmenu_LayoutUpdatedSignal) Interface() string + func (s *Dbusmenu_LayoutUpdatedSignal) Name() string + func (s *Dbusmenu_LayoutUpdatedSignal) Sender() string + type Dbusmenu_LayoutUpdatedSignalBody struct + Parent int32 + Revision uint32 + type Dbusmenuer interface + AboutToShow func(id int32) (needUpdate bool, err *dbus.Error) + AboutToShowGroup func(ids []int32) (updatesNeeded []int32, idErrors []int32, err *dbus.Error) + Event func(id int32, eventId string, data dbus.Variant, timestamp uint32) (err *dbus.Error) + EventGroup func(events []struct{ ... }) (idErrors []int32, err *dbus.Error) + GetGroupProperties func(ids []int32, propertyNames []string) (properties []struct{ ... }, err *dbus.Error) + GetLayout func(parentId int32, recursionDepth int32, propertyNames []string) (revision uint32, layout struct{ ... }, err *dbus.Error) + GetProperty func(id int32, name string) (value dbus.Variant, err *dbus.Error) + type Signal interface + Interface func() string + Name func() string + Sender func() string + func LookupSignal(signal *dbus.Signal) (Signal, error) + type UnimplementedDbusmenu struct + func (*UnimplementedDbusmenu) AboutToShow(id int32) (needUpdate bool, err *dbus.Error) + func (*UnimplementedDbusmenu) AboutToShowGroup(ids []int32) (updatesNeeded []int32, idErrors []int32, err *dbus.Error) + func (*UnimplementedDbusmenu) Event(id int32, eventId string, data dbus.Variant, timestamp uint32) (err *dbus.Error) + func (*UnimplementedDbusmenu) EventGroup(events []struct{ ... }) (idErrors []int32, err *dbus.Error) + func (*UnimplementedDbusmenu) GetGroupProperties(ids []int32, propertyNames []string) (properties []struct{ ... }, err *dbus.Error) + func (*UnimplementedDbusmenu) GetLayout(parentId int32, recursionDepth int32, propertyNames []string) (revision uint32, layout struct{ ... }, err *dbus.Error) + func (*UnimplementedDbusmenu) GetProperty(id int32, name string) (value dbus.Variant, err *dbus.Error)