forked from AuroraMiddleware/gtk
642503afb4
Unfortunately, this involves copying a bunch of code from gtkwindow.c. The only difference here is that we add a private method to turn this off, which will be used by GtkPopoverMenu to implement its own auto mnemonics.
32 lines
1.0 KiB
C
32 lines
1.0 KiB
C
/* GTK - The GIMP Toolkit
|
|
* Copyright © 2014 Carlos Garnacho <carlosg@gnome.org>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library 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
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __GTK_POPOVER_PRIVATE_H__
|
|
#define __GTK_POPOVER_PRIVATE_H__
|
|
|
|
#include "gtkpopover.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
GtkWidget *gtk_popover_get_contents_widget (GtkPopover *popover);
|
|
|
|
void gtk_popover_disable_auto_mnemonics (GtkPopover *popover);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GTK_POPOVER_PRIVATE_H__ */
|