Re: [gtk-list] Re: [motif vs gtk]



> (each widget in gtk has its own create function, e.g.,
gtk_menu_item_new(),
> gtk_button_new(), gtk_entry_new(), blah blah, while in Xt you just call
> XtCreate*Widget() and pass a constant identifying which class you want to
> create.

there is a gtk_widget_new () which you pass in the class type.
gtk_*_new is better, cos it's easier to remember the names,
and it allows things like gtk_button_new_with_label (IMO).

iain



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