Re: gtk_label_new_with_mnemonic() and g_object_new()



murrayc t-online de (Murray Cumming) writes:
> Is there a construct-time property that can be used with g_object_new()
> so that language bindings can have the equivalent of
> gtk_label_new_with_mnemonic()?

g_object_new (GTK_TYPE_LABEL, 
              "label", "_Foo", "use_underline", TRUE, NULL);

should work.

Havoc



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