Another documentation inconsistency
- From: Igor Korot <ikorot01 gmail com>
- To: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Another documentation inconsistency
- Date: Sat, 8 Aug 2015 00:29:25 -0400
Hi, ALL,
The documentation states:
[quote]
Adds an activatable widget to the action area of a GtkDialog,
connecting a signal handler that will emit the “response” signal on
the dialog when the widget is activated. The widget is appended to the
end of the dialog’s action area. If you want to add a non-activatable
widget, simply pack it into the action_area field of the GtkDialog
struct.
[/quote]
However the call to gtk_dialog_get_action_area() is deprecated since GTK+-3.12.
So, how do I pack thje non-activateable widget in there?
Or I am missing something and I can access the area to pack it differently?
Right now my code is doing this:
[code]
gtk_box_pack_end( GTK_BOX( gtk_dialog_get_action_area( GTK_DIALOG( dlg
) ) ), my_widget, false, true, 8 );
[/code]
Thank you for any pointers.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]