1
2
Fork
You've already forked GtkLayerShell
0

How difficult would it be to add support for p6-GtkPlus? #1

Closed
opened 2021年11月01日 22:12:54 +01:00 by Xliff · 2 comments
Xliff commented 2021年11月01日 22:12:54 +01:00 (Migrated from github.com)
Copy link

If you need a link to the project, you can find it here. I wouldn't mind doing a lion share of the work if you could communicate the high level strategy of your design.

Thanks!

If you need a link to the project, you can find it [here](http://github.com/Xliff/p6-GtkPlus). I wouldn't mind doing a lion share of the work if you could communicate the high level strategy of your design. Thanks!
CIAvash commented 2021年11月02日 09:17:55 +01:00 (Migrated from github.com)
Copy link

I wasn't aware of your module, it hasn't been released yet?

I didn't add support for other libraries, all you need is a Pointer to window widget, or monitor if you want to use a method that works with monitor.

For example, for Gnome::Gtk3, it's $gtk_window.get-native-object for GTK::Simple, it's $app.WIDGET. And from having a quick look at your module, it's $gtk_window.widget along with some other aliases? So if I'm not mistaken, in short it would be:

use GTK::Window;
my GTK::Window $gtk_window .= new: GTK_WINDOW_TOPLEVEL;
my $window = $gtk_window.widget;
my GtkLayerShell $layer_surface .= new: :$window, :init;
I wasn't aware of your module, it hasn't been released yet? I didn't add support for other libraries, all you need is a `Pointer` to window widget, or monitor if you want to use a method that works with monitor. For example, for Gnome::Gtk3, it's `$gtk_window.get-native-object` for GTK::Simple, it's `$app.WIDGET`. And from having a quick look at your module, it's `$gtk_window.widget` along with some other aliases? So if I'm not mistaken, in short it would be: ```raku use GTK::Window; my GTK::Window $gtk_window .= new: GTK_WINDOW_TOPLEVEL; my $window = $gtk_window.widget; my GtkLayerShell $layer_surface .= new: :$window, :init; ```
Xliff commented 2021年11月02日 10:08:18 +01:00 (Migrated from github.com)
Copy link

@CIAvash, No. These have not been released yet. Mainly because it became quite large, quite quickly.

I'm glad to see your module is fairly agnostic in its approach. Thanks for writing it.

@CIAvash, No. These have not been released yet. Mainly because it became quite large, quite quickly. I'm glad to see your module is fairly agnostic in its approach. Thanks for writing it.
Sign in to join this conversation.
No Branch/Tag specified
main
v0.2.6
v0.2.5
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.1
v0.1.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
CIAvash/GtkLayerShell#1
Reference in a new issue
CIAvash/GtkLayerShell
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?