Re: Ideas w/r/t HIG spacing and indentation guidelines



+++ Fri, Sep 27, 2002 at 06:12:19PM +0100 +++
Bill Haneman e-mails me. Film at 11. Reply right now, after the break.
> > ATK has API for logically associating labels with widgets (though it
> > does not affect their onscreen placement), via the "AtkRelation"
> > concept.  
> ...
> 
> > Another possibility, which would address Matthias' concerns as well,
> > would be to have API in gtk+ for creating GtkEntry fields, etc. which
> > had built-in labels.  ....
> 
> D'Oh!
> 
> Auspex reminded me that gtk has this already, more-or-less, in the form
> of 
> 
> gtk_label_set_mnemonic_widget (label, widget);
> 
> I will check with Padraig, but this may already set up the ATK relations
> automagically; if not, it certainly could and should be made to do so.  

It doesn't seem to do that.

Actually, in my original mail I intended to propose a "GnomeLabeled"
subclass of GtkBin which would do nothing but provide its single child
with a HIG-compliant, accessible label.

Turns out this would hardly save much code as we've already got the
"mnenomic-widget" property (I'm a sucker for properties -- I do
everything with g_object_*).

mawa
-- 
Ist die Linke gerecht, ist die Rechte gelinkt.
                                                            -- Hauke Reddmann
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers



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