Set or remember window position in gtkmm4 ?

2021-01-05 Thread Alexander Borro via gtkmm-list
Hello from what I gather this functionality has been removed from gtk4, and thus gtkmm4. Is it really the case? I might add. Having a window appear at 0,0 is very annoying. gtk4-demo does it too, or any of the example code, Ii would in my opinion unacceptable to roll out applications with such

Re: First stable version of gtkmm-4.0 has been released

2020-12-29 Thread Alexander Borro via gtkmm-list
Thank you for all the great work . I managed to build successfully from tarballs on Fedora 33. I observed one issue however. gtkmm4 compilation failed because valkan/vulkan.h was missing. I then installed vulkan-loader-devel and all completed. I guess meson should check if this dependency is

Re: Unable to set background color for button

2020-03-11 Thread Alexander Borro via gtkmm-list
Hello, I would add however that the colour change may not work well with different themes when you provide a custom css. (The pain with all those different themes ... in case that matters ) Without knowing the context, will the suggested action approach not suffice since that is already

Re: Gtk::CellRendererPixbuf: unable to set property 'surface'

2017-10-04 Thread Alexander Shaduri
Oh well, thanks for your reply. Filed https://bugzilla.gnome.org/show_bug.cgi?id=788513 Thanks, Alexander On Wed, 2017-10-04 at 14:49 +0200, Kjell Ahlstedt wrote: > Den 2017-10-04 kl. 00:13, skrev Alexander Shaduri: > > Hi, > > > > I'm trying to set a &quo

Gtk::CellRendererPixbuf: unable to set property 'surface'

2017-10-03 Thread Alexander Shaduri
get_scale_factor(), get_window()->gobj()); g_object_set(G_OBJECT(cell_renderer_pixbuf.gobj()), "surface", surface, NULL); This all comes from trying to port the code from this bug report: https://bugzilla.gnome.org/show_bug.cgi?id=765167#c5 Thanks, Alexander

Re: Reading a{q(qsb)} into Glib::Variant

2017-01-26 Thread Roessler, Alexander
Thanks for the tip Kjell. I managed to create a Glib Variant Tuple with Glibmm by implementing a new template for std::tuple. If I find time I will create a bug report and patch on bugzilla. Alexander Rössler Professional Software Engineer Zühlke Engineering (Austria) GmbH Rivergate

Reading a{q(qsb)} into Glib::Variant

2017-01-17 Thread Roessler, Alexander
s a type of 'a{q(qsb)}' (launcher:10778): GLib-CRITICAL **: g_variant_get: assertion 'valid_format_string (format_string, TRUE, value)' failed (launcher:10778): GLib-CRITICAL **: g_variant_iter_next_value: assertion 'is_valid_iter (iter)' failed Does anyone have an idea how to de

Implementing own 2D-grid-like TreeModel with gtkmm3

2012-10-17 Thread Alexander Tumin
Hi, i am trying to implement own TreeView model, by deriving from TreeModel class. Currently it looks like this: --- 8 --- template class T class GridModel : public Glib::Object , public Gtk::TreeModel { public:

Re: win32

2012-03-28 Thread Alexander Shaduri
on Windows. Official builds of GTK+ 3.4.0 for Windows are expected in the near future https://mail.gnome.org/archives/gnome-announce-list/2012-March/msg00074.html Cheers, Alexander ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman

RE: How to setup GTKmm in Visual Studio 2010?

2011-10-15 Thread alexander timoshenko
How to setup GTKmm in Visual Studio 2010?‏Create a empty console app. - Project Properties page of your MSVS -IDE right click Adding an Existing Property Sheet - choose the one in your gtkmm path realese/debug _be sure you pick the right one the -d-2_4 is for debug, -#include gtkmm.h

Where's Glib::MatchInfo?

2010-12-09 Thread Alexander Shaduri
Hello, I was wondering where's an equivalent of GMatchInfo in glibmm. The docs mention Glib::MatchInfo, but there's no such class. Thanks, Alexander ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: Where's Glib::MatchInfo?

2010-12-09 Thread Alexander Shaduri
get done at some point. Unfortunately, the glibmm API for Regex is almost unusable without MatchInfo, and C API (especially the string handling) is a pain for a C++ developer. Filed as: https://bugzilla.gnome.org/show_bug.cgi?id=636911 Thanks, Alexander

Re: hilghlighting

2010-05-12 Thread Alexander Shaduri
as UCS-4), a fixed-width 4-byte encoding, but I'm not sure if anyone uses it. Personally, I like UTF-8 most, since every ASCII file can be read as UTF-8, and every UTF-8 string can be stored in plain std::string (or 0-terminated char*). Cheers, Alexander

