Re: Warning: implicit declaration of function `lstat'

2005-09-10 Thread ztl_post
On Sat, Sep 10, 2005 at 04:43:03PM +0100, Pseudo Nym wrote: > I am trying to use g_lstat to obtain the attributes of a file. > Partial source code: > >#include >#include > >struct stat*filedata; >gintresult; > >result = g_lstat(filename,filedata); > > I am gett

Re: GtkImage size

2005-09-10 Thread Barry Demchak
Yeah ... something pretty close to that. Thanks! At 08:55 PM 9/10/2005, Nick Watts wrote: the GtkPaned class has a signal "move-handle", my guess is that you just need to check the image's size from the pixbuf functions when you receive the "move-handle" signal. On 9/11/05, Barry Demchak <

Re: GtkImage size

2005-09-10 Thread Barry Demchak
It's what you get back when you call gtk_hpaned_new. It's a container having a left rectangle and a right rectangle and a moveable bar between them. So, my concern is the resizing of the rectangles as a result of what the user could do with the mouse. See: http://developer.gnome.org/doc/API/2

Re: GtkImage size

2005-09-10 Thread Barry Demchak
Uh huh ... That's a pretty good idea. I'll follow up on it. Thanks! As for how it could change, imagine that the container is a horizontal panel ... one of those things with the border that you can grab with a mouse and move left or right. So, the user could change that GtkImage dimension. Ac

GtkImage size

2005-09-10 Thread Barry Demchak
Hi, all -- Can anyone tell me how I find out the height and width of a GtkImage widget?? I also need to know how to set up an event to tell me when the size changes. I have been going 'round and 'round in the documentation, and it's just not very obvious. Thanks! _

Re: gtk 2.8.3

2005-09-10 Thread The Saltydog
On 9/10/05, Mystilleef <[EMAIL PROTECTED]> wrote: > The problem only seems to happen on Ubuntu for me. Are you by any chance using > Ubuntu? yes. Breezy. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listi

Re: gtk 2.8.3

2005-09-10 Thread Mystilleef
9/6/05, The Saltydog <[EMAIL PROTECTED]> wrote: > I have recently updated to Gtk+ 2.8.3 and I have noticed that each > time I open a GtkFileChooserDialog in my application, I got this > message: > > Gtk-CRITICAL **: gtk_file_system_path_is_local: assertion `path != NULL' > failed > > > With p

Warning: implicit declaration of function `lstat'

2005-09-10 Thread Pseudo Nym
I am trying to use g_lstat to obtain the attributes of a file. Partial source code: #include #include struct stat*filedata; gintresult; result = g_lstat(filename,filedata); I am getting a compiler error: "Warning: implicit declaration of function `lstat'" Ther

How to create a custom signal and send it between windows?

2005-09-10 Thread Edward Yang
Sorry if it is silly question. I want to create a custom signal and send it between two windows. Is it possible? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Retrieving current mouse pointer position?

2005-09-10 Thread Olexiy Avramchenko
Daniel Pekelharing wrote: Hi all, How can I retrieve the current mouse position? I mean without setting up a mouse callback.. Use gdk_window_get_pointer() function. http://developer.gnome.org/doc/API/2.0/gdk/gdk-Windows.html#gdk-window-get-pointer Olexiy __