Re: GTK Problem

2002-08-28 Thread Olexiy Avramchenko
James Jensen wrote: Hi, everyone. I'm writing an open-source text editor with wGLADE and Dev-C++ w/DevEx (which provides the GTK libs) named Free Notepad. I'm having trouble with opening files. What happens is that when I click Open File under the File menu, a GTK file_selection window

System administrator

2002-08-28 Thread Srinivasan Sriram
For the 100th time, please remove [EMAIL PROTECTED] from your mailing list.. PLEASE!! __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ___ gtk-list mailing list

insensitive pixmap

2002-08-28 Thread Seisdedos Nuñez, Monserrat
Hello everybody: I have a button with a pixmap inside, when i chage it to insensitive, the name of the button gets grey, but the pixmap seems sensitive, although it isn't , how can i get it? Thanks ___ gtk-list mailing list [EMAIL PROTECTED]

Re: GTK Problem

2002-08-28 Thread James Jensen
- Original Message - From: Olexiy Avramchenko [EMAIL PROTECTED] To: James Jensen [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, August 28, 2002 1:38 AM Subject: Re: GTK Problem James Jensen wrote: Hi, everyone. I'm writing an open-source text editor with wGLADE and

Re: System administrator

2002-08-28 Thread Sven Neumann
Hi, Srinivasan Sriram [EMAIL PROTECTED] writes: For the 100th time, please remove [EMAIL PROTECTED] from your mailing list.. PLEASE!! have a look at the bottom of this mail or any other mail from this mailing list. The URL given there has information on how to unsubscribe:

How to restore cursor?

2002-08-28 Thread Andrew E. Makeev
Hi, I've tried to play with window cursor for toplevel window: Gdk::Cursor cur(Gdk::WATCH); get_window()-set_cursor (cur); ... Gdk::Cursor cur(0); get_window()-set_cursor (cur); Gdk-CRITICAL **: file gdkcursor.c: line 53 (gdk_cursor_ref): assertion `cursor != NULL' failed

Re: How to modify the background color of a GtkTextView?

2002-08-28 Thread Paul Davis
Now the color is also modified as what I want. So I think perhaps I used a wrong way of colors of GtkRcStyle. Can anybody give me an instruction on how to use correctly the GtkRcStyle and Color system? http://pobox.com/~hp/gtk-colors.html its supposed to be in the FAQ (hint to FAQ

How to block alfanumeric entry

2002-08-28 Thread Krzysztof Magrel
I've GtkEntry in my program. I want sometimes allow to entry alfanumeric signs, and sometimes I wanna entry only digits. How could I do it? I know how to try what sign is press (event keypressed and event-keyval its the sign). I thougth, that event-keyval=0 will enough, but not. I still see every

Re: How to restore cursor?

2002-08-28 Thread James Durie
On Wed, 2002-08-28 at 12:51, Andrew E. Makeev wrote: Hi, I've tried to play with window cursor for toplevel window: Gdk::Cursor cur(Gdk::WATCH); get_window()-set_cursor (cur); ... Gdk::Cursor cur(0); get_window()-set_cursor (cur); Gdk-CRITICAL **: file

Re: How to block alfanumeric entry

2002-08-28 Thread David Neary
Krzysztof Magrel wrote: I've GtkEntry in my program. I want sometimes allow to entry alfanumeric signs, and sometimes I wanna entry only digits. How could I do it? I know how to try what sign is press (event keypressed and event-keyval its the sign). I thougth, that event-keyval=0 will

Re: How to restore cursor?

2002-08-28 Thread Andrew E. Makeev
James Durie wrote: On Wed, 2002-08-28 at 12:51, Andrew E. Makeev wrote: Hi, I've tried to play with window cursor for toplevel window: Anyway, I would to know how to do it using gtkmm? thanks in advance, -andrew Here is a snippet from a bit of code I've been working on:

Re: [gtkmm] Re: How to restore cursor?

2002-08-28 Thread Murray Cumming
On Wed, 2002-08-28 at 14:08, Andrew E. Makeev wrote: James Durie wrote: On Wed, 2002-08-28 at 12:51, Andrew E. Makeev wrote: Hi, I've tried to play with window cursor for toplevel window: Anyway, I would to know how to do it using gtkmm? thanks in advance,

Re: Gtk+ 2.0.6 configure problem

2002-08-28 Thread Urke MMI
Autor: Sven Neumann [EMAIL PROTECTED] Datum: 28 Aug 2002 00:42:39 +0200 MsgID: [EMAIL PROTECTED] that is strange indeed. The gtk+-2.0.6.tar.gz archive I got from ftp.gtk.org has these: 0 2002-08-01 00:11:50 gtk+-2.0.6/m4macros/ 8453 2002-08-01 00:11:50

Re: [gtkmm] Re: How to restore cursor?

2002-08-28 Thread ERDI Gergo
On 28 Aug 2002, Murray Cumming wrote: Thanks, you 've proved that GTK itself works fine :). I just was wondering if GTKMM has simple way to do this, also. For example, someone could provide a patch with another override for set_cursor() in Gdk::Window: I did this recently in order to

Re: [gtkmm] Re: How to restore cursor?

2002-08-28 Thread Murray Cumming
On Wed, 2002-08-28 at 16:51, ERDI Gergo wrote: On 28 Aug 2002, Murray Cumming wrote: Thanks, you 've proved that GTK itself works fine :). I just was wondering if GTKMM has simple way to do this, also. For example, someone could provide a patch with another override for

Re: [gtkmm] Re: How to restore cursor?

2002-08-28 Thread Murray Cumming
On Wed, 2002-08-28 at 17:25, ERDI Gergo wrote: On 28 Aug 2002, Murray Cumming wrote: I hope you don't mean you wrote a set_cursor override. I meant overload. I must stop doing that. Actually, I meant overload as well That won't work in other cases, like

Re: [gtkmm] Re: How to restore cursor?

2002-08-28 Thread ERDI Gergo
On 28 Aug 2002, Murray Cumming wrote: I hope you don't mean you wrote a set_cursor override. I meant overload. I must stop doing that. Actually, I meant overload as well That won't work in other cases, like Gnome::Canvas::Item::grab. I don't understand. It's just meant to wrap the

Re: [gtkmm] Re: How to restore cursor?

2002-08-28 Thread ERDI Gergo
On 28 Aug 2002, Murray Cumming wrote: I suppose we could create the abstract concept of a default cursor (implemented as a boolean) and check for it in each method that takes a cursor. Is that what you mean? well, by 'default cursor' I mean anything that's gobj() method returns 0... that

Re: [gtkmm] Re: How to restore cursor?

2002-08-28 Thread Murray Cumming
On Wed, 2002-08-28 at 18:19, ERDI Gergo wrote: On 28 Aug 2002, Murray Cumming wrote: I suppose we could create the abstract concept of a default cursor (implemented as a boolean) and check for it in each method that takes a cursor. Is that what you mean? well, by 'default cursor' I

Re: [gtkmm] Re: How to restore cursor?

2002-08-28 Thread ERDI Gergo
On 28 Aug 2002, Murray Cumming wrote: That might be neat if NULL always means use default cursor, but I only know about that one gdk_window_set_cursor() function. Gnome::Canvas::Item::grab() is the other one I can think of. -- .--= ULLA! =-. `We are not here to

Re: Help needed with autoconf and gtk+2.0 (my first configure.ac)

2002-08-28 Thread Ruben Porras
Thanks, it solves the problem. Now I have another one. I have one directory with pixmaps. I want this pixmaps copies to somewrhere when make install (I supose /usr/local/share/myprogram/pixmaps) In my program I use gdk_pixbuf_new_from_file(pixmaps/rotate.xpm, NULL); ¿who should I change that?

Re: Help needed with autoconf and gtk+2.0 (my first configure.ac)

2002-08-28 Thread Sven Neumann
Hi, Ruben Porras [EMAIL PROTECTED] writes: I have placed this Makefile.am in the pixmaps directorie ## Process this file with automake to produce Makefile.in pixmapdir = $(datadir)/pixmaps EXTRA_DIST = bomb.xmp debian.xpm left.xpm \ right.xpm rotate.xpm source.xpm

Q: How to hide mouse cursor when it's within a GtkText?

2002-08-28 Thread Jan-Benedict Glaw
Hi! I've written a small program (kind of a graphical frontend to a text based program which basically is a GtkWindow containing a GtkLayout containing some GtkText. I've read the archive(s) of several lists and used the advise to create an invisible one-pixel image cursor, which I applied to

Re: Q: How to hide mouse cursor when it's within a GtkText?

2002-08-28 Thread Jan-Benedict Glaw
On Wed, 2002-08-28 20:44:11 +0200, Jan-Benedict Glaw [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]: I've written a small program (kind of a graphical frontend to a text based program which basically is a GtkWindow containing a GtkLayout containing some GtkText. I've read the

How to call Xlib function inside gtk library?

2002-08-28 Thread hwang
Hi, I am writing a video player, but there is a problem with my video display. I am now using gdk_draw_rgb_32_image() to draw images at a given rate in an infinite loop. But unfortunately, the image display looks bad (seemed like it is skipping frames or something), the reason could be

Can't find tiffio.h but it exist

2002-08-28 Thread EE Department
Hi, I'm trying to install gtk but having some problem with tiffio.h file I'm using a SunBlade100, and I'm do not have administrative access. So what i did was, i installed GLIB, pango, atk, pkgconfig and tiff-v3.5.5 to my home directory at ${HOME}/root all the GLIB, pango, atk and pkgconfig are

glib 1.2.10?

2002-08-28 Thread Cory Johnson
Hve installed 2.0 after installing 1.2.9 (per glib-config --version) I attempt to configure GIMP and it says glib-config --version returned 1.2.9 but GLIB (1.2.10) was found! What the %#%! is going on. All this to get my printer drivers to work -- From Cory, Windows Free since 8/18/02

Re: glib main loop

2002-08-28 Thread Havoc Pennington
Lennart Poettering [EMAIL PROTECTED] writes: An example: I have a main context with four or five distinct attached sources. if any of these get triggered, some cleanup work is needed after their execution. If three of them are dispatched in an iteration i want to have my cleanup function

Re: How to call Xlib function inside gtk library?

2002-08-28 Thread Havoc Pennington
[EMAIL PROTECTED] writes: 1. Does anyone have such experience with the xlib and gdk interaction? Yes, it should work fine. 2. Does anyone know the reason why gdkrgb library function is slow? It is converting the RGB data to the X visual, potentially dithering to preserve image quality.