Re: Running Gtk application in new terminal

On Thu, Jun 5, 2014 at 11:49 AM, Abhinav singh
<abhinavksingh93 gmail com> wrote:
On Thu, Jun 5, 2014 at 10:53 AM, Juan Rafael García Blanco
<juanrgar gmail com> wrote:

Apparently you are running both the main program and the gtk app in the same
execution thread. Therefore you need additional threads, that is the way you
can dettach the gtk app from the main thread, making it execute in a
dedicated thread.


My main program is not at all related with gtk so need of
multithreading is not necessarily requires i think so. An alternative
solution will be if i get out of Gtk main loop without destroying the
application window.Is it possible to do so?


Sorry my mistake thats not an option. But how i can dedicate
additional thread to gtk app when main program is not related to gtk?
Any other alternative for solving this problem?


On Jun 5, 2014 5:43 AM, "Abhinav singh" <abhinavksingh93 gmail com> wrote:

I am running a gtk application from another program lets call it "main
program". This program is command driven and proceed according to
command given to it. What my problem is when the command which runs my
gtk application is given into "main program" the terminal gets hang up
till the application window is closed then only my "main program" is
able to process further command given to it.

Is there any way to run my gtk application in entire new terminal or
without terminal associated with it so that my "main program" will be
able to process the next command in the list with gtk application
running in parallel?

gtkmm-list mailing list
gtkmm-list gnome org

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