Color Initialization

2005-08-08 Thread MEA-MikeFriedrichs
Lists, OS: win2k/XP Using Unix/Linux you can use an .rc to initialize parameters, like a default color set, anytime GTK+ is used. What is the approach to initialize a default color set when using win2k/XP without adding code to every application? Thanks, MikeF ___

threads in GTK+ HELP!

2005-08-08 Thread Marek Florianczyk
Hi, I've made a program using GTK+ 2.0 Program has GUI, and it calculates some mathematic equations in backgroud and after that, it draws a graph in gtk drawable, using GDK functions (it sets points in some pixels on pixmap, and on expose_event it copy pixmap to gtk_drawable) I can also load c

Usage of the About Dialog

2005-08-08 Thread Matthew Beckler
Hello everyone, I'm wondering if anybody has had any success using the GtkAboutDialog. More specifically, I am wondering how to use the two methods, gtk_about_dialog_set_url_hook () and gtk_about_dialog_set_email_hook (). >From my searching, I realize that these create callbacks to whatever fun

Re: Valid UTF-8 text mangled up in GtkLabel

2005-08-08 Thread Lina Kemmel
Hi Behdad, Jonathan, > I use gedit on a daily basis to type text with Persian and > English paragraphs, and I want my Persian paragraphs to be set ar > RTL and aligned to right, and English paragraphs LTR and aligned > to left. I doubt this opinion is shared by many... My own preference is to ha

Re: Gtk screen refresh

2005-08-08 Thread Daniel Pekelharing
Hi, I think you're wanting: gtk_main_iteration() by the way gtk_entry_append_text(..) has been deprecated... - Daniel On Mon, 2005-08-08 at 13:59 +0200, Jirka Pirko wrote: > hi > > i have following problem: > > need to append chars to GTK_ENTRY as they are coming from serial port > (/dev/tty

Re: Set widget BG while using Qt theme engine

2005-08-08 Thread Maciej Katafiasz
2005-08-01 (月) の 16:44 -0700 に Roland Krikava さんは書きました: > I am trying to set the background color of a container widget. I have > successfully manged to do this by using either gtk_widget_modify_bg or by > creating a small rc file and using gtk_rc_parse. The problem is introduced > when the app

Gtk screen refresh

2005-08-08 Thread Jirka Pirko
hi i have following problem: need to append chars to GTK_ENTRY as they are coming from serial port (/dev/ttyS0) i'm reading chars, appending (gtk_entry_appent_text()) them into GTK_ENTRY, but i CANT SEE them. (until i press key or when i put cursor into GTK_ENTRY) i think i must force gtk_m

Re: gtk label segmentation fault

2005-08-08 Thread Iago Rubio
On Sun, 2005-08-07 at 21:18 -0700, Yogesh M wrote: > i used gtk gtk_label_new( const char *str ) to create > a new label[why it needs a const char?] > > below is a part of my code WoW ! What about "The C programming language" book ? It seems you need it badly :) > > const ch; No type. > const

Re: how to hide close button in gtk dialog

2005-08-08 Thread The Saltydog
On 8/8/05, Yogesh M <[EMAIL PROTECTED]> wrote: > found it, sometimes it is neccessary to avoid > confusion. > > for example in a dialog i have a cancel button, now if > the window show a close button, it is a confusion that > whether the window closes or the cancel activates or > both. You can wo

Re: gtk label segmentation fault

2005-08-08 Thread Stefan Kost
Hi Yogesh, please understand the C language a bit better! i used gtk gtk_label_new( const char *str ) to create a new label[why it needs a const char?] because it tells you that it wont mess with the char-pointer contents you pass to the function. below is a part of my code const ch; const