Re: [gtk-list] C++ and gtk.



At 16:39 25/04/99 -0400, you wrote:
>
>Hi,
>
>I have just joined this list and I'm not sure if this has been covered.
>I'm using gtk in a c++ project and the following lines 
>
>  gtk_table_attach(0, 0, 1, 2, 1, 2,
>		   GTK_EXPAND|GTK_SHRINK,
>		   GTK_EXPAND|GTK_SHRINK,
>		   5, 5);
>
>(predictable) cause the follwing errors.
>
>attach.c:7: warning: conversion from `int' to `enum GtkAttachOptions'
>attach.c:7: warning: conversion from `int' to `enum GtkAttachOptions'
>
>Is there a way to solve it without explicit casts (or writing my own
>wrappers)?
>
There is a c++ binding of gtk (in fact there are a lot of, but I know this
one:) : gtk--

Manu



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