Matt Goodall wrote:
> 
> Damon Chaplin wrote:
> 
> > T5   Check widget names for duplicates
> >         check when saving project?
> >         also check that widget names don't conflict with handler functions.
> 
> Presumably, the duplicate widget name check will only be done on a per-window
> basis. It is *very* useful to call the ok button something like "okBtn" on every
> window.
> 
> As long as you are given the option to say, "Yes, I'm absolutely sure that's what
> I want", when warned then I would be happy.

Hmmm. I was thinking of checking names are unique project-wide.
If we start supporting rc files name clashes in a project may cause problems.

Actually, now I think about it, we may be able to support that.
I was thinking of using things like this in the rc file:

  widget "*.mybutton1" style "mystyle"

But we could use something like:

  widget "mywindow1*.mybutton1" style "mystyle"


Also, cut & paste currently expect unique project-wide names, but we could let
the user sort any problems out with that.


 
> > T15  Property editor
> >         improve the "Signals" page. Adding signal handlers can be confusing.
> >         It is probably better to have an "Add" button opening a dialog box.
> 
> Also, it would be nice to add a few more handlers to the list. I posted a message
> (with a patch I think) about this ages ago.
> 
> IIRC the handlers I suggested adding were gtk_window_activate_default() and
> gtk_widget_grab_focus(). Those two alone let you remove a lot of the mundane
> navigation coding.
> 
> I'm sure there are others that would be useful.

OK. I'll add those 2 (they were the same 2 you had in your patch.)


 
> > T21  Default property values
> >         e.g. Glade assumes border_width default is always 0, but it isn't in
> >         the GtkDialog action_area, so we could generate incorrect source.
> 
> This stuff should surely be in a data file in which case it would be nice to be
> able to override the settings in a user's config file.

I think that is a slightly different issue. I was thinking of code in Glade which
assumes that properties have fixed default values. e.g. Glade only outputs
gtk_container_set_border_width() when the border width is not 0, but this is
actually incorrect for some widgets, usually widgets which are automatically
created.

 
> Whenever I add a label to a table I *always* end up changing the fill and align
> stuff which is pretty tedious.

This is one thing I changed in 0.5.10. When labels are added to tables they are
now set to GTK_FILL and left-aligned. (It was annoying me as well!)

Damon



_______________________________________________
Glade-devel maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel

Reply via email to