Re: RES: minimum software requirements..

2011-11-23 Thread Igor Gorbounov
23.11.2011 15:41, Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro 
MA-SP - пишет:

It runs on tablets and phones too, so you can imagine that system
requirements are generally not a problem.
What do you mean by without gui installed?

Sorry, but could you please tell me a bit more about that? Any link to some doc 
I should already have read is fine too.
I didn't know Gtk runs on phone and tablets already, but the system 
requirements are not clear to me. Do I need to run Windows and X on the phone 
to do that? I know Gtk can run natively on Nokia Symbian, but I guess I can't 
run Gtk programs on iOS or Android nowadays, right?

Gtk+ is used in Maemo (maemo.org, maemo.nokia.com) environment on Nokia 
N810, N900 devices.


Cheers,
Igor Gorbounov
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Getting menu after glade2-gtkbuilder-convert- what then?

2008-12-15 Thread Igor Gorbounov

Hi, All,
I urgently need an explanation or example on how a menuitem
can be got in a program after creating a glade2 file, converting
it to gtkbuilder file, then loading it ia a program and then...

Mainwindow::Mainwindow(BaseObjectType* cobject, const 
Glib::RefPtrGtk::Builder refBuilder)

: Gtk::Window(cobject)
{
   refXml = refBuilder;
   // that works fine with Gtk::Entry *measured_t_entry:
   refXml-get_widget(measured_t_entry, measured_t_entry);
   // that doesn't compile with Gtk::Action *menu_exit:
   refXml-get_widget(menu_exit, menu_exit);
   // that doesn't work with Gtk::Action *menu_exit in runtime:
   refXml-get_object(menu_exit);
...
   menu_exit-signal_activate().connect(sigc::mem_fun(*this, 
Mainwindow::on_menu_exit_activate));

}

