messagedialog



how would you make a messagedialog without making a window. for instance instead of making a button and then having the message dialog appear when the button was clicked just have the message dialog box show up. and if thats even possible what would the parent be?
 
int main (argc, argv[])
{
Gtk::Main kit(argc, argv)

{ Gtk::MessageDialog dialog(

"BEEP/a");

dialog.set_secondary_text(

"beep/a");

dialog.run();}

}



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