Satyajit Sahoo
UX Designer
Behance Profile
We're all stories, in the end. Just make it a good one, eh? — The Doctor, Season 5, Episode 13.
On Sat, May 2, 2015 at 8:48 AM, Satyajit Sahoo <satyajit happy gmail com> wrote:
> Hi. I'm using GJS (I thought it was obvious since it's _javascript_ mailing
> list).
Oops, yeah. Sorry. I tend to forget which mailing list I'm in at times.
>
> I am planning only to pass small strings. So it should be fine.
>
> Since GJS lacks docs severely, I couldn't find anything on it. There is a
> DBus client sample on GNOME development site and that's it.
>
I went through it, but unfortunately I did not see anything other than
client code for DBus. There should be both. Let me see if I can
convince someone to write that part out so that the documentation is
more complete. You'll need to extrapolate from python or some other
if you want to do it on your own. Hopefully someone else on this list
will chime in and give you some code to work with.
sri
> Satyajit Sahoo
> UX Designer
> Behance Profile
>
> We're all stories, in the end. Just make it a good one, eh? — The Doctor,
> Season 5, Episode 13.
>
>
> On 2 May 2015 at 21:15, Sriram Ramkrishna <sri ramkrishna me> wrote:
>>
>> Hi Satyajit!
>>
>>
>> On Sat, May 2, 2015 at 4:14 AM, Satyajit Sahoo <satyajit happy gmail com>
>> wrote:
>> > Hello all.
>> >
>> > I am very new to GTK and just started working on an GTK app. But I have
>> > a
>> > query and cannot seem to find any tutorials or samples :(
>> >
>>
>> How nice! :)
>>
>> > I want have 2 applications (one GUI and one CLI) and they should be able
>> > to
>> > communicate with each other.
>> >
>> > For example, I run the CLI app with some parameters, it should pass the
>> > parameters to the GUI app and receive a reply from the GUI app.
>> >
>> > I was told that this can be done with DBus, but I'm stuck there.
>> >
>>
>> What language are you using? In any case, yes you could use DBus to
>> message pass data between two discrete processes. There is a limit,
>> so if you're passing large amounts of data, you probably don't want to
>> use DBus for that. I don't recall, but I think the limit is 128MB or
>> something like that. So pictures and other large data would not work.
>> In which case, as an old school guy, I'd use regular sockets or some
>> other IPC mechanism.
>>
>> Where are you looking for your DBus information? I agree that DBus
>> docs is a trifle daunting for someone who hasn't done it before.
>>
>> sri
>>
>> > Satyajit Sahoo
>> > UX Designer
>> > Behance Profile
>> >
>> > We're all stories, in the end. Just make it a good one, eh? — The
>> > Doctor,
>> > Season 5, Episode 13.
>> >
>> >
>> > _______________________________________________
>> > _javascript_-list mailing list
>> > _javascript_-list gnome org
>> > https://mail.gnome.org/mailman/listinfo/_javascript_-list
>> >
>
>