1d3f6b30b0
API: Rename gtk_cairo_paint_*() to gtk_paint_*()
...
Large patch, but just renaming.
Indentation should still mostly be correct because I took care of
keeping the indentation for this function name.
2010-09-26 15:11:42 +02:00
1b9f793311
window: Port to draw vfunc
2010-09-26 15:11:39 +02:00
15f48a818d
window: Remove hack to set background
...
I can't see this having any effect in current code, but who knows...
2010-09-26 15:11:39 +02:00
59b227e123
window: Keep track of own visual
...
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).
2010-09-26 15:11:32 +02:00
e8a6bad00b
gtk: Don't set colormap anymore when creating GDK windows
...
Colormaps are about to be removed, so not using them sounds like an
awesome idea.
2010-09-26 15:11:31 +02:00
b479ff9cb5
API: Remove gtk_widget_push_colormap()
...
And of course, gtk_widget_pop_colormap() is gone, too.
No replacement is necessary, the function is basically unused.
2010-09-26 15:11:31 +02:00
37a62e9367
window: Remove call to gdk_window_set_icon()
...
Also remove all the functions taking care of it. This is now handled by
the X11 backend directly. And the other backends ignored this function
anyway.
2010-09-26 15:02:59 +02:00
e0aa12eb0a
Tons of transfer annotations
2010-09-21 00:18:11 -04:00
b140884fec
Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()
...
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 >
2010-09-15 03:02:58 +02:00
9e81022bf6
Use gtk_size_request_get_size() instead deprecated gtk_widget_get_child_requisition()
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629177
2010-09-13 21:26:01 +02:00
6eae25e0b0
GtkWindow: move public members to private structure
...
Signed-off-by: Christian Dywan <christian@twotoasts.de >
2010-09-11 02:22:28 +02:00
913cdf3be7
GDK: Prefix key names with KEY_
...
The keysyms create a lot of potential namespace conflicts for
C, and are especially problematic for introspection, where we take
constants into the namespace, so GDK_Display conflicts with GdkDisplay.
For C application compatiblity, add gdkkeysyms-compat.h which uses
the old names.
Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is
the gtkimcontextsimple.c, since porting that requires porting more
custom Perl code.
2010-09-08 18:51:44 -04:00
2d0a655201
gtk/gtkwindow.c: Fix warning
...
Cast to GtkSizeRequest
This was added in
commit b654afcb48
2010-09-08 21:13:03 +02:00
b654afcb48
gtk/gtkwindow.c: Use gtk_size_request_get_size() instead gtk_widget_get_requisition()
2010-09-08 19:40:51 +02:00
d5278b5994
Removed _gtk_window_reposition()
...
_gtk_window_reposition() was only some extra confusing code, internally
it only calls the public API gtk_window_move()... replaced calls to
_gtk_window_reposition() with direct calls to gtk_window_move() and
removed the redundant internal API (probably there only for some historical
reason).
2010-09-07 15:45:15 +09:00
3685db091d
window: Use brackets to silence gcc
2010-09-03 13:38:55 +02:00
213f8e2f1b
gtk/gtkwindow: use accessor functions to access GtkWidget
2010-08-31 02:51:36 +02:00
304b1a1f56
Added _gtk_widget_get_wmclass() internal function
...
Needed by GtkPlug
2010-08-31 02:51:36 +02:00
4491bdbb9d
Drop Win32 DLL ABI compatibility cruft
...
No need for that any longer as we are changing DLL name.
2010-08-30 14:57:48 +03:00
f730af8360
docs: gtk_window_group_get_current_device_grab() was added in 3.0
2010-08-18 05:29:17 +02:00
3ccc617052
Completely remove any use of GtkWindow allow-grow and allow-shrink properties
...
These have been deprecated and removed from master.
GtkWindow:resizable should be used instead.
This completes commit 1a03a65e36
Reported by Benjamin Otte
2010-08-07 17:19:16 +02:00
cd9a9e1548
GtkWindowGroup: Add guards to some gtk_window_group_* functions
2010-07-19 17:53:51 +02:00
4682d563cf
GtkWindow: keep a reference of the widget on focus change.
...
Focus out could lead to the widget being destroyed (for example,
in editable cell renderers when DnD starts), so keep the widget
alive while iterating through the devices.
2010-07-19 15:08:43 +02:00
4427760bcc
Use GtkBin accessors
2010-07-13 19:40:47 +02:00
dfb24fd56e
gtkcontainer: Add _gtk_container_*_need_resize internal accessors
...
gtkoffscreenwindow and gtkwindow need access to need_resize var
2010-07-13 19:40:46 +02:00
3a10216dd0
Use accessor functions to acces GtkContainer
2010-07-13 19:40:46 +02:00
0a07e9733b
gtk/: fully remove gtkalias hacks
...
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:51:26 +02:00
74b3875ab2
fix annotation for gtk_window_set_default_icon_list
2010-07-06 15:46:14 -04:00
1a03a65e36
Remove GtkWindow:allow-grow and GtkWindow::allow_shrink deprecated properties
2010-07-02 21:45:08 +02:00
1f38a7ac10
Deprecate GtkWindow:allow-grow and GtkWindow::allow_shrink properties
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=610346
2010-07-02 21:44:56 +02:00
48a5b4ee97
Misc documentation fixes
2010-06-26 23:00:47 -04:00
d35e4848a2
[docs] Fix annotations: "(allow-none): (out)" -> "(out) (allow-none)"
2010-06-24 18:10:03 +02:00
9bf7f99a17
Make gtk_window_group_get_current_grab public
...
See bug #620832 .
2010-06-24 11:16:09 -04:00
9c4657fb73
GtkWindow: Use client pointer on pointer-dependent positioning.
...
GTK_WIN_POS_MOUSE and GTK_WIN_POS_CENTER* now work relatively to the client
pointer.
2010-06-24 02:30:54 +02:00
d17fbd06cb
Do not leak devices list in do_focus_change
2010-06-23 12:43:49 +02:00
edd57602b8
Mass api change from GtkExtendedLayout --> GtkSizeRequest
...
This commit makes a few massive changes to the extended layout
code:
a.) gtkextendedlayout.c --> gtksizerequest.c
b.) _is_height_for_width --> get_request_mode()
c.) get_desired_size(), get_desired_width(), get_desired_height() -->
get_size(), get_width(), get_height()
This is the first partial commit and only effects portions
of the tree that have already been merged in master (in order to
easily cherry pick this commit).
Conflicts:
gtk/Makefile.am
gtk/gtk.h
gtk/gtk.symbols
gtk/gtkextendedlayout.h
2010-06-18 00:11:26 -04:00
e17b9f282f
Get rid of templates that gtk-doc touches during distcheck
...
In an attempt to make distcheck not touch any files under source
control.
2010-06-08 19:48:15 -04:00
fe8d093a3c
[docs] Fix GtkWindow: activate-default => activate-focus.
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-05 00:45:37 +02:00
6bac9dfd28
GtkWindow: Add gtk_window_has_group()
...
To check whether the window has an explicit group
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618271#c2
2010-05-26 16:49:31 +02:00
bd4609b140
Merge the xi2-for-master branch
2010-05-25 18:38:44 -04:00
4bc3f99b6d
[GtkWindow] Add annotations
...
Add introspection annotations for lists and functions with
multiple out values.
2010-05-12 19:51:55 -03:00
f39f644fb2
Move GtkAccelGroup private structure to shared header file
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=602174
2010-05-03 01:51:20 +02:00
2b71ef33fb
Remove deprecated GtkWindow function
2010-05-03 01:41:37 +02:00
82647f274c
Integrate GtkExtendedLayout docs
2010-05-01 21:40:43 -04:00
db76c77b81
Merge branch 'native-layout-incubator'
...
Conflicts:
configure.in
docs/reference/gtk/tmpl/gtkaction.sgml
docs/reference/gtk/tmpl/gtkbuilder.sgml
gdk/directfb/gdkkeys-directfb.c
gdk/gdk.symbols
gdk/x11/gdkwindow-x11.c
gtk/gtkalignment.c
gtk/gtkbox.c
gtk/gtkbutton.c
gtk/gtkcelleditable.c
gtk/gtkfilechooser.c
gtk/gtkframe.c
gtk/gtkinvisible.c
gtk/gtklabel.c
gtk/gtkscrolledwindow.c
gtk/gtksearchenginetracker.c
gtk/gtktextview.c
gtk/gtktoolbutton.c
gtk/gtktooltip.c
gtk/gtkviewport.c
gtk/gtkwidget.c
gtk/gtkwindow.c
po-properties/ca@valencia.po
po-properties/es.po
po-properties/kn.po
po-properties/mr.po
po/ca.po
po/ca@valencia.po
po/el.po
po/es.po
po/gl.po
po/id.po
po/kn.po
po/lv.po
po/mr.po
po/th.po
2010-04-30 17:56:50 -04:00
41a073263a
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_DEFAULT)
...
Introduce internal _gtk_widget_set_has_default() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614515
2010-04-26 21:10:15 +02:00
45257e31c7
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_TOPLEVEL)
...
Introduce internal _gtk_widget_set_is_toplvel() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614510
2010-04-26 21:07:20 +02:00
91930f86b2
window: Use gtk_widget_send_focus_change()
...
Remove the original user of the GTK_HAS_FOCUS flags.
https://bugzilla.gnome.org/show_bug.cgi?id=593671
2010-04-26 18:59:23 +01:00
6dc5cdb981
Implemented GtkExtendedLayout on GtkWindow.
2010-04-18 20:13:46 -04:00
b30445c927
Make GtkWindow use the generic smallest size for the requisition again
2010-04-17 22:51:35 -04:00