just a couple of migrating newbie questions



Hello,

Anyone know how to popup a window with a frame?

Also, what is the difference between fprintf("") and gprint("").

Is there a GDK documentation for the G_ macros and stuff

other than the GTK API and Tutorial (for the lower layer library)?

OK, I'll just keep going through the API...

Well thanks,

NP,

void display_popup(GtkButton *button, gpointer data) {
  g_print("popping up popup widget...\n");
  gtk_widget_show_all((GtkWidget *) data);
}

g_signal_connect(G_OBJECT(glade_xml_get_widget(xml, "foo_button")), "clicked",
  G_CALLBACK(display_popup), (gpointer) glade_xml_get_widget(xml,
"foo_button"));



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