John Margaglione wrote:
>
> I am having a problem getting certain GTK arguments to behave when
> looking them up in the type system. In particular, when I ask for the
> "has_focus" or "can_focus" arguments for a GtkButton (using
> gtk_object_arg_get_info), I get this error.
>
> could not find argument "can_focus" in the `GtkButton' class ancestry
>
> The program has no problem finding the "has_default", "label",
> "can_default", etc. arguments.
>
> When I write a sample program using exactly the same function calls to
> get the argument descriptors, the Gtk type system finds "can_focus" and
> "has_focus". I see no reason for this behavior. The fact that the
> error message reports that it knows that it has a type of GtkButton and
> knows that there is no "can_focus" argument means that the type system
> has been loaded, but it's just not finding the argument.
>
> So, what could cause the type system to fail like that? I have attached
> my test program for kicks.
The test program worked for me (with GTK+ 1.2.7).
Does it fail for you?
Damon
_______________________________________________
Glade-devel maillist - [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel