Debian Codegraph @

sys/GuiForm.cpp

raw symbols SCIP
1 /* GuiForm.cpp
2 *
3 * Copyright (C) 1993-2012,2015,2017 Paul Boersma
4 *
5 * This code is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This code is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #include "GuiP.h"cxx . . $ `<file>/sys/GuiP.h`/
20
21 Thing_implementcxx . . $ `sys/Thing.h:65:9`! (GuiForm, GuiControl, 0);
22
23 #if gtkcxx . . $ `sys/Gui.h:33:10`!
24 static void _guiGtkForm_destroyCallbackcxx . . $ _guiGtkForm_destroyCallback(6c58c5e2437d25a2). (GuiObjectcxx . . $ GuiObject# widget, gpointer void_me) {
25 (void) widget;
26 iamcxx . . $ `melder/melder.h:50:9`! (GuiForm);
27 tracecxx . . $ `melder/melder_debug.h:60:10`! (U"destroying GuiForm ", Melder_pointer (me));
28 forgetcxx . . $ `sys/Thing.h:158:9`! (me);
29 }
30 #elif motif
31 static void _guiMotifForm_destroyCallback (GuiObject widget, XtPointer void_me, XtPointer call) {
32 (void) widget; (void) call;
33 iam (GuiForm);
34 forget (me);
35 }
36 #elif cocoa
37 #endif
38
39 GuiFormcxx . . $ GuiForm# GuiForm_createInScrolledWindowcxx . . $ GuiForm_createInScrolledWindow(fb3bf907f314f2d8). (GuiScrolledWindowcxx . . $ GuiScrolledWindow# parent)
40 {
41 autoGuiFormcxx . . $ autoGuiForm# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (GuiForm);
42 mycxx . . $ `melder/melder.h:44:9`! d_shellcxx . . $ structGuiThing#d_shell. = parent -> d_shellcxx . . $ structGuiThing#d_shell.;
43 mycxx . . $ `melder/melder.h:44:9`! d_parentcxx . . $ structGuiThing#d_parent. = parent;
44 #if gtkcxx . . $ `sys/Gui.h:33:10`!
45 mycxx . . $ `melder/melder.h:44:9`! d_widgetcxx . . $ structGuiThing#d_widget. = gtk_fixed_new ();
46 gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOWcxx . . $ `<external>/15242555379300173687/gtkscrolledwindow.h:38:9`! (parent -> d_widget), GTK_WIDGETcxx . . $ `<external>/6031079988677191796/gtkwidget.h:58:9`! (mycxx . . $ `melder/melder.h:44:9`! d_widget));
47 #elif motif
48 //my d_widget = XmCreateRowColumn (parent -> d_widget, "menu", nullptr, 0);
49 my d_widget = XmCreateForm (parent -> d_widget, "menu", nullptr, 0);
50 #elif cocoa
51 #endif
52 GuiThing_showcxx . . $ GuiThing_show(20e88c25f0ba841). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).());
53
54 #if gtkcxx . . $ `sys/Gui.h:33:10`!
55 g_signal_connectcxx . . $ `<external>/15952772511652638895/gsignal.h:548:9`! (G_OBJECTcxx . . $ `<external>/1341695927569185362/gobject.h:54:9`! (mycxx . . $ `melder/melder.h:44:9`! d_widget), "destroy", G_CALLBACKcxx . . $ `<external>/16473872192229286895/gclosure.h:73:9`! (_guiGtkForm_destroyCallback), me.get());
56 #elif motif
57 XtAddCallback (my d_widget, XmNdestroyCallback, _guiMotifForm_destroyCallback, me.get());
58 #elif cocoa
59 #endif
60
61 return me.releaseToAmbiguousOwnercxx . . $ autoSomeThing#releaseToAmbiguousOwner(258ee1c9e0a18a5c).();
62 }
63
64 /* End of file GuiForm.cpp */