Murray Cumming wrote:
I remember some talk a while ago about Cairo and gtkmm. Does anybody
know the status of this? Will the cairo API be exposed in gtkmm
anytime soon? Is there a timeframe for this sort of thing.
There isn't much to expose. I think there are 2 or 3 functions, such as
one
Well, it is heap vs stack - I am not sure which is really better for
normal gui applications. But I have always created my dialogs as
pointers - it just seems more traditional c++.
MyPopupDialog *dlg = new MyPopupDialog(...) {
//set dialog to modal (but it can sometimes get hidden by other
//
Armin Burgmeier wrote:
John Taber wrote:
Well, it is heap vs stack - I am not sure which is really better for
normal gui applications. But I have always created my dialogs as
pointers - it just seems more traditional c++.
Isn't that dangerous if exceptions are thrown? Why not let
Yeah, I call the whole gtkmm situation Anti-RAD which is okay if you
do not have any time pressure or much GUI but unproductive/uncompetitive
if you are in a commercial environment with a lot of GUI. Check out
Anjuta 2 with the glade plug-in - it is headed in the right direction,
but seems a
be
the better alternative). Now this would make a good wiki article!
John
Bob Caryl wrote:
John Taber wrote:
When I try to compile the gtkmozembedmm package, I get an error of not
finding gtkmozembed - is it looking for the gtk program version? Has
anyone got this working in gtkmm and can help me
When I try to compile the gtkmozembedmm package, I get an error of not finding
gtkmozembed - is it looking for the gtk program version? Has anyone got this
working in gtkmm and can help me with what dependencies were required and any
special steps? thks.
John
On Monday 06 June 2005 09:09 am,
, 04:45 -0600 schrieb John Taber:
My experiences trying out gcc 4.0 vs 3.3.5 with gtkmm 2.6.1
1) some dialog classes compile as 1/2 the size
2) most classes have the same nasty looking warning on shared libraries
3) linking has the warning that gtkmm wants to use libstdc++ so.5
instead of libstdc
I've tried the following but it's not right. Can someone help out - thks.
Gtk::GtkWidget* toplevel = gtk_widget_get_toplevel(this);
if (GTK_WIDGET_TOPLEVEL (toplevel)) {
toplevel-editDialog(data);
}
___
gtkmm-list mailing list
gtkmm-list@gnome.org
() function if you want to go the
other way.
-Nalin
--- John Taber [EMAIL PROTECTED] wrote:
I've tried the following but it's not right. Can
someone help out - thks.
Gtk::GtkWidget* toplevel =
gtk_widget_get_toplevel(this);
if (GTK_WIDGET_TOPLEVEL (toplevel)) {
toplevel-editDialog(data
this. As someone else pointed out you are
mixing Gtk+ code and Gtkmm code (or C code and C++
code).
-Nalin
--- John Taber [EMAIL PROTECTED] wrote:
Still having some trouble (btw GtkWidget needs to be
Gtk::Widget) - it
doesn't like this, etc. Wondering if it would be
easier to just pass
in a void pointer
Has anyone else had problems with TreeModel?
1) If I try to append rows after using TreeModel.clear(), it segfaults.
2) If I try to define a column as reorderable - it does not compile but
if I put it in a loop thru all the columns it compiles okay.
3) I'm getting weird behavior when using a
I've tried the following but it's not right. Can someone help out - thks.
Gtk::GtkWidget* toplevel = gtk_widget_get_toplevel(this);
if (GTK_WIDGET_TOPLEVEL (toplevel)) {
toplevel-editDialog(data);
}
___
gtkmm-list mailing list
gtkmm-list@gnome.org
because reordering is just a view thing.
So as you are doing the for loop, get the column you
want to set as reorderable from the treeview and call
set_reorderable on it.
Hope this helps :)
-Nalin
--- John Taber [EMAIL PROTECTED] wrote:
Has anyone else had problems with TreeModel?
1) If I try
Has anyone tried to use gcc 4.0 with gtkmm ? Experiences?
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
Paul,
thks for the code outline. I have also been struggling with using a gtk
widget in my gtkmm code. Unless there is another demo somewhere that I have
not seen, maybe this code could be cleaned up a bit with comments, etc to
have a nice clear demo of a gtk widget being wrapped and
When a gtkmm program (and any gtk program for that matter) runs under Gnome,
the fonts are nice, but when it is run under KDE, the fonts are terrible -
what font and size does gtkmm default to? I would assume this is best
addressed from the user settings (in KDE the Control Center allows user
How do I catch a mouse double click? I couldn't find any class documentation
on GdkEventButton and the associated event-type enums and
event-type==GDK_MOUSE_DOUBLE_PRESS did not work. thks.
___
gtkmm-list mailing list
gtkmm-list@gnome.org
I've created a simple menu popup over an eventbox just like the tutorial but
when I right-click the menu appears as a tiny 1 mm box even though it has a
menuitem with a label of Resize. Could it be related to the eventbox
containing an image ? Anyone experienced this or have ideas how to fix
Not that I know - it is a real missing component. However, about a month ago
someone posted some comments about how he wrapped the C version of gtkhtml -
you might search for it Displaying simple HTML... - I just have not had the
time to work with the code pieces - maybe it can be turned into
Thks for keeping us abreast. Gtkmm is all about C++ and to me, the C++
committee is totally missing the big picture, which limits gtkmm. Whether
it's the language, or the toolkit, or the ide, I don't see any progress here
that's going to speed up our production 1.1x much less 3x with less
I've looked into this extensively and one of these days will finish up my blog
writeup on it. For now:
There are plusses and minuses for each - make a list of the most important
things you need and see how they compare.
Fltk - pretty simple to use. Nice small, static compiles. Dialogs are
I'm ready to try Fedora 4 test 2 - you say they are built but not signed and
pushed - I do not know what that means but if they are available on your
website somewhere, it would be much easier than trying to build them myself.
thks.
On Sunday 08 May 2005 10:53 am, Denis Leroy wrote:
John
What is the best way to suspend signal events in a combobox while clearing and
reloading the combobox? thks.
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
There is a major bug with the clear() method in ComboBoxText - after it is
called, no text appears and blank lines for each entry appear in the drop
down. Meanwhile, is there a workaround to empty the combobox and refill it ?
I didn't see a remove item method. Attached is a sample program
the combobox?
John
On Tuesday 03 May 2005 10:23, Murray Cumming wrote:
On Tue, 2005-05-03 at 10:07 -0600, John Taber wrote:
There is a major bug with the clear() method in ComboBoxText - after it
is called, no text appears and blank lines for each entry appear in the
drop down.
What
Is there a gtk::window method such as on-show that allows an event to occur
when the window first appears? thks.
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
We appreciate the new releases. But based on several other posts here, I
think a web page that shows a more detailed listing of all the g* lib
requirements for each gtkmm release would be most helpful - with a bunch of
gtk and gtkmm releases, and different availability on different distros, it
gtkmm uses the gdk color r_g_b numbering scheme that goes from 0-65535
instead of the more normal 0-255. Can anyone explain what the 65535 is based
on. I'm guess we have to divide all our color numbers and use
set_rgb_p(...) - I'm wondering why there isn't a set_rgb method for using the
I finally figured this out - the former menu append methods have been
deprecated in the gtk api, replaced by using the attach and the submenu
methods. I'm willing to do a brief how-to writeup on this but where or what
format should this be posted? This would be a good candidate for a wiki
I'm having a problem with the newer way to use a custom menu - can someone
help out - thanks.
fileMenu = new Gtk::Menu();
openMenuItem = new Gtk::MenuItem(Open);
fileMenu-attach(*openMenuItem,0,0,0,0);
fileMenuItem = new Gtk::MenuItem(File, fileMenu);
menubar = new Gtk::MenuBar();
, to the top or bottom ? ). Btw - what is the
best way to check versions on my installed gtk, gtkmm, glib (one
machine is Fedora, one is ubuntu debian). thks.
On Friday 22 April 2005 09:36, Murray Cumming wrote:
On Fri, 2005-04-22 at 09:38 -0600, John Taber wrote:
Thanks
showed
a far simpler way - was this a change in gtk? or in gtkmm? and is the old api
eliminated just not deprecated? thanks
John
On Friday 22 April 2005 06:24, Murray Cumming wrote:
On Fri, 2005-04-22 at 05:41 -0600, John Taber wrote:
I'm having a problem with the newer way to use a custom menu
On Thursday 21 April 2005 12:11, Murray Cumming wrote:
You should use gmmproc, like the existing *mm projects. But I think
gtkmozembedmm is a more sensible way to embed HTML. People are trying to
move from gtkhtml to gecko.
Except as I read it, mozembed is gpl not lgpl, also it's much bigger
On Friday 15 April 2005 09:46, [EMAIL PROTECTED] wrote:
OK, so I got it working now. It's pretty much a hack job, but it'll get me
by for now.
Erik,
thks for the post - using gtkhtml will be really useful for some of us. I'm
trying to get this working in a small demo program but struggling:
On Wednesday 23 March 2005 23:20, Timothy M. Shead wrote:
Just as there is the gobj() method for accessing the underlying GTK C
object for a gtkmm class instance, there are wrap() methods that allow
you to wrap a gtkmm class instance around an existing C object.
thks, I did see that yesterday
On Thursday 24 March 2005 14:09, Murray Cumming wrote:
thks, I did see that yesterday as I was searching - but I'm struggling
with how this goes into code and why I'm looking for an example. Do I do
something like:
gtkhtml *cview;
Gtk::Frame *mmview = new Gtk::Frame();
This is a feature I really miss from other toolkits but gtkhtml looks like it
will do the job. Are there any examples how to instantiate and use a C gtk
widget in gtkmm code ?
thks
I have no experience with this myself, but you can get to the
underlying C GTK+ widgets via the gobj() member
On Tuesday 22 March 2005 03:41, Murray Cumming wrote:
Yes, I think it's that difficult. But the row number should not be
useful anyway, because the TreeModel is iterator based. It's the same as
wanting to get the numerical index of a std::list.
It is actually very useful if the tree is being
On Tuesday 22 March 2005 03:43, Murray Cumming wrote:
Gtk::Widget::set_default_width() might do it, on the TreeView or the
thks - I don't see that function listed under Widget in the api documentation
- should I be looking somewhere else or is it just missing?
John
Not my day with TreeView:) The TreeView signals do not appear to be sent -
the text output does not appear when I click on any of the tree rows. All my
button signals work fine. I tried to follow the tree example - any ideas?
virtual void menuTreeOnClicked(const Gtk::TreeModel::Path path,
if I want to use svg icons in the menu toolbar instead of the stock icons,
do I have to create a new Stock icon from the svg file or can I simply set
the button directly (I did not see a set_icon type of method in Gtk::Action)
John
___
gtkmm-list
Are there any examples of using librsvg in gtkmm to display a svg drawing or
map ?
John
--
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
Are there any examples of using librsvg in gtkmm to display a svg drawing or
map ?
John
--
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
43 matches
Mail list logo