
Here are some notes about problems which may be encountered when converting
Glade to using generic code, i.e. using the GTK Arg mechanism to get & set
all widget properties.

gtk_type_new():
	some widgets do not return a valid widget, which usually results
	in Glade crashing. (These are the widgets you normally have to
	pass arguments to when creating with _new().

GtkDialog:
	How to edit the vbox & action_area, and to output code which
	adds widgets to them but doesn't create them.

GtkFileSelection & GtkColorSelectionDialog:
	We need to add signal handlers to the OK/Cancel/Help buttons.
	Sometimes other buttons and widgets are also added to the dialogs -
	can we handle that?

GtkNotebook:
	The popup menu items & tab labels of the pages.

GtkImage:
	Can't change the image type & visual after creation.
	Also the args to create an image are dynamic - often the result
	of function calls, e.g. gtk_visual_best_with_depth (xx)

GtkPixmap:
	Need to pass gdkpixmap and gdkbitmap mask to create the pixmap,
	so this is awkward to do with Args.

GtkCombo:
	Setting the usize of the combo doesn't work properly since the
	combo's entry may request a larger size by default.
	(I think this is just a bug in GTK - the combo should probably set
	 the size of the entry in size_allocate())


Properties which can only be set when a widget is created or before it is
realized:
e.g. window - wmclass, wmname
     image - type & visual (mentioned above)
     clist/ctree - number of columns


GtkFixed:
	Can the child's position and size be set OK via the standard widget
	x & y Args? - normally you need to use gtk_fixed_move since the Fixed
	container remembers the positions of all children.

GtkToolbar:
	Please don't use 'style' as an Arg name - it will conflict with
	GTK styles (foreground/background colors etc.) as output in Glade's
	 XML files. (How about 'view_mode' instead?)

	The toolbar is a bit non-standard as well - need to check this.

GtkPaned:
	Need to be able to get/set the position of the widget, so we can
	replace a widget if it is added/deleted. (Also look at
	gb_widget_replace_child() in gbwidget.c to check it can all be
	done generically)

GtkText:
	Adding scrollbars


Drawing the box representing selected widget(s):
	Viewport currently has special code in editor.c - paint_widget()

	gbclist.c has code to redraw the edges of the clist when it is
	scolled, otherwise the selection handles mess the display up.
