gtk_window_set_resizable



When i compile and run this program the window isn't displayed, if i change FALSE to TRUE in the 
gtk_window_set_resizable function this works properly. what's wrong?

#include <gtk/gtk.h>

int main(int argc, char *argv[]) {

  GtkWidget *window;

  gtk_init(&argc, &argv);

  window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
  gtk_widget_show(window);
  gtk_window_set_resizable(GTK_WINDOW(window), FALSE);
  
  gtk_main();

  return 0;

}
-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze



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