qulogic/libgnt
Clone
Summary
Browse
Changes
Graph
Hide GntWM->loop.
2019-05-10, Elliott Sales de Andrade
df3ccd076dbe
Hide GntWM->loop.
/*
* GNT - The GLib Ncurses Toolkit
*
* GNT is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef GNT_WM_PRIVATE_H
#define GNT_WM_PRIVATE_H
#include
"gnt.h"
#include
"gntwm.h"
typedef
enum
{
GNT_KP_MODE_NORMAL
,
GNT_KP_MODE_RESIZE
,
GNT_KP_MODE_MOVE
,
GNT_KP_MODE_WAIT_ON_CHILD
}
GntKeyPressMode
;
G_BEGIN_DECLS
/* Private access to some internals. Contact us if you need these. */
void
gnt_wm_copy_win
(
GntWidget
*
widget
,
GntNode
*
node
);
void
gnt_wm_set_mainloop
(
GntWM
*
wm
,
GMainLoop
*
loop
);
/*
* gnt_wm_is_list_window:
* @wm: The window-manager.
* @widget: The widget to check.
*
* Check whether @widget is the window manager's listing window.
*
* Internal.
*/
gboolean
gnt_wm_is_list_window
(
GntWM
*
wm
,
GntWidget
*
widget
);
void
gnt_wm_add_action
(
GntWM
*
wm
,
GntAction
*
action
);
GntMenu
*
gnt_wm_get_menu
(
GntWM
*
wm
);
void
gnt_wm_set_menu
(
GntWM
*
wm
,
GntMenu
*
menu
);
gboolean
gnt_wm_get_event_stack
(
GntWM
*
wm
);
void
gnt_wm_set_event_stack
(
GntWM
*
wm
,
gboolean
set
);
GntKeyPressMode
gnt_wm_get_keypress_mode
(
GntWM
*
wm
);
void
gnt_wm_set_keypress_mode
(
GntWM
*
wm
,
GntKeyPressMode
mode
);
G_END_DECLS
#endif
/* GNT_WM_PRIVATE_H */