summaryrefslogtreecommitdiff
path: root/gtk/gtkwin32embedwidget.c
Commit message (Collapse)AuthorAgeFilesLines
* win32embedwidget: Mark deprecated sectionsBenjamin Otte2016-02-111-0/+4
|
* window: Use gtk_widget_queue_resize()Benjamin Otte2015-09-141-1/+1
| | | | | | _gtk_container_queue_resize() is a private function and probably shouldn't have even been used in 1999 when this call was originally added.
* Fix various warningsРуслан Ижбулатов2014-08-131-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=734737
* Fix various warnings about unused thingsРуслан Ижбулатов2014-08-131-4/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=734735
* Use g_clear_object() shorthand for unref-and-set-to-nullРуслан Ижбулатов2014-08-021-5/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=733766
* W32: Don't unregister parent window of an embedded widgetРуслан Ижбулатов2014-08-021-1/+0
| | | | | | | | This leads to an assertion failure, because parent window is never registered in the first place, widget's own GdkWindow is. But that window is unregistered in a generic fashion by GtkWidget code, so there's nothing for us to do here. https://bugzilla.gnome.org/show_bug.cgi?id=733766
* win32embed: Set the visible flag and avoid recursionEmmanuele Bassi2014-05-101-2/+2
| | | | | | | | We have to use the internal accessor to the visible flag, instead of calling gtk_widget_set_visible(), from within the show() and hide() implementations - otherwise we'll recurse. https://bugzilla.gnome.org/show_bug.cgi?id=721069
* Add gtk_widget_(un)register_windowAlexander Larsson2013-02-071-2/+2
| | | | | | | | | | | | This replaces the previously hardcoded calls to gdk_window_set_user_data, and also lets us track which windows are a part of a widget. Old code should continue working as is, but new features that require the windows may not work perfectly. We need this for the transparent widget support to work, as we need to specially mark the windows of child widgets. https://bugzilla.gnome.org/show_bug.cgi?id=687842
* Change FSF AddressJavier Jardón2012-02-271-2/+1
|
* Add headers required by gtk/gtkwin32embedwidget.cChun-wei Fan2011-06-241-0/+2
| | | | | Some functions from the added headers are needed by this file to compile without C4013 (a.k.a implicit declaration of ...) warnings/errors
* win32: Make GtkWin32EmbedWidget use HWND instead of GdkNativeWindowBenjamin Otte2011-01-281-5/+4
|
* Make GtkWin32EmbedWidget use GtkStyleContextCarlos Garnacho2011-01-041-2/+2
|
* win32: ported backend specific code to now backend specific APIHans Breuer2011-01-021-4/+6
|
* Make it compile again for WindowsTor Lillqvist2010-10-071-2/+2
|
* Move GtkSizeRequest into GtkWidgetBenjamin Otte2010-09-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | It doesn't make sense to keep them separate as GtkSizeRequest requires a GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have one without the other. It also makes the code a lot easier because no casts are required when calling functions. Also, the names would translate to gtk_widget_get_width() and people agreed that this would be a too generic name, so a "preferred" was added to the names. So this patch moves the functions: gtk_size_request_get_request_mode() => gtk_widget_get_request_mode() gtk_size_request_get_width() => gtk_widget_get_preferred_width() gtk_size_request_get_height() => gtk_widget_get_preferred_height() gtk_size_request_get_size() => gtk_widget_get_preferred_size() gtk_size_request_get_width_for_height() => gtk_widget_get_preferred_width_for_height() gtk_size_request_get_height_for_width() => gtk_widget_get_preferred_height_for_width() ... and moves the corresponding vfuncs to the GtkWidgetClass. The patch also renames the implementations of the vfuncs in widgets to include the word "preferrred".
* gtk: Don't set colormap anymore when creating GDK windowsBenjamin Otte2010-09-261-2/+1
| | | | | Colormaps are about to be removed, so not using them sounds like an awesome idea.
* Fix build on WindowsTor Lillqvist2010-09-151-9/+7
| | | | | No idea of the widget embedding crack has worked in recent versions, even less now. But at least it now compiles.
* Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()Javier Jardón2010-09-151-1/+2
| | | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598 Signed-off-by: Javier Jardón <jjardon@gnome.org> Signed-off-by: Tristan Van Berkom <tristanvb@openismus.com>
* Use accessor functions in Win32-only codeTor Lillqvist2010-09-091-2/+2
|
* gtk/gtkwin32embedwidget: use accessor functions to access GtkWidgetJavier Jardón2010-08-221-24/+30
|
* Towards GSEAL-clean build on win32Sam Thursfield2010-08-091-15/+22
| | | | | Use accessors instead of direct member access in a few places. Bug 625655.
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_TOPLEVEL)Javier Jardón2010-04-261-1/+1
| | | | | | Introduce internal _gtk_widget_set_is_toplvel() for this Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614510
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_MAPPED)Javier Jardón2010-03-061-2/+2
| | | | | | Use new API instead: gtk_widget_set_mapped () https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)Javier Jardón2010-03-061-1/+1
| | | | | | Use new API instead: gtk_widget_set_realized () https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_REALIZEDJavier Jardón2010-03-031-2/+2
| | | | | | Use gtk_widget_get_realized() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_MAPPEDJavier Jardón2010-03-031-1/+1
| | | | | | Use gtk_widget_get_mapped() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_VISIBLEJavier Jardón2010-03-011-2/+2
| | | | | | Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* gtk/gtkaccellabel.c gtk/gtkcalendar.c gtk/gtkclist.c gtk/gtkentry.cMichael Natterer2008-08-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-12 Michael Natterer <mitch@imendio.com> * gtk/gtkaccellabel.c * gtk/gtkcalendar.c * gtk/gtkclist.c * gtk/gtkentry.c * gtk/gtkeventbox.c * gtk/gtkfilechooserbutton.c * gtk/gtkfilechooserdefault.c * gtk/gtkhandlebox.c * gtk/gtkhsv.c * gtk/gtkiconview.c * gtk/gtkimage.c * gtk/gtklayout.c * gtk/gtklistitem.c * gtk/gtkmenuitem.c * gtk/gtkmessagedialog.c * gtk/gtknotebook.c * gtk/gtkpaned.c * gtk/gtkpathbar.c * gtk/gtkplug.c * gtk/gtkprintunixdialog.c * gtk/gtkrange.c * gtk/gtkrecentchooserdefault.c * gtk/gtkruler.c * gtk/gtksocket.c * gtk/gtktext.c * gtk/gtktextview.c * gtk/gtktoolbar.c * gtk/gtktreeitem.c * gtk/gtktreeview.c * gtk/gtkviewport.c * gtk/gtkwin32embedwidget.c: chain up unconditionally in realize(), unrealize(), map(), unmap(), style_set(), key_press_event() and size_request() svn path=/trunk/; revision=21088
* consistently chain up using GTK_FOO_CLASS(parent_class)->bar(instance)Michael Natterer2008-08-121-2/+2
| | | | | | | | | | | 2008-08-12 Michael Natterer <mitch@imendio.com> * gtk/*.c: consistently chain up using GTK_FOO_CLASS(parent_class)->bar(instance) instead of (*GTK_FOO_CLASS(parent_class))->bar(instance). svn path=/trunk/; revision=21085
* 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
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
* gtk/gtkmenushell.c gtk/gtktable.c gtk/gtktext.c gtk/gtktipsquery.cMichael Natterer2008-02-271-12/+3
| | | | | | | | | | | | | | | | | | 2008-02-27 Michael Natterer <mitch@imendio.com> * gtk/gtkmenushell.c * gtk/gtktable.c * gtk/gtktext.c * gtk/gtktipsquery.c * gtk/gtktoolbar.c * gtk/gtktreeitem.c * gtk/gtktreeview.c * gtk/gtkviewport.c * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from private functions and virtual function implementations. svn path=/trunk/; revision=19668
* Make sure grab-notify is emitted on toplevels as well as child widgets.Alexander Larsson2006-05-221-0/+394
2006-05-22 Alexander Larsson <alexl@redhat.com> * gtk/gtkmain.c: Make sure grab-notify is emitted on toplevels as well as child widgets. * gtk/Makefile.am: * gtk/gtkwin32embedwidget.[ch] Add new widget used for win32 port to embed gtk+ widgets in windows dialog. * gtk/gtkmarshalers.list: Add POINTER:VOID * gtk/gtkprintoperation-private.h: * gtk/gtkprintoperation.[ch]: Generic support for custom widgets in print dialog. * gtk/gtkprintoperation-win32.c: Implement custom widget support for win32. * tests/print-editor.c: Allow setting of font using custom widgets in the print dialog.