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 https://mail.gnome.org/mailman/listin

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,an

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.

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 creating

Re: Check if dbus program is running

2011-07-21 Thread Erick Pérez
> Lost me ... at the system level, ps -ef (or some similar call) piped to > grep dbus >    ps -ef | grep dbus | grep -v grep > will probably show several hits ... anywhere near what you are talking > about? Nope: I'm talking about this: http://developer.gnome.org/gio/stable/gdbus-convenience.html

Re:Check if dbus program is running

2011-07-20 Thread Erick Pérez
> Hello > What would be the best way, in C, to check if a dbus program was > running, before i ran a dbus command against it? Check for it's bus name, ask main DBus process if someone has registered the DBus name you want to check for? -- Acta est fabula _

Re: Re:Detect window move

2011-07-20 Thread Erick Pérez
> I have X and GTK running on the device as well. You mean you don't have any window manager at all ? > I am writing an application for GTK that tells the hardware to take a frame > buffer from memory and display it at the coordinates of the application. > However, I need to know when that buffer

Subclassing GtkButton

2011-07-19 Thread Erick Pérez
Hi: I'm trying to subclass the GtkButton widget to make it able to respond to certain size constraints, like 2:1 or 1:2 width per height. Now I'm know I had to work with the method that define the new Height-for-width (H4W) geometry. What I want to know is that: by reading the documentation on GtkW

Re: Detect window move

2011-07-19 Thread Erick Pérez
What you mean with: "hardware overlay to the screen" ? It sounds to me that the event you want to get doesn't get fired on the window, but in the window manager that moves the window. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mai

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

2011-02-22 Thread Erick Pérez Castellanos
2011-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

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 insta

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 sign

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 filterring

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 availab

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 and

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