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



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>
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
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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