Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gtk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,125
Issues
1,125
List
Boards
Labels
Service Desk
Milestones
Merge Requests
150
Merge Requests
150
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gtk
Commits
5a643f19
Commit
5a643f19
authored
Apr 18, 2015
by
Matthias Clasen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve the docs for gdk_window_set_opaque_region
Fix several typos and annotate the region parameter as allow-none.
parent
3a3f2e50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gdk/gdkwindow.c
gdk/gdkwindow.c
+3
-3
No files found.
gdk/gdkwindow.c
View file @
5a643f19
...
@@ -11100,9 +11100,9 @@ gdk_window_get_unscaled_size (GdkWindow *window,
...
@@ -11100,9 +11100,9 @@ gdk_window_get_unscaled_size (GdkWindow *window,
/**
/**
* gdk_window_set_opaque_region:
* gdk_window_set_opaque_region:
* @window: a top-level or non-native #GdkWindow
* @window: a top-level or non-native #GdkWindow
* @region:
a region
* @region:
(allow-none): a region, or %NULL
*
*
* For optimi
ziz
ation purposes, compositing window managers may
* For optimi
s
ation purposes, compositing window managers may
* like to not draw obscured regions of windows, or turn off blending
* like to not draw obscured regions of windows, or turn off blending
* during for these regions. With RGB windows with no transparency,
* during for these regions. With RGB windows with no transparency,
* this is just the shape of the window, but with ARGB32 windows, the
* this is just the shape of the window, but with ARGB32 windows, the
...
@@ -11111,7 +11111,7 @@ gdk_window_get_unscaled_size (GdkWindow *window,
...
@@ -11111,7 +11111,7 @@ gdk_window_get_unscaled_size (GdkWindow *window,
*
*
* This function only works for toplevel windows.
* This function only works for toplevel windows.
*
*
* GTK+ will
automatically
update this property automatically if
* GTK+ will update this property automatically if
* the @window background is opaque, as we know where the opaque regions
* the @window background is opaque, as we know where the opaque regions
* are. If your window background is not opaque, please update this
* are. If your window background is not opaque, please update this
* property in your #GtkWidget::style-updated handler.
* property in your #GtkWidget::style-updated handler.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment