mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
59b6bf3863
2001-01-08 Alexander Larsson <alexl@redhat.com> * gtk/gtkwindow-decorate.[hc]: * gtk/Makefile.am: New files. Contains an implementation of a minimal WM for linux-fb. * gtk/gtkwindow.h: Add the possibility for GtkWindows to specify a frame. This is used for the window decoration code, but could concievably be used for X programs too (xmms style windows). GtkWindow->frame is the toplevel window if the window is framed. The signal frame_event gets all events that are targeted to GtkWindow->frame. (_gtk_window_constrain_size): Exported for usage by gtkwindow-decorate.c. * gtk/gtkwindow.c: Implement gtk_window_set_has_frame and gtk_window_set_frame_dimensions. Call out to gtkwindow-decorate.c for WM support in linx-fb.
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
/* GTK - The GIMP Toolkit
|
|
* Copyright (C) 2001 Red Hat, Inc.
|
|
*
|
|
* 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, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
/*
|
|
* Authors: Alexander Larsson <alexl@redhat.com>
|
|
*/
|
|
|
|
void gtk_decorated_window_init (GtkWindow *window);
|
|
void gtk_decorated_window_calculate_frame_size (GtkWindow *window);
|
|
void gtk_decorated_window_set_title (GtkWindow *window,
|
|
const gchar *title);
|
|
void gtk_decorated_window_move_resize_window (GtkWindow *window,
|
|
gint x,
|
|
gint y,
|
|
gint width,
|
|
gint height);
|