Re: newbie Question

2008-07-15 Thread Craig Petty
how to list available wireless networks and create a custom widget? --- On Tue, 7/15/08, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > From: Tomas Carnecky <[EMAIL PROTECTED]> > Subject: Re: newbie Question > To: [EMAIL PROTECTED] > Cc: gtk-app-devel-list@gnome.org > Date: Tuesday, July 15, 2008,

Getting a Column Number

2008-07-15 Thread dhk
Anyone? The following will get me the Column from a treeview, but from focus_column I don't know if I'm in the first, second, third . . . or last column. GtkTreePath *tp=NULL; GtkTreeViewColumn *focus_column=NULL; gtk_tree_view_get_cursor(GTK_TREE_VIEW(treeview), &tp, &focus_column); How do

Re: gtk_widget_set_sensitive and mouse pointer

2008-07-15 Thread Mitko Haralanov
On Mon, 14 Jul 2008 09:34:13 -0400 "Eric Masson @ Savant Protection" <[EMAIL PROTECTED]> wrote: > To fix this, do the following after making the widget sensitive: > gint x,y; > GdkWindow *windowUnderMouse=gdk_window_at_pointer(&x,&y); > if(windowUnderMouse){ > GdkEventCrossing e; > e.type=

Re: newbie Question

2008-07-15 Thread Tomas Carnecky
Craig Petty wrote: How would i make a gtk+ for a wireless networking? First read gtk tutorials. Then compile, run and modify some gtk samples, just so you get into how gtk works. Then you can read the sourcecode of other gtk applications to understand how a 'big' application is structured. A

newbie Question

2008-07-15 Thread Craig Petty
How would i make a gtk+ for a wireless networking? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Problem writing pixels to GdkPixbuf data buffer

2008-07-15 Thread Jim George
2008/7/15 Luka Napotnik <[EMAIL PROTECTED]>: > Hello. > > I encounter a strange problem when I'm writing image data to the > GdkPixbuf data buffer. > > I create an empty pixbuf and get the data buffer. Then I use: > > pixel = pixbuf_data + i * n_channels > > , where pixel is a pointer to the pixel,

Using g_signal_connect in class

2008-07-15 Thread Marco Rocco
Thanks, I have done, but i have the problem of how i get treepath, and how i can pass to callback functions, look my class: class GtkCtree{ private: GtkWidget *treeview; GtkListStore *liststore; Tdata string_to_data(const char *data_string); static void cell_edited_cbk(

Re: gtk-app-devel-list Digest, Vol 51, Issue 21

2008-07-15 Thread Steve Splonskowski
More good list karma - this is a great resource. Does it work? splons On Jul 15, 2008, at 3:11 AM, [EMAIL PROTECTED] wrote: Send gtk-app-devel-list mailing list submissions to gtk-app-devel-list@gnome.org To subscribe or unsubscribe via the World Wide Web, visit http://mail

Getting a Column Number

2008-07-15 Thread dhk
The following will get me the Column from a treeview, but from focus_column I don't know if I'm in the first, second, third . . . or last column. GtkTreePath *tp=NULL; GtkTreeViewColumn *focus_column=NULL; gtk_tree_view_get_cursor(GTK_TREE_VIEW(treeview), &tp, &focus_column); How do you get th

Using g_signal_connect in class

2008-07-15 Thread Marco Rocco
Hello, this is my first post on this mailing list, now i do my request: can i use g_signal_connect in a method of my class, using as c_handler a private function of class? ...and if i can, how i can do ? ___ gtk-app-devel-list mailing list gtk-app-dev

about textview (gtk_text_buffer_insert_with_tags cause segmentaion fault)

2008-07-15 Thread 朱碧岑
Hi all , When I insert some text to textview in a thread in the following code(myThread::run) . it will segmentation fault . Could someone help me to fix this issue. Any comments and suggestion will be welcomed. bzhu #include #include #include #include GtkWidget* tv; GtkTextTag* tag; #incl

Re: Using g_signal_connect in class

2008-07-15 Thread Gabriele Greco
On Tue, Jul 15, 2008 at 12:09 PM, Marco Rocco <[EMAIL PROTECTED]> wrote: > Hello, this is my first post on this mailing list, now i do my request: > can i use g_signal_connect in a method of my class, using as c_handler a > private function of class? ...and if i can, how i can do ? > > If you use

Using g_signal_connect in class

2008-07-15 Thread Marco Rocco
Hello, this is my first post on this mailing list, now i do my request: can i use g_signal_connect in a method of my class, using as c_handler a private function of class? ...and if i can, how i can do ? ___ gtk-app-devel-list mailing list gtk-app-dev

Problem writing pixels to GdkPixbuf data buffer

2008-07-15 Thread Luka Napotnik
Hello. I encounter a strange problem when I'm writing image data to the GdkPixbuf data buffer. I create an empty pixbuf and get the data buffer. Then I use: pixel = pixbuf_data + i * n_channels , where pixel is a pointer to the pixel, pixbuf_data is the pixbuf data buffer, i is a counter in a f