Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dlang
gtkd
Commits
2fbb1bf0
Commit
2fbb1bf0
authored
Apr 04, 2019
by
Mike Wey
Browse files
Add a getRgba overload that just returns the RGBA.
parent
0b6604f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
generated/gtkd/gtk/ColorChooserIF.d
View file @
2fbb1bf0
...
...
@@ -51,6 +51,22 @@ public interface ColorChooserIF{
/** the main Gtk struct as a void* */
protected
void
*
getStruct
();
/**
* Gets the currently-selected color.
*
* Returns: a gdk.RGBA to fill in with the current color.
*
* Since: 3.4
*/
public
final
RGBA
getRgba
()
{
RGBA
color
;
getRgba
(
color
);
return
color
;
}
/**
*/
/** */
public
static
GType
getType
()
...
...
src/APILookupGtk.txt
View file @
2fbb1bf0
...
...
@@ -692,6 +692,23 @@ noCode: get_rgba
noCode: set_use_alpha
noCode: get_use_alpha
struct: ColorChooser
interfaceCode: start
/**
* Gets the currently-selected color.
*
* Returns: a gdk.RGBA to fill in with the current color.
*
* Since: 3.4
*/
public final RGBA getRgba()
{
RGBA color;
getRgba(color);
return color;
}
interfaceCode: end
struct: ColorSelectionDialog
import: gtk.ColorSelection
noCode: get_color_selection
...
...
Write
Preview
Supports
Markdown
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