[Gambas-devel] gtk -> 050105

José L. Redrejo Rodríguez jredrejo at ...101...
Wed Jan 5 18:10:15 CET 2005


El mié, 05-01-2005 a las 17:41 +0100, Benoit Minisini escribió:
> On Wednesday 05 January 2005 14:30, Daniel Campos wrote:
> > New version of GTK+ component.
> >
> > -> Fixed some problems in Pictures and Images
> > -> Class "Key" implemented, Key_Press event is cancellable now
> >
> > Now the "Blights" and "Timer" examples from Gambas works OK with GTK+!
> >
> > Regards,
> >
> > D. Campos
> >
> > Benoît: What should I fix in my Makefile.am? I do not understand...
> 
> Is there a way to compile it with gtk+ 2.4 ?
> 

I do it adding this lines to the widgets.h file:
GdkPixbuf*  gtk_clipboard_wait_for_image    (GtkClipboard *clipboard);
gboolean    gtk_clipboard_wait_is_image_available
                                            (GtkClipboard *clipboard);
void        gtk_clipboard_set_image         (GtkClipboard *clipboard,
                                             GdkPixbuf *pixbuf);
void        gtk_clipboard_set_can_store     (GtkClipboard *clipboard,
                                             const GtkTargetEntry
*targets,
                                             gint n_targets);
void        gtk_target_list_add_text_targets
                                            (GtkTargetList *list,
                                             guint info);
GdkPixbuf*  gdk_pixbuf_flip                 (const GdkPixbuf *src,
                                             gboolean horizontal);
void        gtk_label_set_single_line_mode  (GtkLabel *label,
                                             gboolean single_line_mode);


With it it compiles pefectly with gtk 2.4, and most of the features
work, only some related to copy & paste don't do nothing obviously.

Regards





More information about the Devel mailing list