Re: How to restart a GApplication?

2015-05-02 Thread Erick Pérez Castellanos
How to progammatically restart a GApplication? I want this to provide Gnome Shell-like -r command. I would fork and exec a launcher, after quiting the application. ___ gtk-list mailing list gtk-list@gnome.org

Re: RFC: GtkPreview library

2015-01-21 Thread Erick Pérez Castellanos
Theoretically, previewing would be interesting whenever an app wants to provide a view of a content item - that could be useful for chat, social messaging, mail, or download/transfer applications. However, I haven't done any detailed work into how this would look. One question in this area is

Re: GdNotification in GTK+?

2013-12-16 Thread Erick Pérez Castellanos
Otherwise I'll file one and might write that code up, it should be quite a lot less of code using GtkRevealer instead of the custom animation code. I think I remember the code already depends on GtkRevealer or at least in GdRevealer ___

Re: Removal of icons in buttons/menus

2013-10-09 Thread Erick Pérez Castellanos
People keep raising this issue (both on list and on IRC) and I think there's a good reason for it. And people will keep doing it, until they get proper answers. As an application developer why I found troubling about this particular removal is: First: the fact that no-one has explained the

Re: Removal of icons in buttons/menus

2013-10-09 Thread Erick Pérez Castellanos
On 9 October 2013 14:13, Jasper St. Pierre jstpie...@mecheye.net wrote: I guess I'm curious: why would this break apps? If your apps were relying on a specific user setting to show/hide icons, wasn't it technically broken already? There was no guarantee of the value of the setting. It

Re: 3D hunman model in GTK+3

2013-08-28 Thread Erick Pérez Castellanos
I'm just on the road of GTK+;and is thinking about drawing a 3D human bone modle in my software on Linux. after reading some material, seemly GTK+ don't support openGL . could you recomend a graphic toolkit or graphic library that support 3D feature. I love GTK+ more than Qt,and C

Re: Hiding scrollbars for GtkScrolledWindow

2013-06-12 Thread Erick Pérez Castellanos
Hey there, I'm trying to use a GtkScrolledWindow with the capability of scrolling, but not displaying scroll bars (so the content has the appropriate height). I need this behaviour, because I am using a small touch display and handle the scrolled with bigger and easier to push buttons. If

Re: regarding IconView use

2013-04-23 Thread Erick Pérez Castellanos
Nope, that's not a bug, it is the expected behavior. You should look in libgd, there should be something like EggListBox but IconView like Is this a known bug? Should I be enabling some mask I am not? is this implemented via callbacks?? ___

Container weirdness

2012-08-09 Thread Erick Pérez Castellanos
Hi: I'm subclassing GtkBin to make my custom container, now. The thing is somehow, when I add a GtkEntry widget it get redrawn only when the focus exits the widget, and the same thing doesn happens for other widgets, like GtkButton ? Any idea. The only tricky thing in my code, is that I'm

Re: Gtk+ 2.24, Gtk+3 and GLib 2.28 in the middle

2011-02-22 Thread Erick Pérez Castellanos
-02-22 at 01:35 -0300, Erick Pérez Castellanos wrote: Hi list: I have this doubt, I have Gnome 2.32 installed and I want to develop and application using Gtk+3, my doubt is that my Gnome 2.32 using Gtk+ 2.24 requires GLib 2.26, and Gtk+ 3 requires GLib 2.28. will I need to replace my GLib 2.26

Gtk+ 2.24, Gtk+3 and GLib 2.28 in the middle

2011-02-21 Thread Erick Pérez Castellanos
Hi list: I have this doubt, I have Gnome 2.32 installed and I want to develop and application using Gtk+3, my doubt is that my Gnome 2.32 using Gtk+ 2.24 requires GLib 2.26, and Gtk+ 3 requires GLib 2.28. will I need to replace my GLib 2.26 ? As far as I read both Gtk versions are can be

Re: Animating widgets

2011-01-18 Thread Erick Pérez Castellanos
Hi, I'll explain my experience! Gtk2 does not support animations, it's a fact, so you can only make your own hacks to Gtk. So: shouldn't the hackers, designers, developers of gtk+ widget toolkit start to think about a way to adding animations to Gtk+ ? I don't know of Qt, but Cocoa, the Mac

Re: Animating widgets

2011-01-16 Thread Erick Pérez Castellanos
Yeah, I'm not talking about GtkWindow on top of clutter, I'm talking of animations inside GtkWindow, adding a widget to GtkHBox and the new widget slide in, not pop out of nothing into the GtkHbox. Erick -- A related question, one can assume that animation, when

Animating widgets

2011-01-14 Thread Erick Pérez Castellanos
Hi: I want to know if there's anyway i can animate widgets with Gtk. For instance, I have a GtkBin with a GtkEntry container and I want to changed for a GtkTextView on certain event, and I want the switch to be animated, slide in/out, fade in/out, things like that. As far as I got with Gtk2

Animating widgets

2011-01-08 Thread Erick Pérez Castellanos
Hi: I want to know if there's anyway i can animate widgets with Gtk. For instance, I have a GtkBin with a GtkEntry container and I want to changed for a GtkTextView on certain event, and I want the switch to be animated. As far as I got with Gtk2 that's not possible so far, Am I right ? Would

Directory Monitor

2010-12-22 Thread Erick Pérez Castellanos
Hi Gtk developers: I got a question, Is there way way of monitoring a file hierarchy ? Let's say we have this = code = $ ls -R i i: data INSTALL* NEWS* now* other* share i/data: sample* i/share: inside* = code

Re: Signals received twice

2010-12-19 Thread Erick Pérez Castellanos
I'm using GtkFileChooserButton and connecting to selection-changed signal and the issue is that when i changed the selected fodler in the widget, I'm getting the signal 4 or 5 times repeatedly. And I think that should happens just one, Am I right ? No, GtkFileChooser::selection-changed

Signals received twice

2010-12-18 Thread Erick Pérez Castellanos
Hi: I think this is a bug, but I'm asking first to check, I'm using GtkFileChooserButton and connecting to selection-changed signal and the issue is that when i changed the selected fodler in the widget, I'm getting the signal 4 or 5 times repeatedly. And I think that should happens just one,

Re: gtk-list Digest, Vol 80, Issue 12

2010-12-13 Thread Erick Pérez Castellanos
the real question is, though, what would happen if I used a sub-class like GtkRecentFilter inside a GtkFileChooser; obviously it should work, but it wouldn't make much sense. I have to say: I didn't said this because I saw some reason for doing it other than the abstract behaviour of

Re: GtkRecentFilter and GtkFileFilter

2010-12-12 Thread Erick Pérez Castellanos
Hi: I was using GtkRecentChooser interface a little a few days ago and I realize you can add filters to the list of recent files and realize the GtkRecentFilter class could easily inherit from GtkFileFilter Why is this not like this ? because the filtering machinery is not available to

GtkRecentFilter and GtkFileFilter

2010-12-10 Thread Erick Pérez Castellanos
Hi: I was using GtkRecentChooser interface a little a few days ago and I realize you can add filters to the list of recent files and realize the GtkRecentFilter class could easily inherit from GtkFileFilter Why is this not like this ? And more as a suggestion I would add to GtkFileChooser

Re: How to implement a global hot-key listener ?

2010-12-05 Thread Erick Pérez Castellanos
Hey: so i think system wide hotkey registrations and management is something at least GTK 3 should so support!!! (so this is something for the gtk-devel list i think) You do realize there's no way that is gtk responsibility. Global, system wide hotkey is not for gtk to handle, That is for the