Hi,

I have tried a simple GTK application (a top level window)
over GTK-DirectFB. but no output is coming. the title-bar,
borders,X-buttons of the window are not visible..

but with over GTK-X this application is working fine
(displaying the whole window)..

what may be the reason..Does GTK-DirectFB doesn't support/show
top-level window.

/*
 *File name: window.c
 */
                                                             
                                                               
#include <gtk/gtk.h>
#include <glib.h>
                                                             
                                                               
int main (int argc, char *argv[])
{
  /*-- Declare the GTK Widgets used in the program --*/
  GtkWidget *window;
                                                             
                                                               
  /*--  Initialize GTK --*/
  gtk_init (&argc, &argv);
                                                             
                                                               
  /*-- Create the new window --*/
  window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_window_set_title(GTK_WINDOW(window),"TATA");
                                                             
                                                               
  /*-- Display the window --*/
  gtk_widget_show(window);
                                                             
                                                               
  /*-- Start the GTK event loop --*/
  gtk_main();
                                                             
                                                               
  /*-- Return 0 if exit is successful --*/
  return 0;
}

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to