URGENT: Problem with GtkPaned

2003-10-24 Thread Matteo Frigerio
hello, i have a problem with GtkPaned. The attached file is a source that reproduce the problem (build with gtk+-2.2.3 under win32). The problem is that when the user move the first paned the widget in the second paned is not redraw correctly. What can i do ? Is a bug or i am wrong ? This is a

GtkTree

2003-10-08 Thread Matteo Frigerio
hello, i need to draw a simple tree like the tree used by microsoft explorer for show directory. I have tried GtkTreeView but this is not what i mean. What ca i do ? thanks, hammer __ Yahoo! Mail: 6MB di spazio gratuito, 30MB

GtkScrolledWindow problem

2003-09-26 Thread Matteo Frigerio
Hello, i have a problem with the GtkScrolledWindow. I have a strange situation: i have two scrolled window packet in a GtkVBox. I have disabilated the scrolled window scrollbar (GTK_POLICY_NEVER) and i draw my self a hscrollbar and put in the GtkVBox. I need this because when the user scroll i

URGENT: disable console log on WIN32

2003-06-16 Thread Matteo Frigerio
Hello at all, i have a problem under WIN32 (gtk+-2.2.0). When i load some fonts the gtk open a console form write error like unable to load font . I known this but i don't want that gtk open the console. There is a way to disable logging on console ? Thanks, drhammer

URGENT: gtk_hscale_new_with_range

2003-02-10 Thread Matteo Frigerio
hello, i have a problem with gtkhscale. I need a hscale with step increment of 0.25. I use this code: gtk_hscale_new_with_range((gdouble)0,(gdouble)5,(gdouble)0.25); but the hscale always increment 1 step. If i use mouse of arrows it always increment by 1. What i have to do for increment by

underline with pango

2003-01-24 Thread Matteo Frigerio
Hello, i have a problem: what can i do for have an underline font in a GtkEntry? It's possibile with pango_attr_underline_new() ? or there is an other way ? thansk, dr hammer __ Yahoo! Cellulari: loghi, suonerie, picture

GdkWindow unexpectedly destroyed URGETN

2002-12-03 Thread Matteo Frigerio
Hello, i have a problem with my app: i receive the message Gdk-WARNING **: GdkWindow .. unexpectedly destroyed (file gdkwindow-x11.c). After this my app become very slow in repainting and pratically unusable. What cam produce this error ? thanks, dr hammer

Notebook problem gtk-2.0

2002-12-02 Thread Matteo Frigerio
Hello, i have a problem with GtkNotebook. When i add a new page at the notebook with gtk_notebook_append_page(..) and the make it active with gtk_notebook_set_current_page(..) the page don't become active and if i manually switch to it it appear empty, but if i resize the window the content of the

URGENT : GtkStatusBar resize

2002-11-04 Thread Matteo Frigerio
Hello, i need to show a status bar without the SYMBOL for resize (oblique line at bottom left). It's possible ? thanks for all __ Mio Yahoo!: personalizza Yahoo! come piace a te

Urgent help on GValue

2002-10-04 Thread Matteo Frigerio
Hello, probally for many people this is a stupid question but i can't understand the way to get the cursor position in a selectable label (under gtk-2.0). I use the g_object_get_property(G_OBJECT(mylabel), cursor_pos, mygvalue); in the focus-in event but don't work. I think that don't work

Disable GtkEntry popup menu

2002-09-19 Thread Matteo Frigerio
Hello, i have a problem: i want to change the popup menu displaied by the GtkEntry with a my personal popup menu. How can i disable GtkEntry popupmenu ? thanks dr hammer __ Mio Yahoo!: personalizza Yahoo! come piace a te

Urgent help about key_press_event

2002-09-05 Thread Matteo Frigerio
Hello at all the list. I have a problem with key_press_event. I have attach a key_press_event handler at the main window of my application. This window contain a GtkHBox with a menu and other things. The problem is that when i press F10 the menu get the focus under linux, under win2000 the system

Urgent help on expose-event under gtk-2.0 win32

2002-07-31 Thread Matteo Frigerio
Hello at all the list I have a big problem: My program use the expose-event to draw a rectangle around a widget (the code is gtk_signal_connect_after(obj, expose-event, myfunc, mydata)). All works so good under Linux (the result is like glade). But under win32 don't go. Someone can help me?

Urgent: draw signal under gtk-2.0

2002-07-25 Thread Matteo Frigerio
Hello at all the mailing list. I have a big problem: my app use the signal draw (under gtk-1.2) to draw a rectangle around the widget (idea shamelessly stolen from glade) but under gtk-2.0 there is no more the draw signal. What can i do ?? Please help me. Hello Dr Hammer

Append a menu to system menu

2002-07-23 Thread Matteo Frigerio
Hello at all the mailing list. I have a question: it's possible to append a GtkMenu to the system menu displayed when the user click the button on the upper left corner of a window ? I need something like the Microsft GetSysMenu() API.Exist under Gtk-2.0 ? Hello Dr Hammer

Help about gtk_init and gnome_init

2002-07-19 Thread Matteo Frigerio
Hello at all the mail list. I have a small question: if a create a GtkLabel with text è or another char not present in ASCII (like £ or §) the label display nothing. This appens if i use gtk_init(...). If i try with gnome_init(..) there is no problem. But i have to compile my program under win32

Problem with fixed size label

2002-07-02 Thread Matteo Frigerio
Hello at all mail list. I have a problem: my program use a label and set their length in base of text (width of 1 char * text len), and work good with gtk-2.0 under redhat 7.2. Now i have made a change to mi graphic controller: passed from a intel740 to nvidia NV11. Now the text don't enter

Re: thread error under gtk 2.0

2002-06-26 Thread Matteo Frigerio
--- Sven Neumann [EMAIL PROTECTED] ha scritto: Hi, yes, you forgot to enclose gtk_main() in a gdk_threads_enter/leave pair. I try to enclose gtk_main() but the result is always the same: i run from terminal my programm and this display an A on terminal and only when i hit a key it draw

thread error under gtk 2.0

2002-06-21 Thread Matteo Frigerio
Hello i have a big question : why the seguent code run ok under gtk 1.2 but crash under gtk 2.0? I have notice many other problem with thread sincronism. For an example if i make a thread that create some widget in a window i occurs in a sync error. Seem that gtk ignore