Re: ComboBox: selecting items with children, Gtk2 vs Gtk3

2018-09-02 Thread Eduardo M KALINOWSKI
On 07-07-2018 11:00, Eduardo M KALINOWSKI wrote: > On 05-07-2018 11:02, Eduardo M KALINOWSKI wrote: >> Consider the sample attached: it builds a tree model with an item that >> has child items, and uses that model in a ComboBox. >> >> When compiled with Gtk2, whe

Re: ComboBox: selecting items with children, Gtk2 vs Gtk3

2018-07-14 Thread Eduardo M KALINOWSKI
On 07-07-2018 11:00, Eduardo M KALINOWSKI wrote: > On 05-07-2018 11:02, Eduardo M KALINOWSKI wrote: >> Consider the sample attached: it builds a tree model with an item that >> has child items, and uses that model in a ComboBox. >> >> When compiled with Gtk2, whe

Re: ComboBox: selecting items with children, Gtk2 vs Gtk3

2018-07-07 Thread Eduardo M KALINOWSKI
On 05-07-2018 11:02, Eduardo M KALINOWSKI wrote: > Consider the sample attached: it builds a tree model with an item that > has child items, and uses that model in a ComboBox. > > When compiled with Gtk2, when the item with children is selected and > its children displayed,

ComboBox: selecting items with children, Gtk2 vs Gtk3

2018-07-07 Thread Eduardo M KALINOWSKI
using the keyboard, but apparently with the mouse. Is there a way to get the Gtk2 behaviour back with Gtk3? Thanks, -- Eduardo M KALINOWSKI edua...@kalinowski.com.br ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.o

Re: how to set language for non-unicode text

2009-12-29 Thread Eduardo M KALINOWSKI
hich means that, indeed, you must convert your string to UTF-8. g_convert can help you: http://library.gnome.org/devel/glib/stable/glib-Character-Set-Conversion.html#g-convert -- It's reassuring to know that if you behave strangely enough, society will

Re: Control what happens when GtkTextView is resized: keep the bottom part visible

2009-11-14 Thread Eduardo M KALINOWSKI
onexistence is a feeble excuse for declaring a thing unseeable. You *can* see dragons. You just have to look in the right direction. -- John Hasler Eduardo M KALINOWSKI edua...@kalinowski.com.br ___ gtk-app-devel-list mailing list gtk-

Re: Control what happens when GtkTextView is resized: keep the bottom part visible

2009-11-13 Thread Eduardo M KALINOWSKI
esizing the bottom and moving it. One way to do that might be to check the value of the GtkAdjustment before it starts to be resized and then, in a callback like you posted, set the new value to display the desired part. But how can one obtain the value before the resizing starts? --

Re: Control what happens when GtkTextView is resized: keep the bottom part visible

