Packages
dbusmenu-glib-0.4
Dbusmenu
Server
dbus_object
root_node
version
Server
get_icon_paths
get_status
get_text_direction
set_icon_paths
set_root
set_status
set_text_direction
item_activation_requested
item_property_updated
item_updated
layout_updated
Server
Object Hierarchy:
Dbusmenu.Server
Dbusmenu.Server
Dbusmenu.Server
GLib.Object
GLib.Object
GLib.Object->Dbusmenu.Server
Description:
[
CCode
( type_id =
"dbusmenu_server_get_type ()"
) ]
public
class
Server
:
Object
A server which represents a sharing of a set of
Menuitem
s across DBus to a
Client
.
Namespace:
Dbusmenu
Package:
dbusmenu-glib-0.4
Content:
Properties:
public
string
dbus_object
{
owned
get
;
construct
; }
public
Menuitem
root_node
{
owned
get
;
set
; }
public
uint
version
{
get
; }
Creation methods:
public
Server
(
string
object)
Creates a new
Server
object with a specific object path on DBus.
Methods:
public
unowned
string
[]
get_icon_paths
()
Gets the stored and exported icon paths from the server.
public
Status
get_status
()
Gets the current statust hat the server is sending out over DBus.
public
TextDirection
get_text_direction
()
Returns the value of the text direction that is being exported over DBus for this server.
public
void
set_icon_paths
(
string
[] icon_paths)
Sets the icon paths for the server.
public
void
set_root
(
Menuitem
root)
This function contains all of the
Value
wrapping required to set the property
root_node
on the server
this
.
public
void
set_status
(
Status
status)
Changes the status of the server.
public
void
set_text_direction
(
TextDirection
dir)
Sets the text direction that should be exported over DBus for this server.
Signals:
public
signal
void
item_activation_requested
(
int
arg1,
uint
arg2)
This is signaled when a menuitem under this server sends its activate signal.
public
signal
void
item_property_updated
(
int
object,
string
p0,
Variant
p1)
public
signal
void
item_updated
(
int
object)
public
virtual
signal
void
layout_updated
(
uint
arg1,
int
arg2)
This signal is emitted any time the layout of the menuitems under this server is changed.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref