Re: Make parent aware of drag and drop

2016-10-18 Thread Chris Moller

Have you looked into g_signal_emit () in any of its variants?

https://developer.gnome.org/gobject/stable/gobject-Signals.html#g-signal-emit

On 10/19/16 00:40, Jim Heald wrote:

Hi,

I have a slightly weird situation. I have two widgets that are both 
eventboxes, and I'm trying to make it possible to drag what I call a 
tile widget into a column. Basically, think I'm dragging a box from 
one column to another.


My issue is I can now drag one tile to a column to get drag data from 
the drag source; however, I need the parent window to be made aware of 
this drag because it contains an information store that tells me about 
where each tile is located within the column widges.


Long story short: I can drag a tile from one column to another. When I 
do, the column's drag data received function tells me the id of the 
tile I just dragged to it. I need this information (the drag source 
and drag dest) to propagate up to the parent Gtk window so it can 
handle performing the desired modification.


Is there a good way through Gtk for my window to catch the interaction 
between its children?


Sorry if this seems kind of convoluted, my program is kind of a mess 
but it works and I'm waiting until it has all the features I want to 
clean things up.


Thanks for any help you can give!

Jim


___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Make parent aware of drag and drop

2016-10-18 Thread Jim Heald
Hi,

I have a slightly weird situation. I have two widgets that are both
eventboxes, and I'm trying to make it possible to drag what I call a tile
widget into a column. Basically, think I'm dragging a box from one column
to another.

My issue is I can now drag one tile to a column to get drag data from the
drag source; however, I need the parent window to be made aware of this
drag because it contains an information store that tells me about where
each tile is located within the column widges.

Long story short: I can drag a tile from one column to another. When I do,
the column's drag data received function tells me the id of the tile I just
dragged to it. I need this information (the drag source and drag dest) to
propagate up to the parent Gtk window so it can handle performing the
desired modification.

Is there a good way through Gtk for my window to catch the interaction
between its children?

Sorry if this seems kind of convoluted, my program is kind of a mess but it
works and I'm waiting until it has all the features I want to clean things
up.

Thanks for any help you can give!

Jim
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Next release deadline: Saturday, November 19th 2016 at 00:01 UTC

2016-10-18 Thread Brian Manning
Hi folks,

There's currently no Gnome release calendar available on the web,
however, I am going to set the deadline for code submissions for the
next release of Gtk-Perl modules to be Saturday, November 19th 2016,
at 00:01 UTC.

Please have all code submissions into the Gtk-Perl maintainers before
the above deadline; please allow time for the maintainers to audit and
test code submissions.  If you have your favorite RT ticket[1][2] or
Gnome bug tracker bug[3] that you would like looked at, don't be
afraid to bring it up for discussion here on the mailing list.

Once the above deadline date arrives, I will begin packaging any new
code in the Gtk-Perl git repos.  After packaging, I will distribute
tarballs to CPAN and Sourceforge, and post the release announcements,
usually within a few days of the release date.

If you have any questions about the above, please ask.

Heads up for December, the release deadline will be Saturday, December
17th 2016, at 00:01UTC.

Thanks,

Brian

[1] https://rt.cpan.org/Public/Dist/ByMaintainer.html?Name=XAOC
[2] https://rt.cpan.org/Public/Dist/ByMaintainer.html?Name=TSCH
[3] https://bugzilla.gnome.org/browse.cgi?product=gnome-perl

vim: set paste:
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list


Re: GTK 3.22 Breaking My Eclipse IDE

2016-10-18 Thread Emmanuele Bassi
Hi;

you should file bugs against Eclipse on the Eclipse bug tracker; the
Eclipse developers will help you debug the issue — and eventually report
what they find to the GTK+ bug tracker.

Ciao,
 Emmanuele.


On 12 October 2016 at 16:19, Markus Walther  wrote:

> Upgrading to GTK 3.22 broke the Preferences window in my Eclipse IDE. It
> has also caused strange positioning of the Eclipse splash-screen at startup
> and gives a lot of GTK warnings in the console (see attachment).
>
> Buttons and text inside the Preferences get cut off. This is also the case
> for many if not all other 'sub-windows' of Eclipse.
>
> Reverting back to 3.20.9 has now worked for me to get rid of said issues.
>
> Can anyone make sense of these Warning & Critical messages that I get?
>
> Tested on:
> Arch Linux
> Eclipse Neon & Neon.1 (eclipse-java-4.6.0-1)
> The following GTK packages:
> 3.22.1+8+ge11df6c-2
> 3.22.1-1
> 3.22.0+29+gfa23641-1
> 3.22.0+21+gad32a48-1
> 3.22.0-1
>
> With Adwaita & Numix themes
>
> Preferences window:
> [image: Screenshot from 2016-10-12 14-19-30.png]
>
> I would be very glad if someone could figure out what this is about.
>
> Thanks
> Markus
>
> ___
> gtk-list mailing list
> gtk-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-list
>
>


-- 
https://www.bassi.io
[@] ebassi [@gmail.com]
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list