Hi:
No, currently it's not possible, unless I add an specific DBUS API for Gtk.DrawingArea. I was thinking to do it more like libappindicator, with just some icons. I presume that you dislike that approach :(
On 08/08/15 13:48, Alberts Muktupāvels wrote:
Hi,can you create fish applet with dbus (drawing fish animation)? Can you create system monitor applet, again custom drawing on widget - you can not do that over dbus, can you?
On Sat, Aug 8, 2015 at 2:21 PM, rastersoft <raster rastersoft com> wrote:
Hi:
There is already a sample in my github account which does that: it creates several widgets in the server (the "panel") window, which notifies the client (the "applet" code itself, in another process) changes on them, and viceversa. All over DBus.
It is at https://github.com/rastersoft/dbuilder, also with some documentation in the README.md file. Just download it, compile and install it, and launch first the "server" with
dbuilder_server &
and then the client with
dbuilder_client &
The example has two windows (one in the server and one in the client), with text entries and labels; whatever is typed in one text entry appears in the label of the other window, all using "standard" signal callbacks and properties from GKT3, exported with DBus.
On 08/08/15 13:02, Alberts Muktupāvels wrote:
Hi,I don't think that it will work...
Can you show example with creating widget (for example simple label with some text) in server and add that widget in client window? This would be very simple example.
Then create more advanced widget, for example, overriding draw function and adding/drawing stripes to background in server widget and add it to client window.
On Fri, Aug 7, 2015 at 12:36 PM, rastersoft <raster rastersoft com> wrote:
Hi again:
Maybe the best way for out-process applets would be to export the
widgets over DBus, and letting the panel to paint them. This also would
allow to migrate to Wayland without the problem of widget embedding
(which I'm not sure if it is available under Wayland).
Some time ago I did some experiments about that, and found that, thanks
to GObject Introspection, it is extremely easy to export GTK widgets
over DBus. In fact, I made a proof-of-concept, which I uploaded to my
GIT repository:
https://github.com/rastersoft/dbuilder
--
Nos leemos
RASTER (Linux user #228804)
raster rastersoft com http://www.rastersoft.com
_______________________________________________
gnome-flashback-list mailing list
gnome-flashback-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-flashback-list
--
Alberts Muktupāvels
_______________________________________________ gnome-flashback-list mailing list gnome-flashback-list gnome org https://mail.gnome.org/mailman/listinfo/gnome-flashback-list
-- Nos leemos RASTER (Linux user #228804) raster rastersoft com http://www.rastersoft.com
_______________________________________________
gnome-flashback-list mailing list
gnome-flashback-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-flashback-list
--
Alberts Muktupāvels
_______________________________________________ gnome-flashback-list mailing list gnome-flashback-list gnome org https://mail.gnome.org/mailman/listinfo/gnome-flashback-list
-- Nos leemos RASTER (Linux user #228804) raster rastersoft com http://www.rastersoft.com
_______________________________________________
gnome-flashback-list mailing list
gnome-flashback-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-flashback-list