GtkLabel and win32

2005-10-13 Thread misterdebrrr
Below is a some code that produces a GTK Window, adds a GTK Label to it and shows both. The problem I'm having is that IF I move a window on part of the Label, often, the text won't get redrawn when I move the window off it. This means I often get a Label that shows 'B' and nothing else. For som

GtkLabel and win32

2005-10-13 Thread misterdebrrr
Below is a some code that produces a GTK Window, adds a GTK Label to it and shows both. The problem I'm having is that IF I move a window on part of the Label, often, the text won't get redrawn when I move the window off it. This means I often get a Label that shows 'B' and nothing else. For som

synthesize-key-press-event

2005-10-13 Thread Boncek, John
I need to send a key-press-event or in some other way communicate the equivalent of a keypress (not coming from the keyboard). I found the following postings in the gtk-app-devel-list archive about this, but the link no longer works. Can anyone send or post an example? how can I emit a

RE: Problems mapping a specific instance of a widget to a styledescribed in an rc file

2005-10-13 Thread Boncek, John
You didn't actually say what isn't working, but I'm guessing Custom-Button-Style isn't being used. You wrote widget "Custom-Button" style "Custom-Button-Style" You need to put an asterisk and dot before the name, like this: widget "*.Custom-Button" style "Custom-Button-Style" -Original

GtkFileChooserButton issues

2005-10-13 Thread David Necas (Yeti)
Hi, I'm trying to use GtkFileSelectionButton, but... I'm unable to set the button back to the "(None)" state when nothing is selected. Of course, I can destroy the button and create a new one, but that's not very nice. When it starts in the "(None)" state, user clicks on some files, but then de

Problems mapping a specific instance of a widget to a style described in an rc file

2005-10-13 Thread Bill Sousan
My problem is that I would like to map a specific instance of a widget to a style described within an rc file. I have read the docs on widget style and naming and am still a little confused. What I need to do is create custom buttons within my app based on specific styles described in the gtkrc f

Re: GOption replacement for poptPrintUsage needed

2005-10-13 Thread Stefan Kost
Hi Matthias, On Wed, 2005-10-12 at 23:10 +0200, Stefan Kost wrote: hi, has anyone written a replacement for poptPrintUsage for GOption? IMHO that would fit well into glib. What does poptPrintUsage do ? It prints the usage. That is the short help summary. GOption naturally does not detect

RE: getting input each frame

2005-10-13 Thread Faria, Sydney C
How about writing an update function for the widgets and using it via a gtk_timer_add() to update the display with new data periodically... Sydney -Original Message- From: Olivier Sessink [mailto:[EMAIL PROTECTED] Sent: Thursday, October 13, 2005 3:50 AM To: flood Cc: gtk-app-devel-list@g

[OT] Xarchiver 0.1 finally released !

2005-10-13 Thread Colossus
Hi, after 5 months of developing, Xarchiver, a GTK+2 only frontend to rar,zip,tar,bzip2 and gzip is finally out ! I really wish to thank most of you members of the list for the help given to me. I would like to receive comments, bug and else. http://sourceforge.net/projects/xarchiver -- Coloss

Re: GOption replacement for poptPrintUsage needed

2005-10-13 Thread Matthias Clasen
On Wed, 2005-10-12 at 23:10 +0200, Stefan Kost wrote: > hi, > > has anyone written a replacement for poptPrintUsage for GOption? > IMHO that would fit well into glib. > What does poptPrintUsage do ? ___ gtk-app-devel-list mailing list gtk-app-devel-li

Re: Problems in Typing Vietnamese in Gtk application

2005-10-13 Thread Gaurav Jain
Hello Botond, Thanks for your inputs. Unfortunately I cannot use a new widget because of architectural constraints (I'm working on an existing code-base that's based on GtkLayout as the base widget), and so must use a GtkLayout to process the inputs (i.e., the actual receiver of the Vietnamese In

problem loading xpm on japanese windows

2005-10-13 Thread Bernhard . Rumpler
Hi, I have a problem when loading an xpm on a japanese windows xp machine: Internal error: Image loader module 'xpm' failed to begin loading an image, but didn't give a reason for the failure (.\-Images\hourglass.xpm) Interestingly, the same installation works well on english and german win32

Re: Is there g_write function?

2005-10-13 Thread David Necas (Yeti)
On Wed, Oct 12, 2005 at 09:07:19PM -0400, Freddie Unpenstein wrote: > > I must say, I wouldn't mind some of the more common functions being wrapped > (if it can be done without excessive overhead). I would call that bloat even if it was done with #define g_write write You'd soon end up with

how do you get current date with GDate?

2005-10-13 Thread Yiannis
Hi, how do you get the current date and keep it in a GDate struct. var? The glib API has a number of date manipulation functions but not a get_date(now) function. -- -- Yiannis ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.g

Asynchronous Multiple Interface

2005-10-13 Thread lucapetra (sent by Nabble.com)
Hi, how can I show multiple interface on the same display? My code waits for a connection and than calls a thread in wich I have to show an interface. Is something like this: int main(..){ while(1){ p_thread_create.. } gtk_main(); } In this case I will never see interface

Re: getting input each frame

2005-10-13 Thread Olivier Sessink
flood wrote: > Hello, I have been developing an app using GTK to make the interface. The > problem I'm facing is that the program needs to check for input each frame > and based on that it needs to alter a few objects such as labels, however, I > don't know how to check for external input because I