GNOME Bugzilla – Bug 345893
Need to order properties in the editor and widget-groups in the palette
Last modified: 2006-09-18 20:33:46 UTC
This feature has two (three ?) parts: o Widget groups should be ordered in the catalog, gtk+ should always be on top, then gnome, then any user installed catalogs (user installed catalogs can use the same mechanism to order themselves when there are multiple installed). o Properties should be ordered by hand in some cases in the editor tables, so that for example, the "tooltip" property lands near the top o Introduce property groups; it should be easy to group logical properties together in the editor, with a group name, so that the group name comes up in the editor as a header for that group... an example for the use of this feature would be to group together the image/stock stuff in GtkButton/GtkImage I think that we can use a "float" value for this... widget catalogs; properties and widget groups can all use a value.. so that the greatest value "floats" to the top.
If talking about grouping properties I suggest to merge Common and Packing into General page at the same time. Accessibility can be merged too. Signals and Style will probably have different interaction scheme and they are less related to other settings so it is good to leave them on their own pages. I think users should be able to move groups in the palette. Additional ability to create custom group with favourite widgets would be awesome.
Created attachment 71413 [details] [review] Proposed patch
Created attachment 72649 [details] [review] New proposed patch * src/glade-property-class.[ch]: o GladePropertyClass handle member declared as GladeWidgetClass. o Added new member weight. * src/glade-editor.c: Fixed bug 345893. "Need to order properties in the editor and widget-groups in the palette" * src/glade-widget-class.[ch]: added glade_widget_class_properties_set_weight(). * src/glade-xml-utils.[ch]: added glade_xml_get_property_double(). * src/glade.h: added new tag GLADE_TAG_WEIGHT. * widgets/gtk+.xml.in: set weight in several properties. GtkWidget's tooltip, GtkBox packing properties, GtkButton GtkImage
commited