meta data

2006-04-03 Thread ashley maher
Following the Multiple Views example from the gtk-demos I'm able to save the text buffer to-from a file. Also, using the example, I can create a gtktexttagtable, and use this to alter the appearance of the textview. My question is: Where is the metadata held to describe which tags are to be used

RE: 3000 toggle buttons in a table?

2006-04-03 Thread Sailaxmi korada
Perhaps, my application requires 16 toggle buttons to be placed in each row, that represent a hex value. So I need not write 3000 callbacks for them, instead with one call back I can manage to calculate the hex value, based on the position of toggle button. Tree view doesn't fit my requirement. Wi

Re: popup menu

2006-04-03 Thread Guy Rouillier
prabhakar kushwaha wrote: hi is it there any widget like popup menu Gtk which comes when we press third button of mouse.. if not please tell me the widgets that we should use in order to find pop up menu like facility by clicking third button of mouse. thanks with regards.. gtk_menu_new(); g

popup menu

2006-04-03 Thread prabhakar kushwaha
hi is it there any widget like popup menu Gtk which comes when we press third button of mouse.. if not please tell me the widgets that we should use in order to find pop up menu like facility by clicking third button of mouse. thanks with regards.. -- Prabhakar IV Year B.tech (Computer Science)

Update text label

2006-04-03 Thread 3saul
Hi, I'm very very new to GTK programming. I've created a button which get's it's label from a variable. The text in the variable will change and I need to find out how to 'refresh' the label on the button. Thanks -- View this message in context: http://www.nabble.com/Update-text-label-t1390768.

put a button on a menuitem, when click mouse button on the menuitem, it seems that button does not receive it

2006-04-03 Thread cheng bo
code snipper: GtkMenu * menu = gtk_menu_new( ) ; GtkMenuItem * item = gtk_menu_item_new( ); GtkWideget * b = gtk_button_new_with_label("asdada"); gtk_containter_add((GtkContainer*)item, b ) ; gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); g_signal_connect(G_OBJECT(b), "entry", G_CALLBACK(cb

text tag table

2006-04-03 Thread ashley maher
G'day, In the references to the text widget of the GTK API it says to refer to the gtk-demo for examples. These examples are very good. Using the Multiple Views example I can save a gtk text buffer to, and retrieve, from a text file. I can change the look and feel using tags. All modified from t

Re: 3000 toggle buttons in a table?

2006-04-03 Thread David Necas (Yeti)
On Mon, Apr 03, 2006 at 11:23:51PM +0200, Gus Koppel wrote: > > On the other hand, filling the visible area of a treeview with 3000 > toggles would still result in suboptimal display performance. Suboptimal maybe, OTOH if you try the example I attached to my previous mail, you can see we are now

RE: Cut Copy paste

2006-04-03 Thread Niaz Jalal
hi. could i get the link for both of these tutorials mentioned below? thanks, -- niaz -Original Message- From: [EMAIL PROTECTED] on behalf of prabhakar kushwaha Sent: Mon 4/3/2006 1:28 PM To: mailing list Subject: Cut Copy paste hi thanks for your Drag and Drop tutorial.. it helps me a

Re: 3000 toggle buttons in a table?

2006-04-03 Thread Gus Koppel
Tristan Van Berkom wrote: > Gus Koppel wrote: > > "Sailaxmi korada " wrote: > > > >> My application has to display around 3000 toggle buttons, in 178 rows of a > >>table. It is taking almost 12 seconds to do so. > >> > >> Can you help me out in reducing this time. > >> Here are the two steps t

Cut Copy paste

2006-04-03 Thread prabhakar kushwaha
hi thanks for your Drag and Drop tutorial.. it helps me a lot.. can you send me link for Cut Copy and Paste Tutorial.. thanks -- Prabhakar IV Year B.tech (Computer Science) I. E. T. Lucknow ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: 3000 toggle buttons in a table?

2006-04-03 Thread David Necas (Yeti)
On Mon, Apr 03, 2006 at 01:40:25PM -0400, Tristan Van Berkom wrote: > > Why not use GtkCellRendererToggle w/ GtkTreeView & GtkListStore ? > > Or use a GtkListStore to select your data item and some togglebuttons > and whatever other control widgets below your treeview (i.e. the single > toggle bu

Re: 3000 toggle buttons in a table?

2006-04-03 Thread Tristan Van Berkom
Gus Koppel wrote: "Sailaxmi korada " wrote: My application has to display around 3000 toggle buttons, in 178 rows of a table. It is taking almost 12 seconds to do so. Can you help me out in reducing this time. Here are the two steps that are consuming maximum time gtk_button_set_label (G

3000 toggle buttons in a table? (was: Button Vs Toogle Button)

2006-04-03 Thread Gus Koppel
"Sailaxmi korada " wrote: > My application has to display around 3000 toggle buttons, in 178 rows of a > table. It is taking almost 12 seconds to do so. > > Can you help me out in reducing this time. > Here are the two steps that are consuming maximum time > > gtk_button_set_label (GTK_BU

Gnome Terminal Alt+# Tab Switching

2006-04-03 Thread Tristan Sloughter
I wrote this to the gnome desktop devel mailing list and got no response. So, I thought I'd try here: I need to find out how gnome-terminal gets around passing keys to Bash. I write a terminal Tilda that is also in gtk+ and uses vte. I want to be able to ahve Alt+1, Alt+2, ... switch between t

Re: gdk_threads_leave in gtk callback ?

2006-04-03 Thread Tristan Van Berkom
Gus Koppel wrote: [...] BTW, can I use g_idle_add in non-main thread without locking ? I am not sure. The documentation is not clear about this and I havn't had the time to examine the sources of that yet. To be safe, you should wrap a simple GStaticMutex lock around the call. g_idle_add() i

Button Vs Toogle Button

2006-04-03 Thread Sailaxmi korada
Hi, My application has to display around 3000 toggle buttons, in 178 rows of a table. It is taking almost 12 seconds to do so. Can you help me out in reducing this time. Here are the two steps that are consuming maximum time gtk_button_set_label (GTK_BUTTON(drpentry_binbutton), "1