2009-11-11 Thread Eduardo M KALINOWSKI
Eduardo M KALINOWSKI wrote: > I have a question concerning how to set which part of a GtkTextBuffer is > displayed when a GtkTextView is resized. > > To explain the situation, consider this sample code: > > 8< > /* gcc -o tvtest tvtest.c `pkg-config --libs --cflags

Control what happens when GtkTextView is resized: keep the bottom part visible

2009-11-09 Thread Eduardo M KALINOWSKI
way to visualize is that by changing the division in the GtkPaned it should cover more of the top of the bottom GtkTextView, instead of pushing it down. Does anyone have a solution for that? -- Money is truthful. If a man speaks of his honor, make him pay cash. -- Lazarus Long Ed

Re: Finding a widget in a Glade interface

2008-07-31 Thread Eduardo M KALINOWSKI
ibglade/stable/GladeXML.html#glade-get-widget-tree -- No one can have a higher opinion of him than I have, and I think he's a dirty little beast. -- W. S. Gilbert Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gt

Re: How do I get the enter key to press OK when in a GTk::Entry widget?

2008-07-14 Thread Eduardo M KALINOWSKI
vates-default -- Death rays don't kill people, people kill people!! Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk_widget_set_sensitive and mouse pointer

2008-07-14 Thread Eduardo M KALINOWSKI
Rui Tiago Cação Matos escreveu: On 14/07/2008, Eric Masson @ Savant Protection <[EMAIL PROTECTED]> wrote: The problem was this: You have several widgets inside of a container and you call gtk_widget_set_sensitive with false to gray out the container + all children. If you leave your mouse

Re: glib and Xlib

2008-06-06 Thread Eduardo M KALINOWSKI
jaafar EL GONNOUNI escreveu: > Hello; > > What is *glib *adding that the GTK + compared to *Xlib *? > > All what is possible with glib with Xlib is feasible, then why create a new > library. > glib is a library to easy programming with the C language. It contains data structures, utility funct

Re: Question aboutusing message dialog to ask confirmation

2008-05-16 Thread Eduardo M KALINOWSKI
On Fri, May 16, 2008 at 3:19 PM, John M Collins <[EMAIL PROTECTED]> wrote: > I want to have a "do you really want to do this" type question and I'm > trying to use a message dialog thus: > > GtkWidget *dlg = gtk_message_dialog_new(GTK_WINDOW(previous), > GTK_DIALOG_DESTROY_WITH_PARENT, > GTK_MESS

Re: Widgets in widget

2008-04-28 Thread Eduardo M KALINOWSKI
in my custom widget. > Is your "Grid" widget derived from GtkContainer? -- It is through symbols that man consciously or unconsciously lives, works and has his being. -- Thomas Carlyle Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Callback Question

2008-04-13 Thread Eduardo M KALINOWSKI
Matí­as Alejandro Torres wrote: > Hi, > > Can I call GTK Functions that modifies the GUI inside a callback? > Sure. What have you tried to do that did not work? -- Many a wife thinks her husband is the world's greatest lover. But she can never catch him at it. Eduardo M

Re: How create new GtkBin widget

2008-03-17 Thread Eduardo M KALINOWSKI
Duas sogras! Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: app/window deactivation handling

2008-03-12 Thread Eduardo M KALINOWSKI
lean somethings up before being deactivated. > > Any pointers on where to hook into this? > Look at the focus_in_event and focus_out_event signals. -- You'll always be, What you always were, Which has nothing to do with, All to do, with her. -- Company Eduardo M K

Re: how to tell if to GtkTreeIter's point to the same row, or not?

2008-02-19 Thread Eduardo M KALINOWSKI
my private data structure ? > You cannot compare iter's directly (they're temporary anyway), but you can convert iter's to GtkTreePath's and compare them with gtk_tree_path_compare(). (Or something similar.) -- Inspired by a true story. Eduardo M KALINOWSKI [

Re: File Chooser Dialog: display only files with chosen extensions

2008-01-12 Thread Eduardo M KALINOWSKI
ilter's. See these links: http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#gtk-file-chooser-add-filter http://library.gnome.org/devel/gtk/unstable/gtk-gtkfilefilter.html#GtkFileFilter -- The only time a dog gets complimented is when he doesn't do anything.

Re: Destroying a GtkNotebook

2008-01-10 Thread Eduardo M KALINOWSKI
YPE_CHECK_INSTANCE (instance)' failed > > I think that is not the better way to destroy the notebook and to free all > the associated memory. > > Have you any solution that can help me ? > The proper way to destroy widgets is with gtk_

Re: How to program a simple dialog?

2008-01-10 Thread Eduardo M KALINOWSKI
rror output: > > [snip] > > Any suggestions? > > Yes. Read the GTK+ Tutorial at http://gtk.org/tutorial/ . This way you would know that you must call gtk_init() at the start of the program (that's the cause for the messages), and that you need a call to gtk_main() to d

Re: Gtk application in hindi

2007-12-26 Thread Eduardo M KALINOWSKI
e some tutorials: http://oriya.sarovar.org/docs/gettext/ http://www.gnu.org/software/gettext/manual/gettext.html -- Is knowledge knowable? If not, how do we know that? Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mai

Re: How to make GtkTreeView and GtkTextView scrollable?

2007-11-16 Thread Eduardo M KALINOWSKI
On Nov 16, 2007 1:58 PM, AlannY <[EMAIL PROTECTED]> wrote: > Hi. > > I want to make my GtkTreeView and GtkTextView scrollable automaticaly. > How to do it? > > It's lame question. I know. Just add them inside a GtkScrolledWindow. ___ gtk-app-devel-list m

Re: Building and packaging for Windows

2007-11-06 Thread Eduardo M KALINOWSKI
> Also it's a bit painful to download each zipfile, extract it, and find > the dll I want in there. But I don't know what an easier way would be - > that's why I asked. Maybe I can write some kind of script to download, > extract and copy files based on a list. If that sounds like a good idea > to

Re: Date and time

2007-10-24 Thread Eduardo M KALINOWSKI
; It exists in C --- see your C library's manual, such as http://www.gnu.org/software/libc/manual/html_node/index.html I'll leave the looking for the exact function as an exercise to the student. -- Marriage is a great institution -- but I'm not ready for an institution yet.

Re: Regrading gtk thread

2007-09-08 Thread Eduardo M KALINOWSKI
of the thread being stopped ?? > > What is the best way to stop the thread ?? > If, as you say, you have only one thread, then if you stop the only thread, you're stopping the program. But the fact is that in this case there's nothing to stop. -- Any given program wi

Re: libglade problems under win32

2007-08-31 Thread Eduardo M KALINOWSKI
u should also mark the signal function prototypes with G_MODULE_EXPORT: G_MODULE_EXPORT gboolean exit_cb(GtkWidget *widget, GdkEvent *event, gpointer data); Oh, yes, Windows sucks. -- "It's God. No, not Richard Stallman, or Linus Torvalds, but G

Re: How to make GtkTreeview columns invisible

2007-08-10 Thread Eduardo M KALINOWSKI
g/doc/API/2.0/gtk/GtkTreeView.html#gtk-tree-view-set-headers-visible -- "Be *excellent* to each other." -- Bill, or Ted, in Bill and Ted's Excellent Adventure Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app

gtk_accelerator_name & gtk_accelerator_parse not symmetrical

2007-08-09 Thread Eduardo M KALINOWSKI
essed". I suppose this is a bug. Still, is there some kind of workaround (except by checking if the key is a letter and manually adjusting the codes?) -- Pascal Users: To show respect for the 313th anniversary (tomorrow) of the death of B

Re: Multiple threads and gtk_main()

2007-07-10 Thread Eduardo M KALINOWSKI
Gabriele Greco escreveu: > I've a few threads (more than one) doing some work (not accessing GTK > functions), I'd like to have a general way to make them notify their > work to the main loop. > > I used the g_idle_add() in the previous context where I had only a > thread with this behaviour, bu

Re: Disable ALL keybindings for a specific widgit?

2007-06-15 Thread Eduardo M KALINOWSKI
On 6/14/07, Justin Stallard <[EMAIL PROTECTED]> wrote: > Hi, > > I've looked through the tutorial, faq, API doc, and even google and I > can't seem to find out if there's some way to unbind all the > keybindings associated with a particular widgit. Is there? > > What I want to have is this: > A Gtk

Re: Windows Vista and GTK+ compatibility

2007-01-31 Thread Eduardo M KALINOWSKI
-- knightbrd: from knightbrd.brain import * :) Oh gods if it were that easy .. from carmack.brain import OpenGL Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Using gettext with a GOptionEntry

2007-01-25 Thread Eduardo M KALINOWSKI
tatic GOptionEntry entries[] = { {"window", NULL, 0, G_OPTION_ARG_INT, &embed_window, N_("Window to embed in"), "WID"}, ... I'll leave it up to you to research about N_() and discover how and why it works. -- One of the most striking differences between a cat

Re:semitransparent widget

2007-01-25 Thread Eduardo M Kalinowski
sking repeatedly will not help you. -- Eduardo M Kalinowski [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Tooltip per GtkClist row

2007-01-04 Thread Eduardo M KALINOWSKI
ately, I don't remember now in which file the code was. -- Coding is easy; All you do is sit staring at a terminal until the drops of blood form on your forehead. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mail

Re: Determining if GTK is installed

2006-10-14 Thread Eduardo M KALINOWSKI
he sinners are much more fun! -- Billy Joel, "Only The Good Die Young" Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Get a character size (height, width) in pango

2006-10-10 Thread Eduardo M KALINOWSKI
e would be more practical if they would take a little more time for dreaming. -- J. P. McEvoy Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk_notebook_set_current_page and the switch-page signal

2006-09-06 Thread Eduardo M KALINOWSKI
ed only on user-actions, not on selection changes by GTK. > You can, however, block the signal prior to calling the gtk_notebook_set_current_page function, and unblock it afterwards. -- You don't have to explain something you never said. -- Calvin Coolidge Eduardo M KALINOWSK

Re: How to update a treeview with values from a closed dialog?

2006-09-04 Thread Eduardo M KALINOWSKI
r with g_object_get_data. -- After an instrument has been assembled, extra components will be found on the bench. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtk_entry_select_on_focus for a single entry?

2006-07-28 Thread Eduardo M KALINOWSKI
entry? -- Rube Walker: "Hey, Yogi, what time is it?" Yogi Berra: "You mean now?" Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org

Re: How can i show a GtkImage widget ?

2006-07-17 Thread Eduardo M KALINOWSKI
help you with that. -- joeyh now has a terminal at the couch? That guy is wired, I swear => Knghtbrd: laptop and I don't mean the cats. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Simple Yes/No dialog

2006-06-17 Thread Eduardo M KALINOWSKI
ines of code. > Check GtkMessageDialog. -- You never hesitate to tackle the most difficult problems. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailm

Re: Applied tag(s) to text

2006-06-09 Thread Eduardo M KALINOWSKI
xt_iter_get_tags() does exactly that. And to get an iter at the clicked position, use gtk_text_view_get_iter_at_position() or a similar function. -- This was the most unkindest cut of all. -- William Shakespeare, "Julius Caesar" Eduardo M KALINOWSKI [EMA

Re: Compilation error with xml

2006-06-04 Thread Eduardo M KALINOWSKI
together with gtk+-2.0? Which, by the way, is used from with pkg-config just like GTK. (And which uses libxml2). -- Today is the first day of the rest of your lossage. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mail

Re: Changing (default) keybindings

2006-05-16 Thread Eduardo M KALINOWSKI
hat there is a common behaviour: pression CTRL+O in any application will bring the Open dialog, and so on. If you really want to confuse your users, a solution is not to use stock itens. Or use the stock pixmap, the same text, but constructing the menu manually. -- "... all the modern incon

Re: Problem displaying Japanese Text in GtkEntry/GtkTextView

2006-04-24 Thread Eduardo M KALINOWSKI
haracters. -- Airplanes are interesting toys but of no military value. -- Marechal Ferdinand Foch, Professor of Strategy, Ecole Superieure de Guerre Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: problem: text view appends

2006-04-14 Thread Eduardo M KALINOWSKI
gument. Use gtk_text_buffer_insert(). Get and end iter with gtk_text_buffer_get_end_iter(). You should really look at the documentation for GtkTextView and its associated classes. -- Newman's Discovery: Your best dreams may not come true; fortunately, neither will your worst dreams. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Good day list, (buen día lista...)

2006-04-10 Thread Eduardo M KALINOWSKI
tly asked questions. As a matter of fact, has been discussed a few days ago. The solution is to use a timeout: g_timeout_add(). See docs for more information. -- Dave Mack: "Your stupidity, Allen, is simply not up to par." Allen Gwinn:"Yours is." Eduardo M KALI

Re: GtkTextView : how many lines currently visible?

2006-04-06 Thread Eduardo M KALINOWSKI
t; > gtk_text_view_get_line_at_y(), gtk_text_view_get_iter_at_location() or gtk_text_view_get_iter_at_position(), with appropriate coordinates (HINT: gtk_text_view_window_to_buffer_coordinates()) followed by gtk_text_iter_get_line() might do the trick. -- I'm not going to say, "I told you so." Eduard

Re: text tag table

2006-04-04 Thread Eduardo M KALINOWSKI
rself, going through the textview, detecting which tags it has, and writing this and the attributes of the tags. -- pain, n.: One thing, at least it proves that you're alive! Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb _

Re: About gtk text view

2006-03-28 Thread Eduardo M KALINOWSKI
cate signal and I get events when it is resized. -- Love your neighbour, yet don't pull down your hedge. -- Benjamin Franklin Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Question about GdkColor

2006-03-17 Thread Eduardo M KALINOWSKI
= 245*65535 / 255 = 62965 And that's the value for red. Similar calculations will provide the values for green and blue. BTW, using hexadecimal base this "conversion" gets simpler. Try for yourself. -- Never trust anybody whose arm is bigger than

Re: GTK and KDE compatibility

2006-03-01 Thread Eduardo M KALINOWSKI
e code to discover how it's done, and them implement it in your application. -- You are a wish to be here wishing yourself. -- Philip Whalen Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing l

Re: GTK+ + VT100 support

2006-02-07 Thread Eduardo M KALINOWSKI
> See the vte library, it provides a terminal emulator, the same one in gnome-terminal, supporting VT100. -- Pascal Users: To show respect for the 313th anniversary (tomorrow) of the death of Blaise Pascal, your programs will be run at half speed. Eduardo M KALINOWSKI [EMAIL

Warnings after using gtk_entry_set_visibility

2006-02-01 Thread Eduardo M KALINOWSKI
e, in case that makes any difference. This problem appeared after I upgraded to gtk+ 2.8.X, it did not exist in version 2.6.X (at least in the one I used). -- The test of intelligent tinkering is to save all the parts. -- Aldo Leopold Eduardo M KALINOWSKI [EMAIL PROTECTED] http

Signal when the cursor of a GtkTextView is changed

2006-01-15 Thread Eduardo M KALINOWSKI
connect to it. Is there a way to catch cursor movements in a signal? -- Q: What does it say on the bottom of Coke cans in North Dakota? A: Open other end. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailin

Re: key press events and gtk_dialog_new_with_buttons()

2006-01-10 Thread Eduardo M KALINOWSKI
on. Would that make any > difference? Also note that I am writing this in (for) Windows. Use gtk_entry_set_activates_default on the entries. -- Colors may fade in time. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-deve

drawable is not a pixmap or window after upgrade to 2.8.9

2006-01-02 Thread Eduardo M KALINOWSKI
isibility, the error never appears. I'm using GTK+ version 2.8.9, glib version 2.8.4 and cairo 1.0.2. -- Why are you so hard to ignore? Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-

Re: Events and derived objects

2005-12-15 Thread Eduardo M KALINOWSKI
and then the TextView's handler deals with them doing what is necessary. By the way, the same happens with a GtkEntry, it is not a problem with the TextView. Perhaps I need to declare something for MyWidget class to properly handle such events? -- Push where it gives and scratch where it

Re: Events and derived objects

2005-12-15 Thread Eduardo M KALINOWSKI
ion. What is happening is that the user signal handler is being run only after the default handler, even if g_signal_connect (not after) is used, but it should happen before. -- She's so tough she won't take 'yes' for an answer. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://mo

Re: GTK+ for Windows: issues with apps locating the dll's

2005-12-14 Thread Eduardo M KALINOWSKI
exactly where the keys should be and how that works. -- He's dead, Jim. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Events and derived objects

2005-12-14 Thread Eduardo M Kalinowski
t's implementation, but I have'nt discovered how to propagate keys unhandled by the TextView itself or by my special handler to the user. -- Eduardo M Kalinowski [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing lis

Re: Native Windows Gtk+ from Cygwin

2005-12-09 Thread Eduardo M KALINOWSKI
ill find it so the application can run. Try the same directory as the .exe, or a directory in the PATH. -- In any formula, constants (especially those obtained from handbooks) are to be treated as variables. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb

Re: gtk win32 and env variables

2005-11-05 Thread Eduardo M KALINOWSKI
it's not prevented by other factors). > > Or, if for some reason you can't/don't want to use glib, use the Windows function GetModuleFileName(). -- Buckle up! Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-ap

Re: Rows in a treeview

2005-10-24 Thread Eduardo M KALINOWSKI
sed my first girl and smoked my first cigarette on the same day. I haven't had time for tobacco since. -- Arturo Toscanini Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-li

Activating GtkEntryCompletions with the keyboard

2005-10-22 Thread Eduardo M KALINOWSKI
is is irrelevant as the same behaviour happens in the completion sample of gtk-demo. -- November, n.: The eleventh twelfth of a weariness. -- Ambrose Bierce, "The Devil's Dictionary" Eduardo M KALINOWSKI [EMAIL PROTECTED]

Re: restore size/position of gtk window

2005-10-21 Thread Eduardo M KALINOWSKI
with the same values. It works. -- When in doubt, lead trump. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

GtkTextView Color not being set under KDE

2005-10-19 Thread Eduardo M KALINOWSKI
f silent prayer." -- Bill Peterson, former Houston Oiler football coach Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Tooltips inside a TreeView.

2005-09-25 Thread Eduardo M KALINOWSKI
n-notify-event he sets up in a TreeView (don't remember the name of the function right now). -- I used to be Snow White, but I drifted. -- Mae West Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-l

Re: How to check if a font has a given character?

2005-09-16 Thread Eduardo M KALINOWSKI
Christian Neumair wrote: >Am Donnerstag, den 15.09.2005, 17:06 -0300 schrieb Eduardo M KALINOWSKI: > > >>> >>> >>> >>Right. Looking at it, the function pango_coverage_get() seems promising. >>However, I'm unsure about the index_ ar

Re: How to check if a font has a given character?

2005-09-15 Thread Eduardo M KALINOWSKI
Christian Neumair wrote: >Am Donnerstag, den 15.09.2005, 16:26 -0300 schrieb Eduardo M KALINOWSKI: > > >>I want to check if the font I'm using (in a GtkTextView, if that >>matters) contains some characters (specifically, the "line-drawing" >>char

How to check if a font has a given character?

2005-09-15 Thread Eduardo M KALINOWSKI
iscover how to get a PangoFcFont *. -- Character is what you are in the dark! -- Lord John Whorfin Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://ma

Adding rows to a sorted GtkTreeModel causes warnings

2005-09-04 Thread Eduardo M KALINOWSKI
_tree_model_get_path() returns NULL, especially because that iter seems valid. However, there seems to be something weird going on here. -- Never trust an automatic pistol or a D.A.'s deal. -- John Dillinger Eduardo M KALINOWSKI [E

Re: Label Alignment

2005-08-03 Thread Eduardo M KALINOWSKI
K_MISC(conf_label), 0, 0.5); Check the API docs for details on that function. -- What did Mickey Mouse get for Christmas? A Dan Quayle watch. -- heard from a Mike Dukakis field worker Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___

Re: what is the function name that you can send a function to be running every n milliseconds

2005-07-15 Thread Eduardo M KALINOWSKI
what you should do in this case: use a structure, since all calbacks only supporte one user-supplied argument. -- All this wheeling and dealing around, why, it isn't for money, it's for fun. Money's just the way we keep score. -

Re: GtkTextView

2005-07-11 Thread Eduardo M KALINOWSKI
dapt the source code. -- Armstrong's Collection Law: If the check is truly in the mail, it is surely made out to someone else. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: closing a GtkFileChooserDialog

2005-07-09 Thread Eduardo M KALINOWSKI
while (gtk_events_pending()) gtk_main_iteration(); loop after the destruction for the widget to be removed from the screen, but I'm not completely sure. But try it. -- Don't look now, but the man in the moon is laughing at you. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/h

Re: Gtkmm: object creation delays

2005-07-06 Thread Eduardo M KALINOWSKI
to perform, and >the user is kept updated this way. > > > Use the Gtkmm equivalent of while (gtk_events_pending()) gtk_main_iteration(); when you want the display to be updated. -- Whom the gods wish to destroy they first call promisi

Re: Delete a gtktextbuffer to fill it again

2005-06-14 Thread Eduardo M KALINOWSKI
;start,&end); > } Have you tried using gtk_text_buffer_set_text() ? -- Conscience is what hurts when everything else feels so good. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http:/

Re: passing widgets to functions and back

2005-06-13 Thread Eduardo M KALINOWSKI
n(); } However, I haven't tried that. -- Pain is a thing of the mind. The mind can be controlled. -- Spock, "Operation -- Annihilate!" stardate 3287.2 Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___

Determining the number of visible lines in a GtkTextView

2005-06-12 Thread Eduardo M KALINOWSKI
me inter-line spacing not accounted for in that code) is something like 16 or 17 pixels. -- A verbal contract isn't worth the paper it's written on. Include me out. -Samuel Goldwyn Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___

Re: Determining the width of a GtkTextView in characters

2005-06-12 Thread Eduardo M KALINOWSKI
Eduardo M KALINOWSKI wrote: >Hi, > >I have a GtkTextView whose contents is all in one font, a monospaced >font by the way. I want to know the width of the GtkTextView in >characters, that is, how many characters fit in a line. I've tried a >code like this: > &g

Determining the width of a GtkTextView in characters

2005-06-11 Thread Eduardo M KALINOWSKI
th; However, the value of columns is smaller than the real value. For example, with a width of 80 characters, the value returned is 71. How can I do that? -- Marriage, n.: The evil aye. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___

Re: State changing of Toggle Buttons

2005-05-31 Thread Eduardo M KALINOWSKI
on how pissed-off a group of taxed people can get. We exist as a country because we're cheap. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Something like console widget

2005-04-19 Thread Eduardo M KALINOWSKI
k Twain Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list