(1.3.15) - compiling pango

2002-02-25 Thread Raymond Wan
Hi all, On Sun, 24 Feb 2002, Owen Taylor wrote: > Overview of Changes in Pango 0.26 > = > > * Fixes for AIX compilation [Miroslaw Dobrzanski-Neumann] > * Fix zero-width characters being displayed [Sven Neumann] > * Add some padding to class structures [Owen Taylo

about GdkEventFocus and ...........?

2002-02-25 Thread 黃慶 Kason Huang
hello, anyone could tell me two member variables of meaning in struct GdkEventFocus of gtk source code. source code as following: struct _GdkEventFocus { GdkEventType type; GdkWindow *window; gint8 send_event; --->what meaning? gint16 in; -->what meaning

Compiling GTK+ 1.2.10

2002-02-25 Thread Daniel Farrell
Hi,   I recently installed RedHat 7.0, then compiled kernel 2.4.17, and installed XFree86 4.2.0, at this stage X works fine on my system.   Next I was ready to start compiling Gnome 1.4 so ... compiled gmp 4.0.1, gdbm 1.8.0, librep 0.15.2, glib 1.2.10 in that order.   Then while configuring

RE: There is no libgtk-1.2.so.0 in GTK+ 1.2.10?

2002-02-25 Thread Yu-Fong Cho
Hi, My system only has libgtk-1.2.so --> libgtk-1.2.so.9 libgtk-1.2.so.9 I tried to link libgtk-1.2.so.0 --> libgtk-1.2.so.9 but Netscape 6.2 complained error in loading shared libraries: libgtk-1.2.so.0: ELF file OS ABI invalid. It looks like a Linux binary (Netscape) try to use a FreeBSD bin

Re: There is no libgtk-1.2.so.0 in GTK+ 1.2.10?

2002-02-25 Thread Andreas Scherf
Am Die, 2002-02-26 um 00.07 schrieb Yu-Fong Cho: > Hi, > > I know the "libgtk-1.2.so.0" problem has been asked many times, but mine is > a little different, so please take a look. Thank you!!! > > I installed GTK 1.2.10 and GLIB 1.2.10 in FreeBSD 4.5 and I didn't have any > gtk package before in

Re: How X application distinguish input devices?

2002-02-25 Thread Yick Lam
Hi, I posted this question and I found an answer with a guy who replied my email. There is an EXCELLENT example called xinput that complete solved my problem. The xinput description can be found at http://www.gtk.org/~otaylor/ (Owen Taylor). My heartiest thank to that guy who re

There is no libgtk-1.2.so.0 in GTK+ 1.2.10?

2002-02-25 Thread Yu-Fong Cho
Hi, I know the "libgtk-1.2.so.0" problem has been asked many times, but mine is a little different, so please take a look. Thank you!!! I installed GTK 1.2.10 and GLIB 1.2.10 in FreeBSD 4.5 and I didn't have any gtk package before installing 1.2.10. After that, I only have libgtk-1.2.so and libg

Re: Scrollbar flickers when clock run

2002-02-25 Thread Flávio Alberto Lopes Soares
Ok, it's true, my program has other modal window that has a CList too, and your scrollbar hasn't the problem while the clock is runing, probably this is the explanation about other problem that occurs in my program : it has a big pixmap (with green background) that blinks in about 400ms (usin gtk_

Re: Scrollbar flickers when clock run

2002-02-25 Thread Paul Davis
>the GtkLabel you use for the clock has to recalculate its size when you >change the text every second. Most probably this size change propagates >to the GtkClist which has to adapt to the new size and thus redraws >itself. Try to change your box layout so the label size doesn't affect >the size o

Re: Scrollbar flickers when clock run

2002-02-25 Thread Sven Neumann
Hi, Flávio Alberto Lopes Soares <[EMAIL PROTECTED]> writes: > Hello all, I'm using GTK 1.2 and my application has a clock that run > always when I start the program, I make this clock using gtk_timeout_add > with 1 second of interval and each 1 second it changes a gtk_label to > show the elapse

Re: help with linked lists

2002-02-25 Thread John . Cupitt
Peter Jay Salzman wrote: >typedef struct { > SDL_Surface *img; > int magnitude; > SDL_Rect rect; >} ChargeStruct; > > and i have a double linked list of them: > >GList *ChargeList = NULL; > ChargeStruct puck; > ... > ChargeList = g_list_append (Cha

Re: help with linked lists

2002-02-25 Thread rsteinke
From: Peter Jay Salzman <[EMAIL PROTECTED]> > > hi there, > > using sdl i draw a number of circles (electric charges) and would like > to know when the user clicks on a charge. a basic charge is a struct: > >typedef struct { > SDL_Surface *img; > int magnitude; > SDL_Rect re

help with linked lists

2002-02-25 Thread Peter Jay Salzman
hi there, using sdl i draw a number of circles (electric charges) and would like to know when the user clicks on a charge. a basic charge is a struct: typedef struct { SDL_Surface *img; int magnitude; SDL_Rect rect; } ChargeStruct; and i have a double linked list of the

Scrollbar flickers when clock run

2002-02-25 Thread Flávio Alberto Lopes Soares
Hello all, I'm using GTK 1.2 and my application has a clock that run always when I start the program, I make this clock using gtk_timeout_add with 1 second of interval and each 1 second it changes a gtk_label to show the elapsed time, and the program has too a CList with vertical scrollbar, but t

GTK_TYPE_BOXED

2002-02-25 Thread Ralph Walden
I'm attempting to port some gtk+-1.2 widgets to 2.0 (1.3.13 actually) and I'm running into a problem with an object that is derived from a GTK_TYPE_BOXED type. This seems to cause a segfault in the g_type system. I found some mention of this in the some of the list archives, but I couldn't fig

Plotting x-y graph with GTK

2002-02-25 Thread Anjali Grover
Hi, Is there a way to plot a linear x versus y graph on the GUI developed with GTK? Thanx! Anjali __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com ___ gtk-list

Re: how to align a label in GtkTable

2002-02-25 Thread Havoc Pennington
¶À¼y Kason Huang <[EMAIL PROTECTED]> writes: > hi: > you could try gtk_label_set_justify(GtkLabel *label,GtkJustification jtype); > typedef enum > { > GTK_JUSTIFY_LEFT, > GTK_JUSTIFY_RIGHT, > GTK_JUSTIFY_CENTER, > GTK_JUSTIFY_FILL > } GtkJustification; > > for example: > gtk_label_set_ju

Re: GTK Background

2002-02-25 Thread John . Cupitt
Romain wrote: > For my application, I need a transparent background for a GtkText (not a > white background). It is possible? And how can I do this if it is possible ? You can have a static pixmap in the background with a theme, but I think that's all you can do without a lot of work :-( Of cou

Re: key input get grab by other widget

2002-02-25 Thread John . Cupitt
ehml wrote: > In the drawing-area, I assign "key press event" to it. It work find for key > like "a" and "b", but does not work for arrow key. Once I press a arrow key, > the "check button" grab that input, and subsequently, all key is grab by the > "check button". The same will happen if I point

list of functions in menu

2002-02-25 Thread Peter Van Osta
Hi, I want to build software on RedHat Linux 7.2 with a frontend based on GTK. I already have several C-functions that will be the "backend" of the application. I am now looking for a way to use a list of these functions with their arguments to put them "automatically" into menus and submenus in

Re: Scrolled window unable to handle huge list ( > 1700 entries) in it

2002-02-25 Thread John . Cupitt
ehml wrote: > I notice that when I have more than 1700 (exact number is around 167+) > entries in a list (or tree), and the list is in a scrolled window, it will > not be displayed correctly. Anyone know limitation on the number of entry > (or height) a scrolled window can support, and is there a

Re: how to align a label in GtkTable

2002-02-25 Thread Steph
I've never managed to get the text justification working in a label either. But GtkMisc functions set_alignment(x, y) and set_padding(x, y) work just fine .. - Original Message - From: "Marco Lettere" <[EMAIL PROTECTED]> To: "¶À¼y Kason Huang" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>

about curses programming?

2002-02-25 Thread 黃慶 Kason Huang
hello: it 's not gtk problem. anyone know Curses programming? how to create Makefile,how to make? like the following code how to do? /* File: helloworld.c */ #include int main(int argc, char *argv[]) { initscr();

RE: how to align a label in GtkTable

2002-02-25 Thread Marco Lettere
On Mon, 25 Feb 2002, [big5] ¶À¼y Kason Huang wrote: yes I tried it by it doesn't seem to work in a table cell context. I do create a table, create a label, set the label justification and then attach the label. I don't know if I'm doing something wrong. Are there some caveats like "first set alig

Making Linux system calls as a signal to an event

2002-02-25 Thread Anjali Grover
Hi, I am a new user of GTK. I want to execute a Linux system call (like "ls" or "make" on the command line) by clicking on a button on my GTK interface. I am using C for my GTK code. I have associate the "clicked" event to my button as a signal to call a callback function. Within this callback fu

RE: how to align a label in GtkTable

2002-02-25 Thread 黃慶 Kason Huang
hi: you could try gtk_label_set_justify(GtkLabel *label,GtkJustification jtype); typedef enum { GTK_JUSTIFY_LEFT, GTK_JUSTIFY_RIGHT, GTK_JUSTIFY_CENTER, GTK_JUSTIFY_FILL } GtkJustification; for example: gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT); -Original Message---

how to align a label in GtkTable

2002-02-25 Thread Marco Lettere
hello, I always get a label attached in a GtkTable to be centered in its cell. How do I get it to be left aligned? is it possible using only gtk_table_*() or gtk_label_*() functions? thanx, M. _ | _ \ ___ ___ _ __| | | | | |/ __/ _ \| '__| _| | |_| | (_| (_) |

FW: About the focus move in table?

2002-02-25 Thread 黃慶 Kason Huang
-Original Message- From: ¶À¼y Kason Huang Sent: Saturday, February 23, 2002 9:01 AM To: [EMAIL PROTECTED] Subject: About the focus move in table? hi guys: anyone could tell how to change the focus in three tables(there is a lot of buttons in each table) with keyboard. and I find tha

Re: Problems in attaching GtkScrolledWindow to GtkList

2002-02-25 Thread Steph
Yeah, the list already has a parent - the 'fixed'. ps html drives the regulars mad .. - Original Message - From: "David Joseph" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 25, 2002 7:34 AM Subject: Problems in attaching GtkScrolledWindow to GtkList Hi I am doin

Re: Trouble to compile atk-0.12

2002-02-25 Thread Padraig O'Briain
It seems that pkg-config call for glib_genmarshal in glib-2.0 is returing the strange relative directory path ..//home/... What prefix did you specify when configuring glib? Padraig > > Hi, > > On my RH7.2 box, I have trouble to compile atk-0.12. After I have ran > .configure, here is what I