Re: gtk drum machine




> Here are some problems I encountered with gtk 0.99.3 which may or may not
> be fixed by now. Please do not flame me if they have indeed been fixed.

No flames ;-). All bug reports are appreciated. But it should be
pointed out that there are 2700 lines of ChangeLog entires for GTK+
since 0.99.3 was released...
 
> o Fileselector, if you scroll in the file subwindow and double click on a
>   file way down in the list -> crash.

I think this has been fixed.
 
> o Fileselector should have a filter.

It does, in a way. Try entering *.jpg <TAB> [ Though the fileselection
has been considerably updated since 0.99.3 ]
 
> o Radio buttons do not work as described in the tutorial (well, there was
>   not much docu so maybe I did something wrong), I was able to have
>   several selected items.

You might want to check the current version of the tutorial. You
have to be a bit careful how you do radio buttons. The easiest
way is to use

  button1 = gtk_radio_button_new ()
  button2 = gtk_radio_button_new_from_widget (GTK_RADIO_BUTTON (button1));
  button3 = gtk_radio_button_new_from_widget (GTK_RADIO_BUTTON (button1));

> o I am using button triggered popup menus as described in the tutorial.
>   This leaves the button which triggered the popup
>   highlighted after the popup menu has gone, what am I doing wrong?.

That has been fixed since.
 
> o Speed. I have big matrix of buttons this makes the startup way to slow. 
>   When I was using Xaw it was a lot faster ;-).

Hmmm. Depends on how big and how slow. 100 buttons should work fairly
well. 1000 is going to be slow. There have been some significant
optimizations in GTK since 0.99.3, especially configured without
--enable-debug (though you want that when developing applications).

But Xaw still may be considerably faster. It has had quite a few
more years to be optimized and isn't doing nearly as much.
 
> o Text entry fields: the default width should computed from the 
>   gtk_entry_set_max_length setting.

Sounds like a reasonable suggestion to me.

Regards,
                                        Owen



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