threads example from Erik Mouw. New question on GtkLabel background

Sat Nov 13 22:30:29 GMT 1999 Tony Gale  <gale@gtk.org>

        * docs/gtkfaq.sgml: threads example from Erik Mouw.
        New question on GtkLabel background colors.

        * docs/gtk_tut.sgml:
          - Correct the example code callback
            function definitions.
          - Update the gtkdial example code, from Frans van Schaik.
          - Update setselection.c to current API.

        * examples/Makefile examples/*/*.c: Update to code
        listed in tutorial.
This commit is contained in:
GMT 1999 Tony Gale
1999-11-13 23:06:46 +00:00
committed by Tony Gale
parent e4df9fa95b
commit ee3d137660
49 changed files with 2379 additions and 681 deletions

View File

@ -11,11 +11,12 @@ void callback( GtkWidget *widget,
}
/* another callback */
void delete_event( GtkWidget *widget,
gint delete_event( GtkWidget *widget,
GdkEvent *event,
gpointer data )
gpointer data )
{
gtk_main_quit ();
gtk_main_quit();
return(FALSE);
}
int main( int argc,
@ -33,7 +34,7 @@ int main( int argc,
/* Create a new window */
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
/* This is a new call, this just sets the title of our
/* This is a new call, which just sets the title of our
* new window to "Hello Buttons!" */
gtk_window_set_title (GTK_WINDOW (window), "Hello Buttons!");