hi,
having the focus on the right widget can make apps more productive. I feed that
right now either I am missing something or gtk does not a good job at it.
For odd reasons gtk prefers to focus toolbar button on new windows (which is
strange and not useful imho). When trying to hint gtk+ about
On 01/31/11 16:39, James Morris wrote:
> On 31 January 2011 13:32, Jannis Pohlmann wrote:
>
>>> Can anyone point me in the direction of code examples where the
>>> construction of the g object requires a parameter so I can see how to
>>> do it please? - I can't make sense of the documentation.
>>
On 01/31/11 16:39, James Morris wrote:
> On 31 January 2011 13:32, Jannis Pohlmann wrote:
>
>>> Can anyone point me in the direction of code examples where the
>>> construction of the g object requires a parameter so I can see how to
>>> do it please? - I can't make sense of the documentation.
>>
On 01/31/11 16:39, James Morris wrote:
> On 31 January 2011 13:32, Jannis Pohlmann wrote:
>
>>> Can anyone point me in the direction of code examples where the
>>> construction of the g object requires a parameter so I can see how to
>>> do it please? - I can't make sense of the documentation.
>>
Am 04.05.2011 00:03, schrieb Thomas Stover:
> On Tue, 3 May 2011 22:50:38 +0200, Tadej Borovšak
> wrote:
>
>> All that being said, maybe you could "cook up" a patch for API docs
>> with this info? I'm sure people would find it useful.
>>
>
> Is there a starting place to read how to go about doin
Am 01.01.2011 17:30, schrieb Dan McMahill:
> Is there a way to scan ones source code automatically to determine the
> minimum required version of gtk and also glib? The reason I ask is I've
> been involved in a project that doesn't really use lots of the most
> cutting edge features and in general
hi,
On 17.08.2010 12:01, James Morris wrote:
> Hi,
>
> I see that some GDK drawing functions and graphics contexts have been
> deprecated in favour of using Cairo.
>
> Yesterday I spent a few hours *removing* Cairo code from my fledgling
> GTK application and replacing it with gdk_draw_rectangle,
Am 25.01.2010 16:46, schrieb harshavardhanreddy mandeepala:
> Hi,
>
> I think this question might have discussed but i couldn't find any
> satisfying answers.
>
> While searching in net i found useful info how to provide
> internationalization/localization(supporting
> english,french,german,chine
Am 12.01.2010 14:31, schrieb Pavel A. da Mek:
>> For example, having "File" stock item doesn't make much
> sense, since files usually carry their own name and this is what
> should be displayed.
>
> Most programs have the "File" menu item in the tool bar.
> To create menu items from stock items is
Am 07.01.2010 14:24, schrieb Amol Kulkarni:
> Hi All,
> Is it possible to add GtkTreeView inside VBox and then add that VBox to
> ScrolledWindow using gtk_scrolled_window_add_with_viewport(sw,vbox).
> GtkTreeView has inbuilt scrolling support hence it is expected to add it
> directely to scrolledwi
Michael Torrie schrieb:
> donglongchao wrote:
>> Thank you very much.That is just what I need.
>> I am not very familiar with the API manual.
>
> I always program with a web browser open showing the API docs. Although
> they often lack documentation and examples (they are generated from the
> sou
dhk schrieb:
> Are accelerators only for menu items? I've seen a lot of examples with
> accelerators and the all seem to connect to a menu item. I've been
> having a difficult time getting accelerators to work even with the
> examples. I think I'm missing something.
>
> One thing I would like i
John Stebbins schrieb:
> Oops, sent private message instead of to the list again. Redirecting
> to list.
>
> Tor, I wanted to thank you again for your help. I've successfully
> ported my app (handbrake video transcoder). There's only one missing
> feature, live preview, and for that I need workin
dhk schrieb:
> Is it possible to have a single vertical scrollbar scroll multiple
> treeviews?
>
> To avoid using a horizontal scroll on a large set of data I broke the
> data up into multiple treeviews. However, I would like to have one
> scroll control all the views at the same time instead of e
Stefan Kost schrieb:
> DEXTER schrieb:
>> Hi there,
>>
>> I have a treeview and what I'd like to achieve is that the first row
>> of the treeview (under the column headers) be fixed at its place so
>> the scrolling won't affect it. I would use th
DEXTER schrieb:
> Hi there,
>
> I have a treeview and what I'd like to achieve is that the first row
> of the treeview (under the column headers) be fixed at its place so
> the scrolling won't affect it. I would use this very first row to
> filter the treeview. Attached an image showing the what I
Jeffrey Barish schrieb:
> Stefan Kost wrote:
>
>> How should gobject know the name of your variable? In GStreamer we have a
>> GstObejct which has a name property, that makes it easier.
>
> How do you know it's one of my variables that is being unreferenced? The
&
hi,
Jeffrey Barish schrieb:
> Dov Grobgeld wrote:
>> 2009/2/21 Jeffrey Barish
>>
>>> I hate the warning messages that GTK provides because they rarely help me
>>> find the problem. What does this one mean?
>>>
>>> /myprogram.py:118: Warning: g_object_unref: assertion `object->ref_count
0' f
John Coppens schrieb:
> On Thu, 5 Feb 2009 14:05:04 -0200
> John Coppens wrote:
>
>> During several tests, I came across the famous "your intltool is too
>> old. You need intltool 0.35.0 or newer". I have 0.40.5 installed, as
>> shown by:
>>
>> $ intltool-update --version
>
Michael Torrie schrieb:
> jvette...@users.sourceforge.net wrote:
>> I find that deriving classes in C++ is alot easier than going through
>> the GObject type system.
>
> Yes this is true, in C. GTKmm makes things rather nice if you work in
> C++. In fact I kind of like how GTKmm works without a
Andrew Cowie schrieb:
> On Sat, 2009-01-03 at 10:40 -0500, Yu Feng wrote:
>> If you are accessing data member(g_object_set_data) frequently you could
>> use quarks to accelerate the looking up process(g_object_set_qdata).
>
> On Sun, 2009-01-04 at 14:41 +0200, Stefan Kost w
hi,
Patrick Braga wrote:
> I've just begun learning GLib, and I came across Quarks. The
> documentation describes them as "association between strings and integer
> identifiers. Given either the stringo or the GQuark identifier it is
> possible to retrieve the other."
>
> This seems really useful
hi,
Andrew Cowie schrieb:
> On Mon, 2008-12-01 at 08:51 -0800, Garth's KidStuff wrote:
>
>> I'm runnign a Gtk++ app under ubuntu 8.04 and I'd liek to take a screenshot
>> from inside the app. Any hints?
>>
>
> We used an adaptation of the gnome-screenshot code in gnome-utils's
> gnome-scr
Garth's KidStuff schrieb:
> Hey All,
>
> I'm runnign a Gtk++ app under ubuntu 8.04 and I'd liek to take a screenshot
> from inside the app. Any hints?
>
> Thanks in advance.
>
> -Garth
>
>
http://buzztard.svn.sourceforge.net/viewvc/buzztard/trunk/buzztard/tests/bt-check.c?view=markup
look at ch
hi,
Xavier Toth schrieb:
> I didn't get any responses so I'm trying again.
>
Look at GtkCellRenderer and its "cell-background" property.
Stefan
> On Mon, Nov 3, 2008 at 8:37 AM, Xavier Toth <[EMAIL PROTECTED]> wrote:
>
>> I'd like to have different background colors on combobox entries.
>>
hi,
Mike Massonnet schrieb:
> Le Mon, 6 Oct 2008 16:13:25 +0800,
> "chen zhixin" <[EMAIL PROTECTED]> a écrit :
>
>
>> hello
>> i have to scale the image i recived,NTSC,30f/s,yuyv->gray and 720*480
>> because i need to do something on image,so i use gray->pixmap,and use
>> cairo_t to do .
>> the
hi,
Jeremy Maccelari schrieb:
> Can anyone tell me how to select multiple columns in a list
> (tree view)? I'd like to be able to click on the column header
> to select/deselect...
The treeview does not support this unfortunately. It has only row selection
modes. That beeing said I faked such a b
hi,
Garth's KidStuff schrieb:
> Hey All,
>
> Does anyone have a good place to learn how to incorporate playing video from
> within my application? I have a drawable area that I draw all my
> application stuff on and I'd like to play a .mov file in a subportion of
> that area.
You can use gstrea
hi,
you can try gtkdoc-depscan (since gtk-doc 1.10). It will tell you which versions
of the libs you check against you require and also because of which symbols. The
information can be used to turn some into soft-deps (not requiring it and have
conditional code). Only problem is that gtkdoc-de
Tony Houghton schrieb:
I want to change the cursor/caret aspect ratio for a widget on the fly.
The docs say you should "first call gtk_widget_get_modifier_style(),
make your modifications to the returned style, then call
gtk_widget_modify_style() with that style." The trouble is I can't find
any
http://www.buzztard.org/"; offset="0:100"/>
buzztard song (xml)
I've filed a ticket under:
http://bugzilla.gnome.org/show_bug.cgi?id=541236
for gio - not sure that this is the culprit though.
Stefan
Stefan Kost schrieb:
hi,
I am using GtkFileFilter / GtkRec
hi,
I am using GtkFileFilter / GtkRecentFilter in my app with mime-type filters.
Unfortunately the filters use only the quick way (looking at extensions). Can
the somehow be configured to do exact sniffing?
Stefan
> gnomevfs-info ./melo1.xml | head -n3
Name : melo1.xml
Type
hi,
I have an interface, where I share some data between the instances.
the data is created on first access. Now I also would like to release
it when the last instance goes.
problem 1: base_finalize() is not called for static types
I thought that I could do some own ref-counting and then do
hi,
王跃 schrieb:
> Hi,
>
>
> I am new for GTK, and I want to use the GTK to play a music while drawing
> the waveform, any idea about it ? ---Thanks Best Regards. Wang Yue
I recommend to look at the soruces of applications that draw a waveform already
[1][2] and borrow the code
hi,
Steven Kauffmann schrieb:
> Hello all,
>
> A few weeks ago I started with the gtk tutorial. I tried some of the
> examples and everything is working fine, but valgrind reports some
> errors (first hello world example)[*].
>
> If those little examples already returns errors, further programs
hi,
Tomasz Jankowski schrieb:
> Hi!
>
> Like in topic. Everything works great, gtk-doc builds types tree, generates
> descriptions for functions, structures, enumerations and properties. The
> only thing, which doesn't is generating descriptions for signals. There is
> no information about signal
hi,
Jason Edgecombe schrieb:
> Hi There,
>
> I'm developing an application for a Nokia N800 Internet Tablet. I want
> to rotate and scale the whole screen or at least a set widgets so that
> the application can be used when holding the application in portrait or
> landscape orientations.
>
>
Hi,
nm --undefined-only *.o | cut -c12- | sort | uniq
would give you a list of all external symbols
nm --defined-only *.o | cut -c12- | sort | uniq
would give you a list of all defined symbols
now all enties in 2nd list, which are not in first list should be what you are
looking for ('comm' sho
For the archive, solution (hack) to fix one issue:
Stefan Kost schrieb:
> Hi,
>
> after I managed to get accelerators for menus and context menues working, I
> have
> problems with some other ui items.
>
> 1.)
> tool_item=GTK_WIDGET(gtk_toggle_tool_button_new_from_st
Hi,
John Coppens schrieb:
> Hello all...
>
> There must be something terribly wrong somewhere, when I try to find
> documentation on operation with GTK+ or GDK elements, I always seem to
> get _much_ more documentation from the Python/Perl libraries than from
> the actual C interface. I'm sure ot
hi,
Gorshkov schrieb:
> I've looked in the docs, and I keep going around and around in circles -
> but I can't for the life of me figure out how to set a
> TreeView/TreeModel/TreeStore to allow for the selection of multiple entries.
Have a look at GtkTreeSelection:
http://library.gnome.org/deve
Hi Ben,
Ben Lau schrieb:
> hi all,
>
>I am implementing a GObject (a simple video player) that creates a
> GStreamer pipeline for video processing. Soon it receives a new
> GstBuffer of video frame from the pipeline, it will emit a signal. As
> GStreamer processes the pipeline with multiple t
hi,
Raja Mukherji schrieb:
> Hi all,
>
> I'm writing a binding generator for my language to Gtk and want the
> generator to be able to insert documentation into the generated code
> automatically. Is there any existing program/script for getting the
> documentation associated with a specific api
hi,
Quoting Tomasz Jankowski <[EMAIL PROTECTED]>:
> Hello!
>
> I have problem with gtk-doc.
There is [EMAIL PROTECTED]
> I configured it in my project an everything was
> fine (i had object hierarchy etc.). Now I added two new source files which
> decalre two new objects. Gtk-doc sees these new
Hi,
Quoting Binary Chen <[EMAIL PROTECTED]>:
> On Sat, 2007-10-27 at 11:06 +0300, Stefan Kost wrote:
>> Chris Rorvick schrieb:
>> > I'm attempting to profile GTK in an application and I'm wondering what
>> > methodology others use to accomplish
hi,
Chris Rorvick schrieb:
> Stefan Kost wrote:
> > This is most likely caused by cairo. You should also see a bit less
> > CPU usage in 2.12 compared to 2.10 (or more precise newer cairo should
> > perform a bit better).
>
> For some reason, this happens to be on
Chris Rorvick schrieb:
> I'm attempting to profile GTK in an application and I'm wondering what
> methodology others use to accomplish this. Is there any documentation
> that addresses this topic that I should refer to? Any caveats worth
> pointing out? Here is where I'm at ...
>
> I recentl
hi,
is soemone aware of a GParamSpec implementation for file-path and
uris. Most apps use GParamSpecString. Disadvantage is that one can put
anaything there and for apps that generate UIs it impossible to detect
that a file-cooser button would be more appropriate than a entry box.
I guess si
Hi,
I am currently trying to figure out something simillar. Unfortunately it seems
that accelerators are only used for menues in most applications. If you check
gnome-bugzilla - it has several open bugs for accelerators. I recently fixed one
and right now prepared a test program for another. Lets
Hi,
after I managed to get accelerators for menus and context menues working, I have
problems with some other ui items.
1.)
tool_item=GTK_WIDGET(gtk_toggle_tool_button_new_from_stock(GTK_STOCK_MEDIA_PLAY));
1a.)
gtk_widget_set_accel_path (tool_item,
"/MainToolbar/Play",accel_group);
gtk_accel_
);
Stefan
Stefan Kost wrote:
> hi,
>
> more research and a standalone test (attached and via web [1]). The good news
> are that gtk+ supports multiple accel maps and that those can be even
> dynamically switched (activated/deactivated). The issue seems that a new
> accel_map nee
hierarchy :/ and passing the window down the call
hierarchy is out of question.
Stefan
[1]
http://buzztard.cvs.sourceforge.net/buzztard/buzztard/design/gui/accelpopup.c?view=markup
Stefan Kost wrote:
> Hi,
>
> Dunno if this is a bug/limmitation in gtk+. I now moved the
> GtkAccelGr
window
depending on which tab was visible. Seems that gtk+ is only supporting
one accel_group.
Stefan
Quoting Stefan Kost <[EMAIL PROTECTED]>:
> hi,
>
> Gabriel Schulhof wrote:
>> Hi!
>>
>> On Sun, 2007-08-19 at 23:48 +0300, Stefan Kost wrote:
>>> I
hi,
Gabriel Schulhof wrote:
> Hi!
>
> On Sun, 2007-08-19 at 23:48 +0300, Stefan Kost wrote:
>> I read about the differences. I really want "accelerators".
> I was able to hack it:
>
> Create a plain old regular menubar-type menu with accelerators. Then ref
>
Hi,
I've commented on this bug:
http://bugzilla.gnome.org/show_bug.cgi?id=143007#c6
Stefan
Stefan Kost wrote:
> Hi,
>
> Daniel Pekelharing wrote:
>> Hi all,
>>
>> Sorry to be posting yet more questions about accel keys...
>>
>> I have created a popu
Hi,
Mike Melanson wrote:
> Stefan Kost wrote:
>> Hi,
>>
>> Daniel Pekelharing wrote:
>>> Hi all,
>>>
>>> Sorry to be posting yet more questions about accel keys...
>>>
>>> I have created a popup menu and assigned accelerator keys t
Hi,
Daniel Pekelharing wrote:
> Hi all,
>
> Sorry to be posting yet more questions about accel keys...
>
> I have created a popup menu and assigned accelerator keys to some of the
> items,
>
> I assigned a GtkAccelGroup to the menu using
> gtk_menu_set_accel_group(..),
>
> I attached the same
Hi,
[EMAIL PROTECTED] wrote:
> Hi everybody.
> I want to use a GtkDialog to show a message in my application when the user
> clicks a particular button; I tried to implement this dialog in the program,
> but it appears only when the action is finished, and not when it begins.
> I insert here a snip
Hi,
there is a few. Jokosher, Swami, they all have one. Unfortunately a
waveform display is quite specific - its not easy to come up with a
generic one. Some need markers, some need range-selection.
Stefan
Quoting bert <[EMAIL PROTECTED]>:
> Hi all,
>
> Is there a GTK widget to display audi
hi,
please stop reffering to that tutorial under that address. Its part of GObject
API docs since more that a year and has also be updated in there since.
Stefan
Arx Cruz wrote:
> http://le-hacker.org/papers/gobject/
>
> Great tutorial!
>
> On 7/4/07, Lucas Stephanou <[EMAIL PROTECTED]> wrote:
Hi,
[EMAIL PROTECTED] wrote:
> I write a little application for an embedded system (Nokia N800)
> using GTK+ and GStreamer and I need refreshing of the window.
> When I iconize the application window and then put it in foreground again,
> the gstreamer flow disappears.
> I implemented this flow in
hi,
I would like to know when the first gets connected to my signal and
when the last one disconnects. The signal is emmitted from a process
that I don't want to run, if nobody listens. There is
g_signal_has_handler_pending(), but I don't want to poll that. Anyone
aware of a way to do it?
hi david,
thanks for your help! After changing to this it works:
if(GTK_WIDGET_REALIZED(widget)) {
gtk_widget_grab_focus(widget);
}
Stefan
Quoting "David Ne?as (Yeti)" <[EMAIL PROTECTED]>:
> On Thu, Mar 29, 2007 at 08:41:39AM +0200, Stefan Kost wrote:
>> I
Hi,
Quoting Iago Toral Quiroga <[EMAIL PROTECTED]>:
> Hi all,
>
> is it possible to create complex layouts using a GtkTreeView widget? I
> mean, being able to expand rows or columns as in GtkTable to achieve
> layouts like this one:
>
> -
> | aa | b
hi,
I am looking for some tips of how to get the culprit for the above
mentioned warning. I have a notebook with 5 pages. On the first tab I
have a gnome-canvas with some items on. For that I have registered an
event handler to move objects on the canvas. The moving part works
fine. When I
Hi,
the G_DEFINE_TYPE stuff is on the list since the very beginning.
In part I (Concepts) we will explain it the long way, but mention
G_DEFINE_TYPE. In part IV (Tutorial) we will use G_DEFINE_TYPE. You
should always use it if it fits.
Stefan
Quoting Freddie Unpenstein <[EMAIL PROTECTED]>:
asses possess the same interfaces, if they don't want to reimplement
> them?
Good question. I need to look a bit more into that.
Stefan
>
> Thanks.
>
> On 2/10/07, Stefan Kost <[EMAIL PROTECTED]> wrote:
>> Shixin Zeng wrote:
>>> Thanks. But I want so
pment - those can
be seen as a playback interface. Once you know what the do, you can
control your cd-player, mp3-player or anything that uses these symbols.
To declare an interfacce you have to register a non-instantiable ...
Don't know if this is enough already. Does this sound like a go
Hi,
Quoting "David Ne?as (Yeti)" <[EMAIL PROTECTED]>:
> On Thu, Feb 08, 2007 at 08:44:50AM +0100, Stefan Kost wrote:
>>
>> What I like to ask you is to reply to
>> this mail and tell us what you don't understand yet, point out parts
>> that can be
hi,
yesterday I committed a first batch of cleanups to the GObject docs.
http://developer.gnome.org/doc/API/2.0/gobject/index.html
IMHO this is a crucial documentation for the GNOME platform and it can
be improved further. Marc-Andre Lureau and Zeeshan Ali already joined
in the quest to impro
hi Thomas,
Tomasz Jankowski wrote:
> Hi!
>
> I have short question. I installed G_TYPE_STRING property in my object. Will
> it free allocated memory when object will be destroyed or i should do it on
> my own?
you needs to do the ressource management yourself. That is whenever one sets the
strin
Hi Thomas,
only one small change needed:
static void goofy_file_transfer_base_init (gpointer g_iface) {
static gboolean initialized = FALSE;
if (!initialized) {
g_object_interface_install_property (g_iface,
g_param_spec_string ("transfer-status",
hi,
I need to do a hack :( I once submitted this together with a pack, but its not
beeing accepted.
http://bugzilla.gnome.org/show_bug.cgi?id=338271
Now I try to do a workaround for my use case. I am already able to get the
events the button inside the treeview header got. I now I want the childr
hi,
Andreas Stricker wrote:
>> Please don't laugh at me ;P Can someone explain me what reference counting
>> is for?
>
> Wikipedia explain it not too bad:
>
> http://en.wikipedia.org/wiki/Reference_counting
>
> For glib specific implementation details I recomment to read this document:
>
> htt
Hi,
Leandro A. F. Pereira wrote:
> Greetings,
>
> In my application I have to save the contents of a widget to a PNG
> file. So far it works (using GDK Pixbuf and gdk_pixbuf_save), but
> garbage appears if the window is obscured by another window, or if
> some part of it is hidden.
>
> How can s
Hi.
[EMAIL PROTECTED] wrote:
> Hi!!
> i've an x-y plot created with GTk!
> I'd like that after clicking in one of the plotted points, appear a cursor and
> then i can move it throught all the plotted points!!
> Is it possible??
>
I would draw a cursor like object over the points. It would be a b
Hi Tommi,
Tommi Sakari Uimonen wrote:
> Hello. What is the best way to query font width from cairo, in case that I
> want to set size_hint for the widget that is drawing with that font?
>
> Currently I'm creating a cairo for some existing widget and set there the
> desired font and query the wid
Hi,
Matias Torres wrote:
> Hi all,
>
> I'm working on some simple app which only use gtk and sqlite libraries
> and i KNOW it's leaking memory.
> Would you please help me? (damn beatles!, i shouldn't be listening music
> when writing a mail!)
> *- Is there a way to pass a function to free certai
hi,
yes, using the GstController is the way to go. Initially you will record
a series of timed value changes. The GstController manages this queue
for you. If you hook these changes onto e.g. a GstVOlume element, you
can then listen to the "notify::volume" of it and from the handler set
the value
rupert wrote:
> Hi,
> i update some pixbuf images once a second, when the application runs for
> more than 30minutes or so the
> images disapear and i get a bunch of the following message:
>
> cryptomaster:16742): GLib-GObject-CRITICAL **: g_object_unref: assertion
> `G_IS_OBJECT (object)' failed
>
hi,
Wolfman wrote:
> Does someone know how can draw a simple rectangle over other widgets or a
> complete window?
> Cause iam trying to write a window splitting system but i dont know how to
> draw this rectangle...:(
>
> best regards..
>
you can subclass the widget, override the _expose_even
I gave up on splint a while ago. I can't parse variadic macros too. So
unless someone continues to work on the splint parser, I don't believe
it will grok moder C.
Stefan
Will Frishe wrote:
> A while back I used SPLint on my code. Having been a little while since
> then, I decided to run through
hi,
for unit-tests I open a second display on a Xvfb server which I start
before. This elaready works nicely. Now I also take screenshots from the
test-runs, for the manuals. This combined with altering the envoronment
(LC_ALL='en fr de ...') creates me localized screenshots. So far so
good. The i
hi tomasz,
Tomasz Jankowski wrote:
> Hi!
>
> Well, I'm working with GTK+ quite long, but I have never tried to get inside
> it's code. Now I'm trying to understood how GObject works and I must say,
> that it isn't as easy as I tought ;)
>
> I read few times "Gobject tutorial" provided with GLib's
hi,
chao yeaj wrote:
> Hello everyone
>
> I have a check button
>and the check button may have an associated data,which is an
> source id returned by g_timeout_add() function
> I do this,because,the check button may be need a function
> periodically changing its attribut
hi,
I use popup window (such as the one from the volume applet). When I
click my items on the scren I show the volume popup (a window containing
+/- buttons + a scale). I looks good and the buttons can be used. Now
the problem is that I want to hide it when one clicks somewhere else
(outside the p
Hi,
its written as docbook xml. See here for more info:
http://scrollkeeper.sourceforge.net/documentation/writing_scrollkeeper_omf_files/index.html
Stefan
Am Donnerstag, den 11.05.2006, 21:16 +0200 schrieb Fernando Apesteguía:
> Hi,
>
> I would like to write the gnome help for a little applicati
Hi,
Am Mittwoch, den 10.05.2006, 15:58 +0530 schrieb Sailaxmi korada :
> Hi,
>
> I've a requirement, where I've to color multiple rows in List store, which
> are separated from each other. Is it possible to do this. Thanks for your
> suggestions
you can also add the colors to you model and con
Hi Thomas,
you can put own widgets in there. One way might be to put an own label
in there and set a default minimum height.
Ciao
Stefan
Am Dienstag, den 02.05.2006, 15:21 +0200 schrieb Thomas Gilgin:
> Hi,
>
> could someone give me a hint how to change the height of the header
> buttons in
Hi Kal,
I would suggest to look at the GtkExpander and pack the sideback into
the expander and the expander to the left.
Then it can be hidden and shown by the user.
Stefan
Am Montag, den 17.04.2006, 22:46 -0700 schrieb Muzaffer Kal:
> Hi,
> I am working with this app http://home.nc.rr.com/gtkwa
somehow try to make it's entries
the same width as the columns. This might be a bit tricky in one scrolls
left & right :(
Stefan
Am Donnerstag, den 13.04.2006, 18:17 -0400 schrieb Guy Rouillier:
> Stefan Kost wrote:
> > hi all,
> >
> > just tried to set the treeview co
hi all,
just tried to set the treeview column 'clickable' property to TRUE. The
effect s not really what I want :(. Now the whole treeview header can be
clicked, but still not the buttons in there.
Stefan
Am Montag, den 10.04.2006, 21:37 +0200 schrieb Stefan Kost:
> hi list,
>
hi list,
I've added a couple of (toggle)-buttons and a label in a box into each
of my treeview headers. They are shown properly. I can also modify them
programatically (toggle).
My problem is, that I can't click them. Honestly I have no idea how to
debug this. Any idea?
Thanks a lot.
Stefan
_
Hi Gonzalo,
I don't do that for *every* widget, just for logical groups.
In my GUI application I do this for the window, the toolbar, the statusbar, the
content area (a notebook) and for each content page. Likewise I subclass dialogs.
Stefan
Gonzalo Aguilar Delgado wrote:
Hi, stefan.
This l
hi,
Gonzalo Aguilar Delgado wrote:
Yep, I know about some of them:
1.- Passing a data structure
2.- Using global variables (not good threading support)
3.- Passing window to gpointer and searching.
4.- Use GObjects for you UI
In my apps I don't directly insert e
Hi,
this is what I do:
GtkListStore *store;
GtkTreeModel *filtered_store;
...
// create a filterd model
filtered_store=gtk_tree_model_filter_new(GTK_TREE_MODEL(store),NULL);
gtk_tree_model_filter_set_visible_func(GTK_TREE_MODEL_FILTER(filtered_store),visible_filter,(gpointer)self,NULL);
// acti
Hi Allin,
Allin Cottrell wrote:
Before I embark on this I'd like to find out if something of the sort
already exists, or if someone else is already working in this area.
Also, perhaps, how much interest there might be in this project.
What I'm thinking would be useful is a library, with the p
hi,
just a wild guess, are use using the GTK_SELECTION_BROWSE selection mode?
GtkTreeSelection *select;
select = gtk_tree_view_get_selection (GTK_TREE_VIEW (tree));
gtk_tree_selection_set_mode (select, GTK_SELECTION_BROWSE);
Ciao
Stefan
Hannes Mayr wrote:
Hello,
I'm having a problem with
;node;node=g_slist_next(node)) {
g_free(node->data);
}
g_slist_free(list);
Stefan
Colossus wrote:
Stefan Kost wrote:
just don't fre the filenames now. Free the filenames when you free the
list.
Ok, but you see the while loop ? if the user drags 10 files from
Nautilis window inside X
Hi
Colossus wrote:
Hi,
I have this code:
gchar **array = NULL;:
array = gtk_selection_data_get_uris ( data );
while (array[len])
{
filename = g_filename_from_uri ( array[len] , NULL, NULL );
Files_to_Add = g_slist_prepend ( Files_to_Add , filename );
g_free (filename);
1 - 100 of 202 matches
Mail list logo