This worked for me. I don't know what to say your setup seems to have serious problems.
Here is the wiki http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB I'd suggest starting over agian deleting all the old libraries and following the wiki build procedures. And I'd first test your directfb install and convince yourself your comfortable that thats correct. Mike On 8/10/06, Prasanna Kumar K <[EMAIL PROTECTED]> wrote: > 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 > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