The error message is: Gtk-CRITICAL **: gtk_text_buffer_emit_insert: 
assertion `g_utf8_validate (text, len, NULL)' failed


Any help needed.
   Igor Gorbounov

___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Drawing with cairo

2008-05-19 Thread Igor Gorbounov

Diego A. Fons ?:

[...]
Still I don't understand why can't get a context and store it in a 
member variable.


  

[...]

Then look here:
this is Plot class definition:

class Plot
{
public:
   Plot(Cairo::RefPtrCairo::Context context, Gdk::Rectangle plotarea);
   ~Plot();
   std::vectorSeries* series;
...
private:
   *Cairo::RefPtrCairo::Context plot_context;*
   Gdk::Color background_color, foreground_color;

};

Plot constructor:

Plot::Plot(Cairo::RefPtrCairo::Context context, Gdk::Rectangle pltarea)
{
   plotarea = pltarea;
   marginrect = Gdk::Rectangle(int(0.03*plotarea.get_width()), 
int(0.03*plotarea.get_height()),

   int(0.94*plotarea.get_width()), int(0.94*plotarea.get_height()));
   plotrect = marginrect;
  * plot_context = context;*
   background_color = Gdk::Color(white);
...
}

Plot resizing:

void Plot::resize(Cairo::RefPtrCairo::Context context, 
Gdk::Rectangle pltarea)

{ // ???  ??? ? ???
  * plot_context = context;*
   plotarea = pltarea;
   plot_context-set_source_rgb(background_color.get_red(), 
background_color.get_green(), background_color.get_blue());

...
}

And this is plot initialization from MainWindow:
void Mainwindow::plot_init(void)
{ // ? ? ???
   plotarea_win = drawingarea-get_window();
...
   win_context-set_source_rgb(color.get_red(), color.get_green(), 
color.get_blue());

   //prepare a copy
   plotareaCopy = Gdk::Pixmap::create(plotarea_win, 
drawingarea-get_allocation().get_width(),

 drawingarea-get_allocation().get_height(), -1);
   gc = Gdk::GC::create(plotarea_win);//sorry...
  * cairo = plotareaCopy-create_cairo_context();*
   int pwidth, pheight;
   plotareaCopy-get_size(pwidth, pheight);
   Gdk::Rectangle plot_area = Gdk::Rectangle(0, 0, pwidth, pheight);
   *plot = new Plot(cairo, plot_area);*
   
   drawingarea-signal_expose_event().connect(
   sigc::mem_fun(*this, Mainwindow::on_drawingarea_expose_event));
}

This is an expose event - sorry, but for the sake of speed I use here 
Gdk::GC approach

for simple copying of area from a background copy:

bool Mainwindow::on_drawingarea_expose_event(GdkEventExpose *event)
{ 
   plotarea_win-draw_drawable(gc, plotareaCopy, event-area.x, 
event-area.y,
   event-area.x, event-area.y, event-area.width, 
event-area.height);


  ...
 return true;
}

And here is resizing of a plot:
bool Mainwindow::on_drawingarea_configure_event(GdkEventConfigure*)
{ // redefine demensions
   plotareaCopy = Gdk::Pixmap::create(plotarea_win,
   drawingarea-get_allocation().get_width(), 
drawingarea-get_allocation().get_height(), -1);

   if (plot)
   {
   *cairo = plotareaCopy-create_cairo_context();*
   int pwidth, pheight;
   plotareaCopy-get_size(pwidth, pheight);
   Gdk::Rectangle plot_area = Gdk::Rectangle(0, 0, pwidth, pheight);
   plot-resize(cairo, plot_area);
   plot-drawplots();
   }
  
 return true;

}

When I need printing I just call Plot::resize(Cairo::RefPt...) with the 
context and rectangle

taken from Gtk::PrintContext.

  Hope it helps somewhat,
 Igor Gorbounov
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Drawing with cairo

2008-05-15 Thread Igor Gorbounov
Diego A. Fons пишет:
 [...]
 My question is if there is a way of preserve the cairo context intact 
 between the the calls to on_expose_event()? Why getting the cairo 
 context in the on_realize() handler and storing it in a variable doesn't 
 work?
   
Why, it works! Those are just examples. I use a context variable
as a member of my Plot class, and this variable is assigned in
an initialization method, and reassigned when plot area is resized.
Igor Gorbounov
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Setting up GTK+ on Windows using Mingw

2008-05-14 Thread Igor Gorbounov
John Smith пишет:
 [...]
 Actually, I *am* using and IDE: I have set up MingW with Eclipse as
 the IDE on Windows. And since im obviously not an expert (yet)
[...]
So why not using gtk+ installer from 
http://sourceforge.net/projects/gladewin32
?
I also use Eclipse (and now begin using Code::Blocks) as IDE for
developing applications for Win32 using gtkmm.
Cheers,
   Igor Gorbounov

___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: question

2008-03-31 Thread Igor Gorbounov
Moises пишет:
 Hello everybody again.

 [...]
   
 As I get a widget from another that contains it? 
 for example visual basic makes it:

 Name = Me.TxtName.Text ()
   
Then the upper widget should have those embedded widgets be defined
as variables in it.
Igor Gorbounov
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: compiling GTK app in WIndows

2006-01-18 Thread Igor Gorbounov

regatta wrote:


What I have is GTK+ version 2 (so
http://gladewin32.sourceforge.net/. is not an option since it's for
version 1) and I'm using C not C++ (so also gtkmm is not an option)

 


Sorry, if I've misunderstood something but gtk+-win32 installers from

http://gladewin32.sourceforge.net/ install only gtk+ environment and 
glade for win32 (a very useful thing, IMHO). All this stuff is usable for

C only, not for C++.



plus I don't have M$ Studio (so I need a free compiler that compile C
in Windows).

 

And so do I - Dev-C++ is a nice IDE-like tool for C/C++ development. 
When you

create a new project you choose, which language (C or C++) you will use.
Dev-C++ comes with win32 gcc port (named Mingw32) version 3.4.3. May be
there is a way to use a more recent gcc version, I don't know.
What about MS Visual C++: they say that a MS VC Express 7 is a free 
tool, you
can download it (if some hundreds of downloading is not a problem for 
you) and

use for free.
   Good luck,
  Igor Gorbounov
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Gdk::Window::add_filter() or gdk_window_add_filter() examples

2005-12-22 Thread Igor Gorbounov

Murray Cumming wrote:


On Thu, 2005-12-22 at 08:04 +0300, Igor Gorbounov wrote:
 


Hi, All!
I need any hints about using Gdk::Window::add_filter(GdkFilterFunc 
function, gpointer data) or
gdk_window_add_filter(...), in particular what this filter function 
looks like and how those

gpointer data are made.
   Igor Gorbounov
   



The data is some state information (such as a pointer to a C++ class
instance) that will be passed to the callback function.

This hasn't been wrapped as a sigc::slot, probably because I couldn't
see when it would be useful. [...]

The situation is such that I use a winapi mplayer and pass to it a 
gdk_window handle,
and next, when that player stops it sends an awfull winapi message in 
some crazy
winapi way, and I've almost broke my brains in an effort to get this 
message.
This add_filter method was designed to catch those messages, but how - 
no one
has wrote an example. As far as I could find in Google, Tor Lillquist 
had added this

filter in about gtk+ 2.2.x.
   Igor Gorbounov


___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Gdk::Window::add_filter() or gdk_window_add_filter() examples

2005-12-21 Thread Igor Gorbounov

Hi, All!
I need any hints about using Gdk::Window::add_filter(GdkFilterFunc 
function, gpointer data) or
gdk_window_add_filter(...), in particular what this filter function 
looks like and how those

gpointer data are made.
   Igor Gorbounov
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Win32 API HInstance and gtk+ - how?

2005-12-12 Thread Igor Gorbounov

Tor Lillqvist wrote:


Igor Gorbounov writes:
 Tell me, please, if there is any way to get a Win API application 
 instance handle in a gtkmm application


GetModuleHandle(NULL) ? 

 


Yes, Vinzenz Feenstra has suggested this function last week and it helped.
Thanks to all, who answered my question.
   Igor Gorbounov



 



___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


mplayer in a gtk application

2005-12-08 Thread Igor Gorbounov

Hi, All!
I need to implement some kind of movie player in my gtk+ win32 app. Any 
hints, please?

   Igor Gorbounov
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Win32 API HInstance and gtk+ - how?

2005-12-07 Thread Igor Gorbounov
Tell me, please, if there is any way to get a Win API application 
instance handle

in a gtkmm application just as it is needed in this function:
HWND MCIWndCreate(HWND hwndParent, HINSTANCE hInstance, DWORD 
dwStyle, LPSTR szFile);

   Igor Gorbounov
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Icon in a tray - how?

2005-11-29 Thread Igor Gorbounov
Tell me, please, what widget (or anything else) can be used to represent 
an application

by an icon in the tray (or notification area applet?)?
   Igor Gorbounov
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Gtk windows - how move it off screen?

2005-04-27 Thread Igor Gorbounov
When using non-gtk app (VMware 4.5.2) you can move its window off screen 
in upper direction.
It is usefull sometimes. Now VMware has a gtk window and it doesn't move 
up anymore higher
than the upper limit of a GNOME desktop. Is there something that can be 
done to move those
windows higher?
   Igor Gorbounov
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Would love some feedback on my tutorial...

2005-04-21 Thread Igor Gorbounov
Murray Cumming wrote:
[...]
Code generation with Glade is silly. People should use libglade.
 

If those people write their programs using C++, then they also need 
libglademm, so
there is one more dependency. If generate code with glademm, then no 
extra lib
is needed.
   Igor Gorbounov

___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: GtkCellRendererCombo example?

2004-11-05 Thread Igor Gorbounov
Murray Cumming wrote:
Is anyone using GtkCellRendererCombo yet?
 

I see, it is implemented in GTK, and GtkCellRendererProgress 
http://developer.gnome.org/doc/API/2.0/gtk/GtkCellRendererProgress.html, 
too!  Great!
So are they going to be wrapped in gtkmm?

   Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Gtk::TreeView performance

2004-10-20 Thread Igor Gorbounov
John Gill wrote:
[]
My suspicion is that the treeview is calculating the layout of the 
renderers within the the fixed width of each column.   I'm guessing if 
there was an option to stop it doing this (since its initial layout is 
more than good enough for me) that we would see a dramatic speed 
improvement.
Yes, if it could be possible to freeze the treeview while updating data 
and only then unfreeze it, then
it would be a performance increase, I suppose.
   Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: [gtkmm] Gtk::TreeView performance

2004-10-20 Thread Igor Gorbounov
David Jensen wrote:
[...]

try keeping a Glist of structs of GDK::Colors that matches the ListStore
row:column 'color' cells. Have the row:column colors be pointers into 
the Glist.
accessing a Glist struct is cheap, accessing a row:column is very 
expensive

i'm afraid that i don't quite understand how to do this. it seems to me 
that the
cellrenderer's propeties can be assigned through another cells only...
   something's wrong with my 'shift' key... sorry
   igor gorbounov

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


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). The cells af this 
tables display
text, and the color of this text foreground and background is changed 
depending on
values in invisible cells.
So is there any way to optimize this whole structure?
   Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Printing in GTK+

2004-10-14 Thread Igor Gorbounov
Carl B. Constantine wrote:
* Roger Leigh ([EMAIL PROTECTED]) wrote:
 

Carl B. Constantine [EMAIL PROTECTED] writes:
   

I have some data I want to print out in my application. How do I do it?
To make things a little different, I *might* print to one of those POS
type printers (USB) not a regular printer.
Pointers? Which classes do I need to use?
 

GTK+ itself doesn't currently offer any printing support, so the
question doesn't really involve GTK+ directly.  You need to either
1) Open the printer device (e.g. /dev/usb/lp0) and write data to it.
2) Open a pipe to the printer spooler (e.g. lpr -P queuename)
  and then write the job data and close the connection.
   

Thanks for clearing this up.
 

Why, you could use gnomeprint and gnomeprintui. There are a lot of 
formatting abilities.
   Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Printing in GTK+

2004-10-14 Thread Igor Gorbounov
Todd Fisher wrote:
What about a cross-platform method for printing?
-todd
Perhaps, someone will port gnomeprint to other platforms? :-)
   Igor
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: GTK Modal dialog

2004-10-10 Thread Igor Gorbounov
Carlo wrote:
[...]
After some attempt, I found that it is call to 
*gtk_window_set_skip_taskbar_hint* that make the dialog lost its 
modality (BTW, after calling gtk_window_set_modal the window losses 
its taskbar button).
So you don't use a gtkdialog window now and really stays above the 
parent window?!
That's great! I've had a lot of trouble with those gtk-windows and had 
to replace all
of them with gtkdialog windows in my application, because I didn't 
manage to find,
why gtkdialog is so special.
And where is this *gtk_window_set_skip_taskbar_hint* used? I don't see 
it in your code.
   Igor Gorbounov

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Clearing TreeView rows - how?

2004-09-17 Thread Igor Gorbounov
Hi, All!
Is there any way to blank all rows in a treeview? Now I scan all cells
and blank their contents sequentially. Hope that exists some better
solution.
   Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Windows on top of fullscreened windows

2004-09-16 Thread Igor Gorbounov
Hi, All!
There is hopefully a misunderstanding (I misunderstand) in a windows 
behaviour.
When a daughter window (a normal Gtk::Window) is created and showed as 
transient
for a parent window, it stayes ok upon the parent window. This seems to 
be in accordance
with gtk+ and gtkmm documentations.
But when the parent window is fullscreened, those daughter windows
hide themselves under their parent window, whenever you try to touch 
them. Isn't it weird?
And only if the daughter window is created as a dialog window (in 
addition to transient_for)
it stays upon their parent window. What's so special in dialog windows? 
May be
there is a way for using this unknown feature with normal (gtk_windows) 
windows?
Those dialog windows have some annoying features...
   Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Smooth window resizing

2004-09-08 Thread Igor Gorbounov
Hi, All!
I wonder if there is a way to resize a window gradually (as if animated) 
when
a, for examle, set_size_request(...) is issued. Now the window is resized
abruptly as a treeview is expanded (and that bothers the users).
   Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: How to hide the window cross and force a window to be first displayed ?

2004-08-12 Thread Igor Gorbounov
dupont durand wrote:
[...]
 
2. I have several windows opened while my GUI is running. Some are 
hidden by other windows created later. How to force a given window to 
be the first one visible by the user ? ... For the moment, I have to 
select the desired window using the task bar ...
You should use set_transient_for(...) to keep a window on top level.
   Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


win32 port of gtk+ -2.4.x

2004-07-25 Thread Igor Gorbounov
Hi, All!
Now, as Todd Kulesza from http://www.dropline.net/gtk/ has dropped the 
development
of his (hers?) GTK+ for Windows packages, would anyone explain, please,  
which (and how)
packages I should use for gtk+ development under win32?
   Hopefully,
  Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: TreeView cell editing

2004-07-08 Thread Igor Gorbounov
James Pelletier wrote:
I'm actually using the standard CellRendererText, but I would like my 
application to have a bit more controll over the gtk_entry while the 
cell is being edited. I can't seem to find any methods of any object 
that will return the gtk_entry so I can connect to some of its 
signals. It appears that your example is from a custom renderer. I 
wouldn't expect to have to subclass the renderer in order to do this.
[...]
Oh, yes, I've forgotten to say that it was the custom renderer, posted 
here about a year ago.
I just thought that if you are smart enough (I'm not, or I would tell 
you the more valueable advice)
then you'll get the idea and dig somewhat deeper into gtk_renderer stuff.
   Sorry that I've failed to be more helpful.
  Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: TreeView cell editing

2004-07-07 Thread Igor Gorbounov
James Pelletier wrote:
Is there a way to programatically determine if a cell in a tree view 
is currently being edited or to get the text from the entry field used 
for editing? More importantly, is there a way to force a cell that is 
currently being edited to end editing?
[...]
Well, may it won't help (because I've done this on C++ in gtkmm), but 
I've used the
focus_out  event for gtk_entry in a cell renderer to end the editing 
when user changes
focus while editing:

bool Combo_CellRenderer::on_focus_out(GdkEventFocus* event, Gtk::Entry* 
entry,
   Glib::ustring path)
{
   if (!entry-is_focus())
   on_edited(entry, path);
   return false;
}

   Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Animation and GTK+

2003-11-17 Thread Igor Gorbounov
Hello!
I urgently need an example of animation using GTK+.
Please, help me!
Hopefully,
Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


GtkTree in testgtk

2003-11-14 Thread Igor Gorbounov
There is a testgtk demo program from gtk+-2.2.4. And it
shows a Gtktree with lines between nodes. Who knows how
it was done? I don't know where the sources are.
Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: GtkTree in testgtk

2003-11-14 Thread Igor Gorbounov
Olexiy Avramchenko wrote:
Igor Gorbounov wrote:

There is a testgtk demo program from gtk+-2.2.4. And it
shows a Gtktree with lines between nodes. Who knows how
it was done? I don't know where the sources are.
Igor Gorbounov 


As I can guess you're talking about deprecated GtkTree widget (testgtk 
tree menu item, right?).
The lines can be turned on/off via gtk_tree_set_view_lines() call.
The source is in testgtk.c, coming with tarball.
[..]
Yes, gtk_tree_set_view_line() is marked as depricated, but what came
instead of it? It looks very nice...
Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Plot graph widget

2003-11-11 Thread Igor Gorbounov
Pisanu Prasertnopakun wrote:
Hello List,

Now I try to use gtk2.2 to do an engineering application. I would like to plot a graph from my input over the time, so something like (t=0 x=0, t=1 x=2, t=2 x=4, t=3 x=8, t=4 x=5, and so on..). Can you suggest me which widget do this function? or should I find an extra library?

I have found one gtkextra..http://gtkextra.sourceforge.net/ but I don't know how good it is. Have any of you an experince with this library?

It's gtk-1 only, there is no gtk-2 port yet.
Igor Gorbunov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Fullscreen+set_transient_for+Fedora

2003-11-09 Thread Igor Gorbounov
Hi, All!
Early, on RedHat 9, windows (normal windows, no dialogs), that
were set transient for a fullscreened parent window, were placed
on top of that window.
And now, on Fedora Core 1, their behavior has changed: all my
transient windows are hiding itselves under their parent window -
is that normal. I mean, they behave themselves just like it was
disigned by developers of gtk (and gtkmm) or am I missing something?
Anyway, is there a reliable method for placing non-dialog
daughter windows above their parent window?
Hopefully,
Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


TreeView width?

2003-09-17 Thread Igor Gorbounov
Hi, All!
Is there any reliable method for calculating the size of a filled
TreeView before showing it, for proper setting the size of a window
containing this treeview?
get_width() for TreeViewColumns returns 0, get_width() for the treeview
itself returns a significant lesser value, cell_get_size(...) returns
very small widths, pango_layout gives the proper values for text size
in cells, but it knows nothing about white spaces between columns and
I have to scan all rows for every column to get the maximum size.
So how normal folks are doing this?
Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Word wrapping in a TreeView Cellrenderer

2003-09-09 Thread Igor Gorbounov
Hi, All!
Can anybody give me a hint about subject? Have no clue at all myself...
Igor Gorbounov
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Printing in GTK+ environment

2003-07-14 Thread Igor Gorbounov
Hi, All!
I need a hint about printing. I need some ways of printing for my plots 
(build
by using GtkDrawingArea) and reports (build and viewed through GtkTreeView).
No idea where to dig to...
   Hopefully,
  Igor Gorbounov

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: [gtkmm] Printing in GTK+ environment

2003-07-14 Thread Igor Gorbounov
[EMAIL PROTECTED] wrote:

From: Igor Gorbounov [mailto:[EMAIL PROTECTED] 

Hi, All!
I need a hint about printing. I need some ways of printing 
for my plots 
(build
by using GtkDrawingArea) and reports (build and viewed 
through GtkTreeView).
No idea where to dig to...
   Hopefully,
  Igor Gorbounov
   

I would investigate libgnomeprint and libgnomeprintui.

Murray Cumming
 

So it's not wraped for C++ yet...
   Igor Gorbounov
 



___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


horizontal_separator...

2003-06-04 Thread Igor Gorbounov
What do these GtkTreeView style properties (horizontal_separator, 
vertical_separator...) mean and how they can be changed (they
seem to be read-only).
	Hopefully,
		Igor Gorbounov

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list