Custom Toolbar

2004-10-19 Thread Andrew E. Makeev
Hi, I found that gtk_action_create_tool_item() doesn't set action properties ( tooltip, accelerator ) for that ToolItem automatically. Is there a mechanism that allows to create full feature GtkToolItem from GtkAction, except for UImanager? thanks in advance, -andrew GTK+-2.4.13

Re: 2.4.13 fails to build on solaris 2.6

2004-10-19 Thread Riccardo Mottola
Matthias Clasen wrote: there are two possible reasons for this: a) the linker doesn't pick up the GNU gettext in /usr/lib, but the system gettext library well, solaris has no getext I presume ? in any case I installed the user package in /usr/local/lib it is found at configure time and

The correct way to implement a large scrolled canvas

2004-10-19 Thread David J. Singer
Hope I can explain this clearly enough! :) Assume I want to create (say) a vector drawing program allowing the user to draw shapes on a drawing area that resides within a scrolled window. I understand the standard way of doing this (i.e. create a drawing area of an appropriate size, then

Re: The correct way to implement a large scrolled canvas

2004-10-19 Thread Paul Davis
I understand the standard way of doing this (i.e. create a drawing area of an appropriate size, then insert it in to a scrolled window) but it strikes me that this is an inefficient way of doing things for a large drawing area, as the complete drawing area needs to be maintained in memory, even

Re: Printing in GTK+

2004-10-19 Thread Carl B. Constantine
* Roger Leigh ([EMAIL PROTECTED]) wrote: Some of the recent (paid) work I've done with GTK+ has involved output to receipt printers for point of sale applications, where this sort of thing would have been quite useful. As it was, I just used normal pipes. And all the reporting used groff as

Gtk::TreeView performance

2004-10-19 Thread Igor Gorbounov
Hi, All! My application uses a TreeView (using ListStore model) table to present measured data once per second. This table has about 20 rows and about 40 columns. The problem is in consuming too much CPU resources (about 14% when the table is switched on, and near 3% when it is switched off).