Package: gtk
Function gtk-notebook-tab-detachable
Lambda Listgtk-notebook-tab-detachable (notebook child) SyntaxArgumentsDetails Accessor of the detachable child property of the notebook. The gtk-notebook-tab-detachable function returns whether the tab content can be detached from the notebook to another notebook or widget. The (setf gtk-notebook-tab-detachable) function sets whether the tab can be detached. Note that two notebooks must share a common group identificator, see the gtk-notebook-group-name function, to allow automatic tabs interchange between them. Examplestatic void on_drop_zone_drag_data_received (GtkWidget *widget, GdkDragContext *context, gint x, gint y, GtkSelectionData *selection_data, guint info, guint time, gpointer user_data) { GtkWidget *notebook; GtkWidget **child;If you want a notebook to accept drags from other widgets, you will have to set your own DnD code to do it. | See also |
2021-12-17