summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow.h
Commit message (Collapse)AuthorAgeFilesLines
* GtkApplication rewriteRyan Lortie2010-10-191-0/+5
|
* GtkWindow: Allow setting size from geometryOwen W. Taylor2010-10-111-0/+8
| | | | | | | | | | | | | | | | | If you set a geometry widget via gtk_window_set_geometry_hints() it becomes very hard to compute appropriate toplevel sizes in pixels to make the window a particular size. Synthesizing strings and passing them to gtk_window_parse_geometry() is possible, but to avoid avoid such ugliness, add functions: gtk_window_set_default_geometry() gtk_window_resize_to_geometry() That act like gtk_window_set_default_size() and gtk_window_resize() but are in terms of the resize increments of the geometry widget. https://bugzilla.gnome.org/show_bug.cgi?id=631796
* Add resize grips to GtkWindowMatthias Clasen2010-10-081-0/+10
| | | | | | | | | | | | | | | | Allow any window to display a resize grip, in the south-east or south-west corner, depending on text direction. This is implemented as a shaped window that gets overlayed on top of whatever content is there. We add api that allows widgets to avoid the resize grip, if desired. The ::has-resize-grip property controls if a window may display a resize grip. It will only be displayed if the window is resizable and not maximized. The size and visual appearance of the resize grip is under theme control, using the resize-grip-width/height style properties and the paint_resize_grip style function.
* API: remove gtk_window_set_visual()Benjamin Otte2010-09-281-3/+0
| | | | | | gtk_widget_set_visual() exists now and can be used instead. This reverts commit 59b227e1232998fdb854affc8dcd9dcd2a446b39.
* window: Keep track of own visualBenjamin Otte2010-09-261-0/+3
| | | | | | Add gtk_window_set_visual() and a "visual" property. This allows changing the window visual to the rgba one and other awesome things (like implementing the trayicon spec).
* GtkWindow: move public members to private structureJavier Jardón2010-09-111-58/+2
| | | | Signed-off-by: Christian Dywan <christian@twotoasts.de>
* Added _gtk_widget_get_wmclass() internal functionJavier Jardón2010-08-311-0/+4
| | | | Needed by GtkPlug
* Drop Win32 DLL ABI compatibility cruftTor Lillqvist2010-08-301-6/+0
| | | | No need for that any longer as we are changing DLL name.
* Remove GtkWindow:allow-grow and GtkWindow::allow_shrink deprecated propertiesJavier Jardón2010-07-021-1/+1
|
* Make gtk_window_group_get_current_grab publicMatthias Clasen2010-06-241-1/+1
| | | | See bug #620832.
* GtkWindow: Add gtk_window_has_group()Carlos Garcia Campos2010-05-261-0/+1
| | | | | | To check whether the window has an explicit group Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618271#c2
* Merge the xi2-for-master branchMatthias Clasen2010-05-251-0/+14
|
* Move GtkAccelGroup private structure to shared header fileJavier Jardón2010-05-031-0/+2
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=602174
* Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDESMichael Natterer2010-05-031-1/+1
| | | | ...and disallow inclusion of individual files unconditionally.
* Remove deprecated GtkWindow functionJavier Jardón2010-05-031-8/+0
|
* Only show the mnemonic underline when pressing AltMatthias Clasen2009-12-201-0/+3
| | | | | | | ...and show them in menus when navigating the menu with the keyboard. This is similar to what other platforms do, and reduces visual clutter. There is a setting to control this. Most of the work on this patch was done by Thomas Wood. See bug 588554.
* [gtk/gtkwindow] Added accessor for GTK_WINDOW ()->typeChristian Dywan2009-11-111-0/+2
| | | | | | | There already is the "type" property, but an accessor function for it would be intuitive: gtk_window_get_window_type() Fixes https://bugzilla.gnome.org/show_bug.cgi?id=595498
* Add a function to get the default window icon nameMatthias Clasen2009-02-201-0/+2
| | | | svn path=/trunk/; revision=22387
* Keep GtkPlug in sync with the global list of toplevels.Matthias Clasen2009-01-231-0/+3
| | | | | | | | | | | | | | | | | Patch by Federico Mena Quintero * gtk/gtkwindow.h: * gtk/gtkwindow.c (_gtk_window_set_is_toplevel): New internal function used when a GtkPlug parents/unparents itself by an in-process GtkSocket. This keeps the plug's GTK_TOPLEVEL flag in sync with the global toplevel_list. * gtk/gtkplug.c (gtk_plug_set_is_child): Call _gtk_window_set_is_toplevel() to keep the toplevel list updated, instead of just setting/unsetting the GTK_TOPLEVEL flag. svn path=/trunk/; revision=22191
* no need to include <gtk/gtkenums.h> in headers which somehow includeMichael Natterer2008-10-301-1/+0
| | | | | | | | | | 2008-10-30 Michael Natterer <mitch@imendio.com> * gtk/*.h: no need to include <gtk/gtkenums.h> in headers which somehow include gtkobject.h or another header which includes it. svn path=/trunk/; revision=21734
* no need to include <gdk/gdk.h> in any widget header, it's included viaMichael Natterer2008-10-301-1/+2
| | | | | | | | | | 2008-10-30 Michael Natterer <mitch@imendio.com> * gtk/*.h: no need to include <gdk/gdk.h> in any widget header, it's included via gtkwidget.h anyway. svn path=/trunk/; revision=21732
* Bug 544684 - Win64 issue, window handles are assumed to be 32-bitTor Lillqvist2008-08-041-4/+4
| | | | | | | | | | | | | | | | | | | | 2008-08-05 Tor Lillqvist <tml@novell.com> Bug 544684 - Win64 issue, window handles are assumed to be 32-bit * gtk/gtkwindow.h * gtk/gtkwindow.c: Change the type of the xid parameter of the internal gtk_window_remove_embedded_xid() and gtk_window_add_embedded_xid() functions from guint to GdkNativeWindow. * gtk/gtkwindow.c (send_client_message_to_embedded_windows): Instead of GPOINTER_TO_UINT(), just cast the gpointer to GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on Win64. svn path=/trunk/; revision=20992
* Bug 65818 – rename gtk_window_set_default() and add getter for itMatthias Clasen2008-08-021-1/+1
| | | | svn path=/trunk/; revision=20931
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* gtk/gtkassistant.h gtk/gtkcellrenderer.h gtk/gtkfilechooserentry.hMichael Natterer2008-06-241-2/+0
| | | | | | | | | | | | | | | | | | 2008-06-24 Michael Natterer <mitch@imendio.com> * gtk/gtkassistant.h * gtk/gtkcellrenderer.h * gtk/gtkfilechooserentry.h * gtk/gtkprivate.h * gtk/gtktooltip.h * gtk/gtktreeview.h * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h if there is any other widget included, they all have to include their respective parent classes (the is-a relation works for includes too). svn path=/trunk/; revision=20679
* gtk/gtkwindow.[ch] rename gtk_window_group_get_windows() toMichael Natterer2008-06-201-1/+1
| | | | | | | | | | | 2008-06-20 Michael Natterer <mitch@imendio.com> * gtk/gtkwindow.[ch] * gtk/gtk.symbols: rename gtk_window_group_get_windows() to gtk_window_group_list_windows(). svn path=/trunk/; revision=20635
* Add gtk_window_group_get_windows().Tim Janik2008-06-201-0/+2
| | | | | | | * gtk/gtk.symbols: * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function. svn path=/trunk/; revision=20632
* Switch to "guint GSEAL (foo) : width;" when packing fields in guints.Tim Janik2008-06-201-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gtk/gtkbox.h: * gtk/gtkbutton.h: * gtk/gtkcellrenderer.h: * gtk/gtkcellrenderertext.h: * gtk/gtkcheckmenuitem.h: * gtk/gtkcontainer.h: * gtk/gtkentry.h: * gtk/gtkhandlebox.h: * gtk/gtkimcontextsimple.h: * gtk/gtklabel.h: * gtk/gtkliststore.h: * gtk/gtkmenu.h: * gtk/gtkmenuitem.h: * gtk/gtkmenushell.h: * gtk/gtknotebook.h: * gtk/gtkpaned.h: * gtk/gtkplug.h: * gtk/gtkprintjob.h: * gtk/gtkprogressbar.h: * gtk/gtkrange.h: * gtk/gtkscale.h: * gtk/gtkscrolledwindow.h: * gtk/gtksizegroup.h: * gtk/gtksocket.h: * gtk/gtkspinbutton.h: * gtk/gtkstatusbar.h: * gtk/gtktable.h: * gtk/gtktearoffmenuitem.h: * gtk/gtktextbuffer.h: * gtk/gtktextview.h: * gtk/gtktogglebutton.h: * gtk/gtktoolbar.h: * gtk/gtktreestore.h: * gtk/gtktreeviewcolumn.h: * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints. svn path=/trunk/; revision=20621
* Also seal GtkWindowGroup in gtkwindow.hTim Janik2008-06-201-1/+1
| | | | svn path=/trunk/; revision=20543
* Seal GtkWindow.Tim Janik2008-06-201-43/+43
| | | | | | * gtk/gtkwindow.h: Seal all fields. svn path=/trunk/; revision=20537
* Add gtk_window_get_default()Tim Janik2008-06-201-0/+1
| | | | | | | * gtk/gtkwindow.[ch]: Add gtk_window_get_default(). * gtk/gtk.symbols: same here. svn path=/trunk/; revision=20536
* whitespace cleanup: remove trailing whitespace and excess newlines andMichael Natterer2008-05-281-1/+1
| | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and excess newlines and sprinkled some newlines where needed. Zero code or formatting changes included. svn path=/trunk/; revision=20225
* define __GTK_H_INSIDE__ around including all other headers.Michael Natterer2008-05-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other headers. * gtk/gtktypebuiltins.h.template * gtk/gtkversion.h.in * gtk/gtk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gtk/gtkprintbackend.h * gtk/gtkprinter-private.h * gtk/gtktextlayout.h * gtk/gtktexttagprivate.h * gtk/gtktexttypes.h * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual headers in these private or semi-private headers. * gtk/gtkimmodule.h: also here because it's not in gtk.h. * gtk/gtkpagesetupunixdialog.h * gtk/gtkprinter.h * gtk/gtkprintjob.h * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers. * gtk/gtkclist.h * gtk/gtkcombo.h * gtk/gtkctree.h * gtk/gtkfilesel.h * gtk/gtkitemfactory.h * gtk/gtklist.h * gtk/gtklistitem.h * gtk/gtkoldeditable.h * gtk/gtkoptionmenu.h * gtk/gtkpixmap.h * gtk/gtkpreview.h * gtk/gtksignal.h * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h> instead of individual headers in these deprecated headers. They don't get included at all when GTK_DISABLE_DEPRECATED is defined, so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED and include them individually, which should continue to work. * gtk/gtkclist.c: include "gtkctree.h" because of the change above. svn path=/trunk/; revision=20221
* Move "move-focus" signals from several widgets to GtkWidget to enable moreMichael Natterer2007-06-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | 2007-06-04 Michael Natterer <mitch@imendio.com> Move "move-focus" signals from several widgets to GtkWidget to enable more flexible costomization of keyboard navigation via bindings. Fixes bug #414947. * gtk/gtkwidget.c: add "move-focus" binding signal, default to calling the toplevel GtkWindow's "move-focus" vfunc. * gtk/gtktextview.[ch] * gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat code that makes sure that both emitting the signal on the widget and overriding the virtual functions keeps working as before. * gtk/gtktoolbar.c: remove "move-focus" signal here too and use GtkWidget's signal. This change slightly changes keyboard navigation in toolbars. I'll fix the behavior if somebody can explain me if and how exactly the new behavior is broken. svn path=/trunk/; revision=18025
* Add functionality to set overall opacity of a top-level window. (#405316)Tor Lillqvist2007-04-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | 2007-04-30 Tor Lillqvist <tml@novell.com> Add functionality to set overall opacity of a top-level window. (#405316) * gtk/gtk.symbols: Add gtk_window_set_opacity and gtk_window_get_opacity. * gtk/gtkwindow.c (struct _GtkWindowPrivate, (gtk_window_class_init): Add opacity property, a double in the range [0, 1]. (gtk_window_set_opacity, gtk_window_get_opacity): Implement. (gtk_window_realize): If opacity is set, call gdk_window_set_opacity(). * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and gtk_window_get_opacity(). svn path=/trunk/; revision=17731
* Apply patch by Vytautas Liuolia for changing the startup notification idEmmanuele Bassi2007-03-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-13 Emmanuele Bassi <ebassi@gnome.org> Apply patch by Vytautas Liuolia for changing the startup notification id on a window in the X11 backend. (#347375) * gdk/gdk.h: * gdk/gdkx.h: * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_wit_id() and gdk_x11_display_get_startup_notification_id(). * gdk/gdkwindow.h: * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id(). * gtk/gtkwindow.h: * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to change the startup notification id. (gtk_window_class_init), (gtk_window_init), (gtk_window_set_property): Add write-only "startup-id" property to GtkWindow. (gtk_window_realize): Set the startup notification id on a GtkWindow if it's valid. (gtk_window_map): If we have another valid startup notification id then finish the notification process. svn path=/trunk/; revision=17508
* New tooltips API.Kristian Rietveld2007-02-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-02-06 Kristian Rietveld <kris@imendio.com> New tooltips API. * gtk/Makefile.am * gtk/gtk.h * gtk/gtk.symbols: build system foo. * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler hook for appropriate events. * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT. * gtk/gtkrc.c: add style for gtk-tooltip. * gtk/gtksettings.c (gtk_settings_class_init): make the different tooltip timeouts configurable. * gtk/gtkwidget.[ch]: add new properties, signals, make sure tooltips are hidden on unmap, destroy, update window event mask on realize, hook into focus change and show help handlers. * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ... * gtk/gtktooltip.[ch]: new files. * tests/Makefile.am * tests/testtooltips.c: add test application. svn path=/trunk/; revision=17264
* Create 'composited' label.Søren Sandmann2006-04-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Apr 25 10:25:28 2006 Søren Sandmann <sandmann@redhat.com> * tests/testgtk.c (create_alpha_window): Create 'composited' label. * tests/testgtk.c (on_composited_changed): New function, change the label to say whether the screen is composited or not. * gtk/gtkwindow.c (gtk_window_on_composited_changed): When composited status change, invalidate the window and propagate the signal;. * gtk/gtkwindow.c (gtk_window_map): Set the appropriate type hint if reset_type_hint is TRUE. * gtk/gtkwindow.c (gtk_window_set_type_hint): If hint is one of the old hints, store a shadow copy in the public window->type_hint bitfield, otherwise set this field to normal. Set the private field to the type hint. * gtk/gtkwindow.c (gtk_window_init): Initialize priv->type_hint. * gtk/gtkwindow.c (struct _GtkWindowPrivate): New field "reset_type_hint" indicating whether the type hint needs to be reset. New field type_hint containing a GdkWindowTypeHint. * gtk/gtkwidget.c (propagate_composited_changed): New function to propagate changes in composited status. (gtk_widget_class_init): Add composited_changed signal. * gtk/gtkwidget.h (struct _GtkWidgetClass): New signal composited-changed. * gtk/gtkwidget.c (gtk_widget_is_composited): New function. * gtk/gtktooltips.c (gtk_tooltips_draw_tips): Set transient for. * gtk/gtktooltips.c (gtk_tooltips_force_window): Set the type hint * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Compute whether the item belongs to a menubar. Set the type_hint appropriately depending on the outcome. * gtk/gtkmenu.c (gtk_menu_position): Set the default type hint here. * gtk/gtkmenu.c (gtk_menu_attach_to_widget): connect to hierarchy changed on the attach widget. * gtk/gtkmenu.c (attach_widget_hierarchy_changed): New function to set the transient_for property for menus. * gtk/gtkdnd.c (set_icon_stock_pixbuf): Set the appropriate type hint. * gtk/gtkcombo.c (gtk_combo_popup_list): Make the popup window transient for the toplevel. * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Set transient-for, for the popup window. * gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): Support for new window types. * gdk/x11/gdkwindow-x11.c (gdk_window_set_type_hint): Add support for new window types. * gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change): New function called whenever the compositing manager comes and goes. * gdk/x11/gdkscreen-x11.c (gdk_screen_is_composited): New function. * gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_request_cm_notification, make_cm_atom, check_is_composited): New functions * gdk/x11/gdkevents-x11.c (gdk_event_translate): Call _gdk_x11_screen_process_owner_change when an XFixesSelectionNotifyEvent is received. * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Call _gdk_x11_screen_request_cm_notification() on all screens. * gdk/quartz/gdkscreen-quartz.c (gdk_screen_is_composited): Dummy implementation. * gdk/gdkscreen.c (gdk_screen_class_init): New signal, 'composited-changed'. * gdk/gdkwindow.h: Add new EWMH window types. * gdk/win32/gdkscreen-win32.c (gdk_screen_is_composited)
* Make this function public API. (#307099, Todd Berman)Matthias Clasen2006-01-101-1/+1
| | | | | | | | | | | | | | | 2006-01-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkwindow.h: * gtk/gtkwindow.c (gtk_window_get_group): Make this function public API. (#307099, Todd Berman) * gtk/gtkmenu.c: * gtk/gtkmain.c: * gtk/gtkentrycompletion.c: * gtk/gtkcombo.c: * gtk/gtkcombobox.c: Update all callers.
* Add a deletable property with getter and setter, to control the closeMatthias Clasen2005-08-301-0/+3
| | | | | | | | | | 2005-08-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkwindow.h: * gtk/gtkwindow.c: Add a deletable property with getter and setter, to control the close button in the window frame. (#59718, Havoc Pennington)
* Take window groups into account. (#309473, Diego Gonzalez)Matthias Clasen2005-07-051-0/+1
| | | | | | | | | | 2005-07-05 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmenu.c (gtk_menu_grab_notify): Take window groups into account. (#309473, Diego Gonzalez) * gtk/gtkwindow.[hc]: Add a non-exported function to get the grab widget of a window group.
* Variant of gtk_window_present which takes a timestamp. (#166379, ElijahMatthias Clasen2005-06-201-1/+3
| | | | | | | | | 2005-06-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkwindow.h: * gtk/gtkwindow.c (gtk_window_present_with_time): Variant of gtk_window_present which takes a timestamp. (#166379, Elijah Newren)
* Support the ICCCM urgency hint. (#61858, Havoc Pennington)Matthias Clasen2005-06-171-0/+3
| | | | | | | | | | | | | | | | | | | | | 2005-06-17 Matthias Clasen <mclasen@redhat.com> Support the ICCCM urgency hint. (#61858, Havoc Pennington) * gtk/gtk.symbols: * gtk/gtkwindow.[hc]: Add a GtkWindow::urgency-hint property with getter and setter. * gdk/gdk.symbols: * gdk/gdkwindow.h: * gdk/x11/gdkwindow-x11.c (gdk_window_set_urgency_hint): Add a setter for the urgency hint. * gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store urgency hint here. * gdk/x11/gdkwindow-x11.c (update_wm_hints): Set the urgency hint in the WM_HINTS property when appropriate.
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-8/+2
| | | | | | | | | | | | | | | | | | 2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
* gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.cTor Lillqvist2004-12-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-12 Tor Lillqvist <tml@iki.fi> * gtk/gtkaccelmap.[ch] * gtk/gtkfilechooser.[ch] * gtk/gtkfilesel.c * gtk/gtkfilesystemwin32.c * gtk/gtkiconfactory.[ch] * gtk/gtkicontheme.[ch] * gtk/gtkimage.[ch] * gtk/gtkimmodule.c * gtk/gtkmodules.c * gtk/gtkrc.[ch] * gtk/gtkuimanager.[ch] * gtk/gtkwindow.[ch] * gtk/updateiconcache.c * gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert environment variables referring to pathnames from locale encoding to UTF-8. As in GLib, in order to preserve Windows DLL ABI stability, add binary compatibility versions of functions that take file names as arguments, or return file names. Add a _utf8 suffix to the "real" such functions on Windows. The ABI compatibility versions keep the old name. * gtk/Makefile.am: Strip PRIVATE symbols from the GNU import library. * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement file mapping on Win32. * gtk/updateiconcache.c: Don't crash if invoked without argument. Use binary mode when opening file. * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: Install gtkrc in correct place, in <datadir>/themes/MS-Windows/gtk-2.0.
* Support named themed window icons.Matthias Clasen2004-07-171-0/+5
|
* Changes to support do-not-focus-on-map hint in conjunction withElijah Newren2004-05-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-05 Elijah Newren <newren@math.utah.edu> Changes to support do-not-focus-on-map hint in conjunction with _NET_WM_USER_TIME (#115650): * gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean field focus_on_map * gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to set it. * gtk/gtkwindow.[hc]: Add a boolean property "focus_on_map" and gtk_window_get_focus_on_map() and gtk_window_set_focus_on_map(). * gdk/win32/gdkwindow-win32.c (gdk_window_new): * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): * gdk/x11/gdkwindow-x11.c (gdk_window_new): Initialize the focus_on_map field to TRUE. * gdk/win32/gdkwindow-win32.c (gdk_window_set_focus_on_map): * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_focus_on_map): * gdk/x11/gdkwindow-x11.c (gdk_window_set_focus_on_map): * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Implementations for the various backends. The Win32 and linux-fb implementations set the focus_on_map field, but don't use it yet to actually implement noinput windows. The X implementation sets _NET_WM_USER_TIME to 0 if focus_on_map is FALSE (see the EWMH). * gdk/x11/gdkwindow-x11.h: * gdk/x11/gdkevents-x11.c (set_user_time): * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): * gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): s/_gdk_x11_window_set_user_time/gdk_x11_window_set_user_time/, since we want that function to be part of the public API.
* expose gtk_bindings_activate_event(), changed callers.Tim Janik2004-03-021-0/+2
| | | | | | | | | | | | Mon Mar 1 23:52:15 2004 Tim Janik <timj@gtk.org> * gtk/gtkbindings.[hc]: expose gtk_bindings_activate_event(), changed callers. * gtk/gtkwindow.[hc]: added gtk_window_propagate_key_event() to expose the key event propagation mechanism used for focus widgets. (gtk_window_key_release_event): use the same key event propagation logic as gtk_window_key_press_event().
* export gtk_window_activate_key() (Request from Tim Janik)Owen Taylor2004-03-011-2/+3
| | | | | | | Sun Feb 29 20:34:06 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtkwindow.[ch] gtk/gtkmenushell.c: export gtk_window_activate_key() (Request from Tim Janik)