Multithreading application



Hi
I am using gtkmm. i need multithreading in my application. so in one thread i need to open a simple window which contain label in another thread i need to do other application. please help me regarding this.

i have this window class.

class NewWindow:public Gtk::Window
{
    public:
    Gtk::VBox vbox;
    Gtk::Label label;
   
loginWindow():label(" Swipe the  Card")
    {
        //maximize();
        set_default_size(400, 370);
        add(vbox);
        vbox.pack_start(label, Gtk::PACK_SHRINK);
       
        show_all_children();
    }
};

i need to create instance of this class  and run it in one thread.


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