version 1.2, 2025/03/09 15:20:18
|
version 1.4, 2025/04/10 01:24:38
|
Line 1
|
Line 1
|
/* |
/* |
* * |
* $Id$ |
* * * |
|
* * * |
|
* *************** |
|
* * * * * |
|
* * MUMPS * |
|
* * * * * |
|
* *************** |
|
* * * |
|
* * * |
|
* * |
|
* |
|
* mwapi_window.c |
|
* mwapi window support |
* mwapi window support |
* |
* |
* |
* |
* Author: Serena Willis <snw@coherent-logic.com> |
* Author: Serena Willis <snw@coherent-logic.com> |
* Copyright (C) 1998 MUG Deutschland |
* Copyright (C) 1998 MUG Deutschland |
* Copyright (C) 2014, 2020, 2021 Coherent Logic Development LLC |
* Copyright (C) 2014, 2020, 2021, 2025 Coherent Logic Development LLC |
* |
* |
* |
* |
* This file is part of FreeM. |
* This file is part of FreeM. |
Line 35
|
Line 23
|
* You should have received a copy of the GNU Affero Public License |
* You should have received a copy of the GNU Affero Public License |
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* |
* |
|
* $Log$ |
|
* Revision 1.4 2025/04/10 01:24:38 snw |
|
* Remove C++ style comments |
|
* |
|
* Revision 1.3 2025/03/09 19:50:47 snw |
|
* Second phase of REUSE compliance and header reformat |
|
* |
|
* |
|
* SPDX-FileCopyrightText: (C) 2025 Coherent Logic Development LLC |
|
* SPDX-License-Identifier: AGPL-3.0-or-later |
**/ |
**/ |
|
|
#include "config.h" |
#include "config.h" |
Line 82 void mwapi_win_show(mwapi_window *win)
|
Line 80 void mwapi_win_show(mwapi_window *win)
|
mwapi_event *destroy_ev = mwapi_event_new ("CLOSE", win->window_name, win->window); |
mwapi_event *destroy_ev = mwapi_event_new ("CLOSE", win->window_name, win->window); |
mwapi_wire_event (destroy_ev, "CLOSE^%MWAPI.EVENT.DEFAULT"); |
mwapi_wire_event (destroy_ev, "CLOSE^%MWAPI.EVENT.DEFAULT"); |
|
|
//gtk_widget_show_all (win->window); |
/* gtk_widget_show_all (win->window); */ |
|
|
win->win_visible = TRUE; |
win->win_visible = TRUE; |
|
|
Line 110 mwapi_window *mwapi_win_get(char *window
|
Line 108 mwapi_window *mwapi_win_get(char *window
|
|
|
stcpy (t->window_name, window_name); |
stcpy (t->window_name, window_name); |
|
|
//t->window = gtk_window_new (GTK_WINDOW_TOPLEVEL); |
/* t->window = gtk_window_new (GTK_WINDOW_TOPLEVEL); */ |
t->win_visible = FALSE; |
t->win_visible = FALSE; |
|
|
t->next = mwapi_win_head; |
t->next = mwapi_win_head; |