Button accelerators

2000-05-26 Thread Shippy!
Is there any way to make it so a letter in a button label will be underlined and then you can hook that letter up to an accelerator button? I know you can do that with menus, but being able to do it with buttons would be handy as well. -- +-+

Re: Button accelerators

2000-05-26 Thread Bruce Ide
"Shippy!" wrote: > > Is there any way to make it so a letter in a button label > will be underlined and then you can hook that letter up > to an accelerator button? I know you can do that with > menus, but being able to do it with buttons would be handy > as well. I just ran across that, hmm. O

Re: Understanding gtk_widget_queue_draw() (and dbl buffing)

2000-05-26 Thread Havoc Pennington
Derek Simkowiak <[EMAIL PROTECTED]> writes: > gtk_widget_queue_draw() does not double buffer, does it? > No. It simply schedules a draw to happen in an idle handler. > So, assuming my understanding is correct, the only advantage of > using widget_queue_draw() is that it's less ne

Re: Understanding gtk_widget_queue_draw() (and dbl buffing)

2000-05-26 Thread Derek Simkowiak
-> > messages indicated that Gtk 1.4 would have built-in double buffering, -> > whatever that means. -> -> It means you don't need to do double buffering. ;-) Is the new double-buffering architecture documented somewhere? I'd like to understand how it works. Just considering the

Re: Understanding gtk_widget_queue_draw() (and dbl buffing)

2000-05-26 Thread Havoc Pennington
Derek Simkowiak <[EMAIL PROTECTED]> writes: > Is the new double-buffering architecture documented somewhere? Not really, Owen has an initial design document on the web somewhere but I forget the URL. Check gtk-devel-list archives. > Just considering the fact that my expose handler

Re: [gtk-list] glist: getting selected item

2000-05-26 Thread Havoc Pennington
Andrea Frome <[EMAIL PROTECTED]> writes: > The GtkList doesn't provide API for retrieving the selected > items in a list, which I find a little strange. How do > people usually deal with this? Wouldn't it be bad form to > directly access the fields in the GtkList struct? You have to access t