Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
820ae8fe
Commit
820ae8fe
authored
Jul 04, 2010
by
Michael Albinus
Browse files
* dbus.texi (Receiving Method Calls): Add optional argument
EMITS-SIGNAL to `dbus-register-property'.
parent
b1ce08da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
doc/misc/ChangeLog
doc/misc/ChangeLog
+5
-0
doc/misc/dbus.texi
doc/misc/dbus.texi
+7
-3
No files found.
doc/misc/ChangeLog
View file @
820ae8fe
2010-07-04 Michael Albinus <michael.albinus@gmx.de>
* dbus.texi (Receiving Method Calls): Add optional argument
EMITS-SIGNAL to `dbus-register-property'.
2010-06-10 Glenn Morris <rgm@gnu.org>
* idlwave.texi (Load-Path Shadows):
...
...
doc/misc/dbus.texi
View file @
820ae8fe
...
...
@@ -1359,7 +1359,7 @@ The test runs then
@end example
@end defun
@defun dbus-register-property bus service path interface property access value
@defun dbus-register-property bus service path interface property access value
&
optional emits-signal
With this function, an application declares a @var
{
property
}
on the D-Bus
@var
{
bus
}
.
...
...
@@ -1387,7 +1387,11 @@ only way to change their values. Properties with access type
The interface @samp
{
org.freedesktop.DBus.Properties
}
is added to
@var
{
path
}
, including a default handler for the @samp
{
Get
}
,
@samp
{
GetAll
}
and @samp
{
Set
}
methods of this interface. Example:
@samp
{
GetAll
}
and @samp
{
Set
}
methods of this interface. When
@var
{
emits-signal
}
is non-nil, the signal @samp
{
PropertiesChanged
}
is
sent when the property is changed by @code
{
dbus-set-property
}
.
@noindent Example:
@lisp
(dbus-register-property
...
...
@@ -1399,7 +1403,7 @@ The interface @samp{org.freedesktop.DBus.Properties} is added to
(dbus-register-property
:session "org.freedesktop.TextEditor" "/org/freedesktop/TextEditor"
"org.freedesktop.TextEditor" "version" :readwrite emacs-version)
"org.freedesktop.TextEditor" "version" :readwrite emacs-version
t
)
@result
{}
((:session "org.freedesktop.TextEditor" "version")
("org.freedesktop.TextEditor" "/org/freedesktop/TextEditor"))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment