summaryrefslogtreecommitdiff
path: root/gtk/gtkoverlay.c
Commit message (Collapse)AuthorAgeFilesLines
* Add gtk_widget_(un)register_windowAlexander Larsson2013-02-071-3/+3
| | | | | | | | | | | | 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
* overlay: Fix child window position/size on realizeAlexander Larsson2012-12-111-1/+4
| | | | | | We don't get an automatic queue resize on realize anymore, which was papering over this bug where we did not set the child window size/position at realize time.
* gtkoverlay: fix get-child-position annotationIgnacio Casal Quinteiro2012-09-161-1/+1
|
* gtk: Make widget only invalidate widget positionsBenjamin Otte2012-04-171-13/+0
| | | | Instead of resetting them completely
* overlay: add left/right/top/bottom style classes to overlay childrenCosimo Cecchi2012-02-291-15/+92
| | | | | | | | When we're allocating children of GtkOverlay, compare their allocation with the overlay one, and set left/right/top/bottom style classes if the overlaid widget touches one or more of the overlay edges. https://bugzilla.gnome.org/show_bug.cgi?id=669342
* overlay: do not to set uninitialized values in the main allocationCosimo Cecchi2012-02-291-2/+12
| | | | | | gtk_widget_translate_coordinates() can fail in case the widget is not realized or there's no common ancestor. Don't use the x/y values returned by that method in that case, since their value is undefined.
* overlay: factor out gtk_overlay_get_main_widget_allocationCosimo Cecchi2012-02-291-25/+36
| | | | This will be used later in a subsequent commit.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Documentation: Correct references to properties.Murray Cumming2012-02-151-3/+3
| | | | | | | | These should use :, not ::, though signals would use ::. See http://developer.gnome.org/gtk-doc-manual/unstable/documenting_syntax.html.en and http://developer.gnome.org/gtk-doc-manual/unstable/documenting_symbols.html.en
* overlay: Properly allocate the child upon additionBenjamin Otte2011-12-081-0/+1
| | | | | This ensures that after addition the child gets assigned the proper allocation and the child window is properly shown/hidden.
* overlay: Move codeBenjamin Otte2011-12-081-35/+32
| | | | | | | Move code for child allocation into the child allocation function. Don't keep it in the overlay allocation code. See the next commit for why this is useful.
* overlay: Create child window before setting parentBenjamin Otte2011-12-081-3/+7
| | | | Otherwise, the window will not be used when set_parent() maps the child.
* gtk: move _gtk_modules_has_mixed_deps() to gtkmodlesprivate.hMichael Natterer2011-10-231-1/+0
| | | | and remove gtkmainprivate.h completely.
* overlay: add initial version of gtkoverlayIgnacio Casal Quinteiro2011-06-121-0/+635