Hi,
Nothing is wrong with your code, except the ugly hack..
>
> You probably need to do something like list
>
> gchar **list;
> gint i = 0;
>
> list = g_uri_list_extract_uris((const gchar *)
> gtk_selection_data_get_data(selection_data));
>
> if (list) {
> while (list[i] != NULL) {
>
>file
filename = filename + 7;
int size = strlen(filename);
filename[size - 2] = '\0';
So my question is what's wrong in my code...?
Or maybe there's a glib function I should use ?
Maybe I should use "gtk_drag_get_data" then "gdk_drag_get_selection" and
u
Hi !
Finally I have made a working code to create gif and add frame to it.
There's a lot of bugs currently (no time to correct it at the moment).
I give it to you as example if anybody is looking for something similar.
That's the code I've created to solve my problem :
void screenshot_anim_cr
example, 13, 1, fp); // --> Here I want a function to encode a
pixbuf in LZW
fwrite(end, 1, 1, fp);
fclose(fp);
}
I know animated gif and static gif are not exactly the same, here it's
"static gif" (only one img).
I hesitate to use byzanz encoder f
t work on another system (where the library
path is different)
I hope this will answer your question.
Thibault Duponchelle.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
gtk_widget_add_events(pWindow, GDK_BUTTON_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK);
gtk_signal_connect(GTK_OBJECT(pWindow), "button_press_event",
G_CALLBACK(mouse_event),(gpointer)gsi);
gtk_widget_show_all(pWindow);
return pWindow;
}
One more times thank you.
Best regards.
AND a drawarea .
Use GtkBox is impossible because the pixmap must be in background and the
drawarea center ON it.
Thank you for all.
I hope my english is not too bad.
Best regards.
Thibault Duponchelle
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list