GtkTreeView : Drag and drop

2005-08-21 Thread Thym
Hello, ( I speak french, sorry for my english ) in my GtkTreeView, I activated drag and drop with : gtk_tree_view_set_reorderable(GTK_TREE_VIEW(pTreeView), TRUE); The DnD works fine, but I would like control if the row "may" moved. How can I do it ? Thank you.

Re: changing the bg of a widget

2005-08-21 Thread Olexiy Avramchenko
Luka Napotnik wrote: Hello. I'm trying to change the background of a vbox but it doesn't change. I call gtk_widget_modify_bg(window_main->box_main, GTK_STATE_NORMAL, &bgColor) where bgColor is set to white. Why does this not work? I have a GtkImage with an image in the vbox and that's all. If I r

Signal when a drag and drop on a GtkTreeView is finished

2005-08-21 Thread Thym
I asked it on irc, and here is a solution : g_signal_connect_swapped(G_OBJECT(pMyApp->pTreeStore), "row_inserted", G_CALLBACK(entryMoved), pMyApp); Thank you. ___ gtk-app-devel-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/

Signal when a drag and drop on a GtkTreeView is finished

2005-08-21 Thread Thym
Good evening everybody, ( I speak french, sorry for my english ) when a entry's changed, I changed a label. But, when a drag and drop on a GtkTreeView is finished, how to know it ? When I'll receive this signal, I would like change a label too. So, I need this signal. Thank you. ___

how to move a specified line on textview ?

2005-08-21 Thread Aerofloat
how to move a specified line on textview ? -- - Time is pop-corn. ___ gtk-app-devel-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: changing the bg of a widget

2005-08-21 Thread John Coppens
On Sun, 21 Aug 2005 14:34:53 +0200 Luka Napotnik <[EMAIL PROTECTED]> wrote: > Hello. I'm trying to change the background of a vbox but it doesn't > change. I call gtk_widget_modify_bg(window_main->box_main, > GTK_STATE_NORMAL, &bgColor) where bgColor is set to white. Why does this > not work? I ha

glade and combo boxes

2005-08-21 Thread Gyözö Both
hi all, when i create a combo box in glade 2.6.8, the c code generated uses gtk_combo_box_new_text() instead of gtk_combo_box_new(), which is what i'd like to have. is there some way to make glade use the latter function? i didn't give any strings to put into the box in glade. cheers, gyözö p.

Re: Re: Re: about button and tooltip in GTK_WINDOW_POPUP

2005-08-21 Thread Cai Qiang
Hi, > sorry I misunderstood your needs but again I don't understand if for > "toolbar" you mean the taskbar, if so otherwise my English is not good > enough :) > > http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-set-skip-taskbar-hint > Sorry for my poor english and not read

Ant: Re: How to convert file names from

2005-08-21 Thread Christian Schneider
Hallo, thanks for your hint. But I tried to find a solution for the problem. The string with the german charkter will be changed after gtk_file_chooser_get_filename(...)! AT the place of a german charakter another charakter (value = -61) is appended. After this charakter the value for the german

changing the bg of a widget

2005-08-21 Thread Luka Napotnik
Hello. I'm trying to change the background of a vbox but it doesn't change. I call gtk_widget_modify_bg(window_main->box_main, GTK_STATE_NORMAL, &bgColor) where bgColor is set to white. Why does this not work? I have a GtkImage with an image in the vbox and that's all. If I resize the window, the c

Re: Re: about button and tooltip in GTK_WINDOW_POPUP

2005-08-21 Thread Gian Mario Tagliaretti
2005/8/21, Cai Qiang <[EMAIL PROTECTED]>: > Hi, > But doesn't gtk-window-set-decorated only create a > borderless window? I need the window not shown in > the toolbar. sorry I misunderstood your needs but again I don't understand if for "toolbar" you mean the taskbar, if so otherwise my English i

Re: Re: about button and tooltip in GTK_WINDOW_POPUP

2005-08-21 Thread Cai Qiang
Hi, > > Do I miss any setting procedure for POPUP type gtk_window? Or is there any method to let TOPLEVEL type gtk_window not shown in toolbar? > > maybe you want to use: > http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-set-decorated > But doesn't gtk-window-set-decorated

Re: drawing text in gtkdrawable...

2005-08-21 Thread David Necas (Yeti)
On Sat, Aug 20, 2005 at 09:20:24PM +0200, Marek Florianczyk wrote: > > works fine, but how do I draw text that I can rotate 360 degrees (eg. draw > horizontally from up to down, or draw upside down) > Is that matter of PangoLayout and I can change it when I create layout, or > can > I change it

Re: about button and tooltip in GTK_WINDOW_POPUP

2005-08-21 Thread Gian Mario Tagliaretti
2005/8/21, Cai Qiang <[EMAIL PROTECTED]>: > Do I miss any setting procedure for POPUP type gtk_window? Or is there any > method to let TOPLEVEL type gtk_window not shown in toolbar? maybe you want to use: http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-set-decorated cheers