Re: How use gnome-calculator in my gtk+ app



the best is full interface, if it possible to add gnome-calculator. If not, i will implement just a basic 
calculator.

But i think that is a way to insert other application inside mine, i'm wrong?

Thanks

On 22-03-2017 09:43, Roth Robert wrote:
Hi Ruben,

That depends on what do you mean by adding a calculator:
* do you only need a text-field to evaluate calculations from? (easier to implement, spawn a process for the 
command-line version of calculator to calculate the result, just like the calculator gnome shell search 
provider does)
* do you need the full interface (including calculations history, buttons) - this is harder to do, calculator 
is not designed to do this, as this seems to me like a very rare usecase. Feel free to contact me for more 
details on how and what.

I'm also interested in other people's ideas and suggestions (as a more generic topic) on embedding an 
applications UI in another's one, e.g. GtkSocket/GtkPlug and/or other solutions.

Regards,
Robert

On Wed, Mar 22, 2017 at 11:28 AM Rúben Rodrigues <ruben_gr live com pt<mailto:ruben_gr live com pt>> wrote:
Hi guys,

I need to add to my app a calculator. It's possible to add
gnome-calculator as child of a container in my app?

Thanks

Ruben


---
Este e-mail foi verificado em termos de vírus pelo software antivírus Avast.
https://www.avast.com/antivirus

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org<mailto:gtk-app-devel-list gnome org>
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]