Re: Gtk-CRITICAL **: file gtkentry.c: line 3717 (gtk_entry_set_text): assertion `text != NULL' failed

2005-01-26 Thread Sandy
Hi lago, Thnx a lot for the help. Its working fine now. I think i got my concepts clear now. cheers Sandy On Mon, 24 Jan 2005 13:49:48 +0100, Iago Rubio <[EMAIL PROTECTED]> wrote: > On Mon, 2005-01-24 at 08:10, Sandy wrote: > > Hi, > > > > I am trying to build an application which encrypts/ decr

Re: How to search through all entries in a column in GtkList

2005-01-26 Thread Vinod Joseph
Dear Gus > > > I have a column for password and obviously as name suggests..it > > cannot be displayed..I have solved this problem by having a duplicate > > entry private_password that does not have a column in the GtkList and > > i compare with this private_pwd entry... > > If I understand

hide mouse cursor..

2005-01-26 Thread ALLs soft
this is good: gdk_window_set_cursor (GTK_WIDGET(window) -> window, cursor); thanks on help.No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 21.1.2005 ___ gtk-app-devel-list ma

hide mouse cursor...

2005-01-26 Thread ALLs soft
when i compile i get this error.. 'struct _GtkWindow' has no member named 'window' what I can do? help please. >gdk_window_set_cursor(GTK_WINDOW(window)->window, cursor); ALLs soft wrote: >how i can hide cursor in this window (not GDK, it is GTK)? (code down don't >work but i can compile it

Re: GtkComboBox can show tree structure? how?

2005-01-26 Thread Olivier Sessink
Matthias Clasen wrote: On Wed, 2005-01-26 at 21:52 +0100, Olivier Sessink wrote: Look e.g. at create_phylogenetic_tree(). Or maybe you are using 2.4.x ? Non-flat comboboxes are a 2.6 feature. ahh that explains :) I plan to require gtk-2.4 or higher (so it will work on the upcoming debian stable r

Re: GtkComboBox can show tree structure? how?

2005-01-26 Thread Matthias Clasen
On Wed, 2005-01-26 at 21:52 +0100, Olivier Sessink wrote: > Matthias Clasen wrote: > > On Wed, 2005-01-26 at 21:00 +0100, Olivier Sessink wrote: > > > >>According to the docs "The tree model holding the valid choices is not > >>restricted to a flat list, it can be a real tree, and the popup will

Re: GtkComboBox can show tree structure? how?

2005-01-26 Thread Olivier Sessink
Matthias Clasen wrote: On Wed, 2005-01-26 at 21:00 +0100, Olivier Sessink wrote: According to the docs "The tree model holding the valid choices is not restricted to a flat list, it can be a real tree, and the popup will reflect the tree structure." You can look at testcombo.c for working examp

Re: GtkComboBox can show tree structure? how?

2005-01-26 Thread Matthias Clasen
On Wed, 2005-01-26 at 21:00 +0100, Olivier Sessink wrote: > According to the docs "The tree model holding the valid choices is not > restricted to a flat list, it can be a real tree, and the popup will > reflect the tree structure." > You can look at testcombo.c for working examples of non-flat

GtkComboBox can show tree structure? how?

2005-01-26 Thread Olivier Sessink
According to the docs "The tree model holding the valid choices is not restricted to a flat list, it can be a real tree, and the popup will reflect the tree structure." I have data in a treestore, and it is indeed a tree structure. But all data show up as one list, no nesting, nu submenu, noth

Re: How best to fetch a web page...

2005-01-26 Thread Todd Fisher
Freddie Unpenstein wrote: Just another suggestion: gnome_vfs Its dependancies are a little stiff, although I was planning in the future to turn the whole thing into an applet, or stick it into the notification area, or something. Which as I understand it, means pulling in Gnome anyhow. Raw

Re: how hide mouse cursor?

2005-01-26 Thread Paolo Costabel
gdk_window_set_cursor(GTK_WINDOW(window)->window, cursor); ALLs soft wrote: how i can hide cursor in this window (not GDK, it is GTK)? (code down don't work but i can compile it without errors.) do somebody can send me an example, maybe in gdk (with full source ready for compile)? thanks #includ

Re: size adaptive window layout

2005-01-26 Thread Paolo Costabel
What layout widget are you using for your table? Stefan Kost wrote: hi hi, I generate layouts for property windows. It is basically a large table, where each property is a row. I've put the table into a scrolled window to care for very large windows (taller that the screen). Here is how it looks li

how hide mouse cursor?

2005-01-26 Thread ALLs soft
how i can hide cursor in this window (not GDK, it is GTK)? (code down don't work but i can compile it without errors.) do somebody can send me an example, maybe in gdk (with full source ready for compile)? thanks #include int main( int argc, char *argv[] ) { GtkWidget *window; G

Re: How to make a window "undeletable"

2005-01-26 Thread David Necas (Yeti)
On Wed, Jan 26, 2005 at 05:32:43PM +, Maulet wrote: > I want to display an information modal dialog while running a critical > process in the background, and so I want to prevent the user from > destroying the dialog. > Currently I connect the "delete-event" to a signal handler that does > n

Re: how to hide mouse cursor (GTK + CPP)?

2005-01-26 Thread David Necas (Yeti)
On Wed, Jan 26, 2005 at 03:31:06PM +0100, ALLs soft wrote: > gdk_window_set_cursor(GDK_WINDOW(window), cursor); GDK_WINDOW(window) is not widget->window. Widgets are not GdkWindows (they *contain* GdkWindows), so you can't cast them to, and you should get a Crtical message here... > gtk_widget_s

How to make a window "undeletable"

2005-01-26 Thread Maulet
Hello. I want to display an information modal dialog while running a critical process in the background, and so I want to prevent the user from destroying the dialog. Currently I connect the "delete-event" to a signal handler that does nothing. But I guess there must be a more elegant way to get

Re: how to hide mouse cursor (GTK + CPP)?

2005-01-26 Thread Marc Santhoff
Am Mi, den 26.01.2005 schrieb ALLs soft um 15:31: > my code is here [...] > pixmap = gdk_bitmap_create_from_data(NULL, bits, 1, 1); > cursor = gdk_cursor_new_from_pixmap(pixmap, pixmap, &color, &color, 0, 0); > gdk_window_set_cursor(GDK_WINDOW(window), cursor); > > gtk_widget_show (window); I've

Re: how to hide mouse cursor (GTK + CPP)?

2005-01-26 Thread ALLs soft
my code is here #include int main( int argc, char *argv[] ) { GtkWidget *window; GtkWidget *button; GtkWidget *table; gtk_init (&argc, &argv); /* Create a new window */ window = gtk_window_new (GTK_WINDOW_TOPLEVEL); g_signal_connect (G_OBJECT (window), "destroy", G_CALLBACK (gtk_main_qu

size adaptive window layout

2005-01-26 Thread Stefan Kost
hi hi, I generate layouts for property windows. It is basically a large table, where each property is a row. I've put the table into a scrolled window to care for very large windows (taller that the screen). Here is how it looks like: http://www.buzztard.org/index.php/Image:Bt-edit-0.0.1-05.png

Re: How best to fetch a web page...

2005-01-26 Thread Freddie Unpenstein
> Just another suggestion: gnome_vfs Its dependancies are a little stiff, although I was planning in the future to turn the whole thing into an applet, or stick it into the notification area, or something. Which as I understand it, means pulling in Gnome anyhow. Raw TCP -- simple, would work,

Compile line options for a libglade project?

2005-01-26 Thread Tony Freeman
I'd like to compile one of the example programs in "The GNOME 2 Developer's Guide" which is located on page 318. The two include statements in the program are: #include #include What would a proper compile line look like? I've used this with no success: gcc `pkg-config --cflags --libs libglad

