Hi wj,
I found this tutorial really helpful when I was learning it.
http://www.pebble.org.uk/programming/libglademm_simple
Rob.
On 9/30/06, weijie [EMAIL PROTECTED] wrote:
Hi all,
Due to the lack of a good libglademm tutorial, I've decided to read the
source of apps which use libglademm
It is a convenience wrapper on POSIX systems, but it does sensible
stuff on windows, as i understand.
Regards,
Rob.
On 6/22/06, Bob Caryl [EMAIL PROTECTED] wrote:
g_mkdir() is just a convenience wrapper for the POSIX mkdir() function.
Bob
Mickael Drean wrote:
Hi there,
a simple
Seems to be working now.
Rob.
On 18/04/06, Murray Cumming [EMAIL PROTECTED] wrote:
On Tue, 2006-04-18 at 10:55 -0500, Jonathon Jongsma wrote:
Is the gtkmm website down? I don't get anything but a blank index
page and 404s for everything else.
It does seem to be down. It was working about
Hi Marcin,
- Is glib designed for this (and if yes, isn't it only for C++?)?
As I understand it, glib was designed in a very similar way to gtk,
and so, the experience of wrapping it should be the same as that of
wrapping gtk. gtk has been wrapped to lots of languages already, see
here for info:
You probably want to be using something like the Drawing Area Widget.
Link to relevant documentation:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch15.html
Hope that helps,
Rob.
On 11/03/06, Nalin Singal [EMAIL PROTECTED] wrote:
Is there a way to create a graph in GTK or GTKmm which
You can use place_cursor to move the cursor,
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TextBuffer.html#1dff95f7dc9ea889a25596a87b2f8c35
And one of the scroll_to methods to move the view.
I think you might want to try:
dialog.set_transient_for(Window parent)
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Window.html#a117
Rob.
On 28/02/06, Michael Ekstrand [EMAIL PROTECTED] wrote:
Hello all:
My program currently has a class derived from Gtk::Dialog to
I think it would help if you could show the OptionsPane constructer,
as I think this is where the problem might be occuring.
Rob.
On 27/02/06, Carlos Garces [EMAIL PROTECTED] wrote:
Hi.
I have a problem with classes in C++
I'm reading a tutorial (http://www.cplusplus.com/doc/tutorial/) but I
GKeyFile is probably what you're after. Unfortunately the wrapper for
this isn't yet in glibmm, although there is a patch for it in
bugzilla, see this bug for more info
http://bugzilla.gnome.org/show_bug.cgi?id=330535
You might be better off using the C version for now, see:
Hi All,
I'm currently writing a wrapper for Glib::KeyFile, as per this bug:
http://bugzilla.gnome.org/show_bug.cgi?id=330535
It is mostly done, but on trying to wrap get_boolean_list, i'm
required to wrap a variable of type gboolean []. I can convert this
to a Glib::ArrayHandlegboolean with
Yes, please use bool, and never use gboolean in public API. Is there
an actual problem with the conversion in this case?
I'll try and make the problem clearer by posting the code here:
Glib::ArrayHandlebool KeyFile::get_boolean_list(const Glib::ustring
group_name, const Glib::ustring key){
At a guess.. i'd imagine it's because when the second callback happens
it sets the spin button to the same value, which does not trigger a
value_changed signal to be emitted.
I remember being confused by this in some other widget. Possibly
ComboBoxText, when you click... and then rechoose the
Yes? I know this. But if I want to delete only one widget and
when I want do this?
deleting it may work, you'll almost certainly have to also remove it
from it's container aswell, it might be better not to use Gtk::manage
for that widget.
Rob.
___
In my one of my programs I have this: (AmyEdit derives from Gtk::Window)
bool AmyEdit::on_delete_event(GdkEventAny* event)
{
if (edittabs-CloseAllTabs())
return false;
return true;
}
If it returns
On 24/01/06, J. Baltasar Garcia Perez-Schofield [EMAIL PROTECTED]
Blimey.. randomly falling on my keyboard has result in an early
message send anyway.. if the on_delete_event returns false then
the program closes, if it returns true.. it carries on running.
Hope this helps.
Rob.
On 24/01/06, rob page [EMAIL PROTECTED] wrote:
In my one of my programs I
If you take the return value when you use
Gtk::Dialog::run(), it should return the Gtk::RESPONSE of the button
pressed, then you should loop on the return value until you get a
Gtk::RESPONSE_CLOSE (or whatever your close button is returning).
Rob.
On 24/01/06, J. Baltasar Garcia Perez-Schofield
A function I tend to have about:
Glib::ustring itoa(int num){
std::ostringstream ostr;
ostr num;
Glib::ustring retVal = ostr.str();
return retVal;
}
Rob
On 16/01/06, Volosatov Alexander [EMAIL PROTECTED] wrote:
How to conver int or double value to
Well... I've got a mostly done version of it in amyedit
(http://amyedit.sf.net), but you'll have to grab the version from cvs
as i've made a fair few changes recently...
Enjoy :)
On 05/01/06, Jason Alan Smith [EMAIL PROTECTED] wrote:
Hello:
From the brief searching I did, it looks like
My understanding is that you *should* leave this as it is... and the
users current theme will handle it In xfce4 you can change it in
User Interface options... that said however you can change it
with:
Gtk::Toolbar::set_toolbar_style(ToolbarStyle style)
and I think you'll be wanting to
I think you'll be wanting to use the Glib::spawn family of commands
take a look at
http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/group__Spawn.html
for more info..
Rob.
On 21/12/05, Volosatov Alexander [EMAIL PROTECTED] wrote:
first program - GUI
second program (dos) - kernel
I believe you want to be using Gtk::manage
advbox-add(*Gtk::manage(new class Gtk::Label(_(Misc Settings;
(code ripped from one of my programs)
which should be much easier to use dynamically.
Rob.
On 14/12/05, Karen Pease [EMAIL PROTECTED] wrote:
Hi - I'm new to gtkmm, and still just
regarding this: does GTK have some sort of
garbage-collection management, or are all of the manage()ed widgets
finally freed at runtime?
On 12/14/05, rob page [EMAIL PROTECTED] wrote:
I believe you want to be using Gtk::manage
advbox-add(*Gtk::manage(new class Gtk::Label(_(Misc Settings
When I've needed to do this, I've used:
sourceview-modify_font(Pango::FontDescription(monospace));
Rob.
On 09/12/05, Daniel Kraft [EMAIL PROTECTED] wrote:
Hi!
I'm trying to set the font of a TextView GTKmm-component; therefore I need a
Pango::FontDescription, for which I need the font
Could it be this bug?
http://gcc.gnu.org/ml/gcc-bugs/2004-06/msg03111.html
Rob.
On 08/12/05, Bob Caryl [EMAIL PROTECTED] wrote:
Hey guys:
I created my own little version of Gtk::MessageDialog that uses
stdargs.h to create its message string. It is part of a little dynamic
library I link
Howdy.
Well... if I were doing it i'd be going about it exactly the same
way... so my first guess is it may be a bug you could also try
using set_label_widget... which, if you need a label as well, you
could put them both in an hbox although this certainly isn't as
elegant...
Rob.
On
Hi Andreas,
I think you might want to try using the set_transient_for function:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Window.html#a113
No idea if it'll work on win32 though i'm afraid...
Hope that's what you're after,
Rob.
2005/10/26, Andreas Volz [EMAIL
instead of :
file_new.signal_activate().connect(*this,
sigc::mem_fun(Edm_Main_Menu::OnFileNew));
try:
file_new.signal_activate().connect(
sigc::mem_fun(*this, Edm_Main_Menu::OnFileNew));
Hope that helps.
Rob.
On 6/28/05, Jason Alan Smith [EMAIL PROTECTED] wrote:
Hello, I have an
I think you'll be wanting one of the spawn commands pretty sure
it's spawn_async_with_pipes :
http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/group__Spawn.html#ga0
Rob.
On 6/12/05, Arthur [EMAIL PROTECTED] wrote:
Hi, guys.
How are you?
I writing a program which runs the
Oops, an addition to my Makefile.am that might be important, i'm
afraid i don't know what it does, :S. I don't think the tutorial I
was using explained it...
amyedit_LDAA = $(AMYEDIT_LIBS)
On 5/2/05, rob page [EMAIL PROTECTED] wrote:
Hi Dieter,
Seeing as its a linking error, i'd guess
What version of gtkmm are you using?
On 4/23/05, Emre Turkay [EMAIL PROTECTED] wrote:
Hi Folks,
In the gtkmm documentation for Gtk::Image (and therefore in some .h
files distributed with gtkmm) the method Gtk::Image::new_from_stock()
is referred, however I couldn't find where it is
I think this should be directed at the gtk mailing list as gtkmm is
just a wrapper for that and isn't supposed to extend gtk
Rob.
On 4/20/05, Matthias Kaeppler [EMAIL PROTECTED] wrote:
You should really be able to figure out how many matches were found.
This whole EntryCompletion class is a
31 matches
Mail list logo