Re: Call for vetoes: Setting the global C++ locale in Gtk::Main

2010-04-06 Thread Alexander Shaduri
it throws a std::runtime_error Paul, Alexander, can you confirm this? Just checked it on FreeBSD 6.something, it is indeed an instance of std::runtime_error. Your patch should work fine. I'm a bit worried about the #ifdef GLIBMM_EXCEPTIONS_ENABLED part though. Basically, it means

Re: gtkmm and C++0x

2010-03-31 Thread Alexander Shaduri
++ translation unit. What I said is still true: gcc doesn't follow the c++98 standard closely. At least in gcc 4.4 shipped in debian sid. There is a 9 year old bug about this: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773 Alexander ___ gtkmm-list

Re: gtkmm and C++0x

2010-03-31 Thread Alexander Shaduri
mention there that people with C++0x compilers can use auto instead of the actual type. Thanks, Alexander ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: gtkmm and C++0x

2010-03-31 Thread Alexander Shaduri
. Thanks, Alexander ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: Call for vetoes: Setting the global C++ locale in Gtk::Main

2010-03-30 Thread Alexander Shaduri
, it just abort()ed with: locale::facet::_S_create_c_locale name not valid. Something to do with libstdc++/libc incompatibility. Googling around hints that this issue may affect Darwin (OS X) too. Thanks, Alexander ___ gtkmm-list mailing list gtkmm-list

Re: gtkmm24 = 2.6.0

2010-01-14 Thread Alexander Shaduri
refers to gtkmm API/ABI version, while the actual gtkmm version should be equal or higher than 2.6.0. Usually, it's better to ask the packager (me, in this case), rather than the developers of one of its dependencies (the gtkmm people). Thanks, Alexander

Re: Tooltips don't appear on menuitems made with UImanager.

2009-07-26 Thread Alexander Shaduri
(tooltip_text); } } } } Alexander ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: Can't process Gtk::Builder::get_widget errors

2009-07-22 Thread Alexander Shaduri
, but it got renamed to a documentation bug. I filed a separate bug for the crash yesterday: http://bugzilla.gnome.org/show_bug.cgi?id=589267 I guess you should add your findings there... Thanks, Alexander ___ gtkmm-list mailing list gtkmm-list@gnome.org http

Re: Can't process Gtk::Builder::get_widget errors

2009-07-21 Thread Alexander Shaduri
/show_bug.cgi?id=548022 It seems to have been renamed to documentation issue, which is incorrect. Thanks, Alexander ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Offline documentation is too hard to find

2009-07-21 Thread Alexander Shaduri
, Alexander ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: Offline documentation is too hard to find

2009-07-21 Thread Alexander Shaduri
On Tue, 21 Jul 2009 19:37:27 +0400 Alexander Shaduri ashad...@gmail.com wrote: Since the removal of some documentation from gtkmm tarball, it's impossible to download it through gtkmm.org. In particular, offline versions of examples, docs/FAQ and docs/tutorial are no longer available

Re: Force english locale on Win32

2009-06-07 Thread Alexander Shaduri
parameter to Gtk::Main(), see http://gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Main.html AFAIK, the LANG variables don't have any effect in win32. Alexander ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman

Re: what's the best IDE for gtkmm project development?

2009-05-25 Thread Alexander Shaduri
), but maybe that's just the default KDE theme which spoils the picture. Alexander ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: Valgrind errors with UIManager

2008-12-10 Thread Alexander Shaduri
report? Thanks, Alexander ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: Valgrind errors with UIManager

2008-12-10 Thread Alexander Shaduri
On Wed, 10 Dec 2008 09:57:28 -0600 Jonathon Jongsma [EMAIL PROTECTED] wrote: I wonder if it's a bug in gtkmm/gtk, or just undocumented behaviour. Should I file a bug report? It certainly wouldn't hurt. Filed at http://bugzilla.gnome.org/show_bug.cgi?id=564005 Thanks! Alexander

Valgrind errors with UIManager

2008-12-06 Thread Alexander Shaduri
Hello, I have a problem with valgrind throwing errors on my program on exit when using Gtk::UIManager. This may not seem like a big problem, but I also get Send report to MS dialogs in Vista and segfaults on exit on Solaris 10 with suncc. Both of them seem to be caused by the same problem. I

Re: Cannot build static libraries under mingw

2008-11-10 Thread Alexander Shaduri
On Mon, 10 Nov 2008 17:52:22 +0100 Armin Burgmeier [EMAIL PROTECTED] wrote: On Sun, 2008-11-09 at 21:16 +0400, Alexander Shaduri wrote: Hello, I'm having trouble building static glibmm with mingw cross-compiler (linux build, windows target). No problems with shared DLLs so far

Problems with a HScale and set_sensitive()

2008-01-26 Thread Alexander von Dambrowski
Hi list, I have a problem with my GUI :-( In my program i have three sliders: Gtk::HScale m_scalebutton1, m_scalebutton2, m_scalebutton3; When the user changes one of the sliders the following function is executed: void myGUI::on_scale_change() { m_scalebutton1.set_sensitive(false);

AW: get_resolution

2007-08-08 Thread Alexander Gehlert
hi, what gtkmm version do you use...? this function exists since gtkmm 2.10... not sure, but are you looking for Gdk::Screen::get_width() and get_height(), aren't you ? regards, Alex -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] im Auftrag von sundaresh venugopal Gesendet: Mi

Re: full screen graphics display

2006-12-08 Thread Alexander Gehlert
will need to display an image and then get information on the mouse coordinates when the user presses the left button (or in reality touches the screen). I would appreciate someone pointing me towards the documentation that deals with this. Thanks! -- Alexander Gehlert - Intern reply

Re: delete_event

2006-11-25 Thread Alexander Brinkman
: http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Window.html Under detailed description it notes: ...Override on_delete_event() to stop this. If you want to connect it to a signal use: Glib::SignalProxy1bool,GdkEventAny* Gtk::Widget::signal_delete_event() Brgds, Alexander

Re: glade-3 integration for gtkmm-widgets (was: Reverse-wrapping gtkmm widgets to gtk+ (for glade3))

2006-11-23 Thread Alexander Brinkman
, int reason) function, could we first save the properties of the Gtk+ widget, before creating a wrapper around it? After creation of the wrap we could re-apply the properties... Brgds, Alexander Brinkman. ___ gtkmm-list mailing list gtkmm-list@gnome.org

Re: glade-3 integration for gtkmm-widgets (was: Reverse-wrapping gtkmm widgets to gtk+ (for glade3))

2006-11-23 Thread Alexander Brinkman
, it already set the properties to the Gbject. Hmmm. I just posted my other message at the same time :) Brgds, Alexander Brinkman. ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: glade-3 integration for gtkmm-widgets

2006-11-23 Thread Alexander Brinkman
be ok for short term. But the issue remains that we need specific support in Gtk+ applications for Gtkmm widgets. The real solution is of course to fix the Gtkmm wrapping (though that might be easier said than done ;)). Brgds, Alexander Brinkman

Re: Reverse-wrapping gtkmm widgets to gtk+ (for glade3)

2006-11-19 Thread Alexander Brinkman
. Brgds, Alexander Brinkman. ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: Reverse-wrapping gtkmm widgets to gtk+ (for glade3)

2006-11-18 Thread Alexander Brinkman
-example.glade: glade file which should create a MyWidget. If you comment out the init_widgets() function in main() you'll notice that libglade starts complaining about not knowing about the gtkmm__CustomObject_mywidget type. Brgds, Alexander Brinkman. mywidget.tar.gz Description: application/compressed

Re: Reverse-wrapping gtkmm widgets to gtk+ (for glade3)

2006-11-17 Thread Alexander Brinkman
. The new custom widget handling in glade3 looks as if it can provide all of this, and more (finally we have the possibility to have custom widgets functional inside glade). But at the moment only for C-Gtk widgets, not Gtkmm without a _lot_ of glue code... Brgds, Alexander Brinkman

Re: Reverse-wrapping gtkmm widgets to gtk+ (for glade3)

2006-11-17 Thread Alexander Brinkman
reasons my get_type() is returning the Gtk::Label GType? Brgds, Alexander Brinkman. ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: problems with motion notify event

2006-10-14 Thread Alexander Gehlert
Alex -- Alexander Gehlert - Intern reply to : [EMAIL PROTECTED] Raritan Zwickau Software Development Scheringerstrasse 1 08056 Zwickau Germany ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

RE: scrolled window with drawingarea

2006-10-05 Thread Alexander Gehlert
Title: RE: scrolled window with drawingarea call queue_draw (see the widget doc) from your signal handler and the expose handler gets called soonly... Alex -Original Message- From: [EMAIL PROTECTED] on behalf of oedipus Sent: Tue 03.10.2006 10:44 To: gtkmm-list@gnome.org Subject:

Re: Popup menu position

2006-10-05 Thread Alexander Gehlert
(sigc::mem_fun(m_Button, Button::on_popup_menu_position),1,gtk_get_current_event_time()); //callback slot void Button::on_popup_menu_position(int x, int y, bool push_in){ //figure out there you want to place the popup } Regard's -- Alexander Gehlert - Intern reply to : [EMAIL PROTECTED

missing tutorial

2006-10-02 Thread Alexander Arnoldt
. Acutall better than many examples I found in the internet. Could you please activate the link again or give me a destination, where I could download it. Thank you in advance Best Regards Alexander Arnoldt ___ gtkmm-list mailing list gtkmm-list@gnome.org

Re: Pixbuff::get_pixels() image format.

2006-09-05 Thread Alexander Gehlert
-- Alexander Gehlert - Intern reply to : [EMAIL PROTECTED] Raritan Zwickau Software Development Scheringerstrasse 1 08056 Zwickau Germany ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman

Gtk::ProgressBar Gtk::TreeView

2006-09-01 Thread Volosatov Alexander
) new_val = 1.0; progress_bar-set_fraction( new_val ); //ProgressBar - 0% } //ProgressBar - 100% Why?! /// Alexander. ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: Gtk::DrawingArea and libglademm

2006-08-30 Thread Alexander Gehlert
! Alex -- Alexander Gehlert - Intern reply to : [EMAIL PROTECTED] Raritan Zwickau Software Development Scheringerstrasse 1 08056 Zwickau Germany ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: Statically linking Gtkmm

2006-07-13 Thread Alexander Gehlert
working but it toke me a whole week to get it working so it's really tricky... good luck -- Alexander Gehlert - Intern reply to : [EMAIL PROTECTED] Peppercon AG Software Development Scheringerstrasse 1 08056 Zwickau Germany ___ gtkmm-list mailing

Glib::Module error

2006-06-01 Thread Volosatov Alexander
error in using this class in new version of gtkmm: GModule-CRITICAL **: g_module_symbol: assertion `module != NULL' failed in old version (2.8.3) it works properly. What i have to do? Alex ___ gtkmm-list mailing list gtkmm-list@gnome.org

Coverage of a Label for special unicode glyphs

2006-06-01 Thread Alexander Gehlert
Hi, in my program I need to cover a lot of languages (Latin, Cyrillic, Hebrew, Japanese). So I converted all needed strings to unicode, and pass them to Gtk::Labels, everything works fine as long as there is a fitting font installed on the system. Now I want to make sure that the labels are

Re: Button depressing

2006-05-27 Thread Alexander Gehlert
Hi, why don't you set the state with the method: like this set_state(Gtk::STATE_ACTIVE); and emit this signal signal_state_changed (); and if you overwrite the butten_press and leave and so on handler, you can controll passing it to the default gtk handler...and you can avoid

Re: how to get information about pixel?

2006-05-02 Thread Alexander
Hi! I have Gtk::Image and I want to get colour of selected pixel. How to do this? ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Glib::ustring::lovercase()

2006-04-06 Thread Volosatov Alexander
Strange behavior of this function. It work properly only with Roman letters, but with Cyrillic alphabet do not work. Befor this I convert string to utf8. Where is problem? ___ gtkmm-list mailing list gtkmm-list@gnome.org

Re: Problem with Gtk::Window in dynamic library

2006-03-23 Thread Volosatov Alexander
Sorry, I found problem: just add Gtk::Main main_obj(argc, argv); at the beginning of main function ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Problem with Gtk::Window in dynamic library

2006-03-22 Thread Volosatov Alexander
main.cpp: #include locale.h #include libintl.h #include gtkmm.h #include glibmm.h #include iostream using namespace std; int main(int argc, char ** argv) { Glib::Module module(./open_dialog.dll); if (module) { cout

Re: Glib::Thread Gtk::Window

2006-03-15 Thread Alexander Volosatov
Hello, Nickolai. You know, I try to replace my window with Gtk::Window(). But there is the same problem. Main window work OK, but child window is not responding!!! Maybe I do something wrong? Alexander, Are you accidentally calling set_geometry_hints (or some other method that invokes

Re: Glib::Thread Gtk::Window

2006-03-15 Thread Alexander Volosatov
Strange behavior of Gtk::Main::run(). when I wrote: void Main_Window::on_Show_clicked() /*button signal_clicked()*/ { Gtk::Window wnd; Gtk::Main::run(wnd); } it work OK. Every time when I press button method create new window. But when I connect() this method to Gtk::ActionGroup and

Glib::Thread Gtk::Window

2006-03-14 Thread Volosatov Alexander
Hi everybody! I need to have more than one window in program, working at the same time. In Main window I have table with windows title, address for manipulation with windows. I use Glib::Thread to create threads for new window: Main_Window::Main_Window() { Glib::thread_init();

Re: Different Background-Color for even/odd Rows in TreeView

2006-03-08 Thread Alexander Volosatov
. ): add -Wl,--enable-runtime-pseudo-reloc to linker options for project. -- Alexander mailto:[EMAIL PROTECTED] ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: Gtk::Module

2006-03-03 Thread Alexander Volosatov
Hello, Bob. Alexander Volosatov wrote: Hello. Try to load function from dll. Glib::Module module(libfsdyn.dll); if (module) { cout Module found\n; void * function = 0; module.get_symbol(func1, function); (*function)(); } But : `void*' is not a pointer

Re: [OBORONA-SPAM] Re: Gtk::Module

2006-03-03 Thread Alexander Volosatov
not loaded\n; } } cout Press ENTER to continue... endl; cin.get(); return 0; } log: Hello World! Module found fuction not loaded Press ENTER to continue... WHY FUNCTION IS NOT FOUND -- Alexander mailto:[EMAIL PROTECTED

Re: [OBORONA-SPAM] Re: Gtk::Module

2006-03-03 Thread Alexander Volosatov
Hello, Bob. You wrote 3 ìàðòà 2006 ã., 20:04:00: Alexander Volosatov wrote: Try this: Glib::Module module(libfsdyn.dll); if (module) { void (*function)(void); cout Module found\n; module.get_symbol(func1, function); (*function)(); } Bob

Re: Gtk::Module

2006-03-03 Thread Alexander Volosatov
Hello, Bob. using dlfcn.h is very easy, but MinGW under Windows don't have it :( That, then, should be telling you something. Shouldn't it? GO linux!!! Bob It will be great!! But program have to work under Win and Linux. -- Alexander mailto:[EMAIL

Re: Gtk::Module

2006-03-03 Thread Alexander Volosatov
Hello, Bob. using dlfcn.h is very easy, but MinGW under Windows don't have it :( That, then, should be telling you something. Shouldn't it? GO linux!!! Bob For HISTORY: instead: func1 use: _Z5func1v this find in dll -- Alexander mailto:[EMAIL

Re: Gtk::Module

2006-03-03 Thread Alexander Volosatov
Hello, Max. You wrote 3 марта 2006 г., 21:28:41: Alexander == Alexander Volosatov [EMAIL PROTECTED] writes: Try this: Glib::Module module(libfsdyn.dll); if (module) { void (*function)(void); cout Module found\n; module.get_symbol(func1, function); (*function)(); } Bob It doesn't

How to get info from one Window to another?

2006-03-02 Thread Volosatov Alexander
I have 1 window, where users select information, and then after closing some info I must put to another window/ How to do this? I know that i must use Gtk::Socket Gtk::Plug, but there is no example ___ gtkmm-list mailing list gtkmm-list@gnome.org

Re: Multiple vindows in GUI

2006-02-25 Thread Alexander Volosatov
. After clicking on image - just remove unused Gtk::Box and add() New Gtk::Box. All widgets in right part add to Gtk::Box. Or use Gtk::NoteBook. -- Alexander mailto:[EMAIL PROTECTED] ___ gtkmm-list mailing list gtkmm-list

convert char * to double

2006-02-24 Thread Alexander Volosatov
: I use gettext to i18n. -- Alexander mailto:[EMAIL PROTECTED] ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

gettext

2006-02-21 Thread Volosatov Alexander
Sorry, this is not by gtkmm, but maybe somebody help. I use gettext for i18n. 1. how i can change language of program while program is running? 2. Program language != local lang. and local lang == progr. lang only when i do: bind_textdomain_codeset(default, ru_RU); Why? Thanks, Alex

Config files

2006-02-20 Thread Alexander Volosatov
Hi! Have gtkmm any methods for working with config files? Or how I can work with config files in Linux? For example in Delphi there is class IniFiles. using it i can quicly get access to different sections of windows .ini. Alexander mailto:[EMAIL PROTECTED

Re: [OBORONA-SPAM] TreeView Queries

2006-02-13 Thread Alexander
On Thu, 09 Feb 2006 01:48:11 +0200, Matt Galloway [EMAIL PROTECTED] wrote: Hey, I've just started gtkmm programming and I have a couple of queries regarding Gtk::TreeView. They are as follows: 1) Is there anyway I can set the columns to have central alignment within the columns? i.e.

Re: Gtk:::CellRendererText

2006-02-08 Thread Volosatov Alexander
try to write analogue of Gtk function from gtk-demo: gtk_cell_layout_set_cell_data_func (GTK_CELL_LAYOUT (combo), renderer, is_capital_sensitive, NULL, NULL); as i think

Glib::ustring

2006-02-07 Thread Volosatov Alexander
Why string do not want convert to uppercase? Glib::ustring between; listchar *::iterator iter_val; ... /*append first symbol of string*/ between.append(*iter_val, 1); сout between = between endl; cin.get(); between.uppercase(); cout between = between endl; result: between = d between = d

Gtk::CellLayout Gtk::TreeModel

2006-02-07 Thread Volosatov Alexander
I try todo something like in gtk-demo-Combo boxes when parent of tree is not sensitive. I try to understand gtk code, and convert it into gtkmm, but ... GTK: -- static void is_capital_sensitive (GtkCellLayout *cell_layout,

Dinamic Libraries

2006-02-03 Thread Alexander
Do anybody use Glib[mm] for load libraries. Maybe you'll give example? ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: Gtk::ComboBoxEntry

2006-02-02 Thread Volosatov Alexander
already found. ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Gtk::ComboBoxEntry

2006-02-02 Thread Volosatov Alexander
How to delete all rows quickly? ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Gtk::ComboBox

2006-02-01 Thread Alexander
Please elp with using Gtk::ComboBox; I do such in TreeView: refptrliststore = Gtk::ListStore::create(tablemodel); combobox.set_model(refptrliststore); Gtk::TreeModel::iterator iter = refptrliststore-append(); Gtk::TreeModel::Row row = *(iter); row[tablemodel.column1] =

Gtk::manage()

2006-01-24 Thread Volosatov Alexander
When I create widget i use Gtk::manage() method. But what I have to use for deleting widget. Just: WidgetType *MyWidget = ... delete MyWidget; Or maybe something else? ___ gtkmm-list mailing list gtkmm-list@gnome.org

Gtk::Button StockID

2006-01-24 Thread Volosatov Alexander
How I can get StockID of Gtk::Button's stockID? || How I can get Gtk::Stock of Button? ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Possible to have a ScrolledWindow without a frame?

2006-01-19 Thread Alexander Gehlert
frame around my scrollded window. Is there any way to disable that frame? Set shadow type to none doesn't have any affect ot this... Thanks in advance Alexander Gehlert ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org

AW: Possible to have a ScrolledWindow without a frame?

2006-01-19 Thread Alexander Gehlert
Hi Bob, I tried that first, but that had no effect there is still a frame around the window but of course without a shadow. With a shadow the frame becomes bigger... Any other hints? Alex Alexander Gehlert wrote: Hi all, I'm using the Gtk::ScrolledWindow class, inside the scrolled Window

Re: AW: Possible to have a ScrolledWindow without a frame?

2006-01-19 Thread Alexander Gehlert
not... Thanks, Alex Alexander Gehlert wrote: Hi Bob, I tried that first, but that had no effect there is still a frame around the window but of course without a shadow. With a shadow the frame becomes bigger... Any other hints? Alex Alexander Gehlert wrote: Hi all, I'm using the Gtk

pointers

2006-01-14 Thread Alexander
here is such functions: std::listdouble* func1() { std::listdouble Out = new std::listdouble; Out-push_back(0.0); ... return Out; } and main func.: ... std::listdouble z; z = func1(); ... Is it right? error in memory address!! Why? Or i must : std::listdouble

append_column_numeric()

2006-01-14 Thread Alexander
How to set format in column like 1.2345-e05? ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Run Program

2006-01-07 Thread Alexander
When I run program using Dev-C++ it run OK, but when i run it without dev-c++, just clicking on icon it show me error: libatkmm-1.6-1.dll was not found When i move program to directory where libatkmm is, it don't run and don't show error. What i have to do to run my program on any PC? Alex.

Re: Run Program

2006-01-07 Thread Alexander
more information: add path to libatkmm to environment variables - error don't display. and program rum only under console. Is this normal? On Sat, 07 Jan 2006 17:04:40 +0200, Alexander [EMAIL PROTECTED] wrote: When I run program using Dev-C++ it run OK, but when i run it without dev-c++, just

Fwd: Re: Boxes in a frame

2006-01-06 Thread Alexander
I think you must use show_all_children() method to display widgets On Fri, 06 Jan 2006 16:35:49 +0200, Jonathon Jongsma [EMAIL PROTECTED] wrote: Specifically, I think what you probably want to do is add() a VBox to the frame and then use pack_start() to add the three HBoxes to the VBox

Re: Gtk::Stock and buttons on win32

2006-01-02 Thread Alexander
for showing images on buttons in MS-Windows theme you must: 1. open file ...\share\themes\MS-Windows\gtk-2.0\gtkrc 2. change gtk-button-images = 0 to gtk-button-images = 1 That's all! On Mon, 02 Jan 2006 15:14:23 +0200, Cedric Gustin [EMAIL PROTECTED] wrote: This is a followup to a recent

Re: How to change color of Gtk::RadioButton's label?

2005-12-20 Thread Volosatov Alexander
Yes, thanks, this is much better. On Mon, 19 Dec 2005 18:20:27 +0300 (MSK), Volosatov Alexander [EMAIL PROTECTED] wrote: But I compile and run this code!!! It work, but it's not universal! In my class users past they strings. And active step, done step ... have different attributes. So I

Re: How to change color of Gtk::RadioButton's label?

2005-12-19 Thread Volosatov Alexander
remains unfazed. Can anyone point me to a URL that has a good Pango tutorial? Maybe I can dig through that and finally come up with an answer to Volosatov's original question. Bob Marco Scholten wrote: - Original Message - From: Volosatov Alexander [EMAIL PROTECTED] To: gtkmm-list

AW: Change a Button Pixlabel out of a Dialog

2005-12-16 Thread Alexander Gehlert
Hi Bob, the path to the picture is fine, and you are right ICONPATH is a little macro. And as I sad generally the hole thing to change the button works fine, as long as I change the pixlabel out of the signal_clicked handler in my mainwindow. But if try to change it out of my Optionsdialog the

Tab pressing

2005-12-13 Thread Volosatov Alexander
I need when user press Enter, emit Tab pressing. What function I must use and how? Alex ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Gtk::Widget

2005-12-12 Thread Volosatov Alexander
Hi! How to change pressing Enter to pressing Tab for widget. There is signal_key_press_event() method, but can't understand how it work. ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Docs

2005-12-09 Thread Volosatov Alexander
Has somebody docs by gtkmm in OO or KWord or MS Word format? All docs with all classes. ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

alignment data in columns

2005-12-08 Thread Volosatov Alexander
How align data not in header of Column in Gtk::TreeView, but in rows? Alex ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

Gtk::TreeView

2005-12-06 Thread Volosatov Alexander
Hi! How to delete row in TreeModel? Thanks ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list

.hide_all()

2005-12-06 Thread Volosatov Alexander
Why wadgets don't want to hide? Gtk::HBox hbox_1; Gtk::Frame frame_1, frame_2; ... if (var2) { hbox_1-hide_all(); frame_1-hide_all(); } if (var1) { frame_2-hide_all(); } Alex. ___ gtkmm-list mailing list gtkmm-list@gnome.org

Re: Gtk::RadioButton??!!

2005-12-06 Thread Volosatov Alexander
The thinng is that I am doing that, but the window is still displayed with all the radio buttons turned on. What am I doing wrong!!? OS: WIN32 GTKmm = 2.4.x class MyClass : virutual public Gtk::Frame{ ... Gtk::RadioButton* rbMr; Gtk::RadioButton* rbMiss; Gtk::RadioButton* rbMss;

  1   2   >