Re: How to search through all entries in a column in GtkList

2005-01-26 Thread Gus Koppel
Vinod Joseph wrote: > I have a column for password and obviously as name suggests..it > cannot be displayed..I have solved this problem by having a duplicate > entry private_password that does not have a column in the GtkList and > i compare with this private_pwd entry... If I understand you

Re: how to hide mouse cursor (GTK + CPP)?

2005-01-26 Thread David Necas (Yeti)
On Wed, Jan 26, 2005 at 11:13:16AM +0100, ALLs soft wrote: > Please send example if you have it. guchar bits[] = { 0 }; GdkColor color = { 0, 0, 0, 0 }; GdkPixmap *pixmap; GdkCursor *cursor; pixmap = gdk_bitmap_create_from_data(NULL, bits, 1, 1); cursor = gdk_cursor_new_from_pixmap(pi

Re: compare entry with list

2005-01-26 Thread David Necas (Yeti)
On Wed, Jan 26, 2005 at 10:58:34AM +, Maulet wrote: > Vinod Joseph wrote: > > > >I used memcmp() instead of strcmp() since strcmp() creates some > >worries inside..gtk.. > > > >i think memcmp() is more efficient for usage in gtk compared to > >strcmp()..anyways the result is the same with the c

Re: How best to fetch a web page...

2005-01-26 Thread Stefan Kost
Just another suggestion: gnome_vfs Stefan Freddie Unpenstein wrote: > I've been trying to use g_spawn_async_with_pipes to run wget, and have it > write the page to stdout (with output going to stderr along with anything > that would normally go there), and then syphon these off. The output I w

how to hide mouse cursor (GTK + CPP)?

2005-01-26 Thread ALLs soft
Please send example if you have it. thx.No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 21.1.2005 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.

Re: How to search through all entries in a column in GtkList

2005-01-26 Thread Vinod Joseph
Hi Gus On Wed, 26 Jan 2005 10:42:18 +0100, Gus Koppel <[EMAIL PROTECTED]> wrote: > Vinod Joseph wrote: > > > Sorry for the confusion > > Yes, I'm afraid your description was confusing to some people. $$$ Yes... i could not be explicit to discuss in clear > > > Anyways.the major problem f

Re: compare entry with list

2005-01-26 Thread Maulet
Vinod Joseph wrote: Hi Pablo I used memcmp() instead of strcmp() since strcmp() creates some worries inside..gtk.. i think memcmp() is more efficient for usage in gtk compared to strcmp()..anyways the result is the same with the code Thank you Vinod I think that the usage of memcmp() in your

Re: How to search through all entries in a column in GtkList

2005-01-26 Thread Gus Koppel
Vinod Joseph wrote: > Sorry for the confusion Yes, I'm afraid your description was confusing to some people. > Anyways.the major problem for design is with browsing password > entries stored as "ASTERISK" in GtkList.. > > The problem is with password entry stored as * I don't unders

Re: How best to fetch a web page...

2005-01-26 Thread Liam R. E. Quin
On Tue, 2005-01-25 at 23:36 -0500, Freddie Unpenstein wrote: > >> Why not use libcurl? You can get much more info about your > >> connection. > > > libcurl even provides examples for how to use libcurl with a Gtk+ app. > > Although I must admit their example should work fine for simple things > >