Gtk-directfb images



Title: Gtk-directfb images

Hi group,
   I am using gtk+directfb for my arm target board, i am using the following code to display images
and since i don't have window manger in target, i am putting the widget by using fixed containers.

 GtkWidget *image;
/* Geting image from imagefile */
      image = gtk_image_new_from_file ("image filename");
      /* set co-ordinates x-axis - X_CODNT_IMG
       * y-axis - Y_CODNT_IMG
       */
      gtk_fixed_put (GTK_FIXED (fixed), image, X_CODNT_IMG, Y_CODNT_IMG);
here fixed is added to a box container....

When i uses the co-ordinates, say 10,10 it will display properly, if i alingn it display in the middle or in the end, the image is getting clipped.
i tried the same in my host with
gtk_window_new(GTK_WINDOW_POPUP);
the image is displayed properly...
can any body tell me what will be the possible problem or is there any extra libs required for image display in arm targets.


With regds,



Shyjumon N
Mobile: +91-9945006965


The information contained in this e-mail message and in any annexure is confidential to the  recipient and may contain privileged information. If you are not the intended recipient, please notify the sender and delete the message along with any annexure. You should not disclose, copy or otherwise use the information contained
in the message or any annexure. Any views expressed in this e-mail are those of the individual sender except where the sender specifically states them to be the views of SoCrates Software India Pvt Ltd., Bangalore.


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