varun_shrivastava wrote:
GtkVBox --> GtkMyDisplayable ---> GtkMyForm
GtkMyDisplayable has an api gtk_my_displayable_add_command(GtkMyDisplayable
*displayable, gchar *string)
so i do following at python prompt
form = mygtk.MyForm()
form.displayable_add_command("_____")
it displays following error
"form has no attribute displayable_add_command"
Does the .defs file contain a definition for the
gtk_my_displayable_add_command function? It may be mapped using the
name 'add_command' instead of displayable_add_command.
BTW, I wouldn't call this an inheritance problem because the method is
only defined in a single class and you're apparently using an instance
of that class.
Cheers,
John
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/