Re: Simple Yes/No dialog

2006-07-18 Thread Roland Koebler
On 15-Jul-2006 15:34:12, Freddie Unpenstein wrote: > >> if you want to make non-blocking dialogs, you have to take care >> i.e. that: >> - a lot of non-blocking-dialogs may be opened, and stay open. > > gtk_widget_present() comes in handy there... thanks, this is very useful for non-blocking dial

Re: Simple Yes/No dialog

2006-07-15 Thread Freddie Unpenstein
> if you want to make non-blocking dialogs, you have to take care > i.e. that: > - a lot of non-blocking-dialogs may be opened, and stay open. gtk_widget_present() comes in handy there... I *ALWAYS* do that with Preferences dialogues... Instead of disabling prefs menu options, or ignoring the

Re: Simple Yes/No dialog

2006-06-19 Thread rk-list
hi, > In general, though, if you're writing an application, blocking yes/no > dialogues are often a stumbling block in the user interface -- i.e. > they can suck :-) yes, definitely. yes-no-dialogs are _bad_. it slows down the work _a lot_, because you have to read the question very carfully, and

Re: Simple Yes/No dialog

2006-06-18 Thread Liam R E Quin
On Fri, 2006-06-16 at 11:50 -0400, [EMAIL PROTECTED] wrote: > Ok, you guys were a great help with my last question :) Does GTK have a > simple blocking yes/no dialog? Something that will return true or false, > or similar? I could write my own really quickly, but I was kinda hoping > GTK would s

Re: Simple Yes/No dialog

2006-06-17 Thread Yeti
On Sat, Jun 17, 2006 at 09:49:15AM -0400, [EMAIL PROTECTED] wrote: > Since posting my question I discovered GtkMessageDialog... however I'm > having a hard time getting it to work. As far as I can tell, upon > clicking either of the buttons, the window itself emits the signal > "response". Please

Re: Simple Yes/No dialog

2006-06-17 Thread blythe2
Since posting my question I discovered GtkMessageDialog... however I'm having a hard time getting it to work. As far as I can tell, upon clicking either of the buttons, the window itself emits the signal "response". Then you use another function to determine whether it was a YES or a NO that was

Re: Simple Yes/No dialog

2006-06-17 Thread Eduardo M KALINOWSKI
[EMAIL PROTECTED] wrote: > Ok, you guys were a great help with my last question :) Does GTK have a > simple blocking yes/no dialog? Something that will return true or false, > or similar? I could write my own really quickly, but I was kinda hoping > GTK would save me a few lines of code. > Ch

Re: Simple Yes/No dialog

2006-06-17 Thread Claudio Saavedra
On Fri, 2006-06-16 at 11:50 -0400, [EMAIL PROTECTED] wrote: > Ok, you guys were a great help with my last question :) Does GTK have a > simple blocking yes/no dialog? Something that will return true or false, > or similar? I could write my own really quickly, but I was kinda hoping > GTK would s

Simple Yes/No dialog

2006-06-17 Thread Fernando ApesteguĂ­a
There is something named GnomeDialog with Accept and Cancel buttons, but it is marked as deprecated in my Glade 2.10 so you should use it More ideas? -- Forwarded message -- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Jun 16, 2006 5:50 PM Subject: Simple Yes/No

Re: Simple Yes/No dialog

2006-06-17 Thread Yeti
On Fri, Jun 16, 2006 at 11:50:34AM -0400, [EMAIL PROTECTED] wrote: > Ok, you guys were a great help with my last question :) Does GTK have a > simple blocking yes/no dialog? GtkMessageDialog. Blocking depends on how you use it -- you probably want gtk_dialog_run(). Yeti -- Anonyms eat their b

Re: Simple Yes/No dialog

2006-06-17 Thread Marcel Keienborg
On Fri, Jun 16, 2006 at 11:50:34AM -0400, [EMAIL PROTECTED] wrote: > Ok, you guys were a great help with my last question :) Does GTK have a > simple blocking yes/no dialog? Yes, it has :-) You can use GtkMessageDialog, chosing GTK_MESSAGE_QUESTION as MessageType and GTK_BUTTONS_YES_NO as Button

Simple Yes/No dialog

2006-06-16 Thread blythe2
Ok, you guys were a great help with my last question :) Does GTK have a simple blocking yes/no dialog? Something that will return true or false, or similar? I could write my own really quickly, but I was kinda hoping GTK would save me a few lines of code. ___