[Top]
Gnome
Gnome.StatusDocklet
|
Method Gnome.StatusDocklet()->create()
- Method
create
Gnome.StatusDocklet Gnome.StatusDocklet()
- Description
Creates a new status docklet object with the default parameters. By
default the docklet object will try to contact a panel 20 times. It
will try to find a panel every 15 seconds. You need to bind the
build_plug signal in which you build your own widget and add it to
the provided container. By default the docklet object will handle a
panel restart, in which case your widget will be destroyed and when
the panel is contacted again the build_plug signal will be emitted
again. You also must call the status_docklet_run function after you
bind the build_plug signal.
|