01 May 2013 - After the site upgrade, all passwords were reset and you will need to ask the site for a login reset on your first connection.
This FileSelectionDialog provides a wrapper
around the standard GtkFileSelection class
in PHP-GTK2, to make it easier to use.
Note : you can check a
simpler introductory example
to
GtkFileSelection before delving into this class.
Main methods :
You can see how it easy to get a file ; all you need to do is
to create a FileSelectionDialog instance and call
the get_selection() method.
Like layout tables in HTML pages,
the GtkTable widget can be used to display
tables or matrix, far more easily
than GtkTreeView and associated classes.
This example shows how to use a layout table and fill it with
numerous instances of GtkLabel, of varying
colours.
This examples shows how to discover on your own what the
methods for a given widget are, from the actual current
implementation, instead of relying on documentation. You can
obviously use it to examine other classes, but this sample code
shows the methods of classes Gtk and
GtkWindow.
In addition, this example shows how to line up vertically
by the top the contents of panes in a GtkHBox,
just like vertical-align does in CSS. In this
example, we use it to align the two lists because they are of
very different lengths.
This enables a user to activate the menu without using the mouse or combining keys, just by pressing ALT. This can be important for accessibility.
Firstly, in a oop style, we create an App class.
In that class there are 2 methods, one for loading
.glade files (your GUI), and one
for getting widgets created .
This snippet loads all the XPM pictures it can find in its directory, and displays them horizontally in a scrolled window, as thumbnails.
Comentários recentes
43 semanas 4 dias atrás
44 semanas 3 dias atrás
45 semanas 10 horas atrás
47 semanas 3 dias atrás
1 ano 15 semanas atrás
1 ano 19 semanas atrás
1 ano 23 semanas atrás
1 ano 23 semanas atrás
1 ano 23 semanas atrás
1 ano 40 semanas atrás