Re: Hi

2001-07-10 Thread Helmethead
On Fri, Jun 29, 2001 at 09:33:24AM +0800, linuxfun wrote: > Dear Craig Emery: > Thank you very much for your reply. > I am a Chinese boy and begin to learn programming on Linux.It's my interest.But at >the very beginning ,everything seems too difficult.:) Anyway I love this. > at # ,I type gtk-co

Re: Hi

2001-07-10 Thread Helmethead
On Thu, Jun 28, 2001 at 09:02:42AM +0100, Craig Emery wrote: > Yup. Looks like you're using the wrong quotes in your compile command. > > You've got "single quotation marks" (i.e. ' ) but you need apostrophies > (i.e. ` ) > On my keyboard, the apostrophy is up by the non-keypad 1 key. > > Apostr

Re: [CList] Making a CList user-modifiable

2001-07-10 Thread Stephen Witkop
On 09 Jul 2001 18:02:57 +0200, Jean-Christophe Berthon wrote: > Hy, > > Thanks Stephen and Albert for your answer about this GtkSheet. It might be > what I need but seems that the conception of this widget is more matrix > oriented whereas the GtkCList (and pronto_list) where more fiting my needs

Using gdk-pixbuf part 2

2001-07-10 Thread Jose Fernando Diago
Hello again. I just added the following: `gnome-config --cflags --libs print` to compile the program with the function I described in my previous message, so now the full line to compile it is as follows: cc `gtk-config --cflags` `gtk-config --libs` `gnome-config --cflags --libs print` pixmap

Using gdk-pixbuf

2001-07-10 Thread Jose Fernando Diago
Hello, I just added the following function to a little gtk program (compiling fine until I added the function): void take_screen_shot (void) { gint width, height; GtkRequisition req; gtk_widget_size_request(layout, &req); width = req.width; height = req.height; screenshot = gdk_p

Re: Looking for some gtkrc files with useful key bindings

2001-07-10 Thread Havoc Pennington
Skip Montanaro <[EMAIL PROTECTED]> writes: > Anyone got a gtkrc file they'd like to share with me that has some > non-trivial key bindings in it? All I can find are variations on the > testgtkrc files that come with the distribution (you know, the "test1", > "test2" and "clist-test" bindings).

Looking for some gtkrc files with useful key bindings

2001-07-10 Thread Skip Montanaro
Anyone got a gtkrc file they'd like to share with me that has some non-trivial key bindings in it? All I can find are variations on the testgtkrc files that come with the distribution (you know, the "test1", "test2" and "clist-test" bindings). This includes the various themes on my Linux box in

Re: Porting Gnome Applet on win32

2001-07-10 Thread Havoc Pennington
"Hugues Bernard" <[EMAIL PROTECTED]> writes: > Did the plug implementation change a lot between stable and unstable ? > 'cause I've not very much time, and getting a 1-3-6 build on win32 seems to need >some. > Maybe Hans Breuer know more about port of Gtk-Plug ? Tor seems to be > off-line, alla

Gtk-warning: cannot open display

2001-07-10 Thread Johan N-P
Hi all, I have a really weird problem. Until yesterday my gtk program worked fine, but suddenly it stopped working. Now it just tells me "gtk-warning: cannot open display" when I try to run it. $DISPLAY is :0.0 as it should be. And yes, I'm running it as the user who started X. When I compile a

RE: Porting Gnome Applet on win32

2001-07-10 Thread Hugues Bernard
> "Hugues Bernard" <[EMAIL PROTECTED]> writes: > > I'm trying to 'port' the applet-library from linux-gnome to win32. > > I aim at building gnome-applet-s which are 'pure GTK' on MS-Windows. > > I think you mean "write a functional equivalent" rather than "port" ;-) You mean 'port' would be hav

Re: help

2001-07-10 Thread Jan-Marek Glogowski
Hi Rolf [schnipp] > anywhere on the net, as to how to solve it I would like to be able to read > and write individual pixel colour values to and from an image file on linux. [schnapp] I'm not sure what / how you want to manipulate an image. Do you want to use a script to automate things? Do you

Focus in GTK+

2001-07-10 Thread Flavio Alberto Lopes Soares
I'm developing an aplication that does not uses mouse with C in GTK+, and I need to turn off the focus for objects in my Window, only catching keyboards events. All works, only this focus that I don't know how to eliminate. How to do this ? Thanks for any help Flavio _

RE: fonts in GTK+

2001-07-10 Thread Esteban Quijano Vincenzi
Title: RE: fonts in GTK+ I think (please somebody correct me if I'm wrong) that you can do something like this: GtkWidget *label; ... label->style->font = gdk_font_load("XLFD font name"); ... I'm unsure about what to do with the old font before loading, maybe a gdk_font_unref(label->style-

fonts in GTK+

2001-07-10 Thread Flavio Alberto Lopes Soares
I'm a beginer aplication developer in GTK+ and I want to know how to change the fonts of labels in objects in GTK+ (ex: gtk_button... & gtk_label..., ...); I thanks for any help flaviothunder [EMAIL PROTECTED] [EMAIL PROTECTED] ___ gtk-list mailing

DnD changes between 1.2 and 2.0?

2001-07-10 Thread Skip Montanaro
Are there any significant changes to Gtk's drag and drop implementation between 1.2 and 2.0? I'm hoping not so I can use Owen Taylor's DnD white paper as a useful tutorial. Thx, -- Skip Montanaro ([EMAIL PROTECTED]) (847)971-7098 ___ gtk-list mailin

API Documentation

2001-07-10 Thread Jose Fernando Diago
Hello everyone. I'm posting this message again, hopefully I'll get more feedback this time. Where can I get the API documentation for gnome-print? if this doc doesn't exist at least I will like to know, or if I'm asking this in the wrong list I will like to know too. The problem is that in the G

Re: Screensaver?

2001-07-10 Thread Havoc Pennington
Craig Emery <[EMAIL PROTECTED]> writes: > > I know this is more X windows than GTK+ but is there anyway that I > can use GTK+ to tell me when the screensaver is activated / > deactivated? Other details like how long it will wait after no > events before activation, and has the monitor been "pow

Re: Porting Gnome Applet on win32

2001-07-10 Thread Havoc Pennington
"Hugues Bernard" <[EMAIL PROTECTED]> writes: > I'm trying to 'port' the applet-library from linux-gnome to win32. > I aim at building gnome-applet-s which are 'pure GTK' on MS-Windows. I think you mean "write a functional equivalent" rather than "port" ;-) > 3. An other way could be having a

GtkList number of items? gtk_object_set_data (GList)?

2001-07-10 Thread Andrés
Hi! 2 questions: 1. How can I know the number of items in a GtkList? 2. How can I add some info (like gtk_object_set_data) to a GList item? That's because I'm working with a combo box and I would to obtain that info on the selected item. Thanks by your help! ___

Re: [CList] Making a CList user-modifiable

2001-07-10 Thread Jean-Christophe Berthon
Thanks a lot Charlie, It's working pretty fine. I'm going to try to tune it a bit now (the entry is a bit big in comparison to the cells...). Thanks again, Best regards, --- Jean-Christophe Berthon Cap Gemini -- Ernst & Young Toulouse FR Skill Aerospace -- Image Quality Email: [EMAIL PROTECTED]

Re: [CList] Making a CList user-modifiable

2001-07-10 Thread Jean-Christophe Berthon
Hy, Thanks Stephen and Albert for your answer about this GtkSheet. It might be what I need but seems that the conception of this widget is more matrix oriented whereas the GtkCList (and pronto_list) where more fiting my needs (managing rows of data...) But I'm going to try both ways and see which

Re: [CList] Making a CList user-modifiable

2001-07-10 Thread Jean-Christophe Berthon
Thanks a lot all of you :-) I've quite a lot to look at right now and I'm going to work on it. If I have some more problems I'll write again. Again, thanks a lot :-))) Best regards, --- Jean-Christophe Berthon - Original Message - From: "Stephen Witkop" <[EMAIL PROTECTED]> To: "Jean-C

GtkCombo

2001-07-10 Thread Kevin Heaton
Hi to all, I am very new to programming and at the moment I am trying to build a application with combo boxes in it but I can not seem to get them working properly. If any body has an easy to follow program that has some combo boxs which you can also enter data into as I find it quite hard to fol

help

2001-07-10 Thread rolf kudelka
To Whom It May Concern: Please help me, I an new to computers, I am not a programmer or an IT professional – I am a new found linux enthusiast. There is just one thing I would like to know how to do, but I simply cannot find any information anywhere on the net, as to how to solve it I would l

Re: bash shell

2001-07-10 Thread John Cupitt
"G.Camozzi" wrote: > In gtk+ there is command like execlhow can i use a shell command > with GTK+? Hi, >From C, you can just use system(). This may limit your portability though :-) John ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gno

bash shell

2001-07-10 Thread G.Camozzi
In gtk+ there is command like execlhow can i use a shell command with GTK+? Sorry for my bad english...i'm italian!!! Thanks a lot! ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Screensaver?

2001-07-10 Thread Craig Emery
Dear All, I know this is more X windows than GTK+ but is there anyway that I can use GTK+ to tell me when the screensaver is activated / deactivated? Other details like how long it will wait after no events before activation, and has the monitor been "powersaved" would be **real** nice but are