[Mono-devel-list] RadioMenuItem menu

Michael Weichert mweichert at wightman.ca
Sat Aug 28 22:43:25 EDT 2004


Hi,

 

I’m just learning Gtk#, and I’m trying to create a menu of RadioMenuItems
manually. I’ve tried doing various things but cannot implement this.

 

Glib.SList group = new Glib.SList(typeof(RadioMenuItem));

RadioMenuItem item = new RadioMenuItem(group, “Option 1”);

myMenuBar.Append(item);

item = new RadioMenuItem(group, “Option 2”);

myMenuBar.Append(item);

…

 

Can someone please help and steer me in the right direction?

 

Thanks,

Mike

 


-- 
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.262 / Virus Database: 264.7.1 - Release Date: 8/27/2004
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040828/400edd7c/attachment.html 


More information about the Mono-devel-list mailing list