Re: Reg. modifying GTK+ to add menu option

2013-04-11 Thread Vlasov Vitaly
Hello. Hmm... I use goldendict for similar functionality. goldendict has a special key (default win+alt). When special key is pressed, current selected word will be translated in pop-up window, as it is shown in your first screenshot. How does goldendict do it? I think he scan all keypress

Re: Toggle button which enables GtkTextTag

2012-11-15 Thread Vlasov Vitaly
+0400, Vlasov Vitaly пишет: I created TextView with TextBuffer with TextTagTable, filled by my TextTag's and ToggleButton. With ToggleButton i want enable mytag mode. Button must work as like in LibreOffice Writer. When i activate bold mode printing text will be bold. And, if i disable bold

Toggle button which enables GtkTextTag

2012-11-07 Thread Vlasov Vitaly
I created TextView with TextBuffer with TextTagTable, filled by my TextTag's and ToggleButton. With ToggleButton i want enable mytag mode. Button must work as like in LibreOffice Writer. When i activate bold mode printing text will be bold. And, if i disable bold mode printing text will be not

GtkTreeIter assignment

2012-10-30 Thread Vlasov Vitaly
Hello list. Is that normal, to assign one GtkTreeIter to another? For example: void add_new( ... , GtkTreeIter *iter) { GtkTreeIter *default_iter; if(iter != NULL) { default_iter = iter; -- is that noraml?? } gtk_tree_store_append(default_iter); }

Re: GtkTreeIter assignment

2012-10-30 Thread Vlasov Vitaly
at 05:05:37PM +0400, Vlasov Vitaly wrote: Is that normal, to assign one GtkTreeIter to another? For example: void add_new( ... , GtkTreeIter *iter) { GtkTreeIter *default_iter; if(iter != NULL) { default_iter = iter; -- is that noraml?? This is pointer

GtkToggleButton with GTK_STOCK item

2012-10-30 Thread Vlasov Vitaly
Hello. How to create GtkTogleButton with Icon and Label from STOCK? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

vim gtk+3.0 syntax

2012-09-24 Thread Vlasov Vitaly
Hello, all. Is GTK3.0 Vim syntax highlighting exist? I found in Internet python script vim-sym-gen.py, that generate symbols from gtk-doc, but don't know how to use it. Where to find manual/how-to to this script? ___ gtk-app-devel-list mailing list

Re: how to get entry from GtkComboBoxEntry?

2012-09-11 Thread Vlasov Vitaly
, Vlasov Vitaly wrote: I wanna use some ComboBox/Entry widget: It should contain tree model with language names and hidden ISO 639-1 codes, for example English(en) German(de) Russian(ru) or other. And, in addition, it should allow to user write ISO 639-1 language code from keyboard. So

Re: GList strange behavior

2012-08-16 Thread Vlasov Vitaly
Thank you! I almost understand bahavior of GList. I need to save newly created list poiner. So, i need to use g_list_last() to save it? Is there another method to save created list pointer? В сообщении от Четверг 16 августа 2012 15:51:22 вы написали: Hi. Not sure what is troubling you here.

widget_destroy() question

2012-08-16 Thread Vlasov Vitaly
Hello list. For example, i got frame in which packed vbox. In vbox packed in five buttons. If i call gtk_widget_destroy(), all packed widget's will be destroyed? or only frame? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: GList strange behavior

2012-08-15 Thread Vlasov Vitaly
argument or declare it as global variable. On Wed, Aug 15, 2012 at 8:04 AM, Vlasov Vitaly vnig...@gmail.com wrote: Hi, list. I can't understand, why g_list_append return different values in my callback's(please read source). In first case i got same list, which

GList strange behavior

2012-08-14 Thread Vlasov Vitaly
Hi, list. I can't understand, why g_list_append return different values in my callback's(please read source). In first case i got same list, which was obtained from arguments. In second case g_list_append returns newly created list. Why result's is are not the same? In real program, i