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

RE: Doesn't gtk_menu_ensure_uline_accel_group() work with pkg-config ?



Thanks. 

I checked the FAQ, v2.0 and v2.2 and found the gtk_menu_ensure_uline_accel_group() still be there.

 Directory : gtk2.2.0/docs/faq/html/x750.html

I will refer your advice. 

-----Original Message-----
From: gtk-app-devel-list-admin@gnome.org [mailto:gtk-app-devel-list-admin@gnome.org]On Behalf Of Owen Taylor
Sent: Friday, January 10, 2003 11:49 PM
To: Cho, hyun-sang
Cc: gtk-app-devel-list@gnome.org
Subject: Re: Doesn't gtk_menu_ensure_uline_accel_group() work with pkg-config ?



"Cho, hyun-sang" <hscho@newer.co.kr> writes:

> Thanks for  reply. 
> 
> Yes, the code is sampled from "Teach Yourself GTK+ in 21 Days". 
> 
> As I wrote, compiled with
> 
>   gcc -W -Wall program.c -o program `gtk-config --cflags --libs` 
> 
> is done successfully. 
> 
> The goal that I want to do is, compile the code with pkg-config. 
> I read under-line acceleration coded by gtk_menu_ensure_uline_accel_group() from FAQ which is included in gtk+2.0 tar ball.
> And, examples within the tar ball use pkg-config instead of gtk-config. 
> I want to know why the code cannont compiled with pkg-config as like other samples within gtk+2.0 tar ball. 

Because gtk_menu_ensure_uline_accel_group() doesn't exist in GTK+-2.0.
Adding underline accelerators (mnemonics) is easy in GKT+-2.0,
you just use gtk_menu_item_new_with_mnemonic().

If the FAQ still refers to gtk_menu_ensure_uline_accel_group(),
file a bug in bugzilla and CC: gale@gtk.org on it.

Regards,
                                        Owen
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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