Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-29 Thread Kadaitcha Man
2009/11/30 Fabien Bodard : > it is complicated because off the actiongroup of qt My view is that it's an unnecessary feature; a nice to have razzle-dazzle. If it's going to complicate the GTK toolkit I'd be inclined to give it a miss. but then, that's just my opinion. ---

Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-29 Thread Fabien Bodard
it is complicated because off the actiongroup of qt how to define the children group in a simple sequence of menu entry... and it use a special actiongroup (exclude) http://doc.trolltech.com/4.5/qaction.html#checkable-prop then is there something like that in gtk ?... as we need to maintain the

Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-29 Thread Kadaitcha Man
2009/11/29 nando : > Radio Buttons only make sense when you use more than ONE. > Placing them on a PANEL container makes them a 'family' and > are grouped together so that only one can be selected TRUE. > If you don't want to see the panel border, you can have no border. > If you use only ONE Radi

Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-29 Thread nando
one panel, they are EXCLUSIVE automatically. No code required. -Fernando -- Original Message --- From: Matti To: mailing list for gambas users Sent: Sun, 29 Nov 2009 19:10:31 +0100 Subject: Re: [Gambas-user] How can I create radio (mutually exclusive) menu? > David, wh

Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-29 Thread Matti
David, why do you want to go the complicated way by all means? I simply use the "checked" property of the menu items (like Fabien told you), and then: PUBLIC SUB mnuSortA_Click() IF mnuSortA.Checked = FALSE THEN mnuSortT.Checked = FALSE mnuSortA.Checked = TRUE . It's easy, work

Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-28 Thread nando
-- From: Fabien Bodard To: mailing list for gambas users Sent: Sat, 28 Nov 2009 09:32:42 +0100 Subject: Re: [Gambas-user] How can I create radio (mutually exclusive) menu? > i need to look about that > > 2009/11/28 David Dell : > > OK, but how can I get the standard rad

Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-28 Thread Fabien Bodard
i need to look about that 2009/11/28 David Dell : > OK, but how can I get the standard radio check icon for menus on the > Linux operating system the program is running (for example in Ubuntu > the one used in View menu of the Calculator program, etc.)? Is there a > way to get if from the system u

Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-28 Thread David Dell
OK, but how can I get the standard radio check icon for menus on the Linux operating system the program is running (for example in Ubuntu the one used in View menu of the Calculator program, etc.)? Is there a way to get if from the system using Gambas instead of including it in my program? Thank y

Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-27 Thread Fabien Bodard
it simply don't exist... you need to use the check mark and then compute the exclude by you self... it's not so complicated to do. 2009/11/27 David Dell : > I'm using Gambas 2.13 on Ubuntu 9.10. I have created a QT graphical > application and I'm trying to create radio (mutually exclusive) menu >

[Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-27 Thread David Dell
I'm using Gambas 2.13 on Ubuntu 9.10. I have created a QT graphical application and I'm trying to create radio (mutually exclusive) menu items, with a radio icon instead of a check mark when selected. I can't find any property in the Menu documentation that does that. Can you help? Thank you, Davi