Re: GdkPixmap



Hi,

> Hi Nuno, a menu item is just a container: you can put anything inside.
>
> - make an hbox
>
> - put your pixmap and your text into the hbox

here is where i have the problem:

>GdkPixmap*  gdk_pixmap_create_from_xpm      (GdkWindow *window,
>                                             GdkBitmap **mask,
>                                             GdkColor *transparent_color,
>                                             const gchar *filename);

the first argument is a GdkWindow... but i should be passing a GtkHBox...
Can anybody tell me how to put the pixmap in the GtkHBox?

Nuno Afonso




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