Re: Accelerators and gtk_grab_add



Should the attached program  make some changes before it can be compiled?
Otherwise  how to compile?


>
> int main( int argc, char ** argv )
> {
>         gtk_init( &argc, &argv );
>
>         GtkWidget * window = gtk_window_new( GTK_WINDOW_TOPLEVEL );
>         gtk_window_set_position( GTK_WINDOW(window), GTK_WIN_POS_CENTER );
>         gtk_widget_set_usize( window, 200, 200 );
>

int main( int argc, char ** argv )
{
        GtkWidget * window ;
        gtk_init( &argc, &argv );

        window = gtk_window_new( GTK_WINDOW_TOPLEVEL